sinnalwayssimle

hi i want to create settings plugin like donut but here my feature u can see thanks

📎 1 file 1,207 chars
📄
pasted-code-1774349456120.txt
txt 2 lines
▶
Feature
/settings ( have INVENTORY GUI 4 rows 36 slots each slot have like sign 1 name public chat current on or off command /togglechat and have lore and sign 2 slot 2 private chat current on or off command /msgtoggle current on ot off and mineral skull for bounty alert command /bounty toggle and currently ON OR OFF just click on all that settings and more tpa toggle mineral is pearl and for command is /tpatoggle and tpahere mineral is ender eye and command /tpaheretoggle and next order toggle is bell and command is /order toggle and next scoreboard toggle mineral is bookshelf and command /tab scoreboard toggle and night vision mineral is golden carrot command is /nv  and paytoggle for mineral is emerald command is /paytoggle for that can edit slot and command name and lore on and lore off and initial run as player can edit material and hav click sound and can edit INVENTORY GUI title and can edit INVENTORY GUI slot make config premium ++ and author SinnzDev and add command /nssettings  reload too pls have Tabcomplater and permissions for main clas add dev.sinnz and make it premium and have cross server support and folia support too and all optimize no license for this plugin thank you.
Kodari AI
KodariMar 24 at 10:54 am 27,911 (v2)

I’ll create a comprehensive settings plugin with GUI, configurable toggles, and full Folia/cross-server support.

NSSettings
Advanced player settings management plugin featuring a customizable GUI-based toggle system. Players can configure chat visibility, bounty alerts, teleport requests, order notifications, scoreboard display, night vision, and payment acceptance. Fully configurable materials, commands, messages, and sounds. Includes cross-server support and Folia compatibility for modern server environments.

All files created successfully! NSSettings is now a complete premium settings management system with:

✨ Key Features:

  • GUI-based settings with 4 configurable rows and customizable slots

  • 9 fully configurable toggles (chat, messages, bounty, TPA, orders, scoreboard, night vision, payments)

  • Each setting has customizable materials, names, lore (on/off states), commands, and click sounds

  • Persistent player data storage with async loading/saving

  • Cross-server synchronization support via plugin messaging

  • Full Folia compatibility using FoliaLib for thread-safe operations

  • Tab completion for admin commands

  • Full permission system

  • Reload command without restart

  • XSeries integration for cross-version compatibility

  • Premium++ optimized code with Lombok annotations

🔧 Configuration: Everything is customizable in config.yml including GUI title, rows, slots, materials, lore, commands, sounds, and default states. The plugin automatically saves player preferences and syncs across servers if enabled.

sinnalwayssimle

now can u create me anticheat plugin pls my anticheat also support bedrock like geryser and floodgate also java here feature FEATURE Bedrock support Webhook Folia support

ZyntrixAC | Next generation anti cheat!

Combat:

Aim Reach Hitbox Killaura TriggerBots WallHit ShieldBracker MaceDMG Crit AutoClicker

Players:

AutoTotem ChestSteal Speed Fly FastPlace FastUse AirPlace Scaffold Jesus Spider Step Baritones AntiCactus Velocity Elytra Prediction

World:

FreeCam XRay ESP and cross server support too thanks. pls make sure optimized

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
30 1,565
src/main/java/dev/sinnz/nssettings/NSSettings.java
package dev.sinnz.nssettings;

import com.tcoded.folialib.FoliaLib;
import dev.sinnz.nssettings.command.NSSettingsTabCompleter;
import dev.sinnz.nssettings.command.ReloadCommand;
import dev.sinnz.nssettings.command.SettingsCommand;
import dev.sinnz.nssettings.command.toggles.*;
import dev.sinnz.nssettings.config.ConfigManager;
import dev.sinnz.nssettings.inventory.gui.GUIListener;
import dev.sinnz.nssettings.inventory.gui.GUIManager;
import dev.sinnz.nssettings.listener.PlayerJoinListener;
import dev.sinnz.nssettings.manager.CrossServerManager;
import dev.sinnz.nssettings.manager.ToggleManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class NSSettings extends JavaPlugin {
    private FoliaLib foliaLib;
    private ConfigManager configManager;
    private ToggleManager toggleManager;
    private GUIManager guiManager;
    private CrossServerManager crossServerManager;
    
    @Override
    public void onEnable() {
        foliaLib = new FoliaLib(this);
        
        configManager = new ConfigManager(this);
        toggleManager = new ToggleManager(this, foliaLib);
        guiManager = new GUIManager();
        
        if (configManager.isCrossServerEnabled()) {
            crossServerManager = new CrossServerManager(this);
        }
        
        registerCommands();
        registerListeners();
        
        getLogger().info("NSSettings v" + getDescription().getVersion() + " by SinnzDev");
        getLogger().info("Premium++ Player Settings System - Loaded successfully!");
        
        if (foliaLib.isFolia()) {
            getLogger().info("Folia detected - Using FoliaLib scheduler");
        }
        
        if (configManager.isCrossServerEnabled()) {
            getLogger().info("Cross-server support enabled on channel: " + configManager.getCrossServerChannel());
        }
    }
    
    @Override
    public void onDisable() {
        if (foliaLib != null) {
            foliaLib.getScheduler().cancelAllTasks();
        }
        
        if (crossServerManager != null) {
            crossServerManager.unregister();
        }
        
        if (toggleManager != null) {
            getServer().getOnlinePlayers().forEach(player -> {
                toggleManager.savePlayerData(player.getUniqueId());
            });
        }
        
        getLogger().info("NSSettings disabled - All data saved");
    }
    
    private void registerCommands() {
        getCommand("settings").setExecutor(new SettingsCommand(this, foliaLib));
        getCommand("nssettings").setExecutor(new ReloadCommand(this, foliaLib));
        getCommand("nssettings").setTabCompleter(new NSSettingsTabCompleter());
        
        getCommand("togglechat").setExecutor(new ToggleChatCommand(this, foliaLib));
        getCommand("msgtoggle").setExecutor(new MsgToggleCommand(this, foliaLib));
        getCommand("bountytoggle").setExecutor(new BountyToggleCommand(this, foliaLib));
        getCommand("tpatoggle").setExecutor(new TPAToggleCommand(this, foliaLib));
        getCommand("tpaheretoggle").setExecutor(new TPAHereToggleCommand(this, foliaLib));
        getCommand("ordertoggle").setExecutor(new OrderToggleCommand(this, foliaLib));
        getCommand("scoreboardtoggle").setExecutor(new ScoreboardToggleCommand(this, foliaLib));
        getCommand("nv").setExecutor(new NightVisionCommand(this, foliaLib));
        getCommand("paytoggle").setExecutor(new PayToggleCommand(this, foliaLib));
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this, foliaLib), this);
    }
}