Skip to main content

Menu Actions

This page is source-backed from the current FioChatGames menu handler and documents the action tags used inside menu/admin/.

The menus execute actions in order from top to bottom, so the order in each actions: list matters.


Basic Action Tags

Basic

You can use these across the menu.

Syntax: SOUND:ENTITY_VILLAGER_NO:1:1

Description

Play a custom sound when the item is clicked.

SOUND:ENTITY_VILLAGER_NO:1:1
SOUND:UI_BUTTON_CLICK:1:1
SOUND:BLOCK_CHEST_CLOSE:1:1

Interface Sound SpigotAPI standard list.


Syntax: REOPEN

Description

Reopen the current menu. Useful after prompts or state changes.

REOPEN

Syntax: OPEN:main

Description

Open another menu by its id (filename without .yml).

OPEN:main
OPEN_MENU:main
OPEN_MENU:blacklisted_gamemodes_selector
OPEN_MENU:blacklisted_gamemodes
OPEN_MENU:command_aliases_category
OPEN_MENU:command_aliases_user

Syntax: CLOSE

Description

Close the current menu.

CLOSE

Syntax: RELOAD

Description

Reload plugin configuration and menus.

RELOAD

Syntax: PLAYER_COMMAND:fiochatgames admin current

Description

Run a command as the player who clicked.

PLAYER_COMMAND:fiochatgames admin current

Syntax: INPUT_DOUBLE:config:general.some_value:0.0:1.0

Description

Open a decimal prompt and write the result into the given config path.

INPUT_DOUBLE:config:general.some_value:0.0:1.0

Advanced / Menu-Specific Action Tags

Advanced

These actions are used by specific admin menus (lists, selectors, prompts, race editors, etc).

Syntax: ADD_EVENT_TYPE_PROMPT

Description

Menu action for: add event type prompt.

ADD_EVENT_TYPE_PROMPT

Syntax: ADD_FULL_DURATION_REWARD_SLOT

Description

Menu action for: add full duration reward slot.

ADD_FULL_DURATION_REWARD_SLOT

Syntax: ADD_RACE_REWARD_SLOT

Description

Menu action for: add race reward slot.

ADD_RACE_REWARD_SLOT

Syntax: BLACKLIST_ADD_CHAT_PROMPT

Description

Menu action for: blacklist add chat prompt.

BLACKLIST_ADD_CHAT_PROMPT

Syntax: BLACKLIST_REMOVE:%player%

Description

Menu action for: blacklist remove.

BLACKLIST_REMOVE:%player%

Syntax: BLACKLIST_REMOVE_CHAT_PROMPT

Description

Menu action for: blacklist remove chat prompt.

BLACKLIST_REMOVE_CHAT_PROMPT

Syntax: CYCLE_BOSSBAR_COLOR

Description

Menu action for: cycle bossbar color.

CYCLE_BOSSBAR_COLOR

Syntax: CYCLE_BOSSBAR_STYLE

Description

Menu action for: cycle bossbar style.

CYCLE_BOSSBAR_STYLE

Syntax: CYCLE_BRUSH_REQUIRED_BLOCK

Description

Menu action for: cycle brush required block.

CYCLE_BRUSH_REQUIRED_BLOCK

Syntax: CYCLE_CHAT_EVENT_WINNER_POLICY

Description

Menu action for: cycle chat event winner policy.

CYCLE_CHAT_EVENT_WINNER_POLICY

Syntax: CYCLE_FULL_DURATION_REWARD_GAME

Description

Menu action for: cycle full duration reward game.

CYCLE_FULL_DURATION_REWARD_GAME

Syntax: CYCLE_GAME_INT:FILLOUT:difficulty:1:6

Description

Cycle a game integer option within a min/max range.

CYCLE_GAME_INT:FILLOUT:difficulty:1:6
CYCLE_GAME_INT:MATH:difficulty:1:5

Syntax: CYCLE_GAME_TEXT:ACTIVITY:race.bossbar.color:BLUE|GREEN|PINK|PURPLE|RED|WHITE|YELLOW

Description

Cycle a game text option through a fixed list of values.

