Paintball

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Paintball - Configurable Paintball Battles! Version: v1.4 This is a fairly complicated plugin that allows you to have paintball (with a slight client modification) battles, or if you don't want your users to play paintball, its basically bow tag. The games end when all players are out, and the winner is the team with the last man standing.

Features: Play paintball! Configurable ammo Configurable messages Configurable team bases Configurable team spectating areas Inventory saving! Killfeed Capture the flag and elimination game modes! Commands: The Permissions node for all commands is paintball.commands /pb help <cmd> - Show command specific help /pb base <red/blue> - Set the specified team's base (where they are teleported when the game starts) /pb spectate <red/blue> - Sets the specified team's spectating area (where they are teleported when they are hit) /pb add <player> <red/blue> - Add the specified player to the specified team /pb remove <player> - Remove the specified player from the team they are on /pb switch <player> - Switches the player's team /pb tdm - Starts an elimination game! Teleports players to their team's base, saves their inventory, and puts 1 gun and the specified ammo in their inventory /pb ctf - Starts a capture the flag game! Teleports players to their team's base, saves their inventory, puts 1 gun and the specified ammo in their inventory, and sets the flag location to the team color wool. /pb end - Ends the game early! Gives players their original inventories back. /pb clear - Clears all paintballs (arrows) from the ground /pb empty <red/blue> - Clear the specified team of all players /pb flag <red/blue> - Sets the flag location for the specified team

Configuration:

file called config.yml will be created at /plugins/Paintball/config.yml. Some of the values are configurable in game, and the others need to be edited directly in the file. It looks like this:

Code: Messages: Hit: You're out! GameStart: Paintball has started! GameEnd: Game over! %team has won! Locations: BlueFlag: RedDeath: BlueDeath: BlueBase: RedBase: RedFlag: GameTypes: 2FlagCTF: Hits: 1 FriendlyFire: false Lives: 1 Ammo: 128 Elimination: Hits: 1 FriendlyFire: true Lives: 1 Ammo: 128 The messages, ammunition, lives, hits, and friendly fire has be edited directly. The locations are set with the ingame commands.

To have a paintball gun clientside: o mod your client, all you have to do is edit your texture pack's image at minecraft.jar/gui/items.txt. Just change the bow to a paintball gun, and the arrow to a ball shape. I would do this, but my image editor for .png cant handle blank space If you make your own items.png, please PM me with a download link so other people don't have to edit it themselves. Then, follow these steps: Download Sound Mod Enabler here by epinull Unzip the file that you downloaded Move cx.class to your minecraft.jar Move DO_NOT_UPDATE.txt to .minecraft/resources Download bow.ogg and drr.ogg Move both of the above files to .minecraft/resources/newsound/random Your done!

Downloads:

Paintball 1.4 - http://www.megaupload.com/?d=7FW5M5MF The source code is included in the .jar (/me/ic3d/paintball/)

Planned Changes More game modes (what would you like to see?) Changelog: Version 1.4 The long awaited 953 update (sorry I was busy!) PLEASE report bugs as I am sure there are tons Version 1.3 Fixed the plugin. During later 1.2 I accidentally uploaded a test build without realizing it, and it messed up the plugin. Changed /pb start to /pb tdm, because its a team deathmatch Added per-game type lives, ammo, friendly fire, and hits This was hastily coded at 2:20 AM, so if there are any bugs (there are bound to be a bunch) please let me know as soon as possible! Blocked paintball (arrow) damage (when game is on and you are playing) Version 1.2 Added a two flag capture the flag game mode! The game mode works like this: Use /pb flag <red/blue> to set the team flag locations (should be near their base) Use /pb ctf to start a capture the flag game Run to the other team's flag and right click it to grab it, the block should turn white and give you one flag Run back to your flag and right click it, you have to have the enemy's flag somewhere in your inventory You win! Added a /empty for easier team clearing Version 1.1 Fixed everything. There were a million things wrong with the first one. Cleaned the code Better kill handling added killfeed Version 1.0 Secret Bugfixes! Original Release!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    34971
  • Created
    Dec 21, 2011
  • Last Released File
    Never
  • Total Downloads
    0
  • License

Categories

Members

Recent Files

No files uploaded yet.