Menus

New menu system renovated

Now you can make the menus you want only with the plugin and access it. It should be noted that it is a SkyWars plugin and it is not menu so it will not be so complex but not so basic

MenuType:
 - cosmetics
 - options
 - other

The menuType is used to differentiate normal menus with menus with functions or actions specific to the SkyWars. Function as follows:

Example_trail_cosmetics.yml

name: "Projectile Trails"
identifier: trails
rows: 1
buttons:
  '1':
    material: torch
    displayname: "&9Smoke"
    lore:
      - '&fProjectile'
      - "&1"
      - "&7Select the Smoke Projectile."
      - "&2"
      - "&aClick to select!"
    position: 0
    actions:
      - select_trail;0   #This is an action of the cosmetic menu
      - play_sound;entity_arrow_hit_player
      - close

If the menu file that you have created contains the word cosmetics will have actions that are for the purchase and use of cosmetics

Global

Actions

Description

play_sound

Makes a sound

message

Send a message type

inventory

Opens a posted inventory

cmd_console

Send a command to the console

cmd_player

Send a command to the player

static

For decoration

close

To close the menu

Cosmetics

Actions

Description

select_cage

Purchase and use of a cage cosmetic

select_trail

Purchase and use of a projectile trail cosmetic

select_kit_normal

Purchase and use of a game kit in normal mode

select_kit_ranked

Purchase and use of a game kit in ranked mode

select_kill-effect

Purchase and use of kill effect

select_death-cries

Purchase and use of the cosmetic death cries

select_balloon

Purchase and use of balloon cosmetics

select_dance

Purchase and use of victory dance cosmetic

Options

Actions

Description

vote_chest

Vote for the type of chests in the game

vote_time

Vote for the type of time in the game

vote_weather

Vote for the type of weather in the game

vote_health

Vote for the type of health in the game

Last updated

Was this helpful?