StarAnimatedMenu | Into the first animated and flexible menu! icon

StarAnimatedMenu | Into the first animated and flexible menu! -----

Into the first animated and flexible menu. Huge animation functionality!






[​IMG]
[​IMG]

[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG] [​IMG]

[​IMG]

[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG] [​IMG]

[​IMG]
Items:
[​IMG]
  • All items are configured in the items.yml special file.
  • Now you don't have to create an item for each slot separately.
  • Items are of different types.
  • Normal(ALL BLOCKS),
  • Color(POTION/ARROW),
  • Leather_Equipment,
  • Skull(SKULL_ITEM),
  • Banner(BANNER),
  • Enchanted_Book(ENCHANTED_BOOK),
  • Book(WRITTEN_BOOK, BOOK_AND_QUILL),
  • Command(COMMAND,COMMAND_CHAIN,COMMAND_MINECART,COMMAND_REPEATING),
  • Spawn_Egg(MONSTER_EGG, SPAWNER),
  • Firework(FIREWORK)
  • HIDE_ATTRIBUTES,
  • HIDE_ENCHANTS,
  • HIDE_DESTROYS,
  • HIDE_PLACED_ON,
  • HIDE_POTION_EFFECTS,
  • HIDE_UNBREAKABLE
Code (YAML):
items :

  Item
:
    Type
: Normal # Types: Normal(all blocks), Color(POTION/ARROW), Leather_Equipment, Skull(SKULL_ITEM), Banner(BANNER), Enchanted_Book(ENCHANTED_BOOK), Book(WRITTEN_BOOK, BOOK_AND_QUILL), Command(COMMAND,COMMAND_CHAIN,COMMAND_MINECART,COMMAND_REPEATING), Spawn_Egg(MONSTER_EGG), Firework(FIREWORK)
    Material
: 'DIAMOND_BLOCK'
    Data
: 0
    Amont
: 1
    Name
: '&a&n&lTEST_BLOCK'
    Lore
:
     - "PAPI test %vault_eco_balance%"
      - "&fThis is the best plugin, do you agree?"
      - "&fLet's go!"
    Flags
: # Types: HIDE_ATTRIBUTES, HIDE_ENCHANTS, HIDE_DESTROYS, HIDE_PLACED_ON, HIDE_POTION_EFFECTS, HIDE_UNBREAKABLE
      - 'HIDE_ATTRIBUTES'
      - 'HIDE_UNBREAKABLE'
    Enchantments
:
     - 'SILK_TOUCH:1'
      - 'DAMAGE_ALL:9'
Code (YAML):
content :

  '1'
:
    slots
:
   - 2
    animation
:
      type
: run
      run_items
:
     - Item
      update_time
: 20
      start_time
: 0
Menus:
  • Each menu is created in a separate file in the menus folder.
  • To load the form for creating a menu, save a new entry in config.yml.
  • The menu has three types of checks: for clicking on an item, for opening a menu, for viewing an item.
  • There is a fill, it has 2 types: FULL and SIDE.
  • One entry in the menu can be spread over several slots.
  • There are 4 types of animation: noupdate, update, run, post.
  • In the menu for each section, you can configure the requirements for clicking, viewing and opening the menu.
Code (YAML):
content:
  '1'
:
    view_requirements
:
      Money
:
        type
: has playerpoints
        amont
: 100.0
    left_click_requirements
:
      Money
:
        type
: has money
        amont
: 800.0
        deny_commands
:
       - ' [message ] &cYou do not have permission to use!'
        - ' [console ] mute %player% 10s'
        - ' [player ] heal'
    left_click_commands
:
   - ' [sound ] BLOCK_ANVIL_FALL'
    - ' [player ] home'
    right_click_commands
:
   - ' [player ] home'
    slots
:
   - 2
    - 4
    - 6
    animation
:
      type
: run
      run_items
:
     - Item
      - AIR
      update_time
: 20
      start_time
: 0
[​IMG]
Code (YAML):
   permission:
      type
: has permission
      permission
: menu.open.menudw
      deny_commands
:
     - ' [message ] &cYou do not have permission to use!'
      - ' [console ] mute %player% 10s'
      - ' [player ] heal'
Code (YAML):
   money:
      type
: has money
      amont
