S

I want you to create a simple quest plugin with a name CloudQuest and the author will be Kryzi_/Velrion (one person). Woodcutterz Farmer, Hunter, Fisherman and Miner with level 1 up to level 100 quest. It shows on the action bar the progress of your quest and make sure all of this will be configurable and make sure that it has different .yml and maks sure the message.yml will be modernize for a modern survival server

3 images attached
Kodari AI
KodariOct 8 at 8:52 am 4
CloudQuest
A modern Minecraft quest plugin featuring five professions: Woodcutter, Farmer, Hunter, Fisherman, and Miner. Each profession offers 100 configurable levels with progressive quest requirements. Players see real-time quest progress displayed on their action bar. All quest data, level thresholds, rewards, and messages are fully configurable through separate YAML files, including a modernized message.yml optimized for contemporary survival servers. Supports MySQL and SQLite storage for persistent player progression.

I’ll build CloudQuest with five jobs, levels 1 to 100, action bar progress, a /jobs menu styled after your screenshots, and three configurable YAML files.

  1. plugin.yml

  2. config.yml

  3. jobs.yml

  4. messages.yml

  5. Java classes

your jar:

Everything is get in place. To click Compile in the top bar (on phone: ⋮ → Compile Project), click Compile in the window, then Download when it finishes.

What’s included:

  • Jobs: Woodcutter (logs), Farmer (fully grown crops, including right-click harvesting of wheat, carrots, potatoes, beetroot and nether wart), Hunter (mob kills), Fisherman (catches), Miner (ores, including deepslate variants).

  • Levels: 1 to 100 per job. XP needed per level is base-xp × level^exponent, so you can tune the curve in config.yml.

  • Action bar: shows job, level, a progress bar, percent and XP after every gain. It runs on each XP gain, so it disappears after a few seconds like any action bar.

  • /jobs: opens a menu like your screenshots, with each job’s level and progress. /jobs reload reloads the config (needs cloudquest.admin).

  • Config: config.yml for leveling, action bar, sounds, autosave and menu slots. jobs.yml for every block, mob and fish reward, icons, slots and descriptions. messages.yml for all text, using & codes and &#RRGGBB hex colours.

  • Saving: progress is saved to data.yml on quit, on shutdown and on the autosave interval.

Known limitation: blocks placed by a player still count when broken, so logs or ores placed by hand can be farmed for XP. Tell me if you want placed blocks tracked and excluded.

S

I want you to also tracked those bloxks that a player place so that they will be exclude and to avoid abusing it

Kodari AI
KodariOct 8 at 8:55 am 2

I’ll start with the listener that handles block breaks, plus the main class and job manager, so the placed-block tracking hooks into the existing code.

The break handler already has the hook I need. Before I add an anti-abuse toggle, I need to see the current config.yml so my edit matches it.

Plan for this change:

  1. Record player-placed blocks that belong to a job’s block list, and skip job XP when a recorded block is broken.

  2. Keep records accurate when pistons move blocks and when explosions or fire destroy them.

  3. Persist the records to placed-blocks.yml so a restart does not reset them.

  4. Add an anti-abuse.enabled toggle to config.yml.

Crops are not recorded. Their growth already gates XP through require-fully-grown, and planting is normal farming work.

Placed blocks are now tracked, so breaking one gives no job XP.

  • Tracking: PlacedBlockListener records a block when a player places it, but only if its material is in a job’s block list. Crops are skipped because growth already gates their XP (require-fully-grown), and planting is normal farming.

  • Breaking: JobListener.onBlockBreak checks the record first. A placed block gives no XP and its record is removed.

  • Pistons: blocks moved by pistons, including sticky pulls, keep their placed status at the new position, so pushing a placed log and breaking it doesn’t bypass the check.

  • Explosions and fire: destroyed blocks are removed from the records.

  • Persistence: records are saved to placed-blocks.yml on autosave and on shutdown, so a restart doesn’t reset them.

  • Toggle: anti-abuse.enabled in config.yml (default true).

Limitation: blocks placed before this update aren’t in the records, so they still give XP when broken. Those blocks would need to be removed from the world or tracked from now on.

S

make every mining, hunting, fishing, wood cutting, farming can earn money, make sure that this has anti abuse ans make the prices will be get buffed. I also want that every level up will also increase the earnings. Change also the name of this plugin into CloudJobs with a author Velrion/Kryzi (one person)

Kodari AI
KodariOct 9 at 4:25 am 2
  1. Rename the plugin metadata to CloudJobs and set the author to Velrion/Kryzi.

  2. Add configurable money rewards for all five jobs, with anti-abuse safeguards and earnings that increase with each level.

  1. Plugin metadata renamed to CloudJobs with author Velrion/Kryzi.

  2. I’m tracing the job XP and anti-abuse flow to award configurable economy payouts safely at each job action and level.

