#Wrong
1 messages · Page 1 of 1 (latest)
probably its due to improper formatting in the display_name and lore fields of 'Rank1NoPerm':
update: true
priority: 3
material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDZiYTYzMzQ0ZjQ5ZGQxYzRmNTQ4OGU5MjZiZjNkOWUyYjI5OTE2YTZjNTBkNjEwYmI0MGE1MjczZGM4YzgyIn19fQ=='
slot: 10
hide_attributes: true
view_requirement:
requirements:
permission:
type: has permission
permission: playerkits.kit.Titan
available:
type: string equals ignorecase
input: '%playerkits_cooldown_titan%'
output: 'yes'
display_name: '&c&l&nRank1 Kit'
lore:
- ''
- '&c&l∙ STATUS &fLocked'
- '&c&l∙ COOLDOWN&f 3 Days'
- ''
- '&c&ostore.example.net'
left_click_commands:
- '[player] playerkits claim Titan'
- '[refresh]'
right_click_commands:
- '[player] playerkits claim Titan'
- '[refresh]'
not working
check if you get any errors in console
not working what? You must be more specific with the problem. Doesn't open the menu? An item is not shown? Does a requirement not work?
[22:06:45] [Server thread/ERROR]: [DeluxeMenus] Detected invalid configuration in file: donator_kits.yml
Your syntax was too bad, I recommend you compare your previous file with the one I sent you so you can see the errors you had.
[22:35:35] [Server thread/ERROR]: [DeluxeMenus] Failed to load menu items for menu: donatorkits
What did you change? Did you copy and paste the one I sent you in your previous menu file?
yes
[22:50:20] [Server thread/ERROR]: [DeluxeMenus] Detected invalid configuration in file: donator_kits.yml
[22:50:20] [Server thread/WARN]: [DeluxeMenus] Menu: donatorkits in file: donator_kits.yml not loaded.
?
syntax error in the command section of the Rank1NoPerm
give this a try @midnight siren https://pastebin.com/raw/G4mdsffJ
[15:07:33] [Server thread/ERROR]: [DeluxeMenus] Detected invalid configuration in file: donator_kits.yml
[15:07:33] [Server thread/WARN]: [DeluxeMenus] Menu: donatorkits in file: donator_kits.yml not loaded.
try this
Also i just found that i forgot to change the slot: 10 part
it doesn't work, and how do I make the command appear in the chat, do I need a custom command plugin?
did u change the slot as i said above
no add register: true in your config
and restart server
open_command:
- donatorkit
- donatorkits
size: 27
open_requirement:
requirements:
permission:
register_command: true```
this should be okay
I change and same don’t work
looks like its because we assigned the same view_requirement to all the items but no one meets them properly
type: has permission
permission: playerkits.kit.Titan```
what are you trying to implement tho?
what error does it show?
*what are you trying to implement tho? *
im still waiting for the answer
I want him to be able to take the kit from the menu if he has access to the respective permission
if you're using essential's kit, theres an example on helpchat's wiki
I use playerskit 2
.