Here's the exhaustive list of all commands that can be used by the administrator of a Minecraft Server - Java Edition:
op <player>
deop <player>
<player>
is the username of the player to whom you want to grant or revoke operator status.
ban <player>
pardon <player>
<player>
is the username of the player you want to ban or unban.
ban-ip <address>
pardon-ip <address>
<address>
is the address of the player you want to ban or unban.
whitelist add <player>
whitelist remove <player>
<player>
is the username of the player you want to add to/from the whitelist.
whitelist on
whitelist off
whitelist list
kick <player>
<player>
is the username of the player you want to kick from the server.
tp <player1> <player2>
<player1>
is the username of the player you want to teleport, and <player2>
is the username of the player to whose location you want to teleport <player1>
.
tp <player> <x> <y> <z>
<player>
is the username of the player you want to teleport, and <x> <y> <z>
are the coordinates to which you want to teleport the specified player.
give <player> <item> [amount]
<player>
is the username of the player to whom you want to give an item, <item>
is the specific item you want to give, and [amount]
is an optional parameter that defines the quantity of the item to be given.
To give an item, you use its item ID in the give command. The item ID is usually in the format minecraft:item_name. For example, to give an oak log, you would use minecraft:oak_log. You can find all item IDs Here.
kill <player>
<player>
is the username of the player you want to immediately eliminate from the game, causing them to respawn.
time set <value>
weather <weather>
clear
: To set the sun.rain
: To set the rain.thunder
: To set the rain and the thunder.
gamemode <gamemode> <player>
survival
: To set the game mode to survival.creative
: To set the game mode to creative.spectator
: To set the game mode to spectator.adventure
: To set the game mode to adventure.
xp add <player> <amount> points
xp add <player> <amount> levels
<player>
is the username of the player to whom you want to give experience points, and <amount>
is the number of experience points or levels to be given.
say <message>
<message>
represents the content of the message that you want to broadcast to all players on the server.
stop
reload
save-all
save-off
save-on
list
difficulty <difficulty>
peaceful
: To set the difficulty to peaceful.easy
: To set the difficulty to easy.normal
: To set the difficulty to normal.hard
: To set the difficulty to hard.
effect <player> clear
<player>
is the username of the player from whom you want to remove all active status effects.
effect <player> <effect> [seconds] [amplifier] [hideParticles]
<player>
is the username of the player to whom you want to apply a status effect<effect>
is the ID of the status effect. You can find all effect IDs here.[seconds]
is the optional duration of the effect in seconds.[amplifier]
is the optional level of the effect (starting from 0).[hideParticles]
is an optional boolean value (true or false) that, if set to true, hides particles from the effect.
seed
setworldspawn [<x> <y> <z>]
[<x> <y> <z>]
are parameters that represent the coordinates where you want to set the world spawn point.
defaultgamemode <defaultgamemode>
survival
: To set the default game mode to survival.creative
: To set the default game mode to creative.spectator
: To set the default game mode to spectator.adventure
: To set the default game mode to adventure.
playsound <sound> <player> <source> [<x> <y> <z>] <volume> <pitch> <minimumVolume>
<sound>
is the sound that will play (in your case,minecraft:entity.creeper.primed
).<source>
is the source of the sound (master
,music
,record
,weather
,block
,hostile
,neutral
,player
,ambient
,voice
).<player>
is the player who will hear the sound.[<x> <y> <z>]
are the coordinates from where the sound will play.[<volume>]
is the volume, which controls how loud the sound will be.[<pitch>]
is the pitch, which controls the tone of the sound.[<minimumVolume>]
is the minimum volume for players who are outside the normal audible sphere.
In the context of the Minecraft playsound
command, the master
refers to the source channel of the sound being played.
Minecraft has various sound categories or "channels" that allow for more fine-tuned control over in-game audio settings. These categories can be individually adjusted by the player, meaning a player can make certain types of sounds louder or softer independent of other sounds.
Here are the main sound categories (sources):
master
: This is the main volume controller. All sounds in the game fall under this category.music
: This category is for the background music that plays while in the game.record
: This is for music disc sounds.weather
: This is for weather-related sounds (e.g., rain, thunder, etc.).block
: This is for sounds related to blocks (e.g., placing, breaking, stepping on blocks).hostile
: This is for sounds made by hostile creatures.neutral
: This is for sounds made by neutral creatures.player
: This is for sounds made by the player (e.g., damage, burp, etc.).ambient
: This is for ambient/environmental sounds.voice
: This is for any in-game voice output.
When you're using the playsound
command and specify master
as the source, the sound will play on the 'Master' channel, which means it is not categorized under any specific in-game sound like blocks, creatures, weather, etc. Instead, it plays as a general game sound that is controlled by the master volume setting in the game.
scoreboard objectives add <objective name> dummy <display-name>
scoreboard objectives list