Mani Admin Plugin Commands V1.2BetaR

Command

Description

Parameters

Say Command

Team Say Command

Client Console Command

Server Command

Allowed in war mode

ma_aban_name

Adds a name that will be used to automatically ban players connecting with a name that exactly matches

ma_aban_name [optional ban time in minutes, 0 = permanent] <name>

X

X

X

X

.

ma_aban_pname

Adds a name pattern that will be used to automatically ban players connecting with a name that matches the pattern

ma_aban_pname [optional ban time in minutes, 0 = permanent] <name pattern>

X

X

X

X

.

ma_admins

Shows admins with the 'admin' flag on the server

ma_admins <optional target>

X

X

X

X

X

ma_akick_ip

Adds an IP address that will be used to automatically kick players connecting with am IP address that matches

ma_akick_ip <IP Address>

X

X

X

X

.

ma_akick_name

Adds a name that will be used to automatically kick players connecting with a name that exactly matches

ma_akick_name <name>

X

X

X

X

.

ma_akick_pname

Adds a name pattern that will be used to automatically kick players connecting with a name that matches the pattern

ma_akick_pname <name pattern>

X

X

X

X

.

ma_akick_steam

Adds a Steam ID that will be used to automatically kick players connecting with a Steam ID that matches

ma_akick_steam <Steam ID>

X

X

X

X

.

ma_ashow_ip

Shows the current auto kick list for IP addresses

ma_ashow_ip

X

X

X

X

.

ma_ashow_name

Shows the current auto kick/ban list for names

ma_ashow_name

X

X

X

X

.

ma_ashow_pname

Shows the current auto kick/ban list for name patterns

ma_ashow_pname

X

X

X

X

.

ma_ashow_steam

Shows the current auto kick list for Steam IDs

ma_ashow_steam

X

X

X

X

.

ma_balance

Balances teams to have the same amount of players. Only works on team based games

ma_balance

X

X

X

X

X

ma_ban

Ban the target for the specified time (Steam ID type ban)

ma_ban <time in minutes to ban, 0 = permanent> <target>

X

X

X

X

X

ma_banip

Ban the target for the specified time (IP Address type ban)

ma_banip <time in minutes to ban, 0 = permanent> <target>

X

X

X

X

X

ma_beacon

Makes a target into a beacon. Command works in toggle mode if optional parameter is not used

ma_beacon <target> [optional mode 0 = disable beacon, 1 = enable beacon]

X

X

X

X

.

ma_blind

Fades out a target so they cannot see 0 = not blind, 255 = completely blind

ma_blind <target> [optional blind amount of 0 - 255]

X

X

X

X

.

ma_browse

Opens up a browser window with the requested url address

ma_browse <target url>

X

X

X

X

.

ma_burn

Target is ignited

ma_burn <target>

X

X

X

X

.

ma_cexec

Run a client command on the target clients

ma_cexec <target> <command>

X

X

X

X

.

ma_cexec_all

No Description

-

X

X

X

X

.

ma_cexec_ct

No Description

-

X

X

X

X

.

ma_cexec_spec

No Description

-

X

X

X

X

.

ma_cexec_t

No Description

-

X

X

X

X

.

ma_chat

Chat to other admins on the server.

ma_chat <message> (Use 'team say' @ message in chat command)

X

X

X

X

.

ma_chattriggers

Shows the current chattriggers enabled in the console

ma_chattriggers

X

X

X

X

.

ma_client

Note that if a parameter has spaces then it must be enclosed in quotes

<ID> Represents the user id of a player in game, or their client name,

Steam ID, Nickname, IP Address

For adding flags, using “+#“ will add all flags, “-#“ will remove all flags



Sub commands :->

Status (Lists all client names for the server)

Status <Name> (Shows details of specified client)

aflag (Shows all admin flags)

aflag <flag name> (Describes the admin flag)

iflag (Shows all immunity flags)

iflag <flag name> (Describes the immunity flag)



AddClient <Name> (Must be unique)

AddSteam <ID> “Steam ID“

AddNick <ID> “Player Nickname“ (Used in conjunction with password)

AddIP <ID> “IP Address“

SetName <ID> “New Name“ (Update a client with a new name, this must be unqiue !!)

