Hey guys,
A few days ago I started coding a plugin for the MW3 server addon by Nukem (check the correct thread for more info) and am posting it here. This is my first plugin and very much a work in progress, so if you encounter any bugs or have any feature requests, please let me know.
I just put the source up because i really cannot continue to maintain this, stupid IRL :/
If you encounter any bugs, please tell me what triggered it and if it always happens. Any 'Stupid plugin no work' posts will be ignored if they dont contain any proper info.
Bugs can also be reported on http://94.75.245.138/forum/viewtopic.php...=447#p4288
That thread also contains a mirror to the most up to date plugin
Current version: 0.7.5 BETA
The aliases file has to be updated (you need to put an = between the commands)
Current features:
Current availible features:
-Kick by clientname or number
-Ban by clientname or number
-Yell (Say somethin on a players HUD)
-Playerinfo, Displays clientID, XUID, number of warnings, and name
-Basic permissions support
-Fast restart
-Warn and unwarn
-Kick on set warnings number
-Remember warnings on player disconnect
-Xuid command accesible for every user
-Addadmin command ingame
-Warning abbreviations, i.e. !warn player l will result in Bad Language
-Language filter
-Rcon command (i.e !rcon map mp_dome) (iAegle's idea )
-Tempban (currently uses the sv_kickbantime parameter in the config file, not variable :/)
-Ping commands added
-PM Support
-Rules support (can be set up in sv_config using the variable pmRules true to pm the rules, false to broadcast to the server)
-Help command
-Define which commands are accesible to users
-Time to live for warnings (can be defined in sv_config using the variable warningTTL = time in hours)
-Reload configs on the fly (except for usercommands atm, will ERASE all current warnings)
-Make players immune
-Customize your own commands
-Customize kick, ban, tempban and player connect messages
-Issue !reserved to make room for a member
-Multiple usergroups
Todo:
-Switch maplist
-Customizable warnings trigger (i.e You hacker! --> warned for whining about hacking)
-Votesystem
(All custom map control features are on hold until i figure out a viable way to do it)
Usage:
!help - Shows this list
!kick [Playername] (reason) - Kicks a player with optional reason
!ban [Playername] - Bans the player permanently
!banc [clientnumber] - Same as ban but with clientnumber
!kickc [clientnumber] (reason) - Kicks a player with optional reason
!tmpban [playername] (reason) - Tempban a player, length is the time in sv_config.ini
!pm [Playername] [message] - Pm's the player with [message]
!ping (playername) - Displays the ping of (playername) or you is no playername is given
!maxping - Displays the player with the highest ping
!minping - Displays the player with the lowest ping
!pi (Playername) - Displays the players name, xuid, warnings, and clientnumber, or all players if no name is used
!yell [Playername or all] [Message] - Displays message on the players hud
!warn [Playername] (reason) - Warns a player
!unwarn [Playername] (reason) - Removes a player's warning
!ver - Displays this plugin's version
!xuid - Displays your player XUID
!rcon [Command] - Executes [command] in the console
!resetconf - Resets the configuration to the defaults
!rel - Reloads all configs
!add [Groupname] [Playername] - Adds player to the admin group, groupname is case sensitive
!addword [Word] (word) (word) etc. - Adds the word(s) to the language filter
!fastrestart - Quickly restart the map
!addimmune [Playername] - Makes the player immune to all kick, warn, of ban commands of this plugin
!reserved - Kicks the players with the highest ping that is in the usergroup
if permissions is used:
!add [Groupname] [Playername] - Adds player to the admin group, groupname is case sensitive
If language filter is used:
!addword [badword] [badword] etc.
If language filter is used:
!addword [badword] [badword] etc.
Disabling permissions:
set usepermissions in sv_config.ini to false
Disabling language filter:
set uselangfilter in sv_config.ini to false
Setting the warnings until kick:
set kickwarnigns to the number you want
First time setup:
Add your own XUID and name to the admins file in the serveradmin folder
(format: [XUID] [Name])
run !resetconf
restart the server
Changelog per 21-02-2012:
Fixed crashes when adding users to groups
If a group doesn't exist it doesn't create it anymore
Aliases van now contain multiple words, the format has changed a bit
!pi now shows the player's rank
Warnkick now displays the reason
Reason abbreviations can now be used when kicking and tempbanning
Customizable warning messages
Fixed immunity not working sometimes
Removed some debug output
Fixed bad language warning for empty message if file was not intact
The permissions plugin is meant as a temporary solution until Pozzuh gets his to work properly on linux
Virusscan result [Version 0.7.5 BETA]:
https://www.virustotal.com/file/98336d30...329867732/
MD5: c7770aa9db0f0204ba8b60be101d3dce
External download: http://94.75.245.138/plugins/ServerAdmin.rar
Thanks to nukem for his AWESOME addon
Credits to Pozzuh for letting me use his permissions format
A few days ago I started coding a plugin for the MW3 server addon by Nukem (check the correct thread for more info) and am posting it here. This is my first plugin and very much a work in progress, so if you encounter any bugs or have any feature requests, please let me know.
I just put the source up because i really cannot continue to maintain this, stupid IRL :/
If you encounter any bugs, please tell me what triggered it and if it always happens. Any 'Stupid plugin no work' posts will be ignored if they dont contain any proper info.
Bugs can also be reported on http://94.75.245.138/forum/viewtopic.php...=447#p4288
That thread also contains a mirror to the most up to date plugin
Current version: 0.7.5 BETA
The aliases file has to be updated (you need to put an = between the commands)
Current features:
Current availible features:
-Kick by clientname or number
-Ban by clientname or number
-Yell (Say somethin on a players HUD)
-Playerinfo, Displays clientID, XUID, number of warnings, and name
-Basic permissions support
-Fast restart
-Warn and unwarn
-Kick on set warnings number
-Remember warnings on player disconnect
-Xuid command accesible for every user
-Addadmin command ingame
-Warning abbreviations, i.e. !warn player l will result in Bad Language
-Language filter
-Rcon command (i.e !rcon map mp_dome) (iAegle's idea )
-Tempban (currently uses the sv_kickbantime parameter in the config file, not variable :/)
-Ping commands added
-PM Support
-Rules support (can be set up in sv_config using the variable pmRules true to pm the rules, false to broadcast to the server)
-Help command
-Define which commands are accesible to users
-Time to live for warnings (can be defined in sv_config using the variable warningTTL = time in hours)
-Reload configs on the fly (except for usercommands atm, will ERASE all current warnings)
-Make players immune
-Customize your own commands
-Customize kick, ban, tempban and player connect messages
-Issue !reserved to make room for a member
-Multiple usergroups
Todo:
-Switch maplist
-Customizable warnings trigger (i.e You hacker! --> warned for whining about hacking)
-Votesystem
(All custom map control features are on hold until i figure out a viable way to do it)
Usage:
!help - Shows this list
!kick [Playername] (reason) - Kicks a player with optional reason
!ban [Playername] - Bans the player permanently
!banc [clientnumber] - Same as ban but with clientnumber
!kickc [clientnumber] (reason) - Kicks a player with optional reason
!tmpban [playername] (reason) - Tempban a player, length is the time in sv_config.ini
!pm [Playername] [message] - Pm's the player with [message]
!ping (playername) - Displays the ping of (playername) or you is no playername is given
!maxping - Displays the player with the highest ping
!minping - Displays the player with the lowest ping
!pi (Playername) - Displays the players name, xuid, warnings, and clientnumber, or all players if no name is used
!yell [Playername or all] [Message] - Displays message on the players hud
!warn [Playername] (reason) - Warns a player
!unwarn [Playername] (reason) - Removes a player's warning
!ver - Displays this plugin's version
!xuid - Displays your player XUID
!rcon [Command] - Executes [command] in the console
!resetconf - Resets the configuration to the defaults
!rel - Reloads all configs
!add [Groupname] [Playername] - Adds player to the admin group, groupname is case sensitive
!addword [Word] (word) (word) etc. - Adds the word(s) to the language filter
!fastrestart - Quickly restart the map
!addimmune [Playername] - Makes the player immune to all kick, warn, of ban commands of this plugin
!reserved - Kicks the players with the highest ping that is in the usergroup
if permissions is used:
!add [Groupname] [Playername] - Adds player to the admin group, groupname is case sensitive
If language filter is used:
!addword [badword] [badword] etc.
If language filter is used:
!addword [badword] [badword] etc.
Disabling permissions:
set usepermissions in sv_config.ini to false
Disabling language filter:
set uselangfilter in sv_config.ini to false
Setting the warnings until kick:
set kickwarnigns to the number you want
First time setup:
Add your own XUID and name to the admins file in the serveradmin folder
(format: [XUID] [Name])
run !resetconf
restart the server
Changelog per 21-02-2012:
Fixed crashes when adding users to groups
If a group doesn't exist it doesn't create it anymore
Aliases van now contain multiple words, the format has changed a bit
!pi now shows the player's rank
Warnkick now displays the reason
Reason abbreviations can now be used when kicking and tempbanning
Customizable warning messages
Fixed immunity not working sometimes
Removed some debug output
Fixed bad language warning for empty message if file was not intact
The permissions plugin is meant as a temporary solution until Pozzuh gets his to work properly on linux
Virusscan result [Version 0.7.5 BETA]:
https://www.virustotal.com/file/98336d30...329867732/
MD5: c7770aa9db0f0204ba8b60be101d3dce
External download: http://94.75.245.138/plugins/ServerAdmin.rar
Thanks to nukem for his AWESOME addon
Credits to Pozzuh for letting me use his permissions format