| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle.kts | ||
| README.md | ||
| settings.gradle.kts | ||
DuneTerrain for Paper 1.21.4
DuneTerrain is a standalone Paper plugin that generates one Dune planet world per server. It includes the five planet profiles, terrain and ore generation, Arrakis spice deposits and sietches, safe world spawn setup, and a protected Spacing Guild navigator.
Build and install
Build the plugin from this directory with Java 21 and Gradle 8.14 or newer:
gradle clean build
Copy build/libs/DuneTerrain-1.0.3.jar into the Paper server's plugins/ directory. Set server.planet in plugins/DuneTerrain/config.yml separately on each backend, then restart.
Valid values are arrakis, giedi_prime, kaitain, caladan, and sigma_draconis_iv. All five planet profiles are present in each server's config; change server.planet to select the world that backend creates. The generated world is named after the selected planet. Adjust its planets.<planet> settings for terrain, biome, surface, water, vegetation, ores, and spawn coordinates.
Install DuneCore alongside DuneTerrain if you want the Guild navigator to open DuneCore's travel menu. DuneCore reads the loaded planet world to identify its local backend. For proxy travel, set network.local-planet and network.servers in DuneCore's config to match the DuneTerrain selection and proxy server names.
Paper's paper-global.yml and paper-world-defaults.yml do not choose terrain generators; Paper reads those for server and world behavior settings. Terrain generators are registered through bukkit.yml. DuneTerrain loads at startup and exposes its generator to Paper. If Arrakis is the primary world (level-name=arrakis), add this to bukkit.yml:
worlds:
arrakis:
generator: DuneTerrain:arrakis
biome-provider: DuneTerrain:arrakis
For another primary planet, replace both arrakis values with that planet name. When using DuneTerrain's separate planet world alongside a normal primary world named world, the plugin assigns the generator directly as it creates the planet world; no bukkit.yml entry is needed.
The generator applies to newly generated chunks. Existing chunks are never replaced by a config change. If the selected planet world already exists with non-Arrakis terrain or rivers, stop the server, back up and move that world's folder out of the server directory, then restart to create it with DuneTerrain. DuneTerrain registers the generator at startup and creates a separate planet world only after Paper has finished loading, if needed.
Arrakis uses the Desert biome throughout and has no vanilla vegetation. Sparse persistent-leaf oasis trees remain about 300 blocks apart. A larger underground cave sietch generates about every 2,000 blocks; it has connected sleeping and kitchen chambers, a concealed entry, a waterfall descent into a bottom reservoir, and a personal cache per player containing at least 250 tagged spice, enchanted gold armor, planks, and bread. Sand-covered darkstone islands generate about every 750 blocks. Set sietches.spacing and planets.arrakis.darkstone-islands.spacing to adjust those intervals. Random spice patches generate about 35% of 600-by-600-block regions; each patch has roughly 5,000 Solaris in deposits at the default 15 Solaris per spice. Adjust spice-deposits.patches for patch frequency, size, or value.
DuneCore sends new players who have not chosen a faction from Paper's default world to the local planet spawn, so they arrive in the world generated by DuneTerrain.

Staff