Poll

no poll yet

fdsa
2 (11.1%)
asdf
16 (88.9%)

Total Members Voted: 18

Author Topic: Server Info Announcer -- v5 [v5 on RTB]  (Read 3458 times)

I know I posted this to RTB, but I can update it faster here. :P

Server 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/76561198023999436
Quote from: Alphadin
It's Like donating money to me, but you pay me nothing.




V4 and V5 main code is in the attachment.
« Last Edit: July 29, 2010, 01:17:05 PM by TheBlackParrot »

Very good.  I have a few suggestions however.  It would be nice to see a /toggleSIA (meaning a way to turn it on and off), and also I would like to see some saving.  In other words, the settings (such as font) will not need to be entered more than once.

It would be nice to see a /toggleSIA (meaning a way to turn it on and off), and also I would like to see some saving.  In other words, the settings (such as font) will not need to be entered more than once.
I was thinking about doing the /toggleSIA in V5, but I'm still not sure.
Saving may come sometime after V5, or even V6.

Gives Blockland the gmod server feel.

Can't you just wait for it to get approved?

Hoe-Lee-stuff

KRYSTAL COME HERE.

Who the hell uses CST in July?

Who the hell uses CST in July?
People who live in Central United States, dumbstuff.

People who live in Central United States, dumbstuff.
Funny, because people use CDT March 14th to November 7th.

Funny, because people use CDT March 14th to November 7th.

Kalph just owned you.

Added a poll for something I'd like to make sure of.

Bump for the news update on V5.

« Last Edit: March 27, 2018, 08:56:48 PM by Krystal »

Bump for V5 update.
I'll update screenshots later.

This requires some sort of RTB Preferences Compatibility.


I don't really like / Commands.