1_d.f

Apex Points System Plugin

Overview

Create a premium Minecraft Paper 1.21 plugin called ApexPoints.

The plugin should contain:

  • Point System
  • Statistics System
  • Point Shop INVENTORY GUI
  • Custom Legendary Items
  • Animated Delivery System
  • Playtime Tracking
  • Cooldowns
  • Configurable Messages
  • PlaceholderAPI Support
  • MySQL & SQLite Support

---

Point System

Players gain points by killing other players.

Default rewards:

  • Kill Player: +10 Points
  • Death: -0 Points

Commands:

  • /points
  • /statsp
  • /pshopgui
  • /help

Permissions:

  • apex.admin
  • apex.shop
  • apex.stats

---

Player Statistics

Command:

/statsp

Opens a profile INVENTORY GUI showing:

  • Player Name
  • Total Points
  • Total Kills
  • Total Deaths
  • KDR
  • Total Playtime
  • Current Streak
  • Highest Streak
  • Items Purchased
  • Rank

Beautiful modern INVENTORY GUI design.

---

Point Shop INVENTORY GUI

Command:

/pshopgui

Opens a large INVENTORY GUI with premium items.

All items have expensive prices.

Example:

Darkness Sword = 3000 Points Evo Mace = 4000 Points Apex Boots = 2500 Points

---

Item Delivery System

When a player purchases an item:

DO NOT instantly give the item.

Instead:

  1. Spawn floating item at purchase location.
  2. Item slowly rotates.
  3. Particle circle surrounds item.
  4. BossBar appears.

BossBar shows:

Item Name Remaining Time

Example:

Darkness Sword 00:29

After timer ends:

  • Floating item disappears.
  • Shulker Box appears.
  • Purchased item is placed inside.

ANY PLAYER CAN TAKE THE ITEM.

This creates risk and competition.

Configurable delivery time:

Default: 30 seconds

---

Legendary Items

Darkness Sword

Material:

Netherite Sword

Enchantments:

Sharpness VII Unbreaking V Mending

Ability:

Hold Right Click.

Cooldown: 120 seconds

Effect:

  • Warden Sonic Boom
  • Darkness effect for enemies
  • Black particles
  • Deep sound effects

Range: 20 blocks

Damage: 12 hearts

---

Evo Mace

Material:

Mace

Enchantments:

Density VI Wind Burst I Mending Unbreaking V

Ability 1:

Hold Right Click

Dash forward.

Cooldown: 20 seconds

Ability 2:

Shift + Hold Right Click

Launch player high into sky.

Effects:

  • No Fall Damage
  • Wind particles
  • Shockwave landing

Cooldown: 45 seconds

---

Apex Boots

Material:

Netherite Boots

Enchantments:

Protection V Feather Falling X Unbreaking V

Passive Abilities:

  • Walk on Water
  • Walk on Lava
  • Walk over Void
  • Speed I

Void Mechanic:

Creates temporary invisible platform under player.

---

Additional Shop Items

Phantom Cloak

Price: 3500 Points

Abilities:

  • Invisibility for 10 seconds
  • Cooldown 90 seconds

---

Titan Chestplate

Price: 5000 Points

Abilities:

  • Resistance I
  • Extra Hearts
  • Knockback Resistance

---

Thunder Axe

Price: 4500 Points

Ability:

Right Click

Summon lightning strikes.

Cooldown: 60 seconds

---

Frost Bow

Price: 3800 Points

Ability:

Arrows freeze enemies.

Cooldown:

Passive

---

Inferno Trident

Price: 5500 Points

Ability:

Creates fire explosion on hit.

Cooldown: 15 seconds

---

Shop Categories

Weapons Armor Tools Artifacts Special Items

---

PlaceholderAPI

Available placeholders:

%apexpoints_points% %apexpoints_kills% %apexpoints_deaths% %apexpoints_playtime% %apexpoints_rank% %apexpoints_streak%

---

Admin Commands

/apex givepoints <player> <amount>

/apex removepoints <player> <amount>

/apex setpoints <player> <amount>

/apex reload

/apex giveitem <player> <item>

---

Config Options

  • Point rewards
  • Delivery time
  • Cooldowns
  • Messages
  • Sounds
  • Particles
  • Shop prices

Everything must be configurable through config.yml.

---

Performance Requirements

  • Fully asynchronous database operations.
  • Optimized for 200+ players.
  • No memory leaks.
  • No TPS drops.
  • Paper 1.21 support.
  • Java 21 support.

---

Bonus Features

  • Weekly leaderboard.
  • Monthly leaderboard.
  • Top killers hologram.
  • Purchase history.
  • Rare purchase broadcast.

Example:

[SHOP] Player Black has purchased Darkness Sword for 3000 Points!

  • Advanced INVENTORY GUI animations.
  • Modern sounds.
  • Premium MMORPG feeling.
1_d.f

Again

Kodari AI
KodariJun 7 at 6:36 pm 3
BountyHunters
A PvP bounty system where players can place bounties on others using in-game currency. Features include placing, cancelling, and claiming bounties, a live leaderboard of top bounty targets, kill streak multipliers that increase a player's bounty automatically, configurable reward payouts via Vault, broadcast announcements on bounty claims, and full command-based management for admins. Integrates with PlaceholderAPI for external display support.

Here’s the full plugin built from scratch:

Class plan:

  • BountyHunters — main plugin, registers everything

  • BountyManager — core data: place/cancel/claim/get bounties

  • BountyData — data class for a single bounty

  • KillStreakManager — tracks streaks, auto-adds bounty on threshold

  • BountyListener — listens to player death, claims bounty

  • BountyCommand — /bounty command handler

  • BountyAdminCommand — /bountyadmin command handler

  • BountyPlaceholders — PlaceholderAPI expansion

  • MessageUtil — color formatting helper

  • config.yml, plugin.yml

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
src
Code
3 203
src/main/java/com/kodari/bountyhunters/BountyHunters.java
package com.kodari.bountyhunters;

import com.kodari.bountyhunters.commands.BountyAdminCommand;
import com.kodari.bountyhunters.commands.BountyCommand;
import com.kodari.bountyhunters.listeners.BountyListener;
import com.kodari.bountyhunters.managers.BountyManager;
import com.kodari.bountyhunters.managers.KillStreakManager;
import com.kodari.bountyhunters.placeholders.BountyPlaceholders;
import lombok.Getter;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

public class BountyHunters extends JavaPlugin {

    @Getter private static BountyHunters instance;
    @Getter private BountyManager bountyManager;
    @Getter private KillStreakManager killStreakManager;
    @Getter private Economy economy;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();

        if (!setupEconomy()) {
            getLogger().severe("Vault economy not found — disabling.");
            Bukkit.getPluginManager().disablePlugin(this);
            return;
        }

        bountyManager = new BountyManager(this);
        killStreakManager = new KillStreakManager(this);

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

        BountyCommand bountyCmd = new BountyCommand(this);
        getCommand("bounty").setExecutor(bountyCmd);
        getCommand("bounty").setTabCompleter(bountyCmd);

        BountyAdminCommand adminCmd = new BountyAdminCommand(this);
        getCommand("bountyadmin").setExecutor(adminCmd);
        getCommand("bountyadmin").setTabCompleter(adminCmd);

        if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
            new BountyPlaceholders(this).register();
            getLogger().info("PlaceholderAPI hooked successfully.");
        }

        getLogger().info("BountyHunters enabled.");
    }

    @Override
    public void onDisable() {
        if (bountyManager != null) bountyManager.saveBounties();
        getLogger().info("BountyHunters disabled.");
    }

    private boolean setupEconomy() {
        if (getServer().getPluginManager().getPlugin("Vault") == null) return false;
        RegisteredServiceProvider<Economy> rsp = getServer().getServicesManager().getRegistration(Economy.class);
        if (rsp == null) return false;
        economy = rsp.getProvider();
        return economy != null;
    }
}