Raised This Month: $32 Target: $400
 8% 

Uninamer (Unicode name changer)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Plugin ID:
252
Plugin Version:
1.2
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    rename/kick players who abusively use unicode names
    Old 01-08-2008 , 18:01   Uninamer (Unicode name changer)
    Reply With Quote #1

    This plugin checks any connected player for using character values above un_characterthreshold in their names. Everything above a un_characterthreshold of 160 is country-specific/unicode. Brackets and and the standard chars from american keyboards are below value 160 and will therefor be allowed for naming by default.

    Install:

    Copy the uninamer.smx plugin to your sourcemod/plugins folder and the uninamer.phrases.txt to sourcemod/translations.

    Todo:

    maybe I could add a ban option instead of just renaming/kicking. If somebody would be interested in additional features, post here.


    CVars:

    un_enable 1/0: enable/disable uninamer (default 1)
    un_punishmode 1/0: 0: rename player, 1: kick player (default 0)
    un_defaultname <name>: name to use for un_punishmode=0 (default "bad name")
    un_characterthreshold <int>: character value of last character which will be allowed (default 160)
    un_maxbadchars <int>: number of bad/unicode character that are allowed for a single name (default 2)
    un_mingoodcharsequence<int>: number of good/non-unicode character that need to be in direct sequence (default 0). 0 disables this feature. keep in mind that a players with a name shorter than this constant will also fail the test and will be punished. (may be changed/configurable if needed by anybody)

    Changelog:
    1.2: added un_mingoodcharsequence
    1.1: added a kick-option instead of renaming
    1.0.2: implemented full utf-8 support
    1.0.1: minor changes on debug output; fixed bug on round-end check
    1.0: added cvars un_characterthreshold and un_maxbadchars; added round end checks; added check for name termination char
    0.1: Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (uninamer.sp - 2952 views - 7.5 KB)
    File Type: txt uninamer.phrases.txt (167 Bytes, 1416 views)

    Last edited by red!; 11-01-2008 at 11:06. Reason: new release
    red! is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 10:04.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode