I know I posted this to RTB, but I can update it faster here. :PServer Info Announcer [SIA] v5 [build 153]
What this mod does is it outputs server information to players:
- Server host's name + server's name
- Server playercount + percentage full
- Server brickcount + player's brickcount
- Server host's local time and date + timezone
- Player's ping
This includes 7 icons, 3 sounds, and the main code.
Commands:
--Host only--
- /setannouncetime [# greater than 5000] - This sets the announcer delay.
- /settimezone [timezone here] - This will add your timezone entry [any text with no spaces] to the right of the clock.
- /setannouncefont [# 1 - 16] - This will set the font of the announcer.
- /setannouncefontbold [yes or no] - This will set the current font bold or not bold.
- /setannouncecolors [FFFFFF FFFFFF FFFFFF FFFFFF FFFFFF] - This changes the colors of the announcer.
- /setannouncedefaults - This resets the font and colors back to the defaults.
- /saveSIAsettings - Saves color, font, and delay settings.
- /loadSIAsettings - Loads the previous settings save
- /toggleSIA - Turns the SIA on or off.
--Admins only--
- /SIAping [playername] - Shows the ping of the targeted player to you. [Admin only]
--Anyone--
- /SIAhelp - This shows basic help to non-hosts, and all commands to the host.
- /SIAversion - This shows the server's version of SIA.
Screenshots:Default colors and fonts:
Customized with /setannouncefont 9, /setannouncefontbold yes, and /setannouncecolors FFFFFF DDDDDD BBBBBB 999999 777777:
What happens when you update the announcer:
Changelog:--V1 to V2--
/SIAhelp command added
/SIAversion command added
/setannouncefont command added [8 fonts to choose from.]
/setannouncefontbold command added
Server ping can now be seen in pink.
1 icon [ping icon] and 1 new sound [warning sound] was added.
--V2 to "V3"--
Fixed a MAJOR bug causing Blockland to think that it was version 2 on accident. This was an ASAP update and was not in the changelog in RTB.
--"V3" to V3F--
/SIAping command added for admins only.
Added 4 fonts. 3 of which have bold support.
Fixed a bug causing the old /setannouncetime schedule to still run.
Fixed the warning message when changing font to Impact Bold.
Ping portion fixed to show the client's ping.
Brickcount portion now show's the player's brickcount.
--V3F to V4--
16 fonts to choose from.
You can now choose your own colors for the announcer. [/setannouncecolors]
Added default colors/fonts, and a command to rest to those if needed. [/setannouncedefaults]
Set the icons to ">>" if the player does not have the addon, but the server does.
Changed the /setannouncefontbold's 0 or 1 value to "yes" and "no".
--V4 to V5--
20 fonts to choose from.
You can now toggle the SIA on and off. [/toggleSIA]
You can now save font, delay, and color settings and load them. [/saveSIAsettings and /loadSIAsettings]
Date/Time was replaced with the server duration.
Future Plans: --V6--
Player "session" time (how long they've been at the server) beside the server duration.
Let the host choose what to see and what not to see.
Icon changing (Picture, or ">>")
Send me an invite on Steam.
http://steamcommunity.com/profiles/76561198023999436It's Like donating money to me, but you pay me nothing.
V4 and V5 main code is in the attachment.