| Action | Description |
|
Code (Text):
NEXT_PAGE
|
Go to the next page if it exists; otherwise uses
Code (Text):
gui.no-next-page
|
|
Code (Text):
PREVIOUS_PAGE
|
Go to the previous page if it exists; otherwise uses
Code (Text):
gui.no-prev-page
|
|
Code (Text):
MESSAGE:<text>
|
Sends a colored chat message to the player. |
|
Code (Text):
BROADCAST:<text>
|
Broadcasts a message to all players.
Code (Text):
{player}
|
|
Code (Text):
ACTIONBAR:<text>
|
Shows text in the player's action bar. |
|
Code (Text):
TITLE:<main>[|<sub>]
|
Displays a title and optional subtitle to the player. |
|
Code (Text):
SOUND:<sound_name>
|
Plays a sound at the player using a valid Spigot sound name. |
|
Code (Text):
RUN_COMMAND:<command>
|
Executes a command as the player.
Code (Text):
{player}
|
|
Code (Text):
PLAYER_COMMAND:<command>
|
Alias of
Code (Text):
RUN_COMMAND
|
|
Code (Text):
CMD_AS_PLAYER:<command>
|
Alias of
Code (Text):
RUN_COMMAND
|
|
Code (Text):
CONSOLE_COMMAND:<command>
|
Executes a command as console.
Code (Text):
{player}
|
|
Code (Text):
CMD_AS_CONSOLE:<command>
|
Alias of
Code (Text):
CONSOLE_COMMAND
|
|
Code (Text):
OPEN_GUI:<id>[:page]
|
Opens another InsaneGUI by ID and optional page. |
|
Code (Text):
CLOSE
|
Closes the player's current inventory. |
|
Code (Text):
GIVE_ITEM:<material>[:amount]
|
Gives the player an item using Bukkit material names. |
|
Code (Text):
ENCHANT_ADD:<ench>[:level]
|
Adds an enchantment to the item in the player's main hand. |
|
Code (Text):
ENCHANT_REMOVE:<ench>
|
Removes a specific enchantment from the main hand item. |
|
Code (Text):
ENCHANT_CLEAR
|
Removes all enchantments from the main hand item. |
|
Code (Text):
XP_ADD:<amount>
|
Adds raw XP points to the player. |
|
Code (Text):
XP_ADD_LEVELS:<levels>
|
Adds XP levels to the player. |
|
Code (Text):
XP_SET_LEVEL:<level>
|
Sets the player's XP level. |
|
Code (Text):
XP_TAKE_LEVELS:<levels>
|
Removes XP levels from the player. |
|
Code (Text):
POTION:<type>:<seconds>[:amplifier]
|
Applies a potion effect to the player. |
|
Code (Text):
ECONOMY_WITHDRAW:<amount>
|
Removes money from the player via Vault; messages configurable in
Code (Text):
messages.yml
|
|
Code (Text):
ECONOMY_DEPOSIT:<amount>
|
Gives money to the player. |
|
Code (Text):
GROUP:<action1>;<action2>;...
|
Runs multiple actions in order as a single group. |
|
Code (Text):
DELAY:<ticks>|<actions>
|
Runs the specified actions after a delay (20 ticks = 1 second). |
|
Code (Text):
IF_PERMISSION:<node>|<actions>
|
Only runs the actions if the player has the specified permission. |
|
Code (Text):
IF_NOT_PERMISSION:<node>|<actions>
|
Only runs the actions if the player does NOT have the specified permission. |
|
Code (Text):
IF_CHANCE:<percent_or_0-1>|<actions>
|
Runs actions based on a chance (e.g.
Code (Text):
25
Code (Text):
0.25
|
|
Code (Text):
IF_MONEY_AT_LEAST:<amount>|<actions>
|
Only runs actions if the player has at least the specified balance (Vault). |
|
Code (Text):
IF_MONEY_LESS_THAN:<amount>|<actions>
|
Only runs actions if the player has less than the specified balance. |
|
Code (Text):
IF_HAS_ITEM:<material>[:amount]|<actions>
|
Only runs actions if the player has the specified item(s) in their inventory. |
|
Code (Text):
IF_HAS_SPACE:<empty_slots>|<actions>
|
Only runs actions if the player's inventory has at least the specified empty slots. |
| Permission | Description |
|
Code (Text):
insanegui.use
|
Access to open and use InsaneGUIs. |
|
Code (Text):
insanegui.edit
|
Access to the /igedit command, allowing the user to edit InsaneGUIs. |