A fork of https://github.com/RaidMax/IW4M-Admin - Complete administration tool for IW4x, Pluto T6, Pluto IW5, Pluto T5, Pluto T4, H1-Mod, CoD4x, IW6x, TeknoMW3, and most Call of Duty® dedicated servers.
Go to file
2018-05-24 21:39:52 -05:00
.vs/config removing app.config and web.config and putting in code 2018-04-06 19:15:17 -05:00
Application [master] make version info update live instead of requiring a restart in 2018-05-24 21:39:03 -05:00
Master [master] make version info update live instead of requiring a restart in 2018-05-24 21:39:03 -05:00
Plugins stats tweaked to scale SPM based on team size 2018-05-24 14:48:57 -05:00
SharedLibraryCore stats tweaked to scale SPM based on team size 2018-05-24 14:48:57 -05:00
WebfrontCore stats tweaked to scale SPM based on team size 2018-05-24 14:48:57 -05:00
_commands.gsc moved heartbeat to timer instead of manual task/thread 2018-04-28 00:22:18 -05:00
_customcallbacks.gsc update file localizations 2018-05-21 16:09:27 -05:00
.gitattributes some of these are meant for previous commit 2015-03-11 20:25:14 -05:00
.gitignore adding master api project 2018-04-18 15:46:53 -05:00
IW4MAdmin.sln moved heartbeat to timer instead of manual task/thread 2018-04-28 00:22:18 -05:00
LICENSE Adding MIT License 2018-02-06 23:23:17 -06:00
README.md [application] update readme & branch for 2.1 2018-05-24 21:39:52 -05:00
version.txt update file localizations 2018-05-21 16:09:27 -05:00

IW4MAdmin

Quick Start Guide

Version 2.1


About

IW4MAdmin is an administration tool for IW4x, Pluto T6, Pluto IW5, and most Call of Duty® dedicated servers. It allows complete control of your server; from changing maps, to banning players, IW4MAdmin monitors and records activity on your server(s). With plugin support, extending its functionality is a breeze.

Setup

IW4MAdmin requires minimal configuration to run. There is only one prerequisite.

  1. Extract IW4MAdmin-<version>.zip
  2. Run StartIW4MAdmin.cmd

Configuration

Initial Configuration

When IW4MAdmin is launched for the first time, you will be prompted to setup your configuration.

