User:X-DOS
!NGadmin
An administrative modification for ETPro developed in LUA
I was (I am?) trying to build a server with objective gameplay, and whole community connected with multiplayer games (especially platform independed). ETadmin mod was a little non-up-to-dated (and huge) so I just removed it. Started writing a really simple script in LUA to handle some commands - only that. But when I got the power of LUA, the mod has growed. Now I'm rewriting that script to a new, module-based application to share it with ETPro community. But before; I'm looking for testers - simple I can't check everything by oneself.
- Thanks in advance,
- X-DOS
work in progress
modules
authorize
Each admin has own password. To get access to a server you have to use:
/ref server_password admin_password
Both of them must match
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 regexps in file) in main or team chat (TODO: expand?), then a warning is attached (with private message).
balanced teams
Displays a message when teams are uneven. Also forces new players to join offensive team, when they are equal.
ban etpro
Now !NGadmin can ban ETPro guids
ban mask
Admin can ban subnet with exceptions
- Thanks for Luk4ward's ACpro
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 ;)
- !spec999
- moves idle players and players with high ping to spectators
TODO: !maps, !help
levels
Provides admin levels (a quick trick - i will rewrite it later)
logs
- separated files by date
- time stamp
- logs main chat and/or private messages
- logs client connects/disconnect
- logs client renames
- logs referees actions
no stats
Disable Kills/Deaths statistics for objective game server
private messages for admins
Provides an admin chat.
/ma message /pma message
Optionally you can use PMA to notify all connected players as "!NGadmin"
/ma !NGadmin message /pma !NGadmin message
private messages for players
Provides a system of private messages.
/m player message /pm player message /msg player message
- where player is a partial name, name or ID
If recipient is !NGadmin then the message is displayed to referees or the admin is notified via jabber.
security
Ported ReyalP's combinedfixes to !NGadmin
- added randomness to runframe infocheck
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
- client_mute
- client_name
- client_spawn
- commands
- disconnected
- etpro
- file
- datafile
- gamestate
- players
- version
Libraries are 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.