User:X-DOS: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
X-DOS (talk | contribs)
X-DOS (talk | contribs)
mute period, no stats expanded
 
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:


I was (I am?) trying to build a server with objective gameplay, and whole community connected with multiplayer games (especially platform independed).
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.
ETadmin mod was little obsolete (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,
: Thanks in advance,
: [[#Author|X-DOS]]
: [[#Author|X-DOS]]
Line 28: Line 28:
Displays a message when teams are uneven.
Displays a message when teams are uneven.
Also forces new players to join offensive team, when they are equal.
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 [http://wolfwiki.anime.net/index.php/User:Luk4ward Luk4ward's ACpro]''


==== commands for admins ====
==== commands for admins ====
Line 36: Line 43:
*: optional is period and reason of kick
*: optional is period and reason of kick


*!mute ''player''
*!mute ''player'' [''period'']
*: mutes a player (name, partial name or ID)
*: mutes a player (name, partial name or ID) for a given period
*: '''TODO:''' time mute
*!mute all
*!mute all
*: mutes all connected players in main chat - also known as STFU-mode :)
*: mutes all connected players in main chat - also known as STFU-mode :)
Line 75: Line 81:
*: some info about !NGadmin ;)
*: some info about !NGadmin ;)


'''TODO:''' !maps, !spec999 (plug-in?), !help
*!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 ====
In place of Kills/Deaths statistics for objective game server Wins/Defeats are shown.


==== private messages for admins ====
==== private messages for admins ====
Line 92: Line 115:
: where ''player'' is a partial name, name or ID
: 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.
If recipient is !NGadmin then the message is displayed to referees or the admin is notified via jabber.
==== security ====
Ported [http://wolfwiki.anime.net/index.php/User:ReyalP ReyalP's combinedfixes] to !NGadmin
* added randomness to runframe infocheck


==== selfkills restrictions ====
==== selfkills restrictions ====
Line 100: Line 127:
Allows using soldiers or rifle grenades depending on number of players.
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.
Landmines are disabled till reaching a certain number of players; then a one landmine per player is added.
==== workarounds ====
* fixes the bug with non available soldiers (when someone picked up a soldier earlier)


==== callvote protection ====
==== callvote protection ====
Line 107: Line 137:
* admins
* admins
* client
* client
* client_manage
* client_name
* client_spawn
* commands
* datafile
* database_guids
* disconnected
* disconnected
* etpro
* file
* file
* datafile
* gamestate
* gamestate
* names
* language
* maps
* players
* players
 
* subnets
'''TODO:''' etpro guid
* version


Libraries are used to share some informations/operations.
Libraries are used to share some informations/operations.

Latest revision as of 10:15, 6 June 2009

!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 little obsolete (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 [period]
    mutes a player (name, partial name or ID) for a given period
  • !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

In place of Kills/Deaths statistics for objective game server Wins/Defeats are shown.

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.

workarounds

  • fixes the bug with non available soldiers (when someone picked up a soldier earlier)

callvote protection

TODO: needs rewrite from v1.0

libraries

  • admins
  • client
  • client_manage
  • client_name
  • client_spawn
  • commands
  • datafile
  • database_guids
  • disconnected
  • etpro
  • file
  • gamestate
  • language
  • maps
  • players
  • subnets
  • version

Libraries are used to share some informations/operations. I will describe them later - it's technical, not needed now.

Author

X-DOS

NETWORK-GAMES.eu.org - the project aiming to promote and support free multiplatform games and community behind them.