Create your own module
Protection Module
Steps
First, implement io.github.lijinhong11.protector.api.protection
.IProtectionModule
Then create a class to connect your own protection range with the protection range defined by ProtectorAPI, the class must implement io.github.lijinhong11.protector.api.protection
.ProtectionRangeInfo
Register
just use the method below:
ProtectorAPI.register(module);
Block Protection Module
Steps
Implement io.github.lijinhong11.protector.api.block
.IBlockProtectionModule
Register
just use the method below:
ProtectorAPI.register(module);
Last updated