CYCLE_GAME_TEXT:ACTIVITY:race.bossbar.color:BLUE|GREEN|PINK|PURPLE|RED|WHITE|YELLOW
CYCLE_GAME_TEXT:ACTIVITY:race.bossbar.style:SOLID|SEGMENTED_6|SEGMENTED_10|SEGMENTED_12|SEGMENTED_20
CYCLE_GAME_TEXT:RANDOM:character_type:ALPHA|ALPHANUMERIC|NUMERIC|SYMBOLIC|RANDOMIZED
CYCLE_GAME_TEXT:REACTION:character_type:ALPHA|ALPHANUMERIC|NUMERIC|SYMBOLIC|RANDOMIZED

Syntax: CYCLE_START_MODE

Description

Menu action for: cycle start mode.

CYCLE_START_MODE

Syntax: DROP:OPEN_FULL_DURATION_REWARD_MENU:FAST_TYPE

Description

Menu action for: drop.

DROP:OPEN_FULL_DURATION_REWARD_MENU:FAST_TYPE
DROP:OPEN_FULL_DURATION_REWARD_MENU:FILLOUT
DROP:OPEN_FULL_DURATION_REWARD_MENU:MATH
DROP:OPEN_FULL_DURATION_REWARD_MENU:RANDOM
DROP:OPEN_FULL_DURATION_REWARD_MENU:REACTION

Syntax: INPUT_INT:game:FAST_TYPE:points:1:1000

Description

Open a number prompt and write the result into the given config path (with min/max).

INPUT_INT:game:FAST_TYPE:points:1:1000
INPUT_INT:game:FILLOUT:points:1:1000
INPUT_INT:game:MATH:points:1:1000
INPUT_INT:game:ACTIVITY:%race_amount_input_path%:1:100000000
INPUT_INT:game:ACTIVITY:time_seconds:3:86400

Syntax: INPUT_LIST:game:FAST_TYPE:phrases

Description

Open a list editor prompt for the given config list path.

INPUT_LIST:game:FAST_TYPE:phrases
INPUT_LIST:game:FILLOUT:words
INPUT_LIST:game:REWRITE:phrases
INPUT_LIST:game:UNREVERSE:words
INPUT_LIST:game:UNSCRAMBLE:words

Syntax: INPUT_TEXT:config:chat_highlight.winner_format

Description

Open a text prompt and write the result into the given config path.

INPUT_TEXT:config:chat_highlight.winner_format
INPUT_TEXT:config:general.bossbar_message
INPUT_TEXT:config:general.actionbar_message
INPUT_TEXT:game:FAST_TYPE:messages.started
INPUT_TEXT:game:FAST_TYPE:messages.correct

Syntax: LANGUAGE_PAGE_NEXT

Description

Go to the next language page.

LANGUAGE_PAGE_NEXT

Syntax: LANGUAGE_PAGE_PREV

Description

Go to the previous language page.

LANGUAGE_PAGE_PREV

Syntax: LEFT:LIST_CURSOR_NEXT:config:command-aliases.admin.help

Description

Menu action for: left.

LEFT:LIST_CURSOR_NEXT:config:command-aliases.admin.help
LEFT:LIST_CURSOR_NEXT:config:command-aliases.admin.reload
LEFT:LIST_CURSOR_NEXT:config:command-aliases.admin.version
LEFT:LIST_CURSOR_NEXT:config:command-aliases.admin.author
LEFT:LIST_CURSOR_NEXT:config:command-aliases.admin.current

Syntax: LIST_PAGE_NEXT

Description

Go to the next page on list-based menus.

LIST_PAGE_NEXT

Syntax: LIST_PAGE_PREV

Description

Go to the previous page on list-based menus.

LIST_PAGE_PREV

Syntax: OPEN_BRUSH_LOOT_SELECTOR

Description

Menu action for: open brush loot selector.

OPEN_BRUSH_LOOT_SELECTOR

Syntax: OPEN_FULL_DURATION_REWARD_MENU:FAST_TYPE

Description

Menu action for: open full duration reward menu.

OPEN_FULL_DURATION_REWARD_MENU:FAST_TYPE
OPEN_FULL_DURATION_REWARD_MENU:FILLOUT
OPEN_FULL_DURATION_REWARD_MENU:MATH
OPEN_FULL_DURATION_REWARD_MENU:RANDOM
OPEN_FULL_DURATION_REWARD_MENU:REACTION

Syntax: OPEN_STREAK_MENU:FAST_TYPE

Description

Menu action for: open streak menu.

OPEN_STREAK_MENU:FAST_TYPE
OPEN_STREAK_MENU:FILLOUT
OPEN_STREAK_MENU:MATH
OPEN_STREAK_MENU:RANDOM
OPEN_STREAK_MENU:REACTION

Syntax: Q:BLACKLIST_GAMEMODE_REMOVE:%gamemode_id%

Description

Menu action for: q.

Q:BLACKLIST_GAMEMODE_REMOVE:%gamemode_id%
Q:LIST_CURSOR_REMOVE:config:command-aliases.admin.help
Q:LIST_CURSOR_REMOVE:config:command-aliases.admin.reload
Q:LIST_CURSOR_REMOVE:config:command-aliases.admin.version
Q:LIST_CURSOR_REMOVE:config:command-aliases.admin.author

Syntax: RACE_CONSUME_POTION_PAGE_NEXT

Description

Go to the next potion selector page.

RACE_CONSUME_POTION_PAGE_NEXT

Syntax: RACE_CONSUME_POTION_PAGE_PREV

Description

Go to the previous potion selector page.

RACE_CONSUME_POTION_PAGE_PREV

Syntax: RACE_CONSUME_POTION_SELECT:%consume_potion_id%

Description

Select the current potion id.

RACE_CONSUME_POTION_SELECT:%consume_potion_id%

Syntax: RACE_ENCHANT_PAGE_NEXT

Description

Go to the next enchant selector page.

RACE_ENCHANT_PAGE_NEXT

Syntax: RACE_ENCHANT_PAGE_PREV

Description

Go to the previous enchant selector page.

RACE_ENCHANT_PAGE_PREV

Syntax: RACE_ENCHANT_SELECT:%enchant_id%

Description

Select the current enchant id.

RACE_ENCHANT_SELECT:%enchant_id%

Syntax: RACE_MATERIAL_PAGE_NEXT

Description

Go to the next material selector page.

RACE_MATERIAL_PAGE_NEXT

Syntax: RACE_MATERIAL_PAGE_PREV

Description

Go to the previous material selector page.

RACE_MATERIAL_PAGE_PREV

Syntax: RACE_MATERIAL_SEARCH_PROMPT

Description

Open a prompt to search/filter race materials.

RACE_MATERIAL_SEARCH_PROMPT

Syntax: RIGHT:LIST_CURSOR_PREV:config:command-aliases.admin.help

Description

Menu action for: right.

RIGHT:LIST_CURSOR_PREV:config:command-aliases.admin.help
RIGHT:LIST_CURSOR_PREV:config:command-aliases.admin.reload
RIGHT:LIST_CURSOR_PREV:config:command-aliases.admin.version
RIGHT:LIST_CURSOR_PREV:config:command-aliases.admin.author
RIGHT:LIST_CURSOR_PREV:config:command-aliases.admin.current

Syntax: SET_LANG:%lang_code%

Description

Set the active language using the selected language code.

SET_LANG:%lang_code%

Syntax: SET_RACE_PLACEHOLDER_OPERATOR:>=

Description

Set the placeholder comparison operator for PlaceholderAPI races.

SET_RACE_PLACEHOLDER_OPERATOR:>=
SET_RACE_PLACEHOLDER_OPERATOR:<=
SET_RACE_PLACEHOLDER_OPERATOR:>
SET_RACE_PLACEHOLDER_OPERATOR:<
SET_RACE_PLACEHOLDER_OPERATOR:==

Syntax: SET_RACE_TYPE:%race_key%

Description

Set the race type to the selected race key.

SET_RACE_TYPE:%race_key%

