CaylebV Menge
๐Ÿ“Ž 1 file 370 chars
๐Ÿ“„
message (2).txt
txt 18 lines
โ–ถ
/void info
/void stats
/void abilities
/void ability 
/void trust 
/void untrust 
/void trusted
/void autosmelt
/void toggle_click
/void pockets
/void souls
/void withdraw 
/void reroll
/void viewer
/void give   [tier]
/void giveitem   [tier]
/void energy  <0-10>
/void reload
Kodari AI
KodariOct 2 at 2:59 pm 1
VoidGems
A Minecraft Paper plugin introducing a Void-themed gem system with player progression. Players can view their stats, abilities, and soul collection through commands. The plugin features trust management for shared access, autosmelt functionality, click-toggling, pocket storage, soul tracking, and gem withdrawal. Admins can distribute gems and items, manage player energy levels, and reload configurations. A viewer mode allows spectating other players' profiles. The system includes a reroll mechanic for ability customization and supports multiple gem tiers with distinct ability slots (main, secondary, tertiary, quaternary).
  1. Add the Paper plugin skeleton and default ability settings.

  2. Add persistent player profiles for abilities, trust, toggles, energy, and souls.

  3. Implement the listed /void commands, with admin checks for staff actions.

Created the Void plugin skeleton with the /void command set, persistent player profiles, configurable ability options, and admin commands for gems and energy. Autosmelt and click are stored as profile preferences; abilities can be cycled or rerolled from the configured list. /void pockets currently reports that pockets are empty, since no pocket-storage behavior was specified.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 574
src/main/java/com/kodari/voidplugin/VoidPlugin.java
package com.kodari.voidplugin;

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

public class VoidPlugin extends JavaPlugin {
    private VoidProfileStore profileStore;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        profileStore = new VoidProfileStore(this);
        profileStore.load();

        VoidCommand voidCommand = new VoidCommand(this, profileStore);
        PluginCommand command = getCommand("void");
        if (command == null) {
            getLogger().severe("The /void command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        command.setExecutor(voidCommand);
        command.setTabCompleter(voidCommand);
    }

    @Override
    public void onDisable() {
        if (profileStore != null) {
            profileStore.save();
        }
    }
}