Owen St John

create me a plugin named ObroSettings, the plugin will have the same gui as donutsmp.net's old settings or current bedrock settings but with a rainbow border and thick, shiny, purple font at the top named, "ObrosSettings" (make it changable in config.yml). the settings will be: oak sign: toggle all public chats and messages exept for announcements. dark oak sign: toggle private messages like /msg and /w, when off, people will be blocked from sending private messages exept staff. diamond: show/hide who pays you money. enderpearl: block tpa requests. eye of ender: block tpahere requests. compass: toggle teleport accept or send "comfirm menus" basically asks "are you sure you would like to send/accept this tpa request?. lecturn: show/hide the TAB scoreboard completly. enchanted golden apple: toggle infinite night vision, also make a "/nv" command that toggles night vision. phantom membrane: blocks/allows phantoms to spawn. zombie head: blocks /allows any hostile mobs to spawn. ask any questions, take alot of time making everything work perfect and like donutsmp. make sure disabling mob spawns actually works and make it so if one person allows it and one person doesnt in the same area, they wont spawn. i have vault plugin and the scoreboard is made with TAB plugin. the tpa plugin is DonutTPA by spideon on modrith. make everything configerable simple to read and config include instuctions. make it super clean and not messy or too much color. make the rainbow outline only be at the top for about 3.5 slots down, the rest normal and clean.

Kodari AI
KodariSep 21 at 3:22 am 2
ObroSettings
A Bukkit settings plugin with a rainbow-bordered inventory GUI featuring a purple "ObrosSettings" title. Players toggle chat visibility, private messages, payment notifications, TPA request blocking, teleport confirmations, TAB scoreboard visibility, infinite night vision, phantom spawning, and hostile mob spawning. Includes configurable settings, a /nv command for night vision, and per-player mob spawn control that respects nearby player preferences. Integrates with DonutTPA and TAB plugins, with all features configurable via a clean config.yml.

Created the initial ObroSettings plugin with:

  • Configurable settings GUI titled ObrosSettings

  • Rainbow stained-glass border across the upper section

  • Purple enchanted header styling

  • Persistent per-player settings in players.yml

  • Public chat toggle with announcement exceptions

  • Private-message toggle with staff bypass

  • TPA and TPAHere blocking

  • Teleport confirmation menus

  • TAB scoreboard visibility control

  • Infinite night vision setting and /nv

  • Phantom and hostile-mob spawning controls

  • Mob spawning blocked if any nearby player has the relevant setting disabled

  • Configurable materials, labels, messages, commands, permissions, radius, and hostile mob list

  • Optional Vault, TAB, and DonutTPA support declarations

Two external-plugin limitations are configured for customization:

  • DonutTPA command aliases are listed in config.yml and can be adjusted.

  • Vault does not provide one universal payment-received event, so payment notification handling depends on the economy plugin’s implementation.

Owen St John

keep everything the same but after toggling public chat, i still see every message and scoreboard toggle doesnt work i still always see it. also the TAB scoreboard toggle in settings name changable in config

Kodari AI
KodariSep 21 at 3:42 pm 1
  1. Fix public-chat filtering so disabled players no longer receive non-announcement public messages.

  2. Fix the TAB scoreboard visibility integration and make its GUI setting name configurable.

  1. Public chat: fixed recipient filtering so players with public chat disabled no longer see non-announcement chat messages. Staff and announcement messages remain visible.

  2. TAB scoreboard: fixed the reflective TAB API lookup by using the correct TabPlayer interface type.

  3. Configurable setting name: the GUI name remains configurable at:

YAML
gui:
  items:
    tab-scoreboard:
      name: '&fTAB scoreboard'

Change the name value and restart or reload the plugin.

Owen St John

fix Public chat toggle, right now i still see all messages, block all messages exept /msg and /w dms. also block death messages. make this toggle still only affect the player who toggles it. fix scoreboard toggle, it still stays. make it just hide for the player that toggled keep everything else the same

Kodari AI
KodariSep 27 at 1:49 am 1
  1. Public chat: suppress all ordinary chat and death messages only for players who disabled public chat, while leaving /msg and /w DMs alone.

  2. Scoreboard: make the TAB toggle hide/show only that player’s scoreboard.

  1. Public-chat filtering now applies only to each recipient; ordinary chat and death messages are hidden from opted-out players, while private-message commands remain unaffected. I’m addressing the per-player TAB scoreboard toggle next.

  1. Public chat: The toggle now hides ordinary chat from opted-out recipients through both Paper’s modern chat event and the legacy chat event. It also hides death messages. It no longer blocks the sender, so the setting only affects that player’s view; /msg and /w DMs remain unaffected.

  2. TAB scoreboard: Fixed the reflective API call to use TAB’s public ScoreboardManager interface, applying visibility per player. The setting’s display name remains configurable at gui.items.tab-scoreboard.name.

Owen St John

completly remove the comfirm tpa option

Kodari AI
KodariSep 27 at 9:39 pm 1
  • Remove the confirmation toggle, menu, stored setting, and confirmation-only config/messages.

  • Preserve the other GUI slots and normal TPA blocking; TPA commands will proceed without a confirmation prompt.

Removed the TPA confirmation option completely: its GUI item, confirmation menu and command interception, saved setting, and related config/messages are gone. TPA requests still respect the existing block settings; other TPA commands now proceed normally without a confirmation prompt.

Owen St John

leave everything the same but fix mob and phantom spawns toggle, when off, it still spawns mobs everywhere.

Kodari AI
KodariSep 30 at 12:16 am 1
  1. Trace the existing phantom and hostile-mob spawn checks against saved player settings.

  2. Fix the spawn decision so disabled settings actually prevent nearby spawns, without changing unrelated settings.

Updated the mob-spawn checks to run at the highest event priority and cover the vanilla spawn radius (at least 128 blocks), including servers that still have the old 32-block value in their config. A nearby player with the relevant toggle off will block that mob type from spawning; phantom settings remain separate from hostile-mob settings.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
12 852
src/main/java/com/obrosettings/ObroSettings.java
package com.obrosettings;

import com.obrosettings.command.NightVisionCommand;
import com.obrosettings.command.SettingsCommand;
import com.obrosettings.listener.SettingsListener;
import com.obrosettings.manager.SettingsManager;
import com.obrosettings.integration.TabBridge;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class ObroSettings extends JavaPlugin {
    private SettingsManager settingsManager;
    private TabBridge tabBridge;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        settingsManager = new SettingsManager(this);
        tabBridge = new TabBridge(this);

        SettingsListener listener = new SettingsListener(this, settingsManager, tabBridge);
        Bukkit.getPluginManager().registerEvents(listener, this);

        SettingsCommand settingsCommand = new SettingsCommand(this, settingsManager, tabBridge);
        getCommand("obrosettings").setExecutor(settingsCommand);
        getCommand("nv").setExecutor(new NightVisionCommand(this, settingsManager));
    }

    @Override
    public void onDisable() {
        if (settingsManager != null) {
            settingsManager.saveAll();
        }
    }

    public SettingsManager getSettingsManager() {
        return settingsManager;
    }
}