Options
Menu options

Example

1
#Menu Options (All are optional)
2
3
Options:
4
#Use the arguments of an open command as variables (Example: {0} for the first argument, {1} for the second etc...)
5
Arguments: false
6
#Default arguments when you open the menu without any (Example: [hello,all,1,5] )
7
Default-Arguments: []
8
#Default shape used when you open the menu.
9
Default-Layout: 0
10
#Hide the inventory of the player when he opens the menu (the player still has his items, TrMenu will just make the client think he doesn't until he closes the menu).
11
Hide-Player-Inv: false
12
#Delay between each click on a button
13
Min-Click-Delay: 200
14
#Automatically download PlaceholderAPI's expansions
15
Depend-Expansions:
16
- 'server'
17
- 'player'
18
- 'progress'
19
- 'math'
Copied!

Notes

  • If the default arguments option is set, the arguments not provided by the player will be taken from the default arguments. Example:
    • Default-Arguments: ["TrMenu", "Arasple"]
    • If the player provides only the argument TrMenu, then the second argument will be automatically defined as Arasple
  • The default-Layout: # option will show the first layout if the specified one doesn't exist. You can also set the layout if you open the menu with the command `/trmenu open <menu>:<layout>
    • Example: /trmenu open ShopGUI+:2 Tanguygab
Last modified 1yr ago
Copy link
Contents
Example
Notes