Dynamic MOTD 3.0
2 Attachment(s)
Dynamic MOTD
As noted in the description, this plugin allows sending of player/server info via GET vars to the MOTD url for easy customization of MOTD per player/server. It will replace the MOTD already sent by the game via usermessage with a new one. Cvars:
Info Tokens:
And for those with SteamWorks or SteamTools installed:
Example Url: http://example.com/motd.php?communityid={FRIEND_ID}&name={NAME} I've only personally tested this on TF2 and CS:S, but it should work on all games that support a regular MOTD. Note: Due to limitations in the engine, the expanded url has a max length of 255 characters. The Get Plugin link will not work due to the SteamWorks and SteamTools includes being required at compile-time. |
Re: Dynamic MOTD
This is quite awesome, and it isn't hard to add even more substitutes. :up:
|
Re: Dynamic MOTD
Quote:
|
Re: Dynamic MOTD
finally can show in motd user-specific information.
|
Re: Dynamic MOTD
Uploaded version 1.1.0 which adds more shiz to ensure compatibility with more games as well as proper url encoding of the vars.
Ex. Code:
http://example.com/test.php?name={NAME}&steam={STEAM_ID} becomes Code:
http://example.com/test.php?name=%5bSMACK%5d%20%20BP%7bN%7d&steam=STEAM_0%3a1%3a4153990 Also added {SERVER_NAME} token to resolve to current server hostname. |
Re: Dynamic MOTD
Very useful
|
Re: Dynamic MOTD
Yet another minor update, 1.1.1, adding more functionality.
New {SERVER_CUSTOM} tag will resolve to whatever the new cvar, dynamicmotd_custom, is set to. This is useful for people who number their servers. (1, 2, 3, etc.) |
Re: Dynamic MOTD
Can I get
UR Bad ass |
Re: Dynamic MOTD
Very awesome!
This little snippet will add the l4d game mode as a parameter. Just insert it into the DoReplacements method Code:
new Handle:cvarHGameMode = FindConVar("mp_gamemode"); |
Re: Dynamic MOTD
Quote:
|
All times are GMT -4. The time now is 03:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.