[SSGM 4.0 Plugin] Join Name Regulator [message #467273] |
Fri, 11 May 2012 14:27 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
A simple plugin that has the following features:
- Truncating names longer than a configurable limit
- Replacing characters in a name
- Changing a name when a player joins under an illegal name, you can configure the name to change to and the amount of digits appended to it
These features have been done by multiple people over the years, but I felt like writing this anyway. You can contact me under the nick 'iRANian' on renforums.com. To install place 'JoinNameRegulator.dll' in your FDS folder and add an entry under the [Plugins] section of SSGM.ini and at the bottom of that file add:
[JoinNameRegulator]
GuestNick = Player ; Name to use + randomly generated digits when a player joins with an illegal name
GuestAppendDigits = 6 ; How many digits to append to the GuestNick
AllowedNameLength = 18 ; The maximum allowed length for a name, anything longer than this number will be truncated to this maximum
[JoinNameRegulator_IllegalNamesTable]
; Players who join with one of these nicks will have their name changed to the values configured above
01 = Host
02 = Renegade
03 = Unnamed
[JoinNameRegulator_IllegalCharactersTable]
; This replaces an illegal character to the left of the '=' sign with the character on the right
;WhiteSpace = ! ; WhiteSpace is a special value as the character can't be loaded from the INI loading system
;[ = _
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
[Updated on: Sun, 22 July 2012 13:05] Report message to a moderator
|
|
|
Re: [SSGM 4.0 Plugin] Join Name Regulator [message #467275 is a reply to message #467273] |
Fri, 11 May 2012 15:19 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
Sean
Messages: 822 Registered: February 2009
Karma: 0
|
Colonel |
|
|
This is really awesome, I know that the old BRenbot had issues with crashing when players joined with illegal nicks. It was also a tad more difficult to ban them. This is really cool, well done.
Head admin at TmX (The Matrix Sniper server)
irc.thematrixserver.com
The Matrix Sniper: 188.138.84.134:4576
|
|
|
|
|
|
|
|
|
|