Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Death Swap Minecraft Bukkit Plugin

License

NotificationsYou must be signed in to change notification settings

johnvictorfs/death-swap-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) withShift +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 attarget/DeathSwap-X.Y.Z.jar
  • Maven

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

[8]ページ先頭

©2009-2025 Movatter.jp