.idea | ||
dev | ||
gradle/wrapper | ||
src/main/java/org/kapelle/hardcore_revive | ||
.drone.yml | ||
.gitignore | ||
build.gradle | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle |
Bukkit hardcore revive
Installation
Only put the jar file inside the plugins directory and your done.
Usage
TODO
Build
The build is handled by gradle. So run ./gradlew clean build
. The doc for the plugin used can be found
here and here.
Running gradle from Intellij works fine but from the terminal i had to use
JAVA_HOME=/usr/lib/jvm/java-11-openjdk ./gradlew clean build
.
Dev tools
Server
You can run a spigot server for development. Run sudo docker-compose up
inside of dev
.
To make inserting the plugin easier change the SPIGOT_UID
to your UID (run the id
command). The only problem is
that you have to change to container
directory to 777 (sudo chmod 777 container
). The container dir is getting created by docker so it is owned
by root and we can't write in there.
Documentation for the container can be found here.
The most important commands are:
sudo docker exec spigot-dev mc_send op myMcUsername
sudo docker exec spigot-dev mc_restart
sudo docker exec spigot-dev mc_log
Scripts
insertPlugin.sh
moves all files in the build to the dev serverrestartServer.sh
restarts the spigot serverlog.sh
shows and follows the server log