Group -> Role synchronization
Scarsz opened this issue ยท 7 comments
Install Vault. If you need further help join https://discord.discordsrv.com
Locking, as this ticket is resolved & support is handled through Discord.
Works good but some things needs to be optimized:
- Catching exeptions:
- jda.core.exceptions.PermissionException "The Discord bot's role needs to be on the first/top place in the roles list or at least higher than every player's group"
- java.lang.IllegalArgumentException "You can't link a Minecraft group with the
@everyone
role" <-- can be checked at config-reading
The PermissionsEx hook listen for an onCommand event and check the player's group then. Problem is that the group switch is done after this. Possible solution could be decreasing monitoring level for the event but needs testing.
Other permission plugins not tested.
@Androkai need stack traces to fix things