How to develop permissions plugin

Yes, I know that there is LuckPerms and other stuff, but I need only way to attach permissions & remove & clear them all from player. In Bukkit it was quite easy, just HashMap with UUID & PermissionAttachment. Anyone knows how to do it or I need to make custom permissions system?

Here is a good tutorial from sponge themselves.

https://docs.spongepowered.org/stable/en/plugin/permissions.html

1 Like