MikesLab Plugins
Identity
Identity
  • 🌟Identity Wiki
  • General
    • Installation
    • Commands
    • Placeholders
  • CONFIG
    • Introduction
    • Input GUI
    • Value GUI
    • Selector GUI
    • Main GUI
    • How to install your GUI configs
  • Element
    • Element
    • Conditions
    • Actions
  • RESOURCE
    • Colors
  • GUI
    • Layout
    • Page System
  • DATABASE
    • Setup your First Connection
      • MongoDB
      • SQL
      • JSON
Powered by GitBook
On this page
  • Actions in GUI Elements
  • Global actions
  • GUI-Specific Actions
  • Value Menu
  • Selector Menu
  1. Element

Actions

Actions in GUI Elements

Actions define the behavior of elements inside your GUI. There are both global actions and gui-specific actions.

Format: <action>: <args>

Note: Actions are case-insensitive

Global actions

Name
Arguments
Description

POTION

Potion, Duration (in seconds), Amplifier (level) [%chance]. Examples: WEAKNESS, 30, 1 SLOWNESS 200 10 1, 10000, 100 %50

Apply a potion effect when the player clicks the element

SOUND

Sound, Volume, Pitch Examples: ENTITY_PLAYER_BURP, 0.5, 1 BURP, 0.5, 1 MUSIC_END, 10

Play a sound when the player clicks the element

MESSAGE

Send a message to the player when he clicks the element

TITLE

Send a title to the player when he clicks the element

CLOSE

None

Closes the inventory and returns to the Fallback Main GUI if any required GUIs are incomplete.

OPEN

Opens an inventory

PLAYER

Command without the initial / (Slash)

Executes a command for the Player

CONSOLE

Command without the initial / (Slash)

Executes a command for the Console

GUI-Specific Actions

Value Menu

Name
Arguments
Description

MESSAGE

Send a message to the player when he clicks the element. Supports the <value> (As it is, follows MiniMessage's format) placeholders

VALUE

<modifier><value> Examples: - -2 - +2 - *2 - /2

Edit the GUI's value

SELECT

None

Confirm the GUI's current value

Selector Menu

Name
Arguments
Description

SELECT

<value> Examples: "<red>Selected Value" "Male" "Warrior"

Select the clicked element's value

PreviousConditionsNextColors

Last updated 10 months ago

Your Message with or without . It doesn't support animations! Hovers and clicks are Paper-Only Examples: "<red>Your favorite <#FFFFF>message<gray>!"

<title>;<subtitle> with or without . It doesn't support animations! Examples: "<gradient:red:green>Title;Subtitle"

Examples: "first-inventory" "second-inventory"

Your Message with or without . It doesn't support animations! Hovers and clicks are Paper-Only Examples: "<red>Your favorite <#FFFFF><value><gray>!"

Colors
Colors
<inventory-id-name>
Colors