SetPassword <ID> “Password“ (Password to be used in conjuction with nicknames. NOT STEAM ACCOUNT PASSWORD !)

SetEmail <ID> “Email Address“

SetNotes <ID> “Client Notes“

AddIGroup <ID> “Immunity Group“

AddAGroup <ID> “Admin Group“

SetILevel <ID> <Immunity Level ID>

SetALevel <ID> <Admin Level ID>

SetIFlag <ID> “Immunity flags“ (+ to add, - to remove)

SetAFlag <ID> “Admin flags“ (+ to add, - to remove)



RemoveClient <Name> (Removes client for this server)

RemoveSteam <ID> “Steam ID“

RemoveIP <ID> “IP Address“

RemoveNick <ID> “Player Nickname“

RemoveIGroup <ID> “Immunity Group“

RemoveAGroup <ID> “Admin Group“



Database sub commands :->

Upload (Used to create and upload clients to a database)

Download (Used to download the clients from the database to the server and write clients.txt))

ServerID (Used to upload just the database.txt information to the database)

ma_client <sub command> <param 1> <param 2>

X

X

X

X

X

ma_clientgroup

Note that if a parameter has spaces then it must be enclosed in quotes

For adding flags, using “+#“ will add all flags, “-#“ will remove all flags



Sub Commands :->

Status agroup (Shows all admin groups and their flags)

Status igroup (Shows all immunity groups and their flags)

Status alevel (Shows all admin levels and their flags)

Status ilevel (Shows all immunity levels and their flags)



addagroup “Admin Group Name“ “Flags (+ to add, - to remove)“ (Add/Update Admin group)

addigroup “Immunity Group Name“ “Flags (+ to add, - to remove)“ (Add/Update immunity group)

addalevel <Admin Level ID (must be number)> “Flags (+ to add, - to remove)“ (Add/Update Admin Level)

addilevel <Immunity Level ID (must be number)> “Flags (+ to add, - to remove)“ (Add/Update Immunity Level)



removeagroup “Admin Group Name“

removeigroup “Immunity Group Name“

removealevel <Admin Level ID (must be number)>

removeilevel <Immunity Level ID (must be number)>

ma_clientgroup <sub command> <param 1> <param 2>

X

X

X

X

X

ma_color

Target has their color and transparency changed to the specified values

ma_color <target> <red 0-255> <green 0-255> <blue 0-255> <alpha 0-255>

X

X

X

X

.

ma_color_weapon

Target has their weapon color and transparency changed to the specified values

ma_color_weapon <target> <red 0-255> <green 0-255> <blue 0-255> <alpha 0-255>

X

X

X

X

.

ma_colour

Target has their colour and transparency changed to the specified values

ma_colour <target> <red 0-255> <green 0-255> <blue 0-255> <alpha 0-255>

X

X

X

X

.

ma_colour_weapon

Target has their weapon colour and transparency changed to the specified values

ma_colour_weapon <target> <red 0-255> <green 0-255> <blue 0-255> <alpha 0-255>

X

X

X

X

.

ma_config

Shows the current server cvar settings. If you specify the optional parameter it will show all Mani related cvars matching that pattern.

'ma_config vote' will show all Mani cvars with the word 'vote' in them

ma_config [optional cvar name match]

X

X

X

X

X

ma_csay

Place a message in the centre of the screen for all to see (Use @@@ <message> in chat mode)

ma_csay <message>

X

X

X

X

X

ma_decal

Fires a permanent decal spray onto the nearest static object in front of you

Useful for caclulating advert positions

ma_decal <decal name>

X

X

X

X

.

ma_dropc4

CSS Only. Forces the player with the bomb to drop it

ma_dropc4

X

X

X

X

.

ma_drug

Drugs a target player. Command works in toggle mode if optional parameter is not used

ma_drug <target> [optional mode 0 = disable drug, 1 = enable drug]

X

X

X

X

.

ma_effect

No Description

-

.

.

.

X

.

ma_endobserve

Stops the automatic viewing of a target

ma_endobserve

X

X

X

.

.

ma_exit

Exits pmessage mode

ma_exit

X

X

X

.

.

ma_favourites

Shows the current favourites list

ma_favourites

X

X

X

X

.

ma_firebomb

