DoNeft

Make a plugin that randomize the loot tables of everything: blocks, mob drops, chests.

You should shuffle everything and then multiply it by 50.

Kodari AI
KodariApr 15 at 9:21 pm 8,024 (v2)

I’ll create a chaotic loot randomization plugin that completely shuffles all drops and multiplies them by 50.

ChaoticLoot
A chaos-inducing plugin that completely randomizes all loot tables in the game. Blocks drop random items instead of their normal drops, mobs drop unpredictable loot, and chests contain completely shuffled contents. Every drop is multiplied by 50, creating an overwhelming flood of random items. Features configurable multipliers, per-category toggles, world blacklisting, and instant loot table shuffling for maximum chaos.

All files created! ChaoticLoot is ready to unleash total chaos across your Minecraft server with completely randomized loot tables multiplied by 50.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 510
src/main/java/com/chaoticloot/ChaoticLoot.java
package com.chaoticloot;

import com.chaoticloot.command.ChaoticLootCommand;
import com.chaoticloot.config.ConfigManager;
import com.chaoticloot.listener.BlockDropListener;
import com.chaoticloot.listener.ChestLootListener;
import com.chaoticloot.listener.MobDropListener;
import com.chaoticloot.manager.LootManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ChaoticLoot extends JavaPlugin {

    private ConfigManager configManager;
    private LootManager lootManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.lootManager = new LootManager(this);

        registerListeners();
        registerCommands();

        getLogger().info("ChaoticLoot has been enabled! Chaos incoming...");
    }

    @Override
    public void onDisable() {
        getLogger().info("ChaoticLoot has been disabled. Order restored.");
    }

    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new BlockDropListener(this), this);
        getServer().getPluginManager().registerEvents(new MobDropListener(this), this);
        getServer().getPluginManager().registerEvents(new ChestLootListener(this), this);
    }

    private void registerCommands() {
        getCommand("chaoticloot").setExecutor(new ChaoticLootCommand(this));
    }

    public void reload() {
        reloadConfig();
        configManager = new ConfigManager(this);
        lootManager.reloadValidMaterials();
    }
}