Configurations

๐ŸŽ‘ Customize Menus

On this page, you will find information on how to customize the plugin menus.

#Plugin Menus

All the menus that can be customized for the plugin are located in the menus folder of Phoenix Duels.

Menu settings can be found in any type of menu. From there, you can specify the type of menu you want, the title of the menu, the number of rows it will have, the refresh rate, and the actions that will run when the user clicks to preview it.

settings:
  type: SETTINGS
  title: 'Your Settings'
  rows: # 1, 2, 3, 4, 5, 6
  refresh:
    enabled: false
    rate: 20
  on-open-actions: []

You can change the rows number if you want to adjust the rows that the menu will have.

#Pagination

Pagination is another main option that menus have. With this, you can create multiple pages, set your preview page item, the next page item, and a material that will fill specific slots.

#Items

With the items, you can create custom entries to be included in your menu. These could be items to close the menu or items that display where players can purchase keys.

items:
  close-menu:
    slot: '49'
    material: ARROW
    amount: 1
    custom-model-data: 0
    item-model: ''
    glow: false
    hide-attributes: false
    display-name: '&aClose Menu'
    lore:
    - '&7Click here to close this menu.'
    - ''
    - '&6Left-Click: &eClose menu.'
    actions:
    - '[CLOSE_INVENTORY]'

item-model lets you point an item at a resource pack's custom item model (Minecraft 1.21.2+'s item_model component) instead of, or alongside, the older custom-model-data.

Each menu has a key as well as a file. The key is what the [MENU] action takes, so this is the list to reach for when you want a lobby item or a kill effect to open a specific screen.

Key File
queue menus/queue.yml
play menus/play.yml
select_mode menus/select_mode.yml
select_map menus/select_map.yml
unranked_select_player_mode menus/unranked/select_player_mode.yml
unranked_select_arena_mode menus/unranked/select_arena_mode.yml
ranked_select_player_mode menus/ranked/select_player_mode.yml
ranked_select_arena_mode menus/ranked/select_arena_mode.yml
create_match menus/custom/create_match.yml
custom_select_arena_mode menus/custom/select_arena_mode.yml
custom_challenge_opponent menus/custom/challenge_opponent.yml
duel_player menus/custom/duel_player.yml
items_betting menus/items_betting.yml
Key File
party menus/party/party.yml
party_info menus/party/info.yml
party_invite_player menus/party/invite_player.yml
party_manage_member menus/party/manage_member.yml
party_ffa menus/party/ffa.yml
party_teamfight menus/party/teamfight.yml
party_multiteam menus/party/multiteam.yml
party_multiteam_spectators menus/party/multiteam_spectators.yml
Key File
settings menus/settings.yml
stats menus/stats.yml
leaderboard menus/leaderboard.yml
lost_items menus/lost_items.yml
ongoing_matches menus/ongoing_matches.yml
spectator_players menus/spectator_players.yml
confirmation_menu menus/confirmation.yml
select_option_menu menus/select_option.yml
Key File
kit_preview menus/kit/preview.yml
kit_items_editor menus/kit/items_editor.yml
player_kit_layout menus/player_kit_layout.yml

These only exist once the matching add-on is installed.

Key File
ranks menus/elo/ranks.yml
player_interaction menus/lobby/player_interaction.yml
manage_player_kits menus/playerkits/manage_kits.yml
player_kit_categories menus/playerkits/kit_categories.yml
player_kit_armor_filter menus/playerkits/kit_armor_filter.yml
edit_player_kit menus/playerkits/edit_kit.yml
edit_player_kit_item menus/playerkits/edit_kit_item.yml
edit_player_kit_item_amount menus/playerkits/edit_kit_item_amount.yml
match_lobby menus/match_lobby.yml
match_lobby_settings menus/match_lobby_settings.yml
manage_member menus/manage_member.yml

circle-exclamation

Some of these menus are opened by the plugin with data attached to them, such as which mode was picked. Opening one of those directly with an [MENU] action can leave it empty, because that data is missing. The safe ones to open by hand are the top-level menus a player would normally reach themselves, such as queue, party, stats, settings, leaderboard and ongoing_matches.

Last updated 1 day ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy