D

Create a Minecraft Paper/Spigot plugin called "Bounty SMP".

PLUGIN FEATURES:

  1. BOUNTY SYSTEM

* Players can place bounty on another player using: /bounty place <player> <amount>

Example: /bounty place DivineSky 5000

Rules:

* The amount should be removed from the sender's balance. * Only TWO active bounties can exist on the server at the same time. * If 2 active bounties already exist, block new bounty creation.

Example message: "[BTF] Maximum active bounty contracts reached."

* Bounty should stack if multiple players place bounty on same target. * Store who placed the bounty secretly. * The target player should immediately receive a warning message when bounty is placed.

Example warning messages: "A bounty has been placed on your head. Find and eliminate the contractor before the BTF tracks you down." "You are now WANTED. Kill the contractor or the BTF will begin hunting you." "Danger: Someone has paid for your downfall."

* Broadcast globally: "[BTF] A bounty has been issued on <player> for $<amount>."

  1. MONEY SYSTEM

Add a built-in economy system.

Commands:

* /bal * /pay <player> <amount> * /money add <player> <amount> * /money remove <player> <amount> * /money set <player> <amount>

Requirements:

* Prevent negative balances. * Store data using YAML or SQLite. * Format money with commas.

  1. BOUNTY REWARD SYSTEM

* When someone kills a player with an active bounty:

* Killer receives total bounty reward. * Active bounty is removed. * One bounty slot becomes free again.

Broadcast message: "[BTF] <killer> has claimed the bounty on <target> for $<amount>."

  1. CONTRACTOR ELIMINATION SYSTEM

* If the bounty target successfully kills the player who originally placed the bounty:

* Remove the bounty instantly. * Broadcast to the entire server.

Example broadcasts: "[BTF] The contractor hunting <target> has been eliminated." "[BTF] <target> has killed the contractor and cleared their bounty." "[BTF] Contract terminated. <target> is no longer wanted."

  1. BTF SYSTEM

BTF = Bounty Task Force.

Features:

* Configurable prefixes/messages * Sounds/title effects * Optional actionbar warnings * Config.yml customization support

  1. REMOVE FEATURES

* Do NOT add /bounty top

  1. OPTIONAL FEATURES

* /bounty list * PlaceholderAPI support * Discord webhook logs * Scoreboard for active bounties * Custom sounds and particles

  1. TECHNICAL REQUIREMENTS

* Minecraft 1.21.11+ * Paper/Spigot compatible * Clean modular code * Maven or Gradle support * Permission system for admin commands * Optimized and bug-free

  1. TITLE & SCREEN MESSAGE SYSTEM

Add cinematic title messages and subtitle effects.

  1. WHEN A BOUNTY IS PLACED

* Only the targeted player should see:

TITLE: "⚠ WANTED ⚠"

SUBTITLE: "Find the contractor before BTF hunts you."

Alternative short messages:

* "Someone wants you dead." * "A contract has been issued." * "You are now marked."

  1. GLOBAL BOUNTY START MESSAGE

* When any new bounty starts, EVERY player online should see:

TITLE: "⚔ BOUNTY HUNT STARTED ⚔"

SUBTITLE: "<target> has been marked."

Alternative short versions:

* "A new contract is active." * "The hunt begins." * "BTF has opened a contract."

  1. WHEN TARGET KILLS CONTRACTOR

* Only the target player should see:

TITLE: "✔ CONTRACTOR ELIMINATED"

SUBTITLE: "Your bounty has been cleared."

Alternative short versions:

* "Contract terminated." * "You are no longer wanted."

  1. OTHER PLAYERS SCREEN

* All other online players should see:

TITLE: "☠ BOUNTY REMOVED ☠"

SUBTITLE: "<player>'s contract has ended."

Alternative short versions:

* "<player> escaped the hunt." * "BTF contract cancelled."

  1. REQUIREMENTS

* All title messages should be editable in config.yml * Add configurable:

* fade in * stay duration * fade out * sounds * colors * Support MiniMessage or color codes.

Kodari AI
KodariMay 24 at 11:35 am 15,859 (v2)

I’ll create a comprehensive bounty hunting plugin with built-in economy and cinematic title effects.

BountySMP
A comprehensive bounty hunting system with built-in economy. Players can place bounties on others, creating active hunts managed by the BTF (Bounty Task Force). Features contractor elimination mechanics, cinematic title effects, money commands, and configurable messages. Max 2 bounties active at once with stacking support, kill rewards, and instant bounty removal when targets eliminate their contractors.

Architecture Plan

  • Economy system with YAML storage, formatted balances

  • Bounty manager enforcing 2-bounty limit, stacking, contractor tracking

  • Death listener for bounty claims and contractor eliminations

  • Title system with configurable cinematic messages

  • Commands: /bounty, /bal, /pay, /money

  • MiniMessage support for modern formatting

Summary

Created BountySMP with full bounty hunting mechanics:

Core Features:

  • ✅ Max 2 active bounties enforcement

  • ✅ Bounty stacking per target

  • ✅ Secret contractor tracking

  • ✅ Contractor elimination system removes bounty

  • ✅ Cinematic title effects (5 variants)

  • ✅ Built-in economy with formatted balances

  • ✅ YAML data persistence

Commands:

  • /bounty place <player> <amount> - Place bounty

  • /bounty list - View active bounties

  • /bal [player] - Check balance

  • /pay <player> <amount> - Send money

  • /money add/remove/set <player> <amount> - Admin commands

Technical:

  • MiniMessage support with gradients/hex

  • XSound integration for cross-version compatibility

  • Configurable titles, sounds, messages

  • Clean modular architecture with managers

  • Permission system for all commands

All messages, titles, durations, and sounds are customizable in config.yml.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
16 1,123
src/main/java/com/bountysmp/BountySMP.java
package com.bountysmp;

import com.bountysmp.bounty.BountyListener;
import com.bountysmp.bounty.BountyManager;
import com.bountysmp.commands.BalanceCommand;
import com.bountysmp.commands.BountyCommand;
import com.bountysmp.commands.MoneyCommand;
import com.bountysmp.commands.PayCommand;
import com.bountysmp.economy.EconomyManager;
import com.bountysmp.storage.DataStorage;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class BountySMP extends JavaPlugin {
    private DataStorage dataStorage;
    private EconomyManager economyManager;
    private BountyManager bountyManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataStorage = new DataStorage(this);
        this.economyManager = new EconomyManager(this);
        this.bountyManager = new BountyManager(this);
        
        this.dataStorage.load();
        
        getCommand("bounty").setExecutor(new BountyCommand(this));
        getCommand("bal").setExecutor(new BalanceCommand(this));
        getCommand("pay").setExecutor(new PayCommand(this));
        getCommand("money").setExecutor(new MoneyCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new BountyListener(this), this);
        
        getLogger().info("BountySMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (this.dataStorage != null) {
            this.dataStorage.save();
        }
        getLogger().info("BountySMP has been disabled!");
    }
}