Makes a target into a fire bomb. Command works in toggle mode if optional parameter is not used

ma_firebomb <target> [optional mode 0 = disable firebomb, 1 = enable firebomb]

X

X

X

X

.

ma_freeze

Freezes a target from moving. Command works in toggle mode if optional parameter is not used

ma_freeze <target> [optional mode 0 = disable freeze, 1 = enable freeze]

X

X

X

X

.

ma_freezebomb

Makes a target into a freeze bomb. Command works in toggle mode if optional parameter is not used

ma_freezebomb <target> [optional mode 0 = disable freezebomb, 1 = enable freezebomb]

X

X

X

X

.

ma_give

Target is given an item, e.g weapon_ak47 (CSS Only)

ma_give <target> <item name>

X

X

X

X

.

ma_give_ammo

Target is given ammo for a weapon slot (CSS Only)

ma_give_ammo <target> <weapon slot 0-5> <primary fire mode 0 or 1> <amount> [optional suppress noise 0 or 1]

X

X

X

X

.

ma_giveammo

Target is given ammo for a weapon slot (CSS Only)

ma_give_ammo <target> <weapon slot 0-5> <primary fire mode 0 or 1> <amount> [optional suppress noise 0 or 1]

X

X

X

X

.

ma_givecash

Adds cash to a target account

ma_givecash <target> <cash to add>

X

X

X

X

.

ma_givecashp

Increases a targets cash by a certain percent

ma_givecashp <target> <percent increase>

X

X

X

X

.

ma_givehealth

Adds health to a target

ma_givehealth <target> <health to add>

X

X

X

X

.

ma_givehealthp

Increases a targets health by a certain percent

ma_givehealthp <target> <percent increase>

X

X

X

X

.

ma_gravity

Target has their gravity changed to a percentage of sv_gravity

ma_gravity <target> <percentage of global gravity -100 - 0 - 100>

X

X

X

X

.

ma_help

Without the pattern all help commands are shown, with the pattern match if 1 match is found full information is given on that command,

if less or equal than 20 matches are found then the parameter lists are also shown next to the command

ma_help [optional pattern match]

X

X

X

X

X

ma_kick

Kicks the target from the server

ma_kick <target>

X

X

X

X

X

ma_knives

Restricts all weapons except the knife. CSS Only

ma_knives

X

X

X

X

.

ma_listmaps

Shows the current map cycle in the console with maps not in the mapcycle but are on the server

ma_listmaps

X

X

X

X

.

ma_map

Change to a new map. You must use this instead of 'changelevel' when running custom mapcycle modes

ma_map <map name>

X

X

X

X

.

ma_mapcycle

Shows the contents of the current mapcycle file

ma_mapcycle

X

X

X

X

.

ma_maphistory

Shows up to the last 20 maps played in sequence

ma_maphistory

X

X

X

X

.

ma_maplist

Shows the contents of the current maplist.txt file

ma_maplist

X

X

X

X

.

ma_msay

Pops up an amx style box with your message in there, use \n for line breaks

Set time to 0 to force the user to press a key to remove the message

ma_msay <display time in seconds> <target> <message>

X

X

X

X

X

ma_mute

Mutes a target from chatting and speaking. Command works in toggle mode if optional parameter is not used

ma_mute <target> [optional mode 0 = disable mute, 1 = enable mute]

X

X

X

X

.

ma_nextmap

Shows the nextmap in the mapcycle

ma_nextmap

X

X

X

X

.

ma_noclip

Target is placed in noclip mode. Command works in toggle mode if optional parameter is not used

ma_noclip <target> [optional mode 0 = disable noclip, 1 = enable noclip]

X

X

X

X

.

ma_nosnipers

Restricts all of the snipers except the scout. CSS Only

ma_nosnipers

X

X

X

X

.

ma_observe

Allows an admin to automatically switch to view the target when admin is dead or in spectator mode

ma_observe <target>

X

X

X

.

.

ma_offset

No Description

-

X

X

X

.

.

ma_offsetscan

No Description

-

X

X

X

.

.

ma_offsetscanf

No Description

-

X

X

X

.

.

ma_pistols

Restricts all weapons except the pistol group. CSS Only

ma_pistols

X

X

X

X

.

ma_play

