Simple Freeze - A useful plugin for punishing players

Status
This thread has been locked.

7rory768

Feedback score
3
Posts
27
Reactions
8
Resources
0
8hIaBt0.jpg


Download: https://www.spigotmc.org/resources/simple-freeze.18044/
Simple Freeze is an expansive plugin that allows you to freeze players individually or everyone at once. You can prevent players from performing certain functions and customize all messages.

qt2NU2A.jpg
  • Freeze players individually or everyone at once
  • List frozen players
  • Customizable messages
  • Notify staff when a player is frozen/unfrozen
  • Teleport players to custom locations upon freezing
  • Set their helmet to a any block upon freezing
  • Play a sound to a player when they are frozen or unfrozen
  • Display particles above a players head while they are frozen
  • Players cannot be damaged while frozen
  • Restrict functions while frozen
    • Movement
    • Enderpearls
    • Interacting (placing/breaking)
    • Inventory editing
    • Item drop
    • Optional:
      • Chat
      • Commands
      • Head movement
hyRd6tJ.jpg


< > = Required [ ] = optional
  • /sf help - lists all commands and usage
  • /sf reload - reloads the configuration
  • /freeze <player> [location] - freezes/unfreezes a player and teleports them to a location if given (set in config)
  • /freezeall [location] - freezes/unfreezes every player on the server and teleports them to a location if given (set in config) except those exempt
  • /frozen - lists frozen players
9Ttl4j6.jpg
  • sf.* - Gives all permissions
  • sf.reload - reloads configuration file (/sf reload)
  • sf.exempt - exempt from being frozen
  • sf.notify.frozen - receives messages when someone is frozen
  • sf.notify.unfrozen - receives messages when someone is unfrozen
  • sf.help - lists all commands and usage (/sf)
  • sf.freeze - freeze/unfreeze other players (/freeze)
  • sf.freezeall - freeze/unfreeze all players (/freezeall)
  • sf.frozen - lists frozen players (/frozen)
1wuug49.jpg
Code:
# ||=======================================||
# ||              Simple Freeze            ||
# ||               Version 2.0             ||
# ||=======================================||

# ||=======================================||
# ||              Placeholders             ||
# ||=======================================||

# {PREFIX} - Prefix of plugin (defined by prefix)
# {FREEZER} - Name of player that freezes/unfreezes another player
# {PLAYER} - Name of player that's frozen
# {LOCATION} - Location player is teleported to
# {SQUARE} - Represents unicode of 2B1B (http://www.fileformat.info/info/unicode/char/2b1b/index.htm)

# ||======================================||
# ||                 Info                 ||
# ||======================================||

# This config fully supports using '&' colour codes which are found here: http://ess.khhq.net/mc/
# If you don't want any messages to be sent change the message to ''
# If you want to add any 's to your messages make sure to put two or the config will break ('' instead of ')
# ex. can't (Bad), can''t (Good)

# ||======================================||
# ||          Placeholders Setup          ||
# ||======================================||

# This sets the message held by the {PREFIX} placeholder
prefix: '&1[&9Simple Freeze&1]&9 '

# This sets the message held by the {LOCATION} placeholder when there is no actual freeze location; ('' = nothing)
location: ''

# ||======================================||
# ||               Messages               ||
# ||======================================||

# NOTE: If you don't want any messages to be sent change the message to ''

# Messages sent to a player when they are frozen
frozen-message:
  - '&4&m--------------------------------------------------'
  - '&cYou were frozen by &l{FREEZER}'
  - '&4&m--------------------------------------------------'

# Messages sent to a player when they are unfrozen
unfrozen-message:
  - '&4&m--------------------------------------------------'
  - '&cYou are now unfrozen'
  - '&4&m--------------------------------------------------'

# Messages sent to the server when every player is frozen (/freezeall)
freezeall-message:
  - '&4&m--------------------------------------------------'
  - '&cEveryone was frozen by &l{FREEZER}'
  - '&4&m--------------------------------------------------'
# Messages sent to the server when every player is frozen (/freezeall)
unfreezeall-message:
  - '&4&m--------------------------------------------------'
  - '&cEveryone was unfrozen by &l{FREEZER}'
  - '&4&m--------------------------------------------------'

# Messages sent to a player when they are frozen because they joined during a freezeall
join-on-freezeall-message:
  - '&4&m--------------------------------------------------'
  - '&cYou have joined while freezeall is active by {FREEZER}'
  - '&4&m--------------------------------------------------'

# Messages sent to a player that tries to attack a frozen player
frozen-attacked-message:
  - '{PREFIX}You can''t attack {PLAYER} because they''re frozen'
# Messages sent to a frozen player that tries to attack another entity
frozen-attack-message:
  - '{PREFIX}You can''t attack while frozen'

# Messages sent to a player when they try to use an enderpearl
enderpearl-message:
  - '{PREFIX}You can''t use enderpearls while frozen'

# Messages sent to a frozen player that tries to interact with, place, or break blocks
interact-message:
  - '{PREFIX}You can''t interact while frozen'

# Messages sent to a frozen player that tries to edit their inventory while frozen
inventory-message:
  - '{PREFIX}You can''t edit your inventory while frozen'

