All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Simple Player Freeze

Simple Player Freeze

by Unknown • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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
    • Freezes a player, or unfreezes them if they are frozen
  • /unfreeze
    • 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>"

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x 1.20.6
Paper Purpur
9h ago 1
1.21.x 1.20.6
Paper Purpur
9h ago 1
1.21.x 1.20.6
Paper Purpur
9h ago 1
1.20.6
Paper Purpur
9h ago 1
1.20.x 1.19.x
Paper Purpur
9h ago 1
1.20.x 1.19.x
Paper Purpur
9h ago 1
1.20.x 1.19.x
Paper Purpur
9h ago 1
1.20.x
Paper Purpur
9h ago 1
Adds DiscordSRV integration, and a new config option for preventing shadow-muted messages from showing up in Discord.
## New Features:
### Commands
  • /freezeall [world]:
  • Allows admins to freeze all players on the server or within a specific world, closes [#1](https://github.com/Simplexity-Development/SimplePlayerFreeze/issues/1)
  • /unfreezeall [world]:
  • Allows admins to unfreeze all players on the server or within a specific world, should not unfreeze users who have been specifically, individually frozen

### Permissions

  • spf.freezeall
  • spf.freezeall.server
  • spf.freezeall.world
  • spf.unfreezeall
  • spf.unfreezeall.server
  • spf.unfreezeall.world

### New Config Options:
freeze-new-logins: Players joining a frozen server or world will also be frozen.
freeze-world-change: Players teleporting into a frozen world will be frozen upon entry.

### Code Changes

Event-Based Freezing: Moved from command-based freezing logic to an event-driven system for better flexibility and performance.

Added 2 lines to config:
  • prevent-inventory-open: true
  • prevent-attacking: true

## Versions before 1.20.6 are no longer supported
  • Added option prevent-jumping: true which uses the new gravity attribute

## Added the options:
``yml
prevent-walking: true
prevent-inventory-interaction: true
``
Please note that **Preventing walking alone does not prevent jumping**
This issue is going to be addressed in the next update, but it requires features that were introduced in 1.20.6 so I am putting this update out as a final update befre that

in order to use these/change the defaults, just add those lines underneath the other booleans in the config

## Changes:
Switched the locale to it's own file
You can either delete old locale section from the config file if you didn't change anything in it, or you can move it to the new file (deleting the new file's contents, then moving the whole section to the new file)
  • Fixed explanation of the chat behavior option
  • Added console-sees-muted-messsages option and console-freeze-login-notified option
  • No longer sends an empty line when a locale option is set to ""
Now properly soft-depends on Placeholder API
Requires PlaceholderAPI
Simple Player Freeze Icon
Download Simple Player Freeze
Select game version
Select platform