#LuckPerms Role Sync

1 messages · Page 1 of 1 (latest)

boreal elm
#

Is there any way how to add to my link skript, so when a player has the role on discord, it will automaticly be put in-game, and if its removed on discord it will be removed in-game too?

smoky scroll
#

probably

#

do you have disky

boreal elm
smoky scroll
#

there should be an event for when roles are changed

#

and then you would have a variable that represents that role's ingame rank

#

and you run a console command to add that rank to their group ingame

boreal elm
#

The thing i know shit at skripting…

smoky scroll
#

well this is a great opportunity to learn

boreal elm
#

I shloud probably add that every like 3s it will check if linked player has role of helper

#

If yes it will give him helper role ingame

smoky scroll
#

i already suggested using the event for when a role changes

#

or you can try to sync the roles when the player joins

boreal elm
smoky scroll
#

how did you make your link system then

rapid willowBOT
smoky scroll
#

that's a good place to start learning

boreal elm