# Messages sent to a frozen player that tries to drop an item
item-drop-message:
  - '{PREFIX}You can''t drop items while frozen'

# Messages sent to players with the sf.notify.frozen permission upon freezing a player
frozen-notify-message:
  - '{PREFIX}{PLAYER} was frozen by {FREEZER}'

# Messages sent to players with the sf.notify.unfrozen permission upon freezing a player
unfrozen-notify-message:
  - '{PREFIX}{PLAYER} was unfrozen by {FREEZER}'

# Messages sent to players upon using a blocked command
blocked-commands-message:
  - '{PREFIX}You cannot use this command while frozen'
# Messages sent to players upon attempting to freeze a player that has sf.exempt
sf-exempt-message:
  - '{PREFIX}You cannot freeze &l{PLAYER} &9because they are exempt'

# Messages sent to players upon using a command they don't have permission for
no-permission-message:
  - '&cYou don''t have permission for this command'

# ||======================================||
# ||               Blocking               ||
# ||======================================||

# true = Blocked
player-damage: true
fire-damage: true
head-movement: false

# true = Blocked
block-chat: false
block-chat-message:
  - '{PREFIX}You cannot chat while frozen'

# Whitelist = true, Blacklist = false (Whitelist: Only commands listed are not blocked, Blacklist: Only commands listed are blocked)
whitelist-or-blacklist: false
# Make sure blocked commands are all lower case here, additional arguments are automatically taken care of (ex. /tpa 7rory768)
blocked-commands:
  - '/tpa'
  - '/tpask'
  - '/tpaccept'
  - '/tpyes'
  - '/tphere'
  - '/tpahere'
  - '/tph'
  - '/call'
  - '/etpa'
  - '/etpask'
  - '/etpaccept'
  - '/etpyes'
  - '/etphere'
  - '/etpahere'
  - '/etph'
  - '/ecall'
  - '/essentials:tpa'
  - '/essentials:tpask'
  - '/essentials:tpaccept'
  - '/essentials:tpyes'
  - '/essentials:tphere'
  - '/essentials:tpahere'
  - '/essentials:tph'
  - '/essentials:call'

# ||=======================================||
# ||              Preferences              ||
# ||=======================================||

# Defines if a player should be teleported to the highest block at their location when frozen (prevents glitches when a player is floating while frozen (Kicked: Flying is not enabled on this server))
teleport-up: true
# teleport-up will not run if a location is specified (ex. /freeze <playername> example-location)

# Defines if a player should be teleported back to their old location before being frozen (only affects when freezing a player and providing a location);
tp-back: true

# Defines what block will be set as a players helmet (If their inventory isn't full) This block will be removed once they are unfrozen (Their current helmet will not be lost)
# Define head-block as listed here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html (Don't want a head-block? Add a # before 'head-block')
head-block: ICE
#block-color: 3
# NOTE: (color should be a number from 1-15 and should only be given if head-block is: STAINED_GLASS, STAINED_GLASS_PANE, WOOL, CARPET or STAINED_CLAY)
# Add a # if you don't want a color (ex. #block-color: 3)

# Defines what sound will be played upon a freeze/unfreeze (Define them as listed here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html)
# NOTE: Volume can be any number from 0.0 - 1.0 (1.0 = normal))
# NOTE: Pitch can be any number from 0.5 to 2.0 and controls how fast the sound is played (1.0 = normal)
# Both volume and pitch values must have decimals just add .0 if you are providing a whole number (ex. 1 to 1.0)
freeze-sound:
  sound: NOTE_PLING
  volume: 1.0
  pitch: 1.0
unfreeze-sound:
  sound: NOTE_PLING
  volume: 1.0
  pitch: 1.0
# Add a # if you don't want a sound to be played (ex. #freeze-sound:)

# Defines what particles will surround a player while frozen (Define them as listed here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html)
frozen-particles:
  particle: SNOWBALL_BREAK
  radius: 10
  # Radius is the number of blocks from the player where the particles are still visible
# Add a # if you don't want a sound to be played (ex. #frozen-particles: SNOW_SHOVEL)

# Defines locations that can be called when freezing a player (ex. /freeze <playername> example-location)
# Values should have decimals, just add .0 if you are providing a whole number (ex. 10 to 10.0)
# If no worldname is specified for a location the player will remain in their current world (NOTE: Locations used in freezeall require that you specify a 'worldname')
locations:
  example-location:
    x: 0.5
    y: 100.0
    z: 0.5
    yaw: 0.0
    pitch: 0.0
  freezeall-location:
    worldname: 'world'
    x: 10.5
    y: 100.0
    z: 10.5
    yaw: 0.0
    pitch: 0.0

aUAlfvv.jpg

  • Freeze players upon joining while everyone is frozen
  • Sounds on freeze/unfreeze
  • Particles while frozen
  • Freeze players/everyone for a certain amount of time
  • HolographicDisplays support
  • Titlemanager support
  • Actionbar support
  • BossAPI support
  • Your ideas
 
Last edited:

ImJayy

SkyFallMC Owner
Premium
Feedback score
0
Posts
53
Reactions
23
Resources
0
Vouch For 7Rory768 Great Dev One of the best Freeze/ScreenShare Plugins out there!
 
Last edited:
Status
This thread has been locked.
Top