Nikolai DENYS

Develop a Minecraft plugin that recreates Disneyland Paris' Main Street and Central Plaza with detailed builds, including iconic structures and landmarks. Implement interactive elements like NPCs for quests, ambient sounds for immersion, and a custom teleportation system to navigate between various attractions seamlessly.

Kodari AI
KodariSep 17 at 8:38 am 2
DisneylandParisRecreation
Recreates Disneyland Paris' Main Street and Central Plaza in Minecraft with detailed builds of iconic landmarks. Features interactive NPCs offering quests, ambient sound effects for immersion, and a custom teleportation system connecting attractions. Players explore a faithful recreation with quest progression, atmospheric audio cues, and seamless navigation between themed areas. The plugin provides a complete theme park experience with quest rewards, immersive soundscapes, and efficient travel mechanics.

I’ll create the Maven plugin with:

  1. Procedural Main Street, Central Plaza, landmark buildings, streets, lighting, and teleport pads.

  2. NPC quest guides with progress and rewards.

  3. Attraction teleport commands plus physical teleport pads.

  4. Ambient area-based sounds and persistent park-origin configuration.

Implemented the Disneyland Paris plugin from scratch with Maven.

  • Procedural builds for Main Street, Central Plaza, City Hall, shops, fountain, lamps, kiosks, castle towers, and Sleeping Beauty Castle.

  • /disneyland build generates the park around the player and saves its location.

  • Teleport system with:

    • /disneyland teleport mainstreet

    • /disneyland teleport centralplaza

    • /disneyland teleport townhall

    • /disneyland teleport castle

  • NPC quest guides for Main Street, Central Plaza, and the castle.

  • Quest progression with a collectible Park Explorer Pass reward.

  • Ambient area-based sounds for Main Street and Central Plaza.

  • Protected, non-hostile guide NPCs.

  • Maven setup targeting Java 17 with Spigot API and XSeries compatibility.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
10 786
src/main/java/com/kodari/disneyland/DisneylandPlugin.java
package com.kodari.disneyland;

import com.kodari.disneyland.command.DisneylandCommand;
import com.kodari.disneyland.listener.DisneylandListener;
import com.kodari.disneyland.manager.AmbientSoundTask;
import com.kodari.disneyland.manager.BuildManager;
import com.kodari.disneyland.manager.QuestManager;
import com.kodari.disneyland.manager.TeleportManager;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.plugin.java.JavaPlugin;

public final class DisneylandPlugin extends JavaPlugin {
    private BuildManager buildManager;
    private TeleportManager teleportManager;
    private QuestManager questManager;
    private Location parkOrigin;

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

        this.buildManager = new BuildManager(this);
        this.teleportManager = new TeleportManager(this);
        this.questManager = new QuestManager(this);
        this.parkOrigin = loadParkOrigin();

        if (this.parkOrigin != null) {
            this.teleportManager.setParkOrigin(this.parkOrigin);
            this.questManager.spawnGuides(this.parkOrigin);
        }

        DisneylandListener listener = new DisneylandListener(this);
        Bukkit.getPluginManager().registerEvents(listener, this);

        DisneylandCommand command = new DisneylandCommand(this);
        if (getCommand("disneyland") != null) {
            getCommand("disneyland").setExecutor(command);
            getCommand("disneyland").setTabCompleter(command);
        }

        if (getConfig().getBoolean("ambient-sounds", true)) {
            Bukkit.getScheduler().runTaskTimer(this, new AmbientSoundTask(this), 200L, 360L);
        }
    }

    public void setParkOrigin(Location origin) {
        this.parkOrigin = origin.clone();
        getConfig().set("park.world", origin.getWorld().getName());
        getConfig().set("park.x", origin.getBlockX());
        getConfig().set("park.y", origin.getBlockY());
        getConfig().set("park.z", origin.getBlockZ());
        saveConfig();
    }

    private Location loadParkOrigin() {
        String worldName = getConfig().getString("park.world", "");
        if (worldName.isEmpty()) {
            return null;
        }
        World world = Bukkit.getWorld(worldName);
        if (world == null) {
            getLogger().warning("The saved park world '" + worldName + "' is not loaded.");
            return null;
        }
        return new Location(world, getConfig().getInt("park.x"), getConfig().getInt("park.y"), getConfig().getInt("park.z"));
    }

    public BuildManager getBuildManager() {
        return buildManager;
    }

    public TeleportManager getTeleportManager() {
        return teleportManager;
    }

    public QuestManager getQuestManager() {
        return questManager;
    }

    public Location getParkOrigin() {
        return parkOrigin == null ? null : parkOrigin.clone();
    }
}