emerald8910_

Maybe make a course generator that generates hard courses using a list of jumps and u can disable or add jumps And u get some reward from beating hard course. Also make this INVENTORY GUI based and also make an admin command for creating jumps by creating the jump, doing /setjumpstart and /setjumpend

Kodari AI
KodariMar 18 at 6:39 pm 20,201 (v2)

I’ll create a dynamic parkour course generator with GUI-based management and admin jump creation commands.

ParkourGenerator
A dynamic parkour course generator that creates challenging courses from a configurable list of jumps. Admins can create custom jumps with start/end points, and the plugin automatically generates randomized courses. Players navigate through GUI menus to start courses and receive rewards for completion. Features include jump difficulty ratings, enable/disable toggles, course customization, and progress tracking.

Perfect! I’ve created a complete parkour course generator plugin with the following features:

Features:

  • Dynamic Course Generation: Creates randomized courses from a pool of custom jumps

  • Difficulty Levels: Easy, Medium, Hard, and Extreme courses

  • GUI-based Management: Complete inventory interface for players and admins

  • Jump Creation: Admin commands /setjumpstart and /setjumpend to create custom jumps

  • Progress Tracking: Automatically tracks player progress through courses

  • Configurable Rewards: Different rewards based on course difficulty

  • Jump Management: Enable/disable jumps, view all jumps, edit jump properties

Key Commands:

  • /parkour - Opens main menu

  • /parkour admin - Opens admin menu (with permission)

  • /setjumpstart <name> - Marks jump start location

  • /setjumpend [difficulty] - Marks jump end and creates the jump

GUIs:

  1. Main Menu - Generate courses, view jumps, admin tools

  2. Course Generator - Select difficulty and start a course

  3. Jump List - View all jumps with pagination

  4. Jump Editor - Toggle jumps, teleport, delete (admin only)

The plugin automatically saves jumps to jumps.yml, teleports players through courses, and gives rewards upon completion!

emerald8910_

uh you there?

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
26 1,422
src/main/java/com/parkour/generator/ParkourGenerator.java
package com.parkour.generator;

import com.parkour.generator.command.ParkourCommand;
import com.parkour.generator.command.SetJumpEndCommand;
import com.parkour.generator.command.SetJumpStartCommand;
import com.parkour.generator.inventory.gui.GUIListener;
import com.parkour.generator.inventory.gui.GUIManager;
import com.parkour.generator.listener.PlayerMovementListener;
import com.parkour.generator.manager.CourseManager;
import com.parkour.generator.manager.JumpManager;
import com.parkour.generator.manager.PlayerManager;
import com.parkour.generator.manager.RewardManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ParkourGenerator extends JavaPlugin {
    private JumpManager jumpManager;
    private CourseManager courseManager;
    private PlayerManager playerManager;
    private RewardManager rewardManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.jumpManager = new JumpManager(this);
        this.courseManager = new CourseManager(this);
        this.playerManager = new PlayerManager();
        this.rewardManager = new RewardManager(this);
        this.guiManager = new GUIManager();
        
        this.jumpManager.loadJumps();
        
        registerCommands();
        registerListeners();
        
        getLogger().info("ParkourGenerator enabled!");
    }

    @Override
    public void onDisable() {
        this.jumpManager.saveJumps();
        getLogger().info("ParkourGenerator disabled!");
    }

    private void registerCommands() {
        getCommand("setjumpstart").setExecutor(new SetJumpStartCommand(this));
        getCommand("setjumpend").setExecutor(new SetJumpEndCommand(this));
        getCommand("parkour").setExecutor(new ParkourCommand(this));
    }

    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new GUIListener(this.guiManager), this);
        Bukkit.getPluginManager().registerEvents(new PlayerMovementListener(this), this);
    }
}