Triggers a sound sample that others can hear.

The ID of the sound can be the sound index number or the alias name of the sound or just part of the alias

See ma_showsounds for a list of sounds

ma_play <Index of sound or part of sound name>

X

X

X

X

.

ma_plranks

Shows the current players that are ranked in the stats system

ma_plranks [optional start index] [optional end index]

X

X

X

X

.

ma_pmess

Setup message mode with targets, each @@ message will go to the target without needing to specify a name

ma_pmess <target>

X

X

X

.

.

ma_position

Outputs your current absolute xyz position, your eye xyz position and eye angle xyz vector

ma_position

X

X

X

X

.

ma_psay

Admin chat to a single player (Use @@ <target> <message> in chat command)

ma_psay <target> <message>

X

X

X

X

.

ma_ranks

Shows the current players that are in the stats system including players that are not ranked yet.

The list is ordered by Steam ID or by Player Name depending on the Steam mod

ma_ranks [optional start index] [optional end index]

X

X

X

X

.

ma_rates

Shows the current players rate information

ma_rates

X

X

X

X

X

ma_rcon

Run a rcon command (Note if the rcon command returns text you will not see it from the client console)

ma_rcon <rcon command>

X

X

X

X

X

ma_reloadclients

Reload the client administration data

ma_reloadclients

X

X

X

X

X

ma_render_fx

Target has their render FX mode changed to the specifed value

ma_render_fx <target> <render FX type 0-100>

X

X

X

X

.

ma_render_mode

Target has their render mode changed to the specifed value

ma_render_mode <target> <render mode 0-100>

X

X

X

X

.

ma_resetrank

Resets an individual players rank. Use their Steam ID if in steam mode or Name if using LAN mode for your ranks

ma_resetrank <STEAM_ID (steam id mode) or NAME (LAN mode)>

X

X

X

X

.

ma_restrict

Restricts a weapon from being bought. Only for CSS. ma_restrict awp 2

ma_restrict <weapon name> [optional amount per team]

X

X

X

X

.

ma_restrictall

Restricts all the weapons. CSS Only

ma_restrictall

X

X

X

X

.

ma_restrictratio

Set a team win ratio so a restriction is enforced when a team is leading by the ratio amount.

Only CSS

ma_restrictrato <weapon name> <win ratio before restriction>

X

X

X

X

.

ma_saveloc

Saves your current location in your personal settings for the map. It can be used later with ma_teleport

ma_saveloc

X

X

X

.

.

ma_say

Admin chat to all players (Use 'all say' @ message in chat command)

ma_say <message>

X

X

X

X

X

ma_session

Shows your own session stats if stats are turned on, optionally you can name another player on the server

ma_session [optional target]

X

X

X

.

.

ma_setcash

Sets a target cash amount

ma_setcash <target> <cash amount>

X

X

X

X

.

ma_setflag

No Description

-

X

X

X

X

X

ma_sethealth

Sets a target health amount

ma_sethealth <target> <health amount>

X

X

X

X

.

ma_setnextmap

Set the next map that will be played

ma_setnextmap <map name>

X

X

X

X

.

ma_setskin

Set a target to have a specific skin

ma_setskin <target> <skin name>

X

X

X

X

.

ma_shotguns

Restricts all weapons except the shotgun group. CSS Only

ma_shotguns

X

X

X

X

.

ma_showrestrict

Shows the current list of restricted weapons

ma_showrestrict

X

X

X

X

.

ma_showsounds

Shows the current list of sounds available to play

ma_showsounds

X

X

X

X

.

ma_skipmap

Skip the current map that you are playing to the next one in the map cycle

ma_skipmap

X

X

X

X

.

ma_slap

Slap a target with an optional damage amount, default is 0

ma_slap <target> [optional damage amount]

X

X

X

X

.

ma_slay

Slay the target

ma_slay <target>

X

X

X

X

.

ma_spec

Moves target to be a spectator. Only works on games that support spectating

ma_spec <target>

X

X

X

X

X

ma_spray

Checks for player sprays near your location then displays a menu for the nearest one found

ma_spray

X

X

X

X

.

ma_statsme

Shows your own stats if stats are turned on, optionally you can name another player on the server

ma_statsme [optional target]

X

X

X

.

.

