jakegut / SimplePaintball

Simple Paintball Plugin for Spigot 1.14
https://www.spigotmc.org/resources/simple-paintball.58308/
7 stars 5 forks source link
fun gamemode minecraft-plugin paintball spigot spigot-plugin

Build Status

SimplePaintball

Spigot 1.14 Paintball Plugin. Made with the idea that the Minecraft accounts are shared.

Compatible with 1.13 - 1.14.2

Setup

  1. Have an arena map where players can't get out
  2. Make an arena: /pb create <title>
  3. Add blue spawns: /pb set blue
  4. Add red spawns: /pb set red
  5. Add end spawn (where players teleport at the end of the game): /pb set end
  6. Add lobby spawn (where players wait for the game to start): /pb set lobby
  7. Activate arena: /pb set activate
  8. Add sign:
    1. pb join
    2. </li> </ol></li> <li>Enjoy!</li> </ol> <h3>The Game</h3> <p>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.</p> <h3>The Weapons</h3> <ul> <li>Sniper : Shoots straight, no drop</li> <li>Rocket Launcher : On impact, multiple snowballs fire out for area damage</li> <li>Shotgun : 3 snowballs fire out</li> <li>Minigun : Highfire rate with little accuracy</li> <li>Admin : Firerate of minigun with accuracy of sniper. Lightning strikes when a player is in the arena. Player holding the gun does not have to be part of arena</li> </ul> <h2>Building</h2> <p>This repository utlizes Maven to build the JAR file. In Eclipse the process is simple: Right-click on your project -> <code>Run As...</code> -> <code>Maven Build</code>. A window will pop up to add some options for building. In the <code>Goals</code> field, type in <code>clean install</code>. Then click on <code>Apply</code> then on <code>Run</code>. This will will download the dependencies and build a jar file that will output in the <code>/target</code> folder. Place this in plugins and you're good to go!</p> <h3>Note</h3> <p>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.</p> <h2>API</h2> <p>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: <a rel="noreferrer nofollow" target="_blank" href="https://github.com/jakeryang/SimpleGun">https://github.com/jakeryang/SimpleGun</a>. </p> <h3>Note</h3> <p>You can replace any of the existing weapons by giving it the same name. Through the <code>getName()</code> method of the <code>Gun</code> class, which you extend to create a custom weapon, give it an existing name, such as <code>RocketLauncher</code> and it will replace the existing Rocket Launcher.</p></div> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>