A library to allow client-side mods to easily be disabled from the server.
All rules are stored in a file at config/disabler-rules.json
.
The format for disabling is as follows:
{
"modid": {
"feature": true
}
}
The feature will be disabled if the value is true
.
Simply call DisableListenerRegistry#register
with all arguments, for each feature.
For an example, see the testmod.