Commands

From ManicDigger

Jump to: navigation, search

Manic Digger distinguishes between client- and server commands. Client commands are being executed on client side whereas server commands are being executed on server side. Commands are being entered on normal chat line. Press T to open chat and input command. Note that client commands begin with a "." and server commands with a "/". Furthermore note that command syntaxes may differentiate between versions.


Contents

Client Commands

Main Version (2012-08-13)

  • .fps [0|1|2|off|on] - draw fps. Mode 2 draws fps history graph too.
  • .fog [distance] - draw distance (max. 128).
  • .fov [degrees] - change field of view.
  • .testmodel [0|1] - draw animated test player model for testing player skins.
  • .noclip [on|off] - enable / disable noclip mode
  • .freemove [on|off] - enable / disable freemove (server can disallow freemove)
  • .movespeed [value] - sets x movespeed, maximum is 500x (only if server allows freemove)
  • .simualtionlag [on|off] - when enabled, framerate is drastically reduced to simulate a lag
  • .gui [1|0] - show / hide GUI
  • .pos [on|off] - show current position

Server Commands

Server commands vary widely between version. New Nightly Builds often bring in new commands and drop needless ones. Furthermore mods can add their own commands. Server commands are an important feature in term of server management. Their number has been increased from version to version. The latest Nightly Build already implements more than 20 server commands. First reference for current available server commands, their syntaxes and usage is the /help command. Server commands are linked with privileges. The execution of a server command requires having the related privilege.

  • /help - get a list of available server commands and their usage

Main Version (2013-02-06)

Command Description Privilege Alias
/help Lists available commands.
/pm [username] {message text} Sends a private message to a player. pm /msg
/teleport_player [username] [x] [y] {z} Move a player to the specified coordinates. teleport_player
/tp [username]

Moves current player to specified player's coordinates. This command will accept just the first part of a player's name and will move to the first matching player it finds.

tp
/tp_pos [x] [y] {z} Moves current player to specified coordinates. tp_pos
/set_spawn [-default|-group|-player] [target] [x] [y] {z} Sets a specific location to spawn for everyone, a group, or a player. set_spawn
/set_spawn [-default|-group|-player] [target] [x] [y] {z} Sets a specific location to spawn for everyone, a group, or a player. set_spawn
/crash Disconnects the current player.
/ch_grp [username] [group] Assign a player to a group. chgrp /op, /cg
/chgrp_offline [username] [group] Assign an offline player to a group. chgrp_offline /op_offline, /cg_offline
/remove_client [username] Assign a player to default guest group. remove_client
/login [group] [password] Login to a group with a password. Password must be set for the group in the ServerConfig.txt login
/welcome {welcome text} Sets a welcome message for the server. welcome
/announcement {announcement text} Sends an announcement message to all players prefixed with "Announcement:". announcement
/kick [username] {reason} Disconnects a player by name. kick
/kick_id [player id] {reason} Disconnects a player by id number. kick
/ban [username] {reason} Disconnects and bans a username from ever reconnecting to the server. ban
/ban_id [player id] {reason} Disconnects and bans a username from ever reconnecting to the server but accepts the id of the current player instead of the username. (Useful if a username is difficult to type.) ban
/banip [username] {reason} Disconnects and bans a player's ip address from ever reconnecting to the server (so creating a new name does not allow them to connect anyway). banip
/banip_id [player id] {reason} Disconnects and bans a player's ip address from ever reconnecting to the server (so creating a new name does not allow them to connect anyway) but accepts the id of the current player instead of the username.. banip
/ban_offline [username] {reason} Bans a username from reconnecting when they are no longer on the server. ban_offline
/unban [-p playername | -ip ipaddress] Unbans a player or ip address and allows them to connect to the server. unban
/list [-clients | -c | -clients2 | -c2]

Lists current players.
-clients or -c will list in the format of Key UserName IP-Address
-clients2 or -c2 will list in the format of Key UserName:Group:Privileges IP-Address

list_clients
/list [-saved_clients] Lists all players that have connected to the server even if they are offline and lists them in the format of UserName:Group list_saved_clients
/list [-groups] Lists all groups available on the current server. list_groups
/list [-bannedusers | -bannedips] Lists all banned users or banned IP addresses. list_banned_users
/list [-areas] Lists all defined areas on the server. list_areas
/give [username] [blockname] [amount] Gives specified player the number of blocks specified in amount. give
/giveall [username] Gives the player all blocks numbering 999 and if player had blocks already (even if they were more than 999) has the first stack found changed to 999. giveall
/privilege_add [username] [privilege]

Gives a player a specific privilege even if their group normally does not have access to it. This can be a dangerous tool because if it is given to a lower level group they can add privileges that give them more power than they should have. Though it will not allow a user to change their group higher than their own level it can allow a user to add privilege_remove which would allow them to remove privileges from an equal level user 1 by 1.

pivilege_add
/privilege_remove [username] [privilege]

Takes away a specific privilege from a player even if their group normally has such a privilege. This command's privilege should be given out with caution and follows similar warnings as privilege_add.

privilege_remove
/reset_inventory [username] Gives a player starting inventory. reset_inventory
/monsters [on|off]

Turns monsters on or off in the game world. This command will turn monsters on but it will be a short time before any monsters are generated.

monsters
/area_add [area-name] [x1,x2,y1,y2,z1,z2] [group1,group2,..] [user1,user2,..] {level} Creates a new area on the server for controlling build rights. area_add
/area_delete [area-name] Removes a specified area from the server. area_delete
/restart Restarts the server. restart
/fill_limit [-default|-group|-player] [limit]

Adjusts the fill limit in number of blocks for everyone, a group or a player for the FillStart and Cuboid blocks.

fill_limit
/logging [-s | -b | -se | -c] {on | off}

Allows for turning logging features on or off.
-s gets the current state of logging.
-b Turns build logging on or off.
-se Turns server event logging on or off.
-c Turns chat logging on or off

logging
/backup_database [filename] Backs up the database to the specified filename. backup_database
Personal tools