Permission API
maxanier opened this issue ยท 3 comments
net.minecraftforge.server.permission ->registerNode ->hasPermission
For things like sucking blood etc.
Maybe make use of de.teamlapen.vampirism.util to store permission strings, or create a dedicated file in the api packages for the permission strings.
Some basic permissions have been implemented some time ago (1.12+). Just forgot to reference this issue. #442
I think I have verified that those work with Sponge but I am not entirely sure.
The implemented nodes may be deduced from this file: https://github.com/TeamLapen/Vampirism/blob/1.12/src/main/java/de/teamlapen/vampirism/util/Permissions.java
If you want to see any other additional permissions let me know
SpongeForge should support this by now
SpongePowered/SpongeForge#1660