Actions (Legacy)
Prefix Format
All action support add prefix.
@Click Type@
means this action only executed when player use this click type to active this action. Won't work foropen-actions
,close-action
in menu configs andbuy-actions
,sell-actions
in product configs. For example:
Then this button can only open shop menu by left click. Please note that bedrock players can only left click in their client!
Suffix Format
All action support add suffix.
-o
means this action will run only once when player try buy/sell this product. For example, player buy 50x APPLE, without this suffix, action will run 50 times, with this suffix, action will run only once.-<number>
means this action will run only when player have buy/sell spcified times product, like -1 means action will run only when player first buy/sell this product.-b
means when multiple products are about to be sold, adding this suffix means that only the first product's action will be executed.When using multiple suffixes, fill in the following order:
-b-<number>-o
.
Available Placeholders
{world}
{amount}
{player_x}
{player_y}
{player_z}
{player_pitch}
{player_yaw}
{player}
{item} - Product ID
{item-name} - Product Display Name
{shop} - Shop ID
{shop-name} - Shop Display Name
{shop-menu} - Shop's Menu ID
None
Will do nothing.
Sound
Send sound to player.
Sound is recommend to use both -b
and -o
suffix, otherwise when use sell all or sell multi quantity items when play this sound multi times.
Example:
Message
Send a message to the player, support color code.
Announcement
Send a message to all online players, support color code.
Effect
Give players potion effect.
BLINDNESS is SpigotAPI effect ID, its different form minecraft effect namespace, you can find them here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html.
1 is effect level.
60 is effect duration.
Teleport
Teleport player to specified location.
LobbyWorld is world name.
0 is X pos.
128 is Y pos.
10 is Z pos.
You can also add yaw and pitch at the end of action string, like:
Player Command
Make the player excutes a command.
Op Command
Make the player excutes a command as OP.
Console Command
Make the console excutes a command.
Spawn vanilla mobs
Spawn vanilla mobs, mob ID follow this page:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/package-summary.html
MythicMobs spawn
MythicMobs Spawn at block location
Require MythicMobs.
test
is Mob ID, 1
is the level. Mob ID and level use ;;
spite.
Level can remove, this means you can set:
MythicMobs Spawn at remote location
Require MythicMobs.
Simailr to MythicMobs Spawn at block location, but you need add ;;world name;;x;;y;;z
at the end of action string, for example:
Open Common Menu
Open specified common menus.
Open Shop Menu
Buy Product
Sell Product
Sell All
Close
Close the inventory.
Last updated