CloudJobs is now configured with author Velrion/Kryzi.

  • All five jobs pay money for valid actions. Earnings use configurable base, per-xp, and per-level values in jobs.yml; payouts increase with job level, and the action bar shows the reward.

  • Anti-abuse includes the existing placed-block XP exclusion, a configurable cooldown for repeatedly harvesting the same crop, and a default cap of $3,000 per player per minute. Settings are in config.yml.

  • Money payouts use Vault and require a Vault-compatible economy provider. If none is available, the plugin logs a warning and disables money rewards.

S

Make that before they can have progress, they must take a job and make also that they can only have 1 job per player. They must leave there job first before they can switch on other jobs.

Kodari AI
KodariOct 9 at 4:31 am 1
  1. Persist one active job per player, separate from each job’s saved level/XP.

  2. Gate every XP and money reward behind that active job.

  3. Add join/leave actions to /jobs and the menu, with messages requiring players to leave before switching.

Players must now join a job before earning XP or money. /jobs lets them click a job to join or use /jobs join <job>; only one job can be active at a time. They must use /jobs leave or the menu’s Leave Job button before switching. Active-job status is saved in data.yml, and existing progress for each job is retained when leaving.

S

remove the back button at the jobs menu, also make only "Leave Job" show if a player has a job

Kodari AI
KodariOct 9 at 4:37 am 1
  1. Remove the back button from the jobs menu.

  2. Show “Leave Job” only when the player currently has an active job.

“Leave Job” now appears only when the player has an active job. There was no Back button in the menu code; the existing Close button remains.

S

make the farming only detect when breaking fully grown crops to level up and earn money

Kodari AI
KodariOct 9 at 4:55 am 1

I’ll make farming XP and payouts come only from breaking mature, ageable crops, and remove the right-click harvest reward path.

Farming now awards XP and money only when a player breaks a fully grown ageable crop. Right-click harvesting no longer gives rewards, and the Farmer menu description and crop list reflect the change.

S

remove Close button on the gui

Kodari AI
KodariOct 9 at 5:10 am 1

I’ll remove the Close button and its click handling; the menu will still close when a player joins or leaves a job.

Removed the Close button and its click handling. The jobs menu still closes after a player joins or leaves a job.

S

change the name of this plugin into NyraJobs

Kodari AI
KodariThu at 2:53 am 1

I’ll rename the plugin and its player-facing messages to NyraJobs, while keeping the existing permission and data compatibility.

Renamed the plugin to NyraJobs. The cloudquest.admin permission remains unchanged.

For an existing server, rename the plugins/CloudJobs folder to plugins/NyraJobs before starting the updated plugin to retain its data and settings. Existing messages.yml text may also need updating.

Kodari can make mistakes. Review important code before using.
Files
src
Code
20 1,426
src/main/java/com/velrion/cloudquest/CloudQuest.java
package com.velrion.cloudquest;

import com.velrion.cloudquest.command.JobsCommand;
import com.velrion.cloudquest.config.ConfigManager;
import com.velrion.cloudquest.data.EconomyRewardManager;
import com.velrion.cloudquest.data.PlacedBlockManager;
import com.velrion.cloudquest.data.PlayerDataManager;
import com.velrion.cloudquest.gui.JobsMenuListener;
import com.velrion.cloudquest.job.JobManager;
import com.velrion.cloudquest.listener.JobListener;
import com.velrion.cloudquest.listener.PlacedBlockListener;
import com.velrion.cloudquest.message.MessageManager;
import lombok.Getter;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public class CloudQuest extends JavaPlugin {

    @Getter private ConfigManager configManager;
    @Getter private EconomyRewardManager economyRewardManager;
    @Getter private MessageManager messageManager;
    @Getter private PlayerDataManager playerDataManager;
    @Getter private JobManager jobManager;
    @Getter private PlacedBlockManager placedBlockManager;

    @Override
    public void onEnable() {
        configManager = new ConfigManager(this);
        configManager.load();
        messageManager = new MessageManager(configManager.getMessages());

        economyRewardManager = new EconomyRewardManager(this);
        economyRewardManager.hook();
        playerDataManager = new PlayerDataManager(this);
        jobManager = new JobManager(this);
        jobManager.reload();

        placedBlockManager = new PlacedBlockManager(this);
        placedBlockManager.load();

        getServer().getPluginManager().registerEvents(new JobListener(this), this);
        getServer().getPluginManager().registerEvents(new PlacedBlockListener(this), this);
        getServer().getPluginManager().registerEvents(new JobsMenuListener(this), this);

        JobsCommand jobsCommand = new JobsCommand(this);
        PluginCommand command = getCommand("jobs");
        if (command != null) {
            command.setExecutor(jobsCommand);
            command.setTabCompleter(jobsCommand);
        }

        long minutes = configManager.getConfig().getLong("data.autosave-minutes", 5L);
        if (minutes > 0) {
            long ticks = minutes * 60L * 20L;
            getServer().getScheduler().runTaskTimer(this, () -> {
                playerDataManager.saveAll();
                placedBlockManager.save();
            }, ticks, ticks);
        }
    }

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

    public void reloadPlugin() {
        configManager.load();
        messageManager = new MessageManager(configManager.getMessages());
        jobManager.reload();
    }
}