Note to Customers: Please leave a review containing any feedback and your honest opinion of the plugin and feel free to suggest upgrade ideas.
dnFreeze is a fully configurable plugin that allows you to freeze the player in your server.
Commands:
- /freeze <player> - Freeze or unfreeze a player
- /freeze info - If a player is frozen, you can view the details of it.
- /freeze reload - Reload the config file.
Permissions:
- dnfreeze.staff - Use /freeze
- dnfreeze.reload - Use /freeze reload
- dnfreeze.bypass - Can't be frozen.
- dnfreeze.notify - Notification when someone is frozen/unfrozen or leave the server while frozen.
Plugin saves the freezed player in a custom YAML (playerdata.yml) file in case someone leaves the server while frozen or the server would be restarted.
playerdata.yml:
Code (Text):
Player1:
Freezed-by: Player2
Freezed-in:
world: world
x: 227
y: 68
z: 247
Freezed-at: 2021/09/14 18:36:46
fully customizable config.yml file:
Code (Text):
# Made by Nandi0813
# Contact on Discord: Nandi0813#3062
# Version 1.0
#=======================================================
#
# Permssions:
#
# /freeze or /ss - dnfreeze.staff
#
# /freeze reload - dnfreeze.reload
#
# dnfreeze.bypass - Can't be frozen
#
# dnfreeze.notify - Sends notification if somebody gets frozen or a frozen player leaves the server.
#
#=======================================================
# Plugin Options (When Frozen)
OnQuitMessage: true
# If true, all players with permission will receive message when a frozen player leave the server.
OnJoinMessage: true
# If true, all players with permission will receive message when a frozen player join the server.
CancelMovement: true
# If true, the player will not be able to move while frozen.
CancelChat: true
# If true, the player will not be able to chat while frozen.
CancelCommand: true
# If true, the player will not be able to use commands while frozen.
CancelBlockBreak: true
# If true, the player will not be able to break blocks while frozen.
CancelBlockPlace: true
# If true, the player will not be able to place blocks while frozen.
CancelPlayerInteract: true
# If true, the player will not be able to interact with each other while frozen.
CancelFoodLevelChange: true
# If true, the player will not loose hunger while frozen.
CancelDropItem: true
# If true, the player will not be able to drop their items while frozen.
CancelPickupItem: true
# If true, the player will not be able to pick up any item while frozen.
CancelFrozenPlayerAttack: true
# If true, the player will not be able to hurt anybody on the server.
CancelFrozenPlayerGetDamage: true
# If true, the player will not be able to get damage while frozen.
#=======================================================
# Plugin language
InvalidUsage: "&cInvalid usage. Try /freeze <player> or /freeze info <player>"
DontHavePermission: "&cYou don't have permission to use this command."
ConfigReloaded: "&aConfig successfully reloaded!"
PlayerNotFound: "&cThe player is not found."
CantFreezeYourself: "&cYou can't freeze yourself."
CantFreezeThem: "&cYou can not freeze that player!"
PlayerFrozen: "&e%target% &chas been frozen!"
PlayerUnFrozen: "&e%target% &ahas been unfrozen!"
Frozen: "&cYou have been frozen by &e%player%!"
UnFrozen: "&cYou have been unfrozen by &e%player%!"
FrozenLeft: "&e%player% &chas left the server while frozen!"
FrozenJoin: "&e%player% &chas joined the server while frozen!"
FrozenCantMove: "&cYou can't move. You have been frozen by &e%freezedby% &cat &e%freezedat%&c."
FrozenCantChat: "&cYou can't use the chat. You have been frozen by &e%freezedby% &cat &e%freezedat%&c."
FrozenCantCommand: "&cYou can't use commands. You have been frozen by &e%freezedby% &cat &e%freezedat%&c."
FrozenCantBreak: "&cYou can't break blocks. You have been frozen by &e%freezedby% &cat &e%freezedat%&c."
FrozenCantPlace: "&cYou can't place blocks. You have been frozen by &e%freezedby% &cat &e%freezedat%&c."
FrozenCantAttack: "&cYou can't attack. You have been frozen by &e%freezedby% &cat &e%freezedat%&c."
# You can add more lines below if you would like and you can also use
# the following variables:
# %player% (the frozen players name)
# %freezedby% (the guy who freezed him/her)
# %freezedat% (the time the guy got frozen)
# %world% (the worlds name, where the freeze happened)
# %x% %y% %z% (coordinates, where the freeze happened)
FrozenInfoMSG:
- "&7================================"
- "&3Frozens name: &b%player%"
- "&3Frozed by: &b%freezedby%"
- "&3Frozed at: &b%freezedat%"
- "&3Frozed in: &cWorld: &f%world% &cX: &f%x% &cY: &f%y% &cZ: &f%z%"
- "&7================================"