Skip to content

[EN] Option Description

ゆっちゃん edited this page Feb 22, 2022 · 25 revisions

Placeholder

By specifying a placeholder, you can replace it with a specific value.
(For example, if you create "@player <player>(example)", the string "yuttyann44581(example)" will be displayed.)

Placeholder Description
<player> Replace with "Player name".
<world> Replace with "World name".
PlaceholderAPI Placeholder List
PlaceholderAPI is required.

ColorCode

By specifying a color after &, you can set the color.
This feature is available in some options.

ColorCode Description
&(color) See the Wiki for more information on colors.
&rc Replace with a random colorcode.

Escape Sequence

By specifying escape characters, you can avoid conflicts with settings.
This feature is available in some options.

Escape Description
\a Replace with "&".
\b Replace with " ".
\c Replace with ",".
\h Replace with "-".
\o Replace with ":".
\p Replace with "%".
\s Replace with "/".
\l Replace with "<".
\g Replace with ">".
\i Replace with "[".
\j Replace with "]".

Option List

Symbol Description
< > It must be written.
[ ] Write only if necessary.
{ } true or false
ID Syntax Description
action @action:<Action> Valid if it matches the specified action.
shiftShift, leftLeftClick, rightRightClick
You can specify more than one by separating them with ,.
blocktype @blocktype:<BlockId> Valid if it matches the specified block.
You can specify more than one by separating them with ,.
group @group:[World/]<Group> Valid if it matches the specified group.
Escape can be used.
Permission plugin is required.
permission @perm:[World/]<Node> Valid if it matches the specified permission.
Escape can be used.
Permission plugin is required.
discordrole @drole:<Role> Valid if it matches the specified role.
Please specify a numeric value for Role.
DiscordSRV is required.
discordchannel @dchannel:<Channel> Valid if it matches the specified channel.
Please specify a numeric value for Channel.
DiscordSRV is required.
if @if <Value1> <Operator>
<Value2> [FailMessage]
It is valid when the conditions of the calculation are met.
%value1% will be replaced with the Value1.
%value2% will be replaced with the Value2.
Escape and ColorCode can be used.
oldcooldown @oldcooldown:<Second> Performs the old cooldown.
Cannot run if Cooldown is activated.
The saved contents are ScriptKey, Location.
cooldown @cooldown:<Second> Perform the new cooldown.
Cannot run if Cooldown is activated.
The saved contents are ScriptKey, Location, UUID.
delay @delay:<Tick>[/{Stay}] Run the script with a delay.
If Stay is false, continuous execution is possible.
itemhand @hand:<ItemId>
[:Damage] <Amount> [Name] [Lore]
Valid if you have the specified item in your hand.
No items are consumed.
Escape and ColorCode can be used.
itemcost $item:<ItemId>
[:Damage] <Amount> [Name] [Lore]
Valid if the specified item is in the inventory.
Consumes an item.
Escape and ColorCode can be used.
moneycost $cost:<Price> It is valid if your cash on hand is greater than the price.
Pay the money.
Economy plugin is required.
groupadd @groupADD:[World/]<Group> Add a group to the player.
Escape can be used.
Permission plugin is required.
groupremove @groupREMOVE:[World/]<Group> Remove a group of player.
Escape can be used.
Permission plugin is required.
permadd @permADD:[World/]<Node> Add permission to the player.
Escape can be used.
Permission plugin is required.
permremove @permREMOVE:[World/]<Node> Remove player permission.
Escape can be used.
Permission plugin is required.
discordroleadd @droleADD:<Role> Add a role to the player.
Please specify a numeric value for Role.
You can specify more than one by separating them with ,.
DiscordSRV is required.
discordroleremove @droleREMOVE:<Role> Remove a player role.
Please specify a numeric value for Role.
You can specify more than one by separating them with ,.
DiscordSRV is required.
say @say <Message> Let the player execute the /say command.
Escape and ColorCode can be used.
server @server <Message> Send a message to the entire server.
Escape and ColorCode can be used.
toplayer @player <Message> Send a message to the player.
Escape and ColorCode can be used.
sound @sound:<SoundId>
-<Volume>-<Pitch>[-Delay]
[/{Send to all players}]
Plays a sound from player coords.
title @title:<Main>[/Sub]
[/FadeIn-Stay-FadeOut]
Displays the title to the player.
Escape and ColorCode can be used.
actionbar @actionbar:<Message>[/Second] Displays an actionbar on the player.
Escape and ColorCode can be used.
bypassop @bypass <Command> Temp give OP and execute the command.
Escape and ColorCode can be used.
bypassperm @bypassPERM:[World/]
<Node> <Command>
Temp give Permission and execute the command.
Escape and ColorCode can be used.
Permission plugin is required.
bypassgroup @bypassGROUP:[World/]
<Group> <Command>
Temp give Group and execute the command.
Escape and ColorCode can be used.
Permission plugin is required.
command @command <Command> Run commands from the player.
Escape and ColorCode can be used.
console @console <Command> Run commands from the console.
Escape and ColorCode can be used.
execute @execute:<ScriptKey>
/<World,X,Y,Z>
Execute the script of the specified coords.
amount @amount:<Amount> Limit the number of executions.
Remove the script when the condition is met.
invalid @invalid Cancel execution of the event.
For example, if you set "sbp break create @invalid", the block will be unbreakable.

