Spigot 1.14 Paintball Plugin. Made with the idea that the Minecraft accounts are shared.
Compatible with 1.13 - 1.14.2
/pb create <title>
/pb set blue
/pb set red
/pb set end
/pb set lobby
/pb set activate
When a player joins a game, they are teleported to the lobby and placed in adventure mode with a few objects in their hot bar: a leave bed and wool blocks. Players can right click on those blocks in order to either leave the game or to choose a weapon to use when the game starts. When the game is about to start, players are randomly placed on to different teams (red or blue). The players play the game for the most kills, the team with the most kills is announced after the game is over.
This repository utlizes Maven to build the JAR file. In Eclipse the process is simple: Right-click on your project -> Run As...
-> Maven Build
. A window will pop up to add some options for building. In the Goals
field, type in clean install
. Then click on Apply
then on Run
. This will will download the dependencies and build a jar file that will output in the /target
folder. Place this in plugins and you're good to go!
In the pom.xml file, there's a section where it copies the built jar files to a certain directories (the plugin directory of my dev servers). These options are for me, but you can change them anyway you want. You might get an error if the path specified doesn't exist on your computer.
As of v0.3.3-alpha.2, an API has been tested and created to add additional weapons to the game. If you would like to know how to add custom weapons look at the example repo: https://github.com/jakeryang/SimpleGun.
You can replace any of the existing weapons by giving it the same name. Through the getName()
method of the Gun
class, which you extend to create a custom weapon, give it an existing name, such as RocketLauncher
and it will replace the existing Rocket Launcher.