Author Topic: Plugin Help  (Read 2400 times)

0 Members and 1 Guest are viewing this topic.

Offline hymsan

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Plugin Help
« on: January 22, 2011, 04:15:39 AM »
I'm working on developing a custom plugin, I would like to use the slay plug in as a base, considering my plug in will basically operate the same, chat command "!whatever playername" then it executes.

But i cannot seem to locate the slay plugin, can someone guide me in the right direction, thanks!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Plugin Help
« Reply #1 on: January 22, 2011, 08:41:25 AM »
Off the top of my head, I believe the file path is ulx/lua/ulx/modules/sh/fun.lua
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Plugin Help
« Reply #2 on: January 22, 2011, 09:03:33 AM »
You might also find this helpful.
It's long, but gives a decent overview of the structure with specific examples of how I converted the rocket plugin in our releases area.
http://forums.ulyssesmod.net/index.php/topic,4464.0.html
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Plugin Help
« Reply #3 on: January 22, 2011, 11:00:54 AM »
Experiencing God's grace one day at a time.