Difference between revisions of "Commands"

From Mineserver Wiki
Jump to navigation Jump to search
−
Parameters that are marked with <> (example: <player>) are required. Parameters marked with [] (example: [reason]) are optional. Usage example: "/kick johntheminer this is test kick"
+
All commands are now being moved from core to commands plugin which can be found at [[Plugins]]
−
 
−
== For all players ==
 
−
{| class="wikitable"
 
−
|-
 
−
! Command
 
−
! Description
 
−
|-
 
−
|/help [<commandname>]
 
−
|Displays help text showing all commands and their description, or, if <commandname> given, displays description text for that command.
 
−
|-
 
−
|/players, /who
 
−
|Lists online players
 
−
|-
 
−
|/about
 
−
|Server name & version
 
−
|-
 
−
|/rules
 
−
|Show server rules
 
−
|-
 
−
|/home
 
−
|Teleports player to map spawn location
 
−
|-
 
−
|/kit <name>
 
−
|Gives kit. Items for kit defined in config.cfg with kit_<name> using item id's
 
−
|-
 
−
|/motd
 
−
|Display Message Of The Day
 
−
|-
 
−
|/dnd
 
−
|Do Not Disturb - toggles whether the player receives chat & private messages
 
−
|-
 
−
|/emote, /em, /e, /me
 
−
|Emote
 
−
|-
 
−
|/whisper, /w, /tell, /t
 
−
|Send a private message to another player
 
−
|}
 
−
 
−
== Admin only ==
 
−
{| class="wikitable"
 
−
|-
 
−
! Command
 
−
! Description
 
−
|-
 
−
|%text
 
−
|Servermessage 
 
−
|-
 
−
|&text
 
−
|Admin-only message
 
−
|-
 
−
|/kick <player> [reason]
 
−
|Kicks <player> with optional kick message
 
−
|-
 
−
|/ban <player> [reason]
 
−
|Bans (and kicks if online) <player> from server
 
−
|-
 
−
|/unban <player>
 
−
|Lift a ban
 
−
|-
 
−
|/save
 
−
|Manually save map to disc
 
−
|-
 
−
|/ctp <x> <y> <z>
 
−
|Teleport to coordinates (eg. /ctp 100 100 100)
 
−
|-
 
−
|/tp <player>
 
−
|Teleport yourself to <player>'s position
 
−
|-
 
−
|/tp <player1> <player2>
 
−
|Teleport <player1> to <player2>
 
−
|-
 
−
|/reload
 
−
|Reload admins and configuration
 
−
|-
 
−
|/give <player> <id/alias> [count]
 
−
|Gives <player> [count] pieces of <id/alias>. By default [count] = 1. Supports over 64 items. Aliases configurable in item_alias.cfg
 
−
|-
 
−
|/igive <id/alias> [count]
 
−
|Gives self [count] pieces of <id/alias>. By default [count] = 1.
 
−
|-
 
−
|/rules <player>
 
−
|Shows server rules (from rules.txt) to <player>
 
−
|-
 
−
|/gps [player] 
 
−
|Without [player] shows own coordinates & heading. With [player] shows [player]'s coordinates & heading
 
−
|-
 
−
|/settime <time>
 
−
|Sets server time. <time> = 0-24000 (0 and 24000 is day and about 15000 is night)
 
−
|-
 
−
|/mute <player> [reason]
 
−
|Mutes <player> with optional message
 
−
|-
 
−
|/unmute <player>
 
−
|Unmutes <player>
 
−
|-
 
−
|/regen
 
−
|Regenerates lightning
 
−
|-
 
−
|/sethealth <player> <health>
 
−
|Set <player>'s health. <health> = 0-20
 
−
|}