Command Tags
Tags that can be used in the panel commands section.
Command Tags
Example Command: console= gamemode creative %cp-player-name%
(the space in between the console= and the command is required)
console= gamemode creative %cp-player-name%
(the space in between the console= and the command is required)Tag | Description |
open= | Open a panel.
For example using %cp-cname% in the panel will activate that placeholder. If you want another panel to open in the players inventory area or the hotbar area use the location settings, example:
See the Multi Panels page for more info. This is useful if you want to handle panel variables, see the Panel Variables page for more info. This cannot be used to open the currently opened panel. |
close= | Works similarly to the cpc tag but you can choose which location to close. Top = Chest location Middle = Player location Bottom = Hotbar location For example doing: |
cpc | Using this in the commands section will close the panel. If this command is being used, use commandpanelclose instead. |
refresh | Force refreshes the panel. Ensure the panel does not close at the same time when the item is clicked. If the players normal inventory is open, it will also refresh the players Panel Hotbar items. |
server= | Use to teleport the player to a specific server with BungeeCord. |
force-server= | Use to teleport the player to a specific server with BungeeCord. |
delay= | Delay a specific command. delay= <ticks> <command> eg, |
sudo= | You can execute player only commands directly as the player using |
console= | Executes the command in the console. |
event= | Trigger the PanelCommandEvent with a message attached. For example, |
broadcast= | Allows the user to broadcast a message to all users in the server. |
broadcast-perm= | Allows the user to broadcast a message to all users with the specified permission. |
sequence= | This will allow for sequencing if you want to use the same commands for different items. |
nopapi= | Will stop PlaceholderAPI placeholders from being executed. |
title= | Used to display a title onto the Players screen. To separate the title from the subtitle, if you want a subtitle, simply put the following in between the title and subtitle contents: |
Click Tags
These types of Tags must come in front of regular Command Tags! There is a space required between these tags, other tags and commands. These tags are only used for regular commands in items.
Tag | Description |
right= | The player must right-click to execute the command |
rightshift= | The player must right-shift click to execute the command |
left= | The player must left-click to execute the command |
leftshift= | The player must left-shift click to execute the command |
middle= | The player must middle click to execute the command |
Last updated