rolobeast2-byte

Make me a minecraft plugin were it gives you 1 of these 5 powers when you join 1st power named riley the riley power gives you a mace and when you get a kill with the mace it gives you a 20 Redstone every redstone in your inventory gives you more strength 2nd power harrison the harrison power give you a tnt that you can throw and it ignites when it lands 3rd power max the max power makes it so you get weakness 2 with this power and slowness 2 4th power Matthew you get a elytra with infinite fire work rockets 5th power Jake the Jake power turn your avatar French and makes you throw baguettes at people doing 1 heart per hit with a 4 second cooldown but it hits threw armor

Kodari AI
KodariApr 16 at 9:11 pm 14,372 (v2)

I’ll create a unique powers plugin where players receive one of five special abilities on their first join.

PowerPlugin
A special powers plugin that grants players one of five unique abilities when they first join the server. Powers include: Riley (mace with redstone strength scaling), Harrison (throwable TNT), Max (debuff challenge mode), Matthew (infinite elytra rockets), and Jake (baguette projectile weapon). Each power provides distinct gameplay mechanics with persistent data storage and cross-version support.

All files created! The PowerPlugin features:

Riley Power: Mace that drops 20 redstone per kill, each redstone in inventory grants progressive strength levels Harrison Power: Throwable TNT grenades that ignite on landing Max Power: Permanent Weakness II and Slowness II debuffs for challenge gameplay Matthew Power: Elytra with infinite firework boost (no consumption) Jake Power: French-themed baguette projectiles dealing 1 heart through armor with 4-second cooldown

Powers are randomly assigned on first join, persist through restarts, and include admin commands for management.

rolobeast2-byte

what minecraft version is this and were do i put the plugin

Kodari AI
KodariApr 16 at 9:14 pm 1,899 (v2)

Minecraft Version

This plugin works on Minecraft 1.8 through 1.21+ thanks to XSeries cross-version compatibility. It’s built against the 1.20.4 API but the api-version: 1.16 setting ensures broad compatibility.

Installation Instructions

1. Build the Plugin

First, you need to compile the plugin:

Windows:

Shell
gradlew.bat build

Mac/Linux:

Shell
./gradlew build

2. Locate the JAR File

After building, find the plugin JAR at:

Plain Text
build/libs/PowerPlugin-1.0.jar

3. Install on Server

Copy the JAR file to your server’s plugins/ folder:

Plain Text
YourMinecraftServer/
├── plugins/          ← Put the .jar here
│   └── PowerPlugin-1.0.jar
├── server.jar
├── world/
└── ...

4. Start/Restart Server

  • Start your server (or restart if already running)

  • The plugin will create plugins/UniquePowersPlugin/config.yml


Commands:

  • /power - Check your current power

  • /power reload - Reload config (requires OP)

  • /power reset <player> - Reset a player’s power (requires OP)

Note: Players get their power assigned randomly on first join and it persists through restarts!

rolobeast2-byte

what minecraft version is this and what launcher'

Kodari AI
KodariApr 16 at 9:15 pm 2,433 (v2)

Minecraft Version

Supports Minecraft 1.8 through 1.21+

The plugin is built against 1.20.4 API but uses api-version: 1.16 and XSeries for cross-version compatibility, so it works on almost any modern Minecraft version.

Server Software (Launcher)

You need a Bukkit/Spigot-based server. Compatible with:

✅ Spigot - https://getbukkit.org/download/spigot
✅ Paper - https://papermc.io/downloads (recommended, better performance)
✅ Purpur - https://purpurmc.org/downloads
✅ CraftBukkit

❌ NOT compatible with:

  • Vanilla Minecraft Server

  • Forge servers

  • Fabric servers

  • Realms

Installation Steps:

  1. Download a server software (Paper recommended):

  2. Build the plugin:

    Shell
    gradlew.bat build    (Windows)
    ./gradlew build      (Mac/Linux)
    
  3. Copy the JAR:

    • From: build/libs/PowerPlugin-1.0.jar

    • To: YourServer/plugins/ folder

  4. Start your server:

    Shell
    java -Xmx2G -Xms2G -jar paper-1.20.4.jar nogui
    

That’s it! Players will get powers when they join.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
15 450
src/main/java/com/example/powerplugin/PowerPlugin.java
package com.example.powerplugin;

import com.example.powerplugin.command.PowerCommand;
import com.example.powerplugin.handler.*;
import com.example.powerplugin.listener.PlayerJoinListener;
import com.example.powerplugin.manager.ConfigManager;
import com.example.powerplugin.manager.PowerManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class PowerPlugin extends JavaPlugin {
    
    private ConfigManager configManager;
    private PowerManager powerManager;
    
    private RileyPowerHandler rileyPowerHandler;
    private HarrisonPowerHandler harrisonPowerHandler;
    private MaxPowerHandler maxPowerHandler;
    private MatthewPowerHandler matthewPowerHandler;
    private JakePowerHandler jakePowerHandler;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.powerManager = new PowerManager(this);
        
        this.rileyPowerHandler = new RileyPowerHandler(this);
        this.harrisonPowerHandler = new HarrisonPowerHandler(this);
        this.maxPowerHandler = new MaxPowerHandler(this);
        this.matthewPowerHandler = new MatthewPowerHandler(this);
        this.jakePowerHandler = new JakePowerHandler(this);
        
        registerListeners();
        registerCommands();
        
        powerManager.loadData();
        
        getLogger().info("PowerPlugin has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (powerManager != null) {
            powerManager.saveData();
        }
        getLogger().info("PowerPlugin has been disabled!");
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        getServer().getPluginManager().registerEvents(rileyPowerHandler, this);
        getServer().getPluginManager().registerEvents(harrisonPowerHandler, this);
        getServer().getPluginManager().registerEvents(maxPowerHandler, this);
        getServer().getPluginManager().registerEvents(matthewPowerHandler, this);
        getServer().getPluginManager().registerEvents(jakePowerHandler, this);
    }
    
    private void registerCommands() {
        getCommand("power").setExecutor(new PowerCommand(this));
    }
}