Đăng Lê

River or seaside theme, potentially set in a riverside village.

  • A marketplace is needed to sell fishing rods, bait, and other items.

+ 1 main island, plus smaller islands and decorative boats in the surrounding area. + Anglers (players) will spawn at the village harbor. + Spawn locations include the marketplace (for bait, accessories, and rods), crates, the guild area (quests, secret rods), AFK zone, leaderboards, and the black market (/ah).

Boats in the harbor, trees, houses, etc., should resemble the reference image or follow a similar style.

Kodari AI
KodariSep 19 at 1:50 am 2
RiversideAnglerHaven
A riverside village-themed Minecraft plugin creating a fishing hub with a main island, smaller islands, and decorative boats. Players spawn at the harbor and access a marketplace for rods and bait, crates, a guild area with quests and secret rods, an AFK zone, leaderboards, and a black market via /ah. The build mimics a scenic riverside village with houses, trees, and boats.
  1. Create a Paper plugin foundation with Gradle metadata and configuration.

  2. Generate a riverside harbor world with the island, docks, houses, boats, trees, and themed zones.

  3. Add harbor teleport commands, marketplace, black market, guild/crates/AFK destinations, and fishing leaderboards.

  4. Add persistent fishing stats and first-join harbor spawning.

Created the Anglers Harbor plugin foundation with:

  • Paper 1.21.4 Gradle project setup

  • Procedurally generated riverside harbor world

  • Central island, docks, boats, houses, trees, paths, and themed signs

  • Marketplace for rods, bait, fish, accessories, and supplies

  • Black market with rare fishing gear

  • Guild, crates, AFK, spawn, and leaderboard destinations

  • /anglers, /market, /ah, /guild, /crates, and /afk commands

  • Persistent fishing statistics and leaderboard tracking

  • First-join teleportation to the harbor

  • Fishing catch milestone messages

  • Inventory-based shop menus with emerald purchases

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
16 962
src/main/java/com/kodari/anglers/AnglersPlugin.java
package com.kodari.anglers;

import com.kodari.anglers.command.AnglersCommand;
import com.kodari.anglers.listener.JoinAndFishingListener;
import com.kodari.anglers.listener.ShopListener;
import com.kodari.anglers.menu.BlackMarketMenu;
import com.kodari.anglers.menu.MarketMenu;
import com.kodari.anglers.stats.StatsManager;
import com.kodari.anglers.world.WorldManager;
import org.bukkit.Bukkit;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class AnglersPlugin extends JavaPlugin {
    private WorldManager worldManager;
    private StatsManager statsManager;

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

        this.statsManager = new StatsManager(this);
        this.worldManager = new WorldManager(this);
        this.worldManager.setup();

        AnglersCommand command = new AnglersCommand(this, worldManager, statsManager);
        registerCommand("anglers", command);
        registerCommand("market", command);
        registerCommand("ah", command);
        registerCommand("guild", command);
        registerCommand("crates", command);
        registerCommand("afk", command);

        getServer().getPluginManager().registerEvents(
                new JoinAndFishingListener(this, worldManager, statsManager), this);
        getServer().getPluginManager().registerEvents(
                new ShopListener(), this);
    }

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

    private void registerCommand(String name, AnglersCommand executor) {
        PluginCommand command = getCommand(name);
        if (command != null) {
            command.setExecutor(executor);
            command.setTabCompleter(executor);
        }
    }
}