A basic Paper plugin for hosting a game of Capture the Flag. It requires no configuration before use.
This project uses the Gradle build system. Build the plugin JAR with:
./gradlew buildYou can also use
./gradlew runto build the project and immediately use it in a locally hosted server. (If you choose this option, you will need to
agree to the EULA in run/ after running for the first time).
The plugin is tested on the latest stable Paper version, 1.21.8.
There are a few ingame steps to start a CTF game:
- An admin (opped player) must run
/ctf setflag redand/ctf setflag blue. This will set the base location for each team to the executor's location. - All players who wish to join should run
/ctf join redor/ctf join blue./ctf leavecan be used to leave a team if needed. - Once both teams have players, run
/ctf startto start the game. - If needed, run
/ctf stopto prematurely stop the game.