OpsyFreeze | Freeze all theses nasty players [Lag Free] [1.8.x - 1.17.x] 0.2.0

Freeze players with a fully customizable plugin!

  1. ZeTioZ
    Native Minecraft Version:
    1.17
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Source Code:
    https://github.com/ZeTioZ/OpsyFreeze
    Languages Supported:
    Any (Translatable)
    What is "OpsyFreeze"
    OpsyFreeze is a plugin that make possible to freeze a player in place to be able to check if he is hacking or even just for fun.

    Features
    • Play a sound when freezing/unfreezing a player
    • Add an action when the player leave the server while being frozen
    • Remove the freezing state when the player leave the server
    • Permission support
    • Fully customizable with configs and messages files
    • Optimized and lag free
    How to install
    • Download the latest version of the plugin
    • Place the downloaded .jar file in your server plugin folder
    • Start your server
    • Enjoy!
    Commands
    • /opsyfreeze » Display help page of the plugin
    • /opsyfreeze <player> » Freeze/Unfreeze a player (toggle)
    • /opsyunfreeze <player> » Freeze/Unfreeze a player (toggle)
    • /opsyfreeze help » Display help page of the plugin
    • /opsyfreeze reload » Reload the plugin
    Messages and Configs Files
    Code (YAML):

    prefix
    : "&c[&dOpsy&bFreeze&c] "

    no-reason
    : "&aNo reason"

    player-frozen
    :
     - "&2You have &cfrozen &b{player}&2!"
      - "&2Reason
    : {reason}"
      - "
    &2He can't move &canymore!"

    player-unfrozen:
      - "
    &2You have &cunfrozen &b{player}&2!"
      - "
    &2He can now move &cfreely!"
     
    target-frozen:
      - "
    &2You have been &cfrozen by &b{freezer}&2!"
      - "
    &2Reason: {reason}"
      - "
    &2You can't move &canymore!"

    target-unfrozen:
      - "
    &2You have been &cunfrozen by &b{freezer}&2!"
      - "
    &2You can now move &cfreely!"
     
    target-freeze-info:
      - "
    &2&m=====&r &dOpsy&bFreeze &c- &d&lInfo &2&m=====&r"
      - "
    &6Freezer &c» &b{freezer}"
      - "
    &6Reason &c» &2{reason}"
      - "
    &6Location &c» &2X: &e{loc_x}&2, Y: &e{loc_y}&2, Z: &e{loc_z}"
      - "&2&m=====&r &dOpsy&bFreeze &c- &d&lInfo &2&m=====&r"

    plugin-reload
    :
     - "&2Plugin reloaded!"

    unfreeze-disconnect
    :
     - "&b{player} &2has been unfrozen because he left the server."
     
    staff-disconnect-alert
    :
     - "&b{player} &chas left the server while being frozen!"

    help-page
    :
     - "&d/opsyfreeze &c» &2Show the help page"
      - "&d/opsyfreeze &b<player> &c» &2Freeze a player in place"
      - "&d/opsyfreeze control &b<player> &c» &2Teleport a frozen player to the control point"
      - "&d/opsyfreeze control set &c» &2Set the control point location"
      - "&d/opsyfreeze info &b<player> &c» &2Info about why a player is frozen"
      - "&d/opsyfreeze &bhelp &c» &2Show the help page"
      - "&d/opsyfreeze &breload &c» &2Reload the plugin"
      - " "
      - "&d/opsyunfreeze &b<player> &c» &2Unfreeze a frozen player"
     
    errors
    :
      self-freeze
    :
       - "&cYou can't freeze yourself!"
      player-offline
    :
       - "&cThis player is offline!"
      player-already-frozen
    :
       - "&b{player} &cis already frozen!"
      player-not-frozen
    :
       - "&b{player} &cis not frozen!"
      move-while-frozen
    :
       - "&cSorry, but you can't move because you have been &4FROZEN &cby &b{freezer}!"
        - "&cIf you think that's a mistake, feel free to contact a staff member at discord.opsycraft.fr"
      not-enough-permissions
    :
       - "&cSorry, but you don't have enough permissions to do that!"
      invalid-sound
    :
       - "The sound {sound} doesn't exist! Please change it in the config file!"
      control-location-not-set
    :
       - "&cYou haven't set any control location yet!"
      player-only
    :
       - "&cYou need to be a player to perform that action!"
     
    Code (YAML):

    # Allow the console to make a command when a player leave the server while he is frozen
    disconnect-action
    :
      enabled
    : true
      commands
    :
       - "money set {player} 0"
        - "ban {player} {reason}"
     
    # Unfreeze the player if he disconnect while being frozen
    unfreeze-on-disconnect
    : true

    # Enable the toggle function so when you type /freeze or /unfreeze it can freeze and unfreeze the player
    freeze-toggle
    : true

    # Block the Y axe of movement while frozen avoiding players to jump or flying up and down
    block-y-axis
    : true

    # Set the freeze message cooldown in seconds to not spam the player chat while the player moves
    freeze-message-cooldown
    : 5

    # You can find all the available sound here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
    # Sound played when the target is freezed
    freeze-sound
    : GHAST_SCREAM

    # Sound played when the target is unfreezed
    unfreeze-sound
    : PIG_DEATH
     
    Permissions
    • opsyfreeze.freeze (/opsyfreeze <player>)
    • opsyfreeze.unfreeze (/opsyunfreeze <player>)
    • opsyfreeze.control.set (/opsyfreeze control set)
    • opsyfreeze.control (/opsyfreeze control <player>)
    • opsyfreeze.reload (/opsyfreeze reload)
    Servers using this plugin
    (if you want your server listed here, feel free to ask for it)

    Code (Text):
    • Add a multiple command action support (Added - 0.0.2)
    • Add toggle option for the command "/freeze" (Added - 0.0.3)
    • Add an independent "/unfreeze" command (Added - 0.0.3)
    • Add an option to block the Y axis while frozen (Added - 0.1.1)
    • Add an option to set the freeze message cooldown (Added - 0.1.1)
    • Add a "/freeze info" command to know the reason of the player's freeze (Added - 0.1.2)
    • Add a location to teleport both the player and the staff member to a specific spot for control (0.2.0)
    • Add an anti-disconnect screen and an item saying what the player has to do (In Progress)
    • Add No PvP and No Block Break on freeze (In Progress)


    Need support ? Feel free to contact me on discord! Click here to join the discord!

    Feel free to rate the plugin and send feedback!
    And don't forget to leave a like ;)

Recent Reviews

  1. sadasdasda412332
    sadasdasda412332
    5/5,
    Version: 0.2.0
    Hi, can you not deal PVP damage while frozen?
    and not smash blocks when freeze? .
    1. ZeTioZ
      Author's Response
      Going to add those configs asap ;)