Skip to content

johnvictorfs/death-swap-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Death Swap plugin for Minecraft 1.16.x

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)

image


Setup


Commands

  • /death_swap [start|stop|now] (time=5)
    • Permissions
      • death_swap.tasks
    • First argument
      • start Start the Death Swap continuous task to swap players every X minutes
      • stop Stop ongoing Death Swap continuous task
      • now Run Death Swap once, immediately
    • Second argument (default = 5)
      • Period on which swaps happen, in minutes, default is 5 minutes

Build from source

  • IntelliJ IDEA

    • Clone the project
      git clone https://github.com/johnvictorfs/death-swap-plugin.git

    image

    • 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 .jar file will be located at target/DeathSwap-X.Y.Z.jar
  • Maven

    • Run Maven Build
      mvn install
    • Compiled .jar file will be located at target/DeathSwap-X.Y.Z.jar

About

Death Swap Minecraft Bukkit Plugin

Resources

License

Stars

Watchers

Forks

Contributors

Languages