tedo0627 / JEGenerator

This is the PocketMine plugin that generates the terrain for Minecraft Java Edition v1.17
GNU General Public License v3.0
16 stars 2 forks source link

JEGenerator

This is the PocketMine plugin that generates the terrain for Minecraft Java Edition v1.17

Support Generator

Biome Option

※ These can use the biome option (default plains)
When used in server.propertie, generator-settings=biome=plains
When used in pocketmine.yml, preset: biome=plains

Biome list
  • ocean
  • plains
  • desert
  • mountains
  • forest
  • taiga
  • swamp
  • river
  • nether_wastes
  • the_end
  • frozen_ocean
  • frozen_river
  • snowy_tundra
  • snowy_mountains
  • mushroom_fields
  • mushroom_field_shore
  • beach
  • desert_hills
  • wooded_hills
  • taiga_hills
  • mountain_edge
  • jungle
  • jungle_hills
  • jungle_edge
  • deep_ocean
  • stone_shore
  • snowy_beach
  • birch_forest
  • birch_forest_hills
  • dark_forest
  • snowy_taiga
  • snowy_taiga_hills
  • giant_tree_taiga
  • giant_tree_taiga_hills
  • wooded_mountains
  • savanna
  • savanna_plateau
  • badlands
  • wooded_badlands_plateau
  • badlands_plateau
  • warm_ocean
  • lukewarm_ocean
  • cold_ocean
  • deep_warm_ocean
  • deep_lukewarm_ocean
  • deep_cold_ocean
  • deep_frozen_ocean
  • legacy_frozen_ocean
  • bamboo_jungle
  • bamboo_jungle_hills
  • sunflower_plains
  • desert_lakes
  • gravelly_mountains
  • flower_forest
  • taiga_mountains
  • swamp_hills
  • ice_spikes
  • modified_jungle
  • modified_jungle_edge
  • tall_birch_forest
  • tall_birch_hills
  • dark_forest_hills
  • snowy_taiga_mountains
  • giant_spruce_taiga
  • giant_spruce_taiga_hills
  • modified_gravelly_mountains
  • shattered_savanna
  • shattered_savanna_plateau
  • eroded_badlands
  • modified_wooded_badlands_plateau
  • modified_badlands_plateau
  • soul_sand_valley
  • crimson_forest
  • warped_forest
  • basalt_deltas
  • small_end_islands
  • end_midlands
  • end_highlands
  • end_barrens
  • the_void

How to install

  1. Install java17 and set JAVA_HOME environment variable
  2. Download server.jar here

    Windows

  3. Arrange the files as in the tree below.
    ├── bin/
    │   └── php/
    │       └── ext/
    │           └── php_calljava.dll
    ├── plugin_data/
    │   └── JEGenerator/
    │       ├── JELoader.jar
    │       └── server.jar
    ├── plugins/
    │   └── JEGenerator.phar
    └── PocketMine-MP.phar
  4. Add the following text to the last line of php.ini
    extension=php_calljava.dll
  5. Add the following text to the PATH environment variable
    %JAVA_HOME%\bin\server

    Linux

  6. Arrange the files as in the tree below.
    ├── bin/
    │   └── php7/
    │       └── bin/
    │           └── ext/
    │               └── calljava.so
    ├── plugin_data/
    │   └── JEGenerator/
    │       ├── JELoader.jar
    │       └── server.jar
    ├── plugins/
    │   └── JEGenerator.phar
    └── PocketMine-MP.phar
  7. Add the following sample text to the last line of php.ini
    extension_dir should be the absolute path of bin/php7/bin/ext
    extension_dir=/home/tedo0627/pmmp/bin/php7/bin/ext
    extension=calljava.so
  8. Add the following text to the LD_LIBRARY_PATH environment variable
    $JAVA_HOME/lib/server

  9. Start pmmp once and agree to eula from the eula.txt file generated in plugin_data/JEGenerator

Note

Takes a long time to start up
Generating a few chunks after startup is a bit slow
This error may occur in some environments, but it is not a problem

Illegal format in tzmappings file: illegal non-newline character found at line 1, offset 46.