Hello, I would like to prevent purchasing the highest rank before the first three, and I would like to stop the spamming of purchases when a player already has the rank. Let me explain: I can click infinitely on each rank. I would like the order to be Sergeant > General > Commander > Captain for rank purchases. Any ideas, please?
#Rankup
1 messages · Page 1 of 1 (latest)
Reminders | Invalid Tier
You need to be at least Tier V in order to set reminders!
Requested by: v4zl
Give your groups a permission like group.<rank> and add has permission checks to your requirements.
type: has permission
permission: group.sergent
Général should check for Sergent, Commandant should check for Sergent and Général, etc.
thks for help i testing not working :c
Need to fix some things, like deny_commands should be under requirements, there's a good example at the top of this page https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/requirements
click_requirement:
requirements:
requirement_name:
type: has permission
permission: "group.sergent"
success_commands:
- "[ACTIONTYPE] ACTION"
- "[ACTIONTYPE] ACTION"
deny_commands:
- "[ACTIONTYPE] ACTION"
- "[ACTIONTYPE] ACTION"
click_commands:
- "[ACTIONTYPE] ACTION"
Can you edit my rankup and send it to me? I'm really struggling after the modifications...
Up 😪
Why don't you send what you've got and someone can probably point our errors you've made.
If people just do it for you, you won't learn how to do it. But there is a very extensive wiki to learn also.
@compact saddle