If

Operator Example Description
== a == b True if a and b are equal
!= a != b True if a and b are not equal
> a > b True if a is greater than b
>= a >= b True if a is greater than or equal to b
< a < b True if a is less than b
<= a <= b True if a is less than or equal to b
Value Description
Number Decimal point can also be used.
String Only the operator "==", "!=" can be used.
Placeholder(Default) Please refer to the following.
Placeholder(PlaceholderAPI) Placeholder List
PlaceholderAPI is required.

Placeholder(Default)
Placeholder Description
%player_others_in_range_<distance>% The number of players around you.
%player_count_[scriptkey/]<world>,<x>,<y>,<z>% The number of times the script with the specified coords is executed.
%player_ping_<player>% Ping
%server_online_<world>% The number of players in the world.
%objective_score_<objectname>% The score of the object.
%server_online% The number of players online.
%server_offline% The number of players offline.
%player_count% The number of times the script has been executed.
%player_ping% Ping
%player_x% X coordinate of player
%player_y% Y coordinate of player
%player_z% Z coordinate of player
%player_bed_x% X coordinate of player's bed
%player_bed_y% Y coordinate of player's bed
%player_bed_z% Z coordinate of player's bed
%player_compass_x% X coordinate of player's compass
%player_compass_y% Y coordinate of player's compass
%player_compass_z% Z coordinate of player's compass
%player_gamemode% The game mode of the player.
%player_world_time% The time of the world the player is in.
%player_exp% The experience value of the player.
%player_exp_to_level% The experience level of the player up to the next level.
%player_level% The level of the player.
%player_fly_speed% The flight speed of the player.
%player_food_level% The foodlevel of the player.
%player_health% The HP of the player.
%player_health_scale% The scale of the player's HP.
%player_last_damage% The player's last damage.
%player_max_health% The Max HP of the player.
%player_max_air% The maximum oxygen amount for the player.
%player_max_no_damage_ticks% The maximum invincible time for the player.
%player_no_damage_ticks% The player's invincible time.
%player_time% The player's current time stamp.
%player_time_offset% The player's current time.
%player_remaining_air% The player's current oxygen content.
%player_saturation% The saturation of the player.
%player_sleep_ticks% The sleep ticks of the player.
%player_ticks_lived% The age of the entity.
%player_seconds_lived% The age of the entity.
%player_minutes_lived% The age of the entity.
%player_total_exp% The score displayed on the death screen.
%player_walk_speed% The walking speed.
%vault_eco_balance% The money I have. Economy plugin is required.

Clone this wiki locally