Recommended to use sya-ri/minecraft-server-gradle-plugin.
- Open Terminal
- Run Command
wget https://github.com/sya-ri/TestServerHookGradle/archive/master.zip
unzip master.zip
rm master.zip
mv TestServerHookGradle-master _test_server
cd _test_server
sh install_server.sh 1.17.1
Name: Test
Script path: <Paste Project Path>/_test_server/start.sh
Working direcotry: <Paste Project Path>/_test_server
Before Launch:
- Run Gradle Task:
Gradle project: <Paste Your Project Name>
tasks: shadowJar