Fire Playz

Create a Minecraft plugin with LuckPerms permission support.

Features:

  • "/ss <player>" — Freeze the specified player.
  • While frozen, the player cannot move and cannot be hit or damaged by other players.
  • Once "/ss <player>" is executed, start a 3-minute countdown timer for that player.
  • If the timer reaches 3 minutes, automatically ban the player for 30 minutes.
  • "/closess <player>" — Unfreeze the player and immediately cancel their timer, so they will not be banned.
  • After "/closess", the player should be able to move normally and be hit/damaged again.
  • Make the commands permission-based using LuckPerms, so I can control who is allowed to use "/ss" and "/closess".
  • Include appropriate messages for freezing, the countdown, unfreezing, and the automatic 30-minute ban.
  • Make sure timers are properly cancelled if the player is unfrozen, disconnects, or is otherwise no longer being monitored.
  • The plugin should work on a Paper Minecraft server. Make version 1.21.11
Kodari AI
KodariSep 24 at 12:31 pm 1
StaffFreezeSystem
A Paper 1.21.11 Minecraft plugin providing staff with freeze and investigation commands. /ss freezes a target player, preventing movement and damage from others, while starting a 3-minute countdown. If the countdown expires, the player is automatically banned for 30 minutes. /closess unfreezes the player and cancels the timer. Commands are permission-gated via LuckPerms integration. The plugin sends clear messages for freezing, countdown warnings, unfreezing, and automatic bans. Timers are safely cancelled on unfreeze, disconnect, or server shutdown to prevent ghost bans.

I’ll create the Paper 1.21.11 plugin with:

  1. Freeze/unfreeze commands protected by LuckPerms-compatible permission nodes.

  2. Movement and player-caused damage blocking while monitored.

  3. A cancellable 3-minute timer that bans for 30 minutes on expiry.

  4. Paper/Gradle project metadata and plugin descriptor.

Created the Paper 1.21.11 plugin with /ss <player> and /closess <player>, LuckPerms-compatible permissions (screeningfreeze.freeze and screeningfreeze.unfreeze), movement and player-caused damage blocking, and a cancellable 3-minute timer that applies a 30-minute ban on expiry. Disconnecting or unfreezing cancels monitoring.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
6 300
src/main/java/com/example/screeningfreeze/ScreeningFreezePlugin.java
package com.example.screeningfreeze;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.Objects;

public final class ScreeningFreezePlugin extends JavaPlugin {
    private FreezeManager freezeManager;

    @Override
    public void onEnable() {
        freezeManager = new FreezeManager(this);
        getServer().getPluginManager().registerEvents(freezeManager, this);

        FreezeCommand freezeCommand = new FreezeCommand(freezeManager);
        PluginCommand freeze = Objects.requireNonNull(getCommand("ss"));
        freeze.setExecutor(freezeCommand);
        freeze.setTabCompleter(freezeCommand);

        PluginCommand close = Objects.requireNonNull(getCommand("closess"));
        close.setExecutor(freezeCommand);
        close.setTabCompleter(freezeCommand);
    }

    @Override
    public void onDisable() {
        if (freezeManager != null) {
            freezeManager.shutdown();
        }
    }
}