Have you ever had one of the folowing problems when trying to make your minigame plugin compatible with others:
If so, you need to use this API for your plugin. It is designed to help avoid these conflicts. It adds three events:
It has one big array to store all frozen players in. This helps avoid plugin "Freezing" conflicts. To add a player to the array, simply
Freeze.freezePlayer(p);
It's that simple! To unfreeze a player, use
Freeze.unfreezePlayer(p);
You can now check to see if a player is frozen! Simply call
PlayerIsFrozen.isPlayerFrozen(Player p);
If your plugin uses Freeze API, PM me and I will add you to the list. Plugins that use Freeze API:
Source: Feel free to submit pull requests and such.
Donations:
I do not accept donations at this time. Please support me by reporting problems and other suggestions to the ticket tracker.
Milestones: