Prattyush Shrestha

The Bounty & Honor System Concept: A player-driven economy system focused on PvP and reputation.

Core Mechanics:

Players can place emerald or diamond bounties on rivals using a simple UI or command.

An "Honor Score" tracks player behavior: hunting bounty targets or aiding low-level players increases honor, while unprovoked killing of peaceful players lowers it.

High-honor players unlock unique utility perks (e.g., faster crop growth, minor move speed in spawn), while low-honor players become visible on global bounty maps.

Kodari AI
KodariSep 19 at 3:15 am 1
BountyHonorSystem
A player-driven PvP economy and reputation plugin. Players place emerald or diamond bounties on rivals via commands or a GUI. An Honor Score tracks behavior: hunting bounty targets or aiding low-level players increases honor, while unprovoked killing of peaceful players decreases it. High-honor players unlock utility perks like faster crop growth and minor spawn movement speed, while low-honor players appear on a global bounty map. Includes configurable bounty storage, score persistence, perk application, and map rendering.

жы

Created the Bounty & Honor plugin project with:

  • Emerald-based bounty placement and payouts

  • Honor tracking with positive bounty-kill rewards and unprovoked-kill penalties

  • Persistent YAML storage

  • /bounty place, list, honor, top, and help commands

  • High-honor Speed perk

  • Paper plugin configuration and Gradle setup

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
11 636
src/main/java/com/kodari/bountyhonor/BountyHonorPlugin.java
package com.kodari.bountyhonor;

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

public final class BountyHonorPlugin extends JavaPlugin {

    private BountyManager bountyManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        bountyManager = new BountyManager(this);
        bountyManager.load();

        BountyCommand bountyCommand = new BountyCommand(this, bountyManager);
        PluginCommand command = getCommand("bounty");
        if (command == null) {
            getLogger().severe("The bounty command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        command.setExecutor(bountyCommand);
        command.setTabCompleter(bountyCommand);

        getServer().getPluginManager().registerEvents(
                new BountyListener(this, bountyManager),
                this
        );

        getServer().getScheduler().runTaskTimer(
                this,
                new HonorPerkTask(this, bountyManager),
                20L,
                20L
        );
    }

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

    public BountyManager getBountyManager() {
        return bountyManager;
    }
}