Syntax: SHIFT_LEFT:LIST_CURSOR_EDIT:config:command-aliases.admin.help

Description

Menu action for: shift left.

SHIFT_LEFT:LIST_CURSOR_EDIT:config:command-aliases.admin.help
SHIFT_LEFT:LIST_CURSOR_EDIT:config:command-aliases.admin.reload
SHIFT_LEFT:LIST_CURSOR_EDIT:config:command-aliases.admin.version
SHIFT_LEFT:LIST_CURSOR_EDIT:config:command-aliases.admin.author
SHIFT_LEFT:LIST_CURSOR_EDIT:config:command-aliases.admin.current

Syntax: SHIFT_RIGHT:LIST_CURSOR_ADD:config:command-aliases.admin.help

Description

Menu action for: shift right.

SHIFT_RIGHT:LIST_CURSOR_ADD:config:command-aliases.admin.help
SHIFT_RIGHT:LIST_CURSOR_ADD:config:command-aliases.admin.reload
SHIFT_RIGHT:LIST_CURSOR_ADD:config:command-aliases.admin.version
SHIFT_RIGHT:LIST_CURSOR_ADD:config:command-aliases.admin.author
SHIFT_RIGHT:LIST_CURSOR_ADD:config:command-aliases.admin.current

Syntax: STREAK_REWARD_ADD_PROMPT

Description

Menu action for: streak reward add prompt.

STREAK_REWARD_ADD_PROMPT

Syntax: TOGGLE_BLACKLIST_GAMEMODE:%gamemode_id%

Description

Menu action for: toggle blacklist gamemode.

TOGGLE_BLACKLIST_GAMEMODE:%gamemode_id%

Syntax: TOGGLE_CONFIG:chat_highlight.enabled

Description

Toggle a config boolean at the given path.

TOGGLE_CONFIG:chat_highlight.enabled
TOGGLE_CONFIG:debug.mode
TOGGLE_CONFIG:general.use_bossbar
TOGGLE_CONFIG:general.use_actionbar_timer
TOGGLE_CONFIG:chat_event.full_duration.enabled

Syntax: TOGGLE_DISABLED_WORLD:%world_name%

Description

Menu action for: toggle disabled world.

TOGGLE_DISABLED_WORLD:%world_name%

Syntax: TOGGLE_FULL_DURATION_REWARD_REMOVE_MODE

Description

Menu action for: toggle full duration reward remove mode.

TOGGLE_FULL_DURATION_REWARD_REMOVE_MODE

Syntax: TOGGLE_GAME:FAST_TYPE

Description

Enable/disable a game type.

TOGGLE_GAME:FAST_TYPE
TOGGLE_GAME:FILLOUT
TOGGLE_GAME:MATH
TOGGLE_GAME:ACTIVITY
TOGGLE_GAME:RANDOM

Syntax: TOGGLE_GAME_VALUE:MATH:ignore-symbols

Description

Toggle a game boolean value at the given path.

TOGGLE_GAME_VALUE:MATH:ignore-symbols
TOGGLE_GAME_VALUE:ACTIVITY:race.unique-player-kills
TOGGLE_GAME_VALUE:ACTIVITY:race.obtain-items.remove-on-progress
TOGGLE_GAME_VALUE:ACTIVITY:streak.reset_on_loss
TOGGLE_GAME_VALUE:ACTIVITY:streak.announce

Syntax: TOGGLE_RACE_REWARD_REMOVE_MODE

Description

Menu action for: toggle race reward remove mode.

TOGGLE_RACE_REWARD_REMOVE_MODE

Syntax: TRIVIA_ADD_CHAT_PROMPT

Description

Menu action for: trivia add chat prompt.

TRIVIA_ADD_CHAT_PROMPT

Syntax: TRIVIA_STREAK_PAGE_PREV

Description

Menu action for: trivia streak page prev.

TRIVIA_STREAK_PAGE_PREV

Syntax: WORLD_PAGE_NEXT

Description

Go to the next world page.

WORLD_PAGE_NEXT

Syntax: WORLD_PAGE_PREV

Description

Go to the previous world page.

WORLD_PAGE_PREV