Ulysses

General => Developers Corner => Topic started by: Digital Spit on May 05, 2012, 10:41:31 PM

Title: !motd and !donate?
Post by: Digital Spit on May 05, 2012, 10:41:31 PM
I'm thinking of designing a donate page that works the same way as !motd but instead of !motd it would be !donate, when doing this would I just go to the file
\ulx\lua\ulx\modules\sh and look at "menus" or go to

\ulx\lua\ulx\modules\cl and look at motdmenu... or both of these files?
Title: Re: !motd and !donate?
Post by: Megiddo on May 06, 2012, 07:58:43 AM
Both of those files are used for the motd. The shared module is sending the data to the player, the client module is displaying it.
Title: Re: !motd and !donate?
Post by: Digital Spit on May 06, 2012, 02:40:47 PM
Okay, so for creating a !donate module I would need to mimic the directories but put them within addons?
Title: Re: !motd and !donate?
Post by: Megiddo on May 06, 2012, 02:50:05 PM
Okay, so for creating a !donate module I would need to mimic the directories but put them within addons?

Yes. :)
Title: Re: !motd and !donate?
Post by: JamminR on May 06, 2012, 07:29:17 PM
Mimic directories.
Make new functions/variables.
Though technically you could keep/mimic same file names, I wouldn't, just to ensure they are easy to tell apart when looking at paths.
Title: Re: !motd and !donate?
Post by: Digital Spit on May 25, 2012, 09:00:48 PM
Okay :)


I gotta take the time to say something about my time spent on ulysses forums.

You guys are very helpful and I prefer coming here for help or to talk to people. Everything about your website is just awesome. Gotta say I'm glad I have the perks of ULX administrating my server and have an awesome staff to help me out or to talk to me :)