#rankup luckperms problem

1 messages · Page 1 of 1 (latest)

sharp matrix
#

squire:
material: LIME_CONCRETE
slot: 1
display_name: '&f[&aSquire&f] &8| &7Rank'
lore:
- '&f★ &f[&aSquire&f] ★'
- ''
- '&a&lFeatures:'
- '&7- 3 Homes'
- '&7- 10% mcMMO boost'
- ''
- '&a&lRewards:'
- '&7- 1 &eCommon Key'
- ''
- '&a&lPrice: &e$1500'
- '&bLeft click to purchase'
left_click_commands:
- '[sound] ENTITY_PLAYER_LEVELUP'
- '[takemoney] 1500'
- '[console] lp user %player_name% parent set bilge'
left_click_requirement:
requirements:
# no_rank: # This requirement will check if they have the rank, and if they do, it won't allow them to purchase the rank
money: # This requirement will check if they have 1500$ and if they don't, it won't allow them to purchase the rank
type: has money
amount: 1500
deny_commands:
- '[message]&cYou don''t have enough money!'
- '[close]'
view_requirement:
requirements:
no_rank: # This requirement will check if they have the rank, and if they do it will show the has_squire item instead.
type: "!has permission"
permission: default

has_squire: # This item will show up if they already have the squire rank
material: LIME_CONCRETE
enchantments:
- SILK_TOUCH;1
hide_enchantments: true
slot: 1
priority: 2
display_name: '&f[&aSquire&f] &8| &7Rank'
lore:
- '&f★ &f[&aSquire&f] ★'
- ''
- '&a&lFeatures:'
- '&7- 3 Homes'
- '&7- 10% mcMMO boost'
- ''
- '&a&lPurchased'

#

what is problem here?

#

it takes money and gives sound

#

but it doesnt give a perm

#

[07:51:52 WARN]: [DeluxeMenus] Entity task for DeluxeMenus v1.14.1-DEV-null generated an exception
java.lang.IllegalStateException: Dispatching command async
at io.papermc.paper.threadedregions.RegionizedServer.ensureGlobalTickThread(RegionizedServer.java:105) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1023) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:1074) ~[folia-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at com.extendedclip.deluxemenus.action.ClickActionTask.run(ClickActionTask.java:86) ~[DeluxeMenus-1.14.1-DEV-null.jar:?]
at com.github.Anon8281.universalScheduler.foliaScheduler.FoliaScheduler.lambda$runTask$9(FoliaScheduler.java:112) ~[DeluxeMenus-1.14.1-DEV-null.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaEntityScheduler$EntityScheduledTask.accept(FoliaEntityScheduler.java:168) ~[folia-1.20.4.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaEntityScheduler$EntityScheduledTask.accept(FoliaEntityScheduler.java:115) ~[folia-1.20.4.jar:?]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1636) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.20.4.jar:git-Folia-"32ff12e"]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]

tidal wadi
#

try using parent add

sharp matrix
#

let me try

#

still same error

#

nothing changed

tidal wadi
#

also use pastebin, mclogs or use 3 ` so it maintains formatting in discord

sharp matrix
#

i m going send to whole code using mclogs now

#

and this is mc logs

tidal wadi
#

was it only squire having issues?

sharp matrix
#

I have 20 menus, they all work, but for some reason I cannot complete the rankup menu successfully.

tidal wadi
#

make sure you clarify which track you want to promote

sharp matrix
#

I don't understand. I just want to rank up through luckper.

tidal wadi
#

also squire is using default rather than group.default

#

yes

#

Setup tracks through luckperms and use luckperms to promote

sharp matrix
tidal wadi
#

yah its the default group that comes with lp

#

last type is tracks

#

need to clarify otherwise lp doesnt know what to promote and where

sharp matrix
#

wait

#

why i have nothing here

tidal wadi
#

you havent setup tracks probably

sharp matrix
#

what is it

#

what it do

#

and how to setup tracks

tidal wadi
#

/luckperms editor

#

do it with webui, can be done with in game commands but you forget instantly how you did something

sharp matrix
#

so i have ranks here

#

default and others

tidal wadi
#

include the ranks that can be purchased with in game money

sharp matrix
#

done i will try again

#

still same error

#

nothing changed

tidal wadi
#

did you include the track name in menu when promoting?

sharp matrix
#

how

#

i dont understand

tidal wadi
#

luckperms user %player_name% promote trackname

#

intead of luckperms user %player_name% promote%

sharp matrix
tidal wadi
#

did you apply the edits from web editor?

sharp matrix
#

oh sorry

#

done it

#

its worked ingame now

#

i will try with deluxemenu now

tidal wadi
#

make sure dm is reloaded too

sharp matrix
#

same error

#

its works ingame but when i try with deluxemenu i got same error

#

i have problem with my config or deluxemenu rankup doesnt work with folia

tidal wadi
#

Oh yeah make sure you refresh menu after giving perm

#

cause otherwise you wont see a change until reopening

sharp matrix
#

i did

#

but still same error

tidal wadi
#

can you resend yml maybe?

#

im not getting an error

sharp matrix
#

sure

#

the first rank

#

when you click

#

you have rankup group Bilge

#

i already have in luckperms

#

i think problem is with my folia