: 900.0
Code (YAML):
   coins:
      type
: has dkcoins
      amont
: 900.0
Code (YAML):
   playerpoints:
      type
: has playerpoints
      amont
: 900.0
Code (YAML):
   item:
      type
: has item
      item
: Item
      amont
: 1
Code (YAML):
   script:
      type
: script
      expression
: ' %player_world%.equalsIgnoreCase("world")'
Code (YAML):
   anythinghere:
      type
: string equals ignorecase
      input
: ' %player_world%'
      output
: world
Code (YAML):
   test:
      type
: ==
      input
: ' %vault_balance%'
      output
: 10
Code (YAML):
   test:
      type
: >=
      input
: ' %vault_balance%'
      output
: 10
Code (YAML):
   test:
      type
: <=
      input
: ' %vault_balance%'
      output
: 10
Code (YAML):
   test:
      type
: >
      input
: ' %vault_balance%'
      output
: 10
Code (YAML):
   test:
      type
: <
      input
: ' %vault_balance%'
      output
: 10
Code (YAML):
 fill:
    enable
: true
    type
: FULL
    animation
:
      type
: run
      run_items
:
     - Helmet
      - Book
      update_time
: 20
      start_time
: 0
Code (YAML):
 fill:
    enable
: true
    type
: SIDE
    animation
:
      type
: update
      default_item
: book
      update_time
: 20
      start_time
: 0
[​IMG] [​IMG]
Code (YAML):
menus:
  menu
:
    file
: menu.yml
Code (YAML):
content:
  '1'
:
    view_requirements
:
      permission
:
        type
: has permission
        permission
: menu.test.1
    left_click_requirements
:
      Money
:
        type
: has money
        amont
: 800.0
    left_click_commands
:
   - ' [sound ] BLOCK_ANVIL_FALL'
    - ' [player ] home'
    right_click_commands
:
   - ' [player ] home'
    slots
:
   - 2
    - 4
    - 6
    - 9
    - 23
    - 24
    animation
:
      type
: run
      run_items
:
     - Item
      - Banner
      update_time
: 20
      start_time
: 0
  • [console] console command
  • [message]
  • [player] player command
  • [sound]
  • [open] menu file name
  • [close]
  • [server] moving the player across servers
Animations:

  • There are 4 types of animation: noupdate, update, run, post.
  • This type simply installs the item and does not update
Code (YAML):
    animation:
      type
: noupdate
      default_item
: book
  • This type updates the same element
Code (YAML):
    animation:
      type
: update
      default_item
: book
      update_time
: 20
      start_time
: 0
  • This type iterates over the elements from the list
Code (YAML):
    animation:
      type
: run
      run_items
:
     - 'Book'
      - 'Helmet'
      update_time
: 20
      start_time
: 0
  • This type has a background in the form of default_item, as well as iterates over items from the list and sets them for a certain time.
Code (YAML):
   animation:
      type
: post
      default_item
: panel1
      run_items
:
     - panel2
      update_time
: 12
      start_time
: 0
      post_time
: 2
[​IMG]
MySQL Querys:

  • This function allows you to get data from any database to which you are connected and output this data to a placeholder.
  • There are connections and requests in the querys.yml file.
  • First set up a database connection, let's say bedwars.
  • Then create a query by entering the connection, SQL code and the column from which you want to take data.
  • Next, to output data to an item in the menu, use %mysql_(query)%
Code (YAML):
Connects:
  connect1
:
    host
: localhost
    port
: 3306
    database
: bedwars
    user
: root
    password
: ""
Querys
:
  query1
:
    connect
: connect1
    query
: "SELECT * FROM `players` WHERE id='132'"
    column
: player
Placeholders:

[​IMG]
  • You can use any placeholders from any plugins in items and posts
[​IMG]
Commands:

  • /sam reload/rl - reload plugin
  • /sam list - menu list
  • /sam close <player> - close menu for player
  • /sam open <menu> - open menu
  • /sam open <menu> <player> - open menu for player
[​IMG]
Installation:

  • After purchasing a plugin, install it in your server plugins folder.
  • We also recommend installing additional plugins at the very top of the post.
  • For installation, the created training video.
Resource Information
Author:
----------
Total Downloads: 6
First Release: Aug 17, 2021
Last Update: Oct 7, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings