NOTE: This version no longer supported/maintained. See Umotd RevivedCurrent Version: v1.30
DOWNLOAD: http://www.ulyssesmod.net/JamminR/Umotd/UPDATED - Changelog-[Version 1.30 - 01/21/07]
[Change] Optimized\cleaned up\improved Admin detection code (%curadmins%)
[Fix] Actually, work around. Nightmare table key value challenge with ULib.ucl.groups. (Don't ask) THANKS Spbogie!!
[Fix] Spelling in Umotd_readme.txt (I know, there's probably more)
[Fix] Removed a sentence from default motd.txt that was left over from my actual server motd.txt. (DOH!)
[Add] ULib Admin group table lookup. Part of change, will allow for ULib group detection other than current ULX v2.03 defaults(superadmin,admin,operator)
[Add] More comments to my code. It's growing, and I was getting lost.
[Add] Configuration item - Control whether or not dynamic variables are on/converted.
[Add] Dynamic variables - See Umotd_readme.txt for descriptions - %curnumadmins%, %uptime_full%, %uptime_short%
[Add] More dynamic vars (Server Settings) - %cheats%, %noclip%, %allownpcs%, %godmode%, %plpldamage%
[Add] More dynamics (Server Limits) - %maxnpcs%, %maxballoons%, %maxdynamite%, %maxthrusters%, %maxprops%, %maxwheels%, %maxhoverballs%
[Add] Yet more dynamics (limits) - %maxsents%, %maxeffects%, %maxbuttons%, %maxlamps%, %maxragdolls% ,%maxvehicles%, %maxemitters%
[Add] Description of new dynamic variables that can be used placed in Umotd_readme.txt
Introducing Umotd - Message Of The Day NOTICE! This Lua release
REQUIRES ULib 2.03 or higher.
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
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!
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, !help, !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 ULX 3.02+ motd
- v1.2+ Dynamic variables allow text/html to fill in with information. (See Umotd_readme.txt)
- v1.2+ Configure where files load from more easily.
- More planned.
Quick instructions- Download the file. (See link at top of this post)
- Extract to the root of your Garrysmod folder (Dedicated Server OR Listen, both should work)
- Read the garrysmod\Umotd_readme.txt file, it contains more detailed instructions.
- Start your server
-
EnjoyQuick ExampleNotes- This attempts to disable ULX 3.02+ motd function if you use ULX. The files are stored in different location. Please see Umotd_readme.txt.
- Correctly guess the secret meanings behind the rule numbers in the default motd.txt (not pictured), and get a permanent credit in the main lua file.
(I judge, may not give to those who know me personally) (No help from those who do know me!)
Known Issues- URadio compatibility. Please see Umotd_readme.txt for workaround.
- V1 bug - "help" in the command & file table won't load help.txt. (help is a Source console command). Until future version, rename it to "helpme" or something else you want.
Again, this
requires ULib 2.03[/url] or higher.
(Not So)
FAQSQ. Why didn't you use the default source "motdfile" location variable"
A. 1) Easier file management. 2) Possible dynamic file creation in future release.
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.
Q. When starting a dedicated server using
srcds.exe from command line, I get the error "The procedure entry point steamfindserversnumbervers could not be located in the DLL steam.dll". Clicking OK seems to let it go ahead anyway.
A. This is a Source/srcds.exe issue. Steam recently updated(
Jan 8/07), along with its root path steam.dll. Even when running hldsupdatetool.exe -command update -game <any game> .. it doesn't update its own copy of steam.dll.
Possible Work-around - rename your_srcds.exe_path\bin\steam.dll to steam_old.dll
Copy your_program_files\steam_path\steam.dll to your_srcds.exe_path\bin\
Try again. Worked for me.
Gmod 1/18/07 Update/ULib/Umotd brokeGarry's 1/18/2007 update broke the way a key ULib plugin that Umotd uses to interact with Garry's mod.
Please see the post and grab the fixed ULib file at
http://forums.ulyssesmod.net/index.php/topic,674.0.html