Enable webfront

  • Enables you to monitor and control your server(s) through a web interface [defaults to http://127.0.0.1:1624]

Enable multiple owners

  • Enables more than one client to be promoted to level of Owner

Enable stepped privilege hierarchy

  • Allows privileged clients to promote other clients to the level below their current level

Enable custom say name

  • Shows a prefix to every message send by IW4MAdmin -- [Admin] message
  • This feature requires you specify a custom say name

Enable client VPNs

  • Allow clients to use a VPN
  • This feature requires an active api key on iphub.info

Enable social link

  • Shows a link to your community's social media/website on the webfront

Use Custom Encoding Parser

  • Allows alternative encodings to be used for parsing game information and events
  • Russian users should use this and then specify windows-1251 as the encoding string

Advanced Configuration

If you wish to further customize your experience of IW4MAdmin, the following configuration file(s) will allow you to changes core options using any text-editor.

IW4MAdminSettings.json-- this file is created after initial setup

  • This file uses the JSON specification, so please validate it before running IW4MAdmin

WebfrontBindUrl

  • Specifies the address and port the webfront will listen on.
  • The value can be an IP Address:port or Domain Name:port

CustomLocale

  • Specifies a locale name to use instead of system default
  • Locale must be from the Equivalent Locale Name column

ConnectionString

Servers

  • Specifies the list of servers IW4MAdmin will monitor
  • IPAddress
    • Specifies the IP Address of the particular server
  • Port
    • Specifies the port of the particular server
  • Password
    • Specifies the rcon_password of the particular server
  • AutoMessages
    • Specifies the list of messages that are broadcasted to the particular server
  • Rules
    • Specifies the list of rules that apply to the particular server

AutoMessagePeriod

  • Specifies (in seconds) how often messages should be broadcasted to the server(s)

AutoMessages

  • Specifies the list of messages that are broadcasted to all servers
  • Specially formatted tokens can be used to broadcast dynamic information
  • {{TOTALPLAYERS}} — displays how many players have connected
  • {{TOPSTATS}} — displays the top 5 players on the server based on performance
  • {{MOSTPLAYED}} — displays the top 5 players based on number of kills
  • {{TOTALPLAYTIME}} — displays the cumulative play time (in man-hours) on all monitored servers
  • {{VERSION}} — displays the version of IW4MAdmin

GlobalRules

  • Specifies the list of rules that apply to all servers`

Maps

  • Specifies the list of maps for each supported game
  • Name
    • Specifies the name of the map as returned by the game
  • Alias
    • Specifies the display name of the map (as seen while loading in)

Commands

Name Alias Description Requires Target Syntax Required Level
prune pa demote any privileged clients that have not connected recently (defaults to 30 days) False !pa <optional inactive days> Owner
quit q quit IW4MAdmin False !q Owner
rcon rcon send rcon command to server False !rcon <commands> Owner
ban b permanently ban a client from the server True !b <player> <reason> SeniorAdmin
unban ub unban client by client id True !ub <client id> <reason> SeniorAdmin
find f find client in database False !f <player> Administrator
killserver kill kill the game server False !kill Administrator
map m change to specified map False !m <map> Administrator
maprotate mr cycle to the next map in rotation False !mr Administrator
plugins p view all loaded plugins False !p Administrator
tempban tb temporarily ban a client for specified time (defaults to 1 hour) True !tb <player> <duration (m|h|d|w|y)> <reason> Administrator
alias known get past aliases and ips of a client True !known <player> Moderator
baninfo bi get information about a ban for a client True !bi <player> Moderator
fastrestart fr fast restart current map False !fr Moderator
flag fp flag a suspicious client and announce to admins on join True !fp <player> <reason> Moderator
kick k kick a client by name True !k <player> <reason> Moderator
list l list active clients False !l Moderator
mask hide hide your presence as a privileged client False !hide Moderator
reports reps get or clear recent reports False !reps <optional clear> Moderator
say s broadcast message to all clients False !s <message> Moderator
setlevel sl set client to specified privilege level True !sl <player> <level> Moderator
setpassword sp set your authentication password False !sp <password> Moderator
unflag uf Remove flag for client True !uf <player> Moderator
uptime up get current application running time False !up Moderator
usage us get application memory usage False !us Moderator
balance bal balance teams False !bal Trusted
login li login using password False !li <password> Trusted
warn w warn client for infringing rules True !w <player> <reason> Trusted
warnclear wc remove all warnings for a client True !wc <player> Trusted
admins a list currently connected privileged clients False !a User
getexternalip ip view your external IP address False !ip User
help h list all available commands False !h <optional commands> User
mostplayed mp view the top 5 dedicated players on the server False !mp User
owner iamgod claim ownership of the server False !iamgod User
ping pi get client's latency False !pi <optional player> User
privatemessage pm send message to other client True !pm <player> <message> User
report rep report a client for suspicious behavior True !rep <player> <reason> User
resetstats rs reset your stats to factory-new False !rs User
rules r list server rules False !r User
stats xlrstats view your stats False !xlrstats <optional player> User
topstats ts view the top 5 players in this server False !ts User
whoami who give information about yourself False !who User

These commands include all shipped plugin commands.


Player Identification

All players are identified 5 separate ways

  1. npID/GUID/XUID - The ID corresponding to the player's hardware or forum account
  2. IP - The player's IP Address
  3. Client ID - The internal reference to a player, generated by IW4MAdmin
  4. Name - The visible player name as it appears in game
  5. Client Number - The slot the client client occupies on the server. The number ranges between 0 and the max number of clients allowed on the server

For most commands players are identified by their Name
However, if they are currently offline, or their name contains un-typable characters, their Client ID must be used

The Client ID is specified by prefixing a player's reference number with @.
For example, @123 would reference the player with a Client ID of 123.

All commands that require a target look at the first argument for a form of player identification


Additional Command Examples

setlevel

  • shortcut - sl
  • Parameter 1 - Player to modify level of
  • Parameter 2 - Level to set the player to [ User, Trusted, Moderator, Administrator, SeniorAdmin, Owner ]
  • Example - !setlevel Player1 SeniorAdmin, !sl @123 Moderator
  • NOTE - An owner cannot set another player's level to owner unless the configuration option is enabled during setup

ban

  • Shortcut - b
  • Parameter 1 - Player to ban
  • Parameter 2 - Reason for ban
  • Example - !ban Player1 caught cheating, !b @123 GUID Spoofing

tempban

  • Shortcut - tb
  • Parameter 1 - Player to ban
  • Parameter 2 - Ban length (minutes|hours|days|weeks|years)
  • Parameter 3 - Reason for ban
  • Example - !tempban Player1 3w racism, !tb @123 8h Abusive behaivor

reports

  • Shortcut - reps
  • Optional Parameter 1 - clear (erases reports for current server)

Plugins

Welcome

  • This plugin uses geo-location data to welcome a player based on their country of origin
  • All privileged users ( Trusted or higher ) receive a specialized welcome message as well
  • Welcome messages can be customized in WelcomePluginSettings.json

Stats

  • This plugin calculates basic player performance, skill approximation, and kill/death ratio

Commands added by this plugin

Name Alias Description Requires Target Syntax Required Level
resetstats rs reset your stats to factory-new False !rs User
stats xlrstats view your stats False !xlrstats <optional player> User
topstats ts view the top 5 players on this server False !ts User
mostplayed mp view the top 5 dedicated players on the server False !mp User
  • To qualify for top stats, a client must have played for at least 1 hour and connected within the past 30 days.

Login

  • This plugin deters GUID spoofing by requiring privileged users to login with their password before executing commands
  • A password must be set using the setpassword command before logging in

Commands added by this plugin

Name Alias Description Requires Target Syntax Required Level
login l login using password False !l <password> Trusted

Profanity Determent

  • This plugin warns and kicks players for using profanity
  • Profane words and warning message can be specified in ProfanityDetermentSettings.json
  • If a client's name contains a word listed in the settings, they will immediately be kicked

Webfront

Home

  • Shows an overview of the monitored server(s)

Penalties

  • Shows a chronological ordered list of client penalties (scrolling down loads older penalties)

Admins

  • Shows a list of privileged clients

Login

  • Allows privileged users to login using their Client ID and password set via setpassword
  • ClientID is a number that can be found by using !find <client name> or find the client on the webfront and copy the ID following ProfileAsync/

Profile

  • Shows a client's information and history

Web Console

  • Allows logged in privileged users to execute commands as if they are in-game

Misc

Anti-cheat

This is an IW4x only feature (wider game support planned), that uses analytics to detect aimbots and aim-assist tools.
To utilize anti-cheat, enable it during setup and copy _customcallbacks.gsc from userraw into your IW4x Server\userraw\scripts folder.
The anti-cheat feature is a work in progress and as such will be constantly tweaked and may not be 100% accurate, however the goal is to deter as many cheaters as possible from IW4x.

Database Storage

By default, all IW4MAdmin information is stored in Database.db. Should you need to reset your database, this file can simply be deleted. Additionally, this file should be preserved during updates to retain client information.
Setting the ConnectionString property in IW4MAdminSettings.json will cause IW4MAdmin to attempt to use a MySQL connection for database storage.