ma_swapteam

Moves target to opposite team. Only works on team based games. In CSS a target will not die when swapped if they are alive

ma_swapteam <target>

X

X

X

X

X

ma_swapteam_d

Moves target to opposite team at the end of a round. Only works on CSS.

ma_swapteam_d <target>

X

X

X

X

X

ma_takecash

Removes a set amount of cash from a target

ma_takecash <target> <cash to remove>

X

X

X

X

.

ma_takecashp

Removes a percentage of a targets cash

ma_takecashp <target> <percent decrease>

X

X

X

X

.

ma_takehealth

Removes a set amount of health from a target

ma_takehealth <target> <health to remove>

X

X

X

X

.

ma_takehealthp

Removes a percentage of a targets health

ma_takehealthp <target> <percent decrease>

X

X

X

X

.

ma_teamindex

Show the internal numeric number for the target team (Useful for making new gametype.txt entries)

ma_teamindex <target>

X

X

X

.

.

ma_teleport

Teleports a target to either your personal saved location or to specified xyz coordinates.

Multiple targets will automatically be stacked on top of each other

ma_teleport <target> [optional x,y,x coordinates]

X

X

X

X

.

ma_timebomb

Makes a target into a time bomb. Command works in toggle mode if optional parameter is not used

ma_timebomb <target> [optional mode 0 = disable timebomb, 1 = enable timebomb]

X

X

X

X

.

ma_timeleft

Shows the current amount of time/number of rounds or frags left to play

ma_timeleft

X

X

X

X

.

ma_tklist

Shows the current team kill and team wound statistics for the players on the map

ma_tklist

X

X

X

X

.

ma_unauto_ip

Removes an IP Address from the auto kick list

ma_unauto_ip <IP Address>

X

X

X

X

.

ma_unauto_name

Removes a name from the auto kick/ban list

ma_unauto_name <name>

X

X

X

X

.

ma_unauto_pname

Removes a name pattern from the auto kick/ban list

ma_unauto_pname <name pattern>

X

X

X

X

.

ma_unauto_steam

Removes a Steam ID from the auto kick list

ma_unauto_steam <Steam ID>

X

X

X

X

.

ma_unban

Un-ban a player or IP Address

ma_unban <Steam ID or IP Address>

X

X

X

X

X

ma_unrestrict

Un-restricts the weapon. CSS Only

ma_unrestrict <weapon name>

X

X

X

X

.

ma_unrestrictall

Un-restricts all the weapons. CSS Only

ma_unrestrictall

X

X

X

X

.

ma_users

Shows the current players user information

ma_users

X

X

X

X

X

ma_vote

Start a map vote, delay type determines when the map will change. Note that 'round' is only for CSS at the end of a round.

You can have up to 78 Map specified in the vote

ma_vote [optional delay type 'now' or 'end' or 'round'] <Map 1> [Map 2] [Map 3] ...

X

X

X

X

.

ma_votecancel

Cancel the current system vote that is running

ma_votecancel

X

X

X

X

.

ma_voteextend

Start a map extension vote

ma_voteextend

X

X

X

X

.

ma_votemaplist

Shows the contents of the current votemaplist.txt file

ma_votemaplist

X

X

X

X

.

ma_votequestion

Start a question vote. The title must be enclosed in quotes as must the answers.

You can have up to 78 possible answer parameters, if no answers are specified it will be a yes/no vote

ma_votequestion <Vote title> [optional Answer 1] [optional Answer 2] [optional Answer 3] ...

X

X

X

X

.

ma_voterandom

Set up a random map vote, delay type determines when the map will change. Note that 'round' is only for CSS at the end of a round.

ma_voterandom [optional delay type 'now' or 'end' or 'round'] <Number of maps to include>

X

X

X

X

.

ma_votercon

Start a rcon vote. The vote title must be enclosed in quotes, the rcon command does not require quotes unless a semicolon ';' is being used in the rcon command.

ma_rcon “Reduce the Gravity ?“ sv_gravity 1

ma_votercon <Vote title> <RCON command to run if 'Yes' is voted>

X

X

X

X

.

ma_war

Enable or disable war mode. Without the optional switch war mode is toggled

ma_war [optional switch 1 = on, 0 = off]

X

X

X

X

X