Simple Player Freeze
A simple plugin that allows freezing and unfreezing players.
Permissions:
- spf.freeze:
- Allows a user to freeze another
- spf.unfreeze:
- Allows a user to unfreeze someone who is frozen
- spf.notify:
- Notifies this user when a frozen player logs in
- spf.bypass:
- Prevents this user from being frozen
- spf.reload:
- Allows this user to reload the configuration
- spf.chatspy
- Allows this user to see the chat of frozen players, if chat behavior is set to 2
Commands:
- /freeze <player>
- Freezes a player, or unfreezes them if they are frozen
- /unfreeze <player>
- unfreezes a frozen player
- /spfreload
- Reloads the configuration
- /fspy
- Toggles visibility of the chat of frozen players, if chat behavior is set to 2
Default configuration
# Should freezing persist between relogs?
freeze-persist: true
# Should someone glow when they are frozen?
freeze-glow: true
# Should someone be force-dismounted when frozen?
freeze-dismount: true
# Should someone be force-set to fly when frozen? This will prevent them from having weird glitches with their client
# Constantly trying to force them down and the server constantly re-setting them, however I have not tested this extensively
# With people who know how to abuse glitches. As such it is false by default
freeze-flight: false
# Should the user be invulnerable while they're frozen? (prevents issues like drowning if frozen while underwater)
freeze-invulnerability: true
# Chat behavior
# 0 = Chat as normal, no change
# 1 = Full mute. They cannot send messages and get an error when they attempt to
# 2 = Shadow mute, they don't see a change in their chat, however only staff can see their messages
chat-behavior: 2
# Should console spy on attempted messages in chat behavior 2?
console-sees-muted-messages: true
# Should console be notified when someone who is frozen logs in?
console-freeze-login-notified: true
# Which things should be prevented when someone is frozen?
prevent-movement: true
prevent-walking: true
prevent-jumping: true
prevent-interact: true
prevent-xp-pickup: true
prevent-item-pickup: true
prevent-item-drop: true
prevent-item-use: true
prevent-hotbar-switch: true
prevent-commands: true
prevent-crafting: true
prevent-inventory-interaction: true
whitelisted-commands:
# !! NOTE !! If you do not have the minecraft commands blocked by permissions, it is strongly advised
# Not to remove these from the whitelist due to chat signatures - if these commands are cancelled,
# The player will be kicked for a missing public key.
- /minecraft:msg
- /minecraft:w
- /minecraft:t
- /minecraft:teammsg
- /minecraft:tm
- /msg
- /w
- /t
- /teammsg
- /tm
- /r
placeholder-api-format: "<dark_gray>[Frozen]</dark_gray>"
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
Platforms
Paper