freshcoconut292011

a tall skyscraper with bace thats 10x10

Kodari AI
KodariSep 6 at 12:27 am 1
SkyScraperBuilder
A Minecraft plugin that lets players construct a skyscraper with a 10x10 base. Players place a starting block to define the foundation, then the plugin automatically generates a tall tower structure upward. The plugin includes configurable height limits, floor spacing, and building materials. Players can upgrade their skyscraper's height through commands or by collecting specific resources. The plugin provides visual guides for the build area, prevents overlapping structures, and offers a demolition command to remove the entire building. It features a persistent data system to save each player's skyscraper location and dimensions across server restarts.
  1. Create a Gradle Paper plugin project with XSeries compatibility.

  2. Add a /skyscraper command with configurable height and permission checks.

  3. Implement a 10×10 tower builder with framed walls, glass windows, floors, roof, entrance, and lighting.

  4. Add plugin metadata and defaults.

Created the SkyscraperBuilder Paper plugin project with:

  • /skyscraper [height] command

  • Configurable default height and maximum height

  • 10×10 tower footprint

  • Stone-brick frame, glass exterior, quartz floors, glowstone lighting

  • Entrance at the front

  • XSeries material compatibility

  • Permission: skyscraper.use

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 214
src/main/java/com/kodari/skyscraper/SkyscraperPlugin.java
package com.kodari.skyscraper;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class SkyscraperPlugin extends JavaPlugin {

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

        SkyscraperBuilder builder = new SkyscraperBuilder(this);
        PluginCommand command = getCommand("skyscraper");
        if (command != null) {
            command.setExecutor(new SkyscraperCommand(this, builder));
        }
    }
}