Console Commands
In-game admin and console commands.
Enable Flight
Admin mobility
admincheat fly
View detailsSpawn Weapon
Item spawn
admincheat gfi WeaponGun 1 0 0
View detailswhitelist reload
Reloads the list of playernames in white-list.txt from disk.
whitelist reload
View detailswhitelist off
Disables the server's use of a whitelist.
whitelist off
View detailswhitelist on
Enables the server's use of a whitelist.
whitelist on
View detailswhitelist list
Displays all players in the whitelist.
whitelist list
View detailswhitelist remove <playername>
Removes playername from the whitelist.
whitelist remove <playername>
View detailswhitelist add <playername>
Adds playername to the whitelist.
whitelist add <playername>
View detailsstop
Gracefully shuts down the server.
stop
View detailssave-on
Enables the server writing to the world files. This is the default behavior.
save-on
View detailssave-off
Disables the server writing to the world files. All changes will temporarily be queued.
save-off
View detailssave-all
Forces the server to write all pending changes to the world to disk.
save-all
View detailspardon-ip <ip-address>
Removes ip-address from the IP blacklist, allowing players from that IP address to connect to the server.
pardon-ip <ip-address>
View detailspardon <playername>
Removes playername from the blacklist, allowing them to connect again.
pardon <playername>
View detailspardon <playername>
Removes playername from the blacklist, allowing them to connect again.
pardon <playername>
View detailsop <playername>
Grants playername operator status on the server.
op <playername>
View detailslist
Shows the names of all currently-connected players
list
View detailskick <playername> [reason]
Forcibly disconnects playername from the server, displaying an optional reason to them.
kick <playername> [reason]
View detailsdeop <playername>
Revokes a player's operator status.
deop <playername>
View detailsbanlist [ips]
Displays the banlist. To display banned IP addresses, use the command "banlist ips"
banlist [ips]
View detailsban-ip <ip-address | playername>
Blacklists an IP address so that all subsequent connections from it are rejected.
ban-ip <ip-address | playername>
View detailsban <playername> [reason]
Blacklists the playername from the server so that they can no longer connect.
ban <playername> [reason]
View details/execute summon
Allows customization of a newly spawned entity
/execute summon
View details/damage
Apply damage to entities
/damage
View details/fog
Add or remove fog setting file
/fog
View details/fill
Fills all or parts of a region with a specific block
/fill
View details/event
Triggers an event for the specific object(s)
/event
View details/enchant
Adds an enchantment to the player's selected item
/enchant
View details/effect
Add or remove status effects
/effect
View details/dialogue
Opens NPC dialogue for players
/dialogue
View details/deop
Revokes operator status for players
/deop
View details/connect
Attempts to connect to the WebSocket servers on the provided URL
/connect
View details/clearspawnpoint
Removes spawn point for a player
/clearspawnpoint
View details/camerashake
Shakes camera
/camerashake
View details/locate [location name]
Gives you the coordinates for generated structures
/locate [location name]
View details/itemdamage
Weapons no longer break down
/itemdamage
View details/superheat
Turns all items into their smelted form
/superheat
View details/Freeze
Stops mobs
/Freeze
View details/ride
Turns any mob you're facing into a mount
/ride
View details/gamerule doDaylightCycle false
Stops the day/night cycle
/gamerule doDaylightCycle false
View details/gamerule keepInventory true
Keep all your items when you die
/gamerule keepInventory true
View details/instantplant
Plants grow instantly
/instantplant
View details/dropstore
Store your inventory in a chest (Spawned automatically)
/dropstore
View details/duplicate
Duplicate the item you are holding
/duplicate
View details/firedamage
Enable or disable fire damage
/firedamage
View details/waterdamage
Enable or disable water damage
/waterdamage
View details/falldamage
Enable or disable fall damage
/falldamage
View details/instantmine
Mine any object with one single click
/instantmine
View details/atlantis
Increase the amount of water in your world
/atlantis
View details/seed
Display the code for your current seed
/seed
View details/difficulty [Setting]
Change difficulty (Peaceful, Easy, Normal, Hard)
/difficulty [Setting]
View details/time
Change the time of day (0 for Dawn, 18000 for Night)
/time
View details/gamemode survival
Switch your server to Survival Mode
/gamemode survival
View details/gamemode creative
Switch your server to Creative Mode
/gamemode creative
View details/weather WeatherType
Change the weather (Rain, Thunder, Snow)
/weather WeatherType
View details/kill [TargetPlayer]
Instantly kill your target
/kill [TargetPlayer]
View details/help [CommandName]
Provides detailed info about a specific console command
/help [CommandName]
View details/tp <player> <target>
Teleport a player to another player
/tp <player> <target>
View details/gamemode <mode> <player>
Change the gamemode of a player (0 for Survival, 1 for Creative)
/gamemode <mode> <player>
View details/summon <entity> [x y z]
Create a mob at the select location
/summon <entity> [x y z]
View details/give <player> <item> [quantity]
Give a player free items
/give <player> <item> [quantity]
View details/weather <type> [duration]
Change the weather
/weather <type> [duration]
View details/difficulty <level>
Change the difficulty of your game
/difficulty <level>
View details/experience add <player> <amount>
Give a player free experience points
/experience add <player> <amount>
View details/tp <player> <x y z>
Teleport a player to a specific location
/tp <player> <x y z>
View details