Constants

RESTART_MANIA_CONTROL

RESTART_MANIA_CONTROL

Restarts Mania Control Optional Params - message

GRANT_AUTH_LEVEL

GRANT_AUTH_LEVEL

Grands an Authentication Level on a Player Required Parameters - login (login of the player) - level (integer, 0-3 possible, @see AuthenticationManager)

REVOKE_AUTH_LEVEL

REVOKE_AUTH_LEVEL

Revokes an Authentication Level on a Player Required Parameters - login (login of the player)

GET_SERVER_OPTIONS

GET_SERVER_OPTIONS

Provides the Server Options no Parameters

SET_SERVER_OPTIONS

SET_SERVER_OPTIONS

Set Server Options Required Parameter - scriptSettings (array(optionName1 => value1, optionName2 => value2.

..))

GET_SCRIPT_SETTINGS

GET_SCRIPT_SETTINGS

Provides the ModeScriptSettings no Parameters

SET_SCRIPT_SETTINGS

SET_SCRIPT_SETTINGS

Set ModeScriptSettings Required Parameter - scriptSettings (array(settingName1 => value1, settingName2 => value2.

..))

RESTART_MAP

RESTART_MAP

Restarts the Current Map no Parameters

SKIP_MAP

SKIP_MAP

Skips the Current Map no Parameters

SKIP_TO_MAP

SKIP_TO_MAP

Skips to a Specific Map by MxId or MapUid Required Parameters - mxId (integer) OR - mapUid (string)

ADD_MAP

ADD_MAP

Adds a Map from Mania Exchange to the Server Required Parameters - mxId (integer) (no success returning yet because of asynchronously of adding)

REMOVE_MAP

REMOVE_MAP

Removes a Map from the Server Required Parameters - mapUid (string) Optional Parameters - displayMessage (default true) - eraseMapFile (default false)

UPDATE_MAP

UPDATE_MAP

Updates a Map over Mania Exchange Required Parameters - mapUid (no success returning yet because of asynchronously of adding)

GET_CURRENT_MAP

GET_CURRENT_MAP

Gets the current Map Required Parameters - mxId (integer) OR - mapUid (string)

GET_MAP

GET_MAP

Gets the specific Map no Parameters

GET_MAP_LIST

GET_MAP_LIST

Gets the current Map List no Parameters

GET_PLAYER_LIST

GET_PLAYER_LIST

Gets Mania Control PlayerList no Parameters

WARN_PLAYER

WARN_PLAYER

Warns a Player Required Params - login

MUTE_PLAYER

MUTE_PLAYER

Mutes a Player Required Params - login

UNMUTE_PLAYER

UNMUTE_PLAYER

UnMutes a Player Required Params - login

KICK_PLAYER

KICK_PLAYER

UnMutes a Player Required Params - login Optional Params - message

FORCE_PLAYER_TO_SPEC

FORCE_PLAYER_TO_SPEC

Forces a player to Spectator Required Params - login

FORCE_PLAYER_TO_PLAY

FORCE_PLAYER_TO_PLAY

Forces a player to Spectator Required Params - login Optional Params - teamId (integer, id of the team the player should get forced into it)

GET_SERVER_CHAT

GET_SERVER_CHAT

Returns the last 200 lines of the chat (inclusive player logins and nicknames) No Params

SEND_CHAT_MESSAGE

SEND_CHAT_MESSAGE

Sends a ChatMessage to the Server Required Params: - message Optional Params - prefix (use custom prefix or false for no prefix) - login (login of a receiver if the message don't get sent to all) - adminLevel (minimum Admin Level if the Message should get sent to an Admin) - type (type of the message (information, error, success or usage)