A bukkit/spigot plugin to revive other players in hardcore mode.
Go to file
2020-06-28 18:11:51 +02:00
.idea improved dev stuff. Local server and build 2020-06-28 15:08:12 +02:00
dev improved dev stuff. Local server and build 2020-06-28 15:08:12 +02:00
gradle/wrapper Initial commit 2020-06-26 14:12:15 +00:00
src/main/java/org/kapelle changed revive multiblock 2020-06-28 18:11:51 +02:00
.drone.yml changed template stuff 2020-06-26 16:42:45 +02:00
.gitignore improved dev stuff. Local server and build 2020-06-28 15:08:12 +02:00
build.gradle changed template stuff 2020-06-26 16:42:45 +02:00
gradlew Initial commit 2020-06-26 14:12:15 +00:00
gradlew.bat Initial commit 2020-06-26 14:12:15 +00:00
README.md improved dev stuff. Local server and build 2020-06-28 15:08:12 +02:00
settings.gradle changed template stuff 2020-06-26 16:42:45 +02:00

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

Local Server

You can compile the spigot server on your own by running ./buildSpigot.sh 1.16.1 inside the dev directory. The first parameter is the version. If no version is given the latest tag is used which is not always the newest minecraft version.

After that you can start the server and it will run inside the server directory.

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 server
  • restartServer.sh restarts the spigot server
  • log.sh shows and follows the server log