jssyro.

Make a plugin where admins have almost full control of anything like tphereing people disabling and enabling hunger disabling enabling chat and whitelist ppl to tallk in chat when its closed and also make it so i can give everyone random skins that work and make ALOT of moderator commands ALOOOTT make alot of stuff and add recording mode where all non operators can see any blocks they see them as stone only but the OPs can see all the blocks and also anyone without op cant break blocks and add so much stuff for scripted smps

Kodari AI
KodariOct 23 at 8:12 am 2
AdminControlSuite
Provides comprehensive administrator and moderator control for scripted SMPs. Features include teleporting players to admins, toggling global hunger and chat, whitelisting specific players to chat when chat is disabled, assigning random working skins to all players, and extensive moderator command suite. Includes recording mode where non-operators see all blocks as stone while operators see actual terrain, and non-operators cannot break blocks. Additional tools for player management, world control, and server administration to support cinematic and scripted gameplay scenarios.
  1. Set up the Paper plugin and configurable defaults.

  2. Add moderator/admin commands and SMP controls.

  3. Add chat, hunger, protection, vanish/freeze, and recording-mode listeners.

  4. Add random skin assignment from configurable Minecraft profiles.

Created the ScriptedSMP Paper plugin. Use /smp help for the command list; moderator and server-control commands use smp.mod and smp.admin permissions, both OP-only by default.

It includes chat controls and speaker allowlisting, hunger control, whitelist management, moderation commands, and configurable random skin profiles. Non-OPs cannot break blocks. Recording mode shows fake stone blocks within the configured radius and height (config.yml); increase those settings to cover a larger area.

jssyro.

can u make ti so the subcommands arent player usernames but the actual sub commands

Kodari AI
KodariOct 23 at 8:28 am 1

I’ll make tab completion show SMP subcommands in the first argument and only suggest usernames where a command actually expects a player.

Updated tab completion: /smp <tab> suggests SMP subcommands, and usernames appear only in arguments that expect a player.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
7 799
src/main/java/com/kodari/scriptedsmp/ScriptedSMPPlugin.java
package com.kodari.scriptedsmp;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.Set;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;

public final class ScriptedSMPPlugin extends JavaPlugin {
    private final Set<UUID> godPlayers = ConcurrentHashMap.newKeySet();
    private final Set<UUID> frozenPlayers = ConcurrentHashMap.newKeySet();
    private final Set<UUID> vanishedPlayers = ConcurrentHashMap.newKeySet();
    private final Set<UUID> mutedPlayers = ConcurrentHashMap.newKeySet();
    private final Set<UUID> chatAllowlist = ConcurrentHashMap.newKeySet();
    private boolean chatOpen;
    private boolean hungerEnabled;
    private boolean recordingMode;
    private SMPListener listener;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        chatOpen = getConfig().getBoolean("chat.open", true);
        hungerEnabled = getConfig().getBoolean("hunger.enabled", true);
        recordingMode = getConfig().getBoolean("recording.enabled", false);

        listener = new SMPListener(this);
        getServer().getPluginManager().registerEvents(listener, this);
        SMPCommand command = new SMPCommand(this);
        getCommand("smp").setExecutor(command);
        getCommand("smp").setTabCompleter(command);

        if (recordingMode) {
            listener.refreshAllRecordingPlayers();
        }
        getLogger().info("ScriptedSMP enabled.");
    }

    @Override
    public void onDisable() {
        if (listener != null) {
            listener.clearAllRecordingViews();
        }
    }

    public boolean isChatOpen() {
        return chatOpen;
    }

    public void setChatOpen(boolean chatOpen) {
        this.chatOpen = chatOpen;
    }

    public boolean isHungerEnabled() {
        return hungerEnabled;
    }

    public void setHungerEnabled(boolean hungerEnabled) {
        this.hungerEnabled = hungerEnabled;
    }

    public boolean isRecordingMode() {
        return recordingMode;
    }

    public void setRecordingMode(boolean recordingMode) {
        this.recordingMode = recordingMode;
        if (listener != null) {
            listener.refreshAllRecordingPlayers();
        }
    }

    public Set<UUID> getGodPlayers() {
        return godPlayers;
    }

    public Set<UUID> getFrozenPlayers() {
        return frozenPlayers;
    }

    public Set<UUID> getVanishedPlayers() {
        return vanishedPlayers;
    }

    public Set<UUID> getMutedPlayers() {
        return mutedPlayers;
    }

    public Set<UUID> getChatAllowlist() {
        return chatAllowlist;
    }

    public void hideVanishedPlayersFrom(org.bukkit.entity.Player player) {
        for (UUID vanishedId : vanishedPlayers) {
            org.bukkit.entity.Player vanished = Bukkit.getPlayer(vanishedId);
            if (vanished != null && !player.equals(vanished)) {
                player.hidePlayer(this, vanished);
            }
        }
    }
}