Module: command_bundle
Overview
This module allows creating a new command (Called template command or bundle command):
-
User-Defined Arguments: the new command can accept user-defined arguments. -
Command Body: the body of a new command can consist of a list of existing commands. -
Placeholders: the body can support placeholder parsing.
It can be used as a generic command template system.
Color Boxes
◉ The features of this module:
-
Provide a user-friendly DSL, to create
a new custom commandeasily. -
Support the inter-operation with
user-defined variable,placeholdersandvanilla target selectors. -
Support complex
argument types:required argument,literal argumentand evenoptional argument with a specified default value. -
A powerful
type-system, to use the built-inargument types. -
Register and un-register
custom commandson the fly, without a server re-start.
◉ The purpose of this module
This module allows you to define a new command.
To define a new command, you need to specify the following things:
-
The
patternof this new command: If the pattern isclaim-kit example, then the new command is/claim-kit example. -
The
bundleof this new command: It is thebodyof this new command. It isa list of commandsto be executed.
To define a new bundle command, you need to specify the pattern and the bundle for it.
The pattern describes: what does your new command look like?
The bundle describes: what commands should we execute when your new command is executed?
◉ The syntax of the pattern.
The pattern is composed by a list of command node.
For example, the pattern instance first second third describes a command /first second third.
It is composed by 3 command node, they are all literal arguments.
In the syntax of pattern, there are 3 types of arguments:
-
Literal Argument: You can write it down directly. For examplefirst,second,third, andclaim-kitare all literal arguments. -
Required Argument: It's syntax is<arg-type arg-name>. For example,<int age>means arequired argumentwhoseargument type is intandargument name is age. -
Optional Argument: It's syntax is[arg-type arg-name default-value]. It is similar torequired argument, but you can provide adefault valueif this argument is not specified by thecommand source.
You can reference the value of Required Argument or Optional Argument in the bundle component.
For example, you can write down $age to refer to a variable named age defined in the pattern component.
◉ What is the type system used by the syntax of pattern?
Fuji will register an argument type adapter for a specific argument type.
You can issue /fuji inspect argument-types to list all registered adapters.
You can use any argument type listed in that GUI.
◉ The syntax of the bundle.
Actually, the bundle is just a list of commands.
You can write Minecraft commands directly in the bundle list.
When a bundle command is executed, we will execute the list of commands defined by bundle from up to down.
Commands are executed as console.
You can use /run as player or /run as fake-op to switch the command execution context, if it is needed.
◉ Generate powerful commands using a generator.
You can use command generator to get powerful commands:
https://www.gamergeeks.net/apps/minecraft/particle-command-generator
◉ Use a bundle command to combine many commands into one command.
In this example, we want to register a new command /composite-heal.
To decorate an existed command /heal.
The decorations are:
-
We will
saybefore the execution of/healcommand. -
We will spawn a
heart particlebefore the execution of/healcommand. -
We will
sayafter the execution of/healcommand.
To define this bundle command as shown below.
Pattern: composite-heal
Bundle:
-
say before heal %player:name% -
run as fake-op %player:name% particle minecraft:heart ~ ~2 ~ -
run as player %player:name% heal -
say after heal %player:name%
◉ Use a bundle command to transform the form of an existed command.
In this example, we want to register a new command /warn.
As a shortcut command to a specific command instance.
Pattern: warn <player player-arg> <greedy greedy-arg>
Bundle:
run as player %player:name% send-message $player-arg <red>You are warned: $greedy-arg
◉ Use a bundle command to wrap a specific command instance.
In this example, if you want to allow players to use /give @s minecraft:apple.
You only want to allow the players to get free apples.
And you didn't want to allow players to use /give command arbitrarily.
Then, you can define a bundle command like /free-apple to wrap a specific instance of /give command.
Pattern: free-apple
Bundle:
run as fake-op %player:name% give @s minecraft:apple
◉ Define a bundle command to wrap a specific /kit give command instance.
Pattern: kitfood
Bundle:
run as fake-op %player:name% kit give @s kit-food
◉ See more advanced examples.
The default config file contains a set of advanced examples.
You can see there are many pre-defined bundle commands.
Their name starts with /my-command.
Besides, there are also a set of pre-defined bundle commands for convenience.
For example: /gmc, /gms, /day, /sun...
◉ Transform the form of a command.
-
/blocknbt->/data get block -
/entitynbt->/data get entity -
/gm,/gmsand/gmc->/gamemode -
/findbiome->/locate biome -
/flyspeed->/attribute Alice minecraft:generic.flying_speed -
/walkspeed->/attribute Alice minecraft:movement_speed -
/maxhealth->/attribute Alice minecraft:generic.max_health -
/groundclean->/kill @e[type=...] -
/spawnmob->/summon -
/shoot->/summonwith motion -
/smiteand/thunder->/summon minecraft:lighting_bolt
◉ Define a /tpw command to teleport players to a specified dimension.
Pattern: tpw resource-world
Bundle:
run as fake-op %player:name% tppos --centerX 0 --centerZ 0 --maxRange 128 --dimension fuji:overworld
Configurations
The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.
- File Name:
config.json - File Content:
Click to see the default content...
{
/* Defined `bundle commands`. */
"bundle_commands": [
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is used to test the `optional argument`."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "my-command a-command-with-optional-arg <int int-arg-name> [str str-arg-name this is the default value]"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"say hello %player:name%",
"say int is $int-arg-name",
"say str is $str-arg-name"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is used to test the `literal argument` and `required argument`."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "my-command a-command-with-required-arg first-literal second-literal <str str-arg-name>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"say hello %player:name%",
"say str is $str-arg-name"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is used to test the `greedy string` argument type."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "my-command a-command-with-a-greedy-string <int int-arg-name> first-literal [greedy-string greedy-string-arg-name this is the default value]"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"say hello %player:name%",
"say int is $int-arg-name",
"say str is $greedy-string-arg-name"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is used to test the `literal argument`, `required argument` and `optional argument`."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "my-command a-command-with-all-types-of-args <int int-arg-name> first-literal [str str-arg-name the default value can contains placeholder %player:name% in %world:name%]"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"say hello %player:name%",
"say int is $int-arg-name",
"say str is $str-arg-name"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/gamemode`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "gm <gamemode gamemode-arg>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% gamemode $gamemode-arg"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/gamemode creative`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "gmc"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% gamemode creative"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/gamemode survival`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "gms"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% gamemode survival"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/gamemode spectator`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "gmsp"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% gamemode spectator"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/weather clear`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "sun"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% weather clear"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/weather rain`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "rain"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% weather rain"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/weather thunder`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "thunder"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% weather thunder"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/time set day`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "day"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% time set day"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/time set night`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "night"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% time set night"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/time set midnight`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "midnight"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% time set midnight"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/time set noon`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "noon"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% time set noon"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/data get entity`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "nbt entity <entity target>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as fake-op %player:name% data get entity $target"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/data get block`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "nbt block <block-pos target>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as fake-op %player:name% data get block $target"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an alias for `/data get entity @s SelectedItem`"
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "nbt item"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as fake-op %player:name% data get entity %player:name% SelectedItem"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an easter egg for `/plugins` in Bukkit."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 0,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "plugins"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"send-message %player:name% Server Plugins (0): "
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command is an easter egg for `/icanhasbukkit` in Bukkit."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 0,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "icanhasbukkit"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"send-message %player:name% <i>Checking version, please wait...",
"delay 2 send-message %player:name% This server is running Bukkit version (MC: %server:version%)",
"delay 3 send-message %player:name% <green>You are running the latest version"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command summons an entity with specified entity type, with an initial motion."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "shoot <entity-type entity-type-arg-name>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"execute as %player:name% run summon $entity-type-arg-name ~ ~1 ~ {ExplosionPower:4,Motion:[3.0,0.0,0.0]}"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command summons a lightning_bolt entity."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "strike"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"execute as %player:name% at @s run summon lightning_bolt ^ ^ ^32"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command applies the `unbreakable` enchantment for the item in hand."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "unbreakable"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% enchant %player:name% minecraft:unbreaking"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command modifies your movement_speed attribute."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "move-speed set <double double-arg>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% attribute %player:name% minecraft:generic.movement_speed base set $double-arg"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command modifies your movement_speed attribute."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "move-speed reset"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as player %player:name% attribute %player:name% minecraft:generic.movement_speed base set 0.10000000149011612"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command will introduce yourself to others."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "introduce-me"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as fake-op %player:name% me i am %player:name%"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command will roll a random dice."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "dice"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"say %player:name% just roll out %fuji:random 1 6% points."
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command will give `all` recipes to the player."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "obtain-all-recipes"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as fake-op %player:name% recipe give %player:name% *"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command will give the skull of specified player."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "skull <offline-player offline-player-arg>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"give %player:name% minecraft:player_head[minecraft:profile=$offline-player-arg]"
]
},
{
"enable": true
/* The `document` for this `bundle command`. This field can be `null`. */,
"document": "This command will print the UUID of specified player."
/* The requirement to use this `bundle command`. */,
"requirement": {
"level": 4,
"string": null
}
/* The `syntax pattern` for this `bundle command`. */,
"pattern": "uuid <player target>"
/* The `body` of this `bundle command`.
The `body` is a list of commands.
It will be executed as console. */,
"bundle": [
"run as fake-op $target send-message %player:name% <yellow>The UUID of player $target is %fuji:escape player:uuid 2%"
]
}
]
}
Commands
-
Command Syntax:
/command-bundle list -
Document: List all registered bundle-commands in server.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/command-bundle register -
Document: Register all commands defined in bundle-command configuration file.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/command-bundle un-register -
Document: Un-register all bundle-commands registered in server.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/day -
Document: This command is an alias for
/time set day -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/dice -
Document: This command will roll a random dice.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/gm <GameMode gamemode-arg> -
Document: This command is an alias for
/gamemode -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/gmc -
Document: This command is an alias for
/gamemode creative -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/gms -
Document: This command is an alias for
/gamemode survival -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/gmsp -
Document: This command is an alias for
/gamemode spectator -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/icanhasbukkit -
Document: This command is an easter egg for
/icanhasbukkitin Bukkit. -
Can be executed by console:
true -
Required Level Permission:
0 -
Required String Permission:
null
-
Command Syntax:
/introduce-me -
Document: This command will introduce yourself to others.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/midnight -
Document: This command is an alias for
/time set midnight -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/move-speed reset -
Document: This command modifies your movement_speed attribute.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/move-speed set <double double-arg> -
Document: This command modifies your movement_speed attribute.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/my-command a-command-with-a-greedy-string <int int-arg-name> first-literal [GreedyString greedy-string-arg-name] -
Document: This command is used to test the
greedy stringargument type. -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/my-command a-command-with-all-types-of-args <int int-arg-name> first-literal [String str-arg-name] -
Document: This command is used to test the
literal argument,required argumentandoptional argument. -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/my-command a-command-with-optional-arg <int int-arg-name> [String str-arg-name] -
Document: This command is used to test the
optional argument. -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/my-command a-command-with-required-arg first-literal second-literal <String str-arg-name> -
Document: This command is used to test the
literal argumentandrequired argument. -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/nbt block <BlockPos target> -
Document: This command is an alias for
/data get block -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/nbt entity <Entity target> -
Document: This command is an alias for
/data get entity -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/nbt item -
Document: This command is an alias for
/data get entity @s SelectedItem -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/night -
Document: This command is an alias for
/time set night -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/noon -
Document: This command is an alias for
/time set noon -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/obtain-all-recipes -
Document: This command will give
allrecipes to the player. -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/plugins -
Document: This command is an easter egg for
/pluginsin Bukkit. -
Can be executed by console:
true -
Required Level Permission:
0 -
Required String Permission:
null
-
Command Syntax:
/rain -
Document: This command is an alias for
/weather rain -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/shoot <NotSupportedType entity-type-arg-name> -
Document: This command summons an entity with specified entity type, with an initial motion.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/skull <OfflinePlayerName offline-player-arg> -
Document: This command will give the skull of specified player.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/strike -
Document: This command summons a lightning_bolt entity.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/sun -
Document: This command is an alias for
/weather clear -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/thunder -
Document: This command is an alias for
/weather thunder -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/unbreakable -
Document: This command applies the
unbreakableenchantment for the item in hand. -
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/uuid <ServerPlayerEntity target> -
Document: This command will print the UUID of specified player.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null