freeze_settings: # You can disable movements when a player is frozen # Ex. disable_chat: false will allow the player to chat onFreeze:
disable_movements: true
disable_chat: false
disable_commands: false
disable_drop: true
disable_interaction: true
disable_damage: true
#These 2 will be disabled by default if you use the freeze GUI method !! disable_inventory_click: true
disable_inventory_open: true
Features:
Fixed a bug when you freeze 2+ players with the same staff account
Please remove ALL the folder of the FireFreeze 1.x before updating! I Finally finished the
FireFreeze 2.0! This version has various improvements and several new features!
// If you see a bug, please report it on the discussion page or on my discord server! Features:
Recoded ALL the plugin!
Remade the /firefreeze command
/freezehistory command! (Permission: firefreeze.freezehistory) Now you can see when a player has been frozen, with the times
All data stored on SQLite (by default) or MySQL
Possibility to merge /unfreeze to /freeze in the config
NEW! Anydesk task. When a player gets frozen, he has 1 minute (you can modify the time in the config) to give the anydesk id in chat, otherwise the plugin will send a message to all the staff saying "this player has not give the anydesk id" (obviously you can modify this message)
Now you can make the console execute various commands when a player gets frozen/unfrozen
Now the configuration file is split in 2 different files! config.yml for the configuration, and messages.yml for all the messages
Recoded all the API!
There are 3 events in the plugin:
PlayerFreezeAddEvent, PlayerFreezeRemoveEvent, and PlayerFreezeQuitEvent
PlayerFreezeAddEvent is called when the players gets frozen. You can get the staff and the frozen player
PlayerFreezeRemoveEvent is called when the players get unfrozen. You can get the staff and the unfrozen player
PlayerFreezeQuitEvent is called when the player quits the server while frozen. You can get only the frozen player
Usage of the FreezeProfile class: The FreezeProfile class is the custom player object. You can freeze/unfreeze the player and/or teleport him to the freeze location
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[/SPOILER] [B
][/B
]
This will be the last 1.x update for FireFreeze. I'm currently doing a complete recode for the FireFreeze 2.0! If you want to try it, you can join my discord server to get access to the dev-builds >> https://discord.gg/P3VA2At
Description:
Fixed some bugs
Modified the updater
Added compatibility with StrikePractice (You need to reset the configuration)
FreezeEvent - Executes when a player is successfully frozen.
parameters: (Player staff, Player frozenPlayer)
if the staff is the console, it will be null, so please do a check if the staff is null.
Can be cancelled
UnfreezeEvent - Executes when a player is successfully unfrozen.
parameters: (Player staff, Player unfrozenPlayer)
if the staff is the console, it will be null, so please do a check if the staff is null.
Can be cancelled
In this version I changed the name of the plugin (From fFreeze to FireFreeze) for various reasons. So, I changed the commands/permissions too (ex. ffreeze.admin > firefreeze.admin / /ffreeze > /firefreeze) Description:
Updated the style of /ffreeze command (now /firefreeze)
Fixed various bugs
When a frozen player quits the server, the console will execute a command (configurable in the config)
Added /firefreeze reload
Added /firefreeze update
Added an AutoUpdater task (every 20 minutes, the plugin will check if there is an update available)
Players with permission "firefreeze.admin" will see a message if there is an update available
Please remove the old configuration file before adding this update, or the plugin will not work!Thank you for using FireFreeze