This is a Minecraft Java plugin for the TerraTinker project.
This plugin requires GDAL to function correctly.
-
Download and install Python 2.7.
-
Download and install gdal-3.7.2-1930-x64-core.msi from gisinternals.com.
- Do not install MSSQLSpatial
-
Open and edit the following System Environment Variables in Advanced System Properties:
Append to PATH - C:\Program Files\GDAL GDAL_DATA - C:\Program Files\GDAL\gdal-data GDAL_DRIVER_PATH - C:\Program Files\GDAL\gdalplugins -
Test to see if GDAL is installed by opening Command Prompt and type in:
gdalinfo --version -
If GDAL thorws an error about missing
proj_9_3.dll, you need to download and install GDAL also through OSGeo4W. Download the network installer from OSGeo4W website -
Run the Advanced Install and select
Libs/gdal -
Add the OSGeo4W bin folder to your path:
C:\OSGeo4W\bin -
Restart the server, terminal or PC if needed
-
Check GDAL again, it should now report the version
gdalinfo --version
apk --no-cache add java-gdal
This plugin runs on Paper server (or it's forks) version 1.20.0. You can download the correct version from the PaperMC website.
The server will be unresponsive while running the command so I would strongly suggest increasing the timeout intervals in the server settings:
paper.yml
---
settings:
watchdog:
early-warning-every: 500000000
early-warning-delay: 1000000000
spigot.yml
---
settings:
timeout-time: 600000000
This project uses Gradle for dependency management and build automation. Make sure you have Gradle installed on your system.
To build the project, navigate to the project directory and run:
gradle shadowJarFor testing purposes you can also run the server directly from Gradle:
gradle runServerYou can change the server version from the default 1.20 to any other version by setting the MINECRAFT_* environment variables.
MINECRAFT_MAJOR=1
MINECRAFT_MINOR=20
MINECRAFT_PATCH=0