User:X-DOS
!NGadmin
An administrative mode for ETPro developed in LUA
work in progress
modules
badnames
Detects if player's name is forbidden (defined in file) or abusive (require badwords). If so, the player is renamed and a warning is attached (with private message).
badwords
If someone used an abusive language (defined as regexp in file) in main or team chat (TODO: expand?), then a warning is attached (with private message).
balanced teams
commands for admins
As an admin you can use following commands:
- !kick player [period] [reason]
- kicks a player (name, partial name or ID) from server
- optional is period and reason of kick
- !mute player
- mutes a player (name, partial name or ID)
- TODO: time mute
- !mute all
- mutes all connected players in main chat - also known as STFU-mode :)
- !unmute player
- unmutes a player (name, partial name or ID)
- !unmute all
- allows connected players to use main chat
- !rules player
- displays server rules to a given player (name, partial name or ID)
- !rules all
- displays server rules to all connected players
- !rules msg
- displays define message (mine is "cp OBJECTIVE GAMEPLAY") to all connected players
- !warn player [reason] [message]
- gives a warning to a given player (name, partial name or ID)
- optional is reason (public) and message (private)
TODO: !ban, !getss !protect?
commands for players
Allowed commands for players:
- !time
- displays current server's time
- !info
- displays some informations (defined in file) about server
- !rules
- displays server rules
- !ngadmin
- some info about !NGadmin ;)
TODO: !maps, !spec999 (plug-in?), !help
private messages for admins
Provides an admin chat. usage: /ma message
selfkills restrictions
Allows selfkills only 3 seconds before respawn. After reaching a number of violations, selfkills are blocked and a warning is attached.
weapons restrictions
Allows using soldiers or rifle grenades depending on number of players. Landmines are disabled till reaching a certain number of players; then a one landmine per player is added.
callvote protection
TODO: needs rewrite from v1.0
libraries
- admins
- client
- disconnected
- file
- datafile
- gamestate
- names
- players
TODO: etpro guid
Libraries used to share some informations/operations. I will describe them later - it's technical, not needed now.
Author
X-DOS
- e-mail:: http://network-games.eu.org/x-dos/mail.png
- jabberID: http://network-games.eu.org/x-dos/jabber.png
- irc: #network-games @ irc.quakenet.org
NETWORK-GAMES.eu.org - the project aiming to promote and support free multiplatform games and community behind them.