Adds the /death_swap command to a Bukkit/Spigot/PaperMC Minecraft Servers to swap players in the server randomly every X minutes.
The swapping has a 10 seconds countdown in the chat before it happens (currently not configurable)
- Downloaded latest
.jarfrom https://github.com/johnvictorfs/death-swap-plugin/releases/latest - Put the downloaded file into your server's
pluginsfolder - Done! No further configuration needed.
/death_swap [start|stop|now] (time=5)- Permissions
death_swap.tasks
First argumentstartStart the Death Swap continuous task to swap players every X minutesstopStop ongoing Death Swap continuous tasknowRun Death Swap once, immediately
Second argument(default = 5)- Period on which swaps happen, in minutes, default is 5 minutes
- Permissions
-
IntelliJ IDEA
- Clone the project
git clone https://github.com/johnvictorfs/death-swap-plugin.git
- Run Maven Build (
DEATH_SWAP BUILD) with Shift + F10- Or: create an artifact build (type JAR) with no main class, remove the linked Bukkit/PaperMC libraries (since they will be already available in the server) and compile the .jar file.
- Compiled
.jarfile will be located attarget/DeathSwap-X.Y.Z.jar
- Clone the project
-
Maven
- Run Maven Build
mvn install
- Compiled
.jarfile will be located attarget/DeathSwap-X.Y.Z.jar
- Run Maven Build

