
Command Name

Command Syntax

Server Management

Ban Player

/ban [target] [reason]

Ban IP Address

/ban-ip [target/IP address] [reason]

View Banned Users

/banlist players

/banlist IPs

Change Default Gamemode

/defaultgamemode (survival/creative/adventure/spectator)

Remove Operator Privileges

/deop [target]

Force a Chunk to Load Constantly

/forceload (add/remove) (chunk coords)

/forceload remove all

/forceload query (chunk coords)

Set the Current Gamemode

/gamemode (survival/creative/adventure/spectator) [target]

Set a Gamerule

/gamerule [RuleName] (RuleValues)

List Players on Server

/list

/list uuids

NAME_1

/kick [target] [reason]

Give Operator Status

/op [player]

Unban Player

/pardon [player]

Unban IP Address

/pardon-ip [address]

Allow LAN Users to Join a Singleplayer World

/publish [port]

Save a Backup of a World

/save hold

/save query

/save resume

Save a Server

/save-all (flush)

Disable Automatic Server Saves

/save-off

Enable Automatic Server Saves

/save-on

Change Idle Kick Time

/setidletimeout [minutes]

Set Maximum Player Count

/setmaxplayers [amount]

Set Default Spawn Point

/setworldspawn

/setworldspawn (x, y, z)

Make Spectator Follow Entity

/spectate [target] [player]

Spread Players Across World

/spreadplayers (center coords) [distance of spread] [maximum range] [team spread: true/false] [targets]

Shut Down Server

/stop

Count an Entity

/testfor [target]

Transfer to Another Server

/transferserver [ip address] [port]

Modify the Server Whitelist

/whitelist (add/remove) [player]

/whitelist (on/off)

/whitelist list

/whitelist reload

Enable/Disable Mob Events

/mobevent [event] (true/false)

Connect to a WebSocket Server

/wsserver OR /connect [ip]

Player Modification and Cheats

Clear Items from Inventory

/clear [target]

/clear [target] [item]

/clear [target] [item] [amount]

Add or Remove Advancements

/advancement (grant/remove) [target] everything

Grant or Remove a Status Effect

For NAME_2: /effect give [entity] [effect] (duration) (effect level) (hide particles: true/false)

For Bedrock: /effect [entity] [effect] (duration) (effect level) (hide particles: true/false)

For NAME_2: /effect clear [entity] [effect]

For Bedrock: /effect [entity] clear

Enchant Current Weapon

/enchant [target] [enchantment ID] [level]

Add or Remove Experience Points

(/experience OR /xp) add [target] [amount] (points/levels)

(/experience OR /xp) set [target] [amount] (points/levels)

/experience query [target] (points/levels)

Give an Item to Someone

/give [t Make sure your entire response is wrapped in JSON format.
user