literallyfiro / FireFreeze

A completely free Freeze Plugin, with a lot of features.
https://www.spigotmc.org/resources/77105/
GNU General Public License v3.0
6 stars 1 forks source link

Codacy Badge

Overview

FireFreeze is the best freeze plugin on the market! It has several new features never seen in other plugins, such as anydesk-id task, freeze history, freeze glowing, titles support, and more...

API

There are 3 events in the plugin: PlayerFreezeAddEvent, PlayerFreezeRemoveEvent, and PlayerFreezeQuitEvent

The FreezeProfile class is the custom player object. You can freeze/unfreeze a player and teleport him to the freeze location You can call it by using:

public class FireFreezeTest {

    public void onEnable() {
        FreezeProfile profile = new FreezeProfile(playerObject);

        profile.freeze(); //To freeze the player
        profile.unfreeze(); //To unfreeze the player
        profile.forceUnfreeze(); //It's just a normal unfreeze but with the EntryType set to FORCED
        profile.getWhoFroze(); //Returns the staff member who froze the player
    }

}