Sueta

cFreeze [UPDATED] 2015.10.28

v1.2

cFreeze is a simple and lightweight freeze plugin!

·Plugin

CFreeze Plugin.

About Plugin:
cFreeze is a simple and lightweight freeze plugin that allows server staff to effectively moderate/administrate their server.

Commands:
/Freeze <Name> - Freezes and unfreezes a player
/Freezeall - Freezes the entire server, disables people without permission from talking, moving.
/Cf-reload - Reloads the config

Permissions:
cFreeze.freeze - Permission to freeze a player
Freeze.seelogger - Permission to see when a frozen player logs out
cFreeze.freezeall - Allows permission to do /freezeall, join the locked server, and talk while the server is frozen.

Config:

cFreeze:
#Message shown when you are frozen
FreezeMessage: '&9You have been frozen!'
#Message shown when you are unfrozen
UnfreezeMessage: '&9You are no longer frozen!'
#Message shown when you try to hit a player that's frozen
DamagerMessage: '&cYou cant hit a player while they are frozen!'
#Message shown when you try to move when frozen
MoveAttemptMessage: '&9You cant move when you are frozen!'
#Message shown to people with perms when you log while frozen
LogMessage: '&c%player has logged while frozen!'
#Say the message multiple times when a player logs?
SpamLoggerMessage: 'false'
#Message displayed when someone tries to join the server while it is frozen
LockedMessage: '&dThe server is currently frozen by an administrator, you should be able to connect in a few minutes.'
#Message displayed when autoban feature is enabled and a frozen player logs
BanMessage: '&aYou have been banned for logging while frozen!'
#Message displayed when someone joins the server while it's frozen.
JoinFrozenServerMessage: '&eThe server is currently frozen!'
#Toggle if the server is frozen or not, can also toggle this in-game with /freezeall
frozen: 'false'
#Toggle if people can connect when /freezeall is enabled
LockServer: 'false'
#Toggle if people get banned for logging out while frozen
BanLogger: 'false'
#Message when someone joins the server when they are frozen
JoinFrozen: '&7[&c!&7] &eYou are currently frozen!'
#Can players look around?
LookAround: 'true'
#Can players drop items?
CancelDrop: 'true'
#New manager for freezing players.
Players:
<Name>:
Frozen: <true/false>

TODO's
Allow you to freeze/unfreeze from the config file ADDED IN v1.2

Not move AT ALL when look around enabled

Add an exemption permission

Set what you want to do to a player when they log while frozen PARTIALLY DONE IN v1.1

Feedback
Feedback is greatly appreciated, feel free to shoot me a PM or drop a comment. Do the same for suggestions as well.

Similar projects

Plugin →