#Deluxe Menu
1 messages · Page 1 of 1 (latest)
Custom plugin.
Show me your menu
Alright
What do you want in menu ?? Buy rank ? other ?
Buy a kit
Ok ok
So if they have 250 credits, they can purchase it.
1 : LOCK (no credit)
2: Unlock (can buy)
3: Have
Yea
Ok so
Do I need the custom plugin to do the kits instead of Essentials?
Since they have the permission to /kit chainmail...
And by default it costs essentials money.
Can you send the full gui menu as an example?
I named one test.yml for this.
kitName:
material: DIAMOND
display_name: "Have Kit"
priority: 0
slot: 2
view_requirement:
requirements:
hasKit:
type: has permission
permission: essentials.kit.name
BuykitName:
material: DIAMOND
display_name: "Buy kit"
priority: 1
slot: 2
view_requirement:
requirements:
hasMoney:
type: ">="
input: "%Player_Credits%"
output: "250"
click_commands:
- "[console] take money"
- "[console] add perm"
LockKitName:
material: DIAMOND
display_name: "No kit"
priority: 2
slot: 2
click_commands:
- "[message] You don t have money for buy"
- "[close]"```
@hard token
Can you include the beginning part?
menu_title: "azazaz"
open_command: test
size: 45
items:
kitName:
material: DIAMOND
display_name: "Have Kit"
priority: 0
slot: 2
view_requirement:
requirements:
hasKit:
type: has permission
permission: essentials.kit.name
BuykitName:
material: DIAMOND
display_name: "Buy kit"
priority: 1
slot: 2
view_requirement:
requirements:
hasMoney:
type: ">="
input: "%Player_Credits%"
output: "250"
click_commands:
- "[console] take money"
- "[console] add perm"
LockKitName:
material: DIAMOND
display_name: "No kit"
priority: 2
slot: 2
click_commands:
- "[message] You don t have money for buy"
- "[close]"```