This mod was broken by garry's updates and currently does not work!
Introducing Umotd Revived - Ulysses Message Of The Day Revived
Want a message of the day server intro screen like days of old?
Want a way for your server visitors to see help, rules or other informative screens you create?
Then Umotd is the release for you!
NOTICE! This release requires ULib 2+
Get the latest version of ULib from the download link at
http://www.ulyssesmod.netThis release
does not require you to use ULX, just ULib
Features- Display HTML or text (File must still be named .txt)
- Enable/Disable whether or not players see a motd when joining your server. They will still be able to run the commands in game from console or chat.
- Configure which screen appears when players join your server.
-
Multi-command, Multi-file support. A configurable table allows you to add your own command and associated file. Defaults to !motd, !helpme, !serverinfo and !rules, but you're not limited to just those!
- Configure what character opens the command from chat. Defaults to !, but you could switch to /, \, or any that you may wish.
- Can run with or without ULX. By default, attempts to disable/override ULX motd command.
-
ULX support - If you use ULX, Umotd will add a "Informational" category to "ulx help", and add autocomplete "ulx <command>" listings.
-
Dynamic variables allow text/html to fill in with information. (See Umotd_readme.txt)
- Configure where files load from ... they can load from gmod/data if you wish.
-
URL display - Will attempt to load a page if you give a URL instead of a file name in the config. (No dynamic variables supported) (New as of SVN revision 10 (v2.A6)
- Plays one of six random sounds at screen show.
Quick instructions- If you don't know how to use/get SVN code...see our tutorials in the SVN release
- Create a Umotd_Revived folder in your server/garrysmod/addons.
- Use checkout on that folder using SVN information provided below.
- Read the garrysmod\addons\Umotd_revived\Umotd_readme.txt file, it contains more detailed instructions.
- Start your server
-
EnjoyNotes- This attempts to disable ULX 3+ motd function if you use ULX.
- Correctly guess the secret meanings behind the rule numbers in the default motd_template.txt, and get a permanent credit in the main lua and readme file.
(I judge winners on any basis I wish)
Known Issues- Currently only detects SuperAdmin and Admin as %curadmins%
-
Locks client when links are included and clicked. Unknown bug. I can't figure out why (ULX does this too) Fixed in 2.A1
- %maxsents% returns blank when used. I've left it in the code and my info_template.txt anyway. Hope Garry adds it back (he removed it 3/31/08 Gmod release)
Again, this
requires ULib 2 or higher.
(Not So)
FAQSQ. Why didn't you use the default source "motdfile" location variable"
A. 1) Easier file management. 2) You can change where files are stored by default. See readme for where to edit.
Q. Why can't I name my files .htm or .html? This would make it easier to track what file type it is for me.
A. Source API Limitation. Will only read files named .txt
Q. Why don't scroll bars appear correctly?
A. Source API Limitation. Something about memory usage increase/leaks. Removed by Source until fixed.
I'll be keeping a running changelog here of the past few changes per SVN commit.
If you don't see an older change here, look in my changelog.txt
-[Version 2.A6 - 5/00/08]
[Change] HTTP in A5 removed, placed on Client side. Garry's http.Get is buggy, more so than a hound dog travelling flea circus.
No dynamic variables when URLs are given due to this.
-[Version 2.A4 - 4/00/08]
[Added] If motdfile points to root, and no motd file is in root gmod directory, loads template instead of TF2 default motd.
[Added] Added %maptime_short%, %maptime_long%, %maptime_secs%. Gives time since map load in 3 different formats.
[Added] Map time explanations to Umotd_readme.txt
[Added] Map time demonstration to data/Umotd/info_template.txt
[Change] Optimized math of uptime(used in map and server uptime)
-[Version 2.A3 - 4/21/08]
ULX module added - ULX NOT required. This just adds the Umotd functions to "ulx help" if you have ULX installed.
Current Version: 2 ALPHA #?
DOWNLOAD: SVN Only -
http://ulyssesmod.net/Umotd/trunk/SVN username : pass = anonsvn : anonsvn
Do not upload any SVN you download to any website, as Umotd will be changing frequently over the next few weeks/months.
Report bugs. Don't just come here and say "It doesn't work". Provide detail. Error messages. Who, what, where, when, why, and how.