Inactive [FUN] Paintball v1.4 - Paintball Wars! Now with CTF! [953]

Discussion in 'Inactive/Unsupported Plugins' started by IC3D, Jun 18, 2011.

  1. Offline

    IC3D

    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:
    Commands (open)

    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:
    config (open)

    A 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:
    client (open)

    To 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:
    1. Download Sound Mod Enabler here by epinull
    2. Unzip the file that you downloaded
    3. Move cx.class to your minecraft.jar
    4. Move DO_NOT_UPDATE.txt to .minecraft/resources
    5. Download bow.ogg and drr.ogg
    6. Move both of the above files to .minecraft/resources/newsound/random
    7. Your done!


    Downloads:
    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!
    Credits:
    • @captainawesome7 - All coding
     
    jacob0wnz, mathiash98 and kahlilnc like this.
  2. Offline

    Julloe15

    i have an problem because when i start an paintball game and want to shoot somebody nothing happens.
     
  3. Offline

    captainawesome7

    Looks to me like you don't have the most recent build of Spout on your server.

    Try updating spout. Do you have a paintball gun in your inventory when the game starts?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  4. Offline

    Julloe15

    Does this plugin needs spuot? and why an paintball gun there are snowballs.
     
  5. Offline

    QuintenVis

    Can you configure that the game automaticly starts?
     
  6. Offline

    captainawesome7

    why did you reply to both plugin threads? Stay on the new one :p
    If the paintball gun texture is working, but the paintballs aren't, try /pb texture paintball. That should switch your texture to the one in the config, which should make snowballs paintballs. You can change the texture URL to whatever you want, but of course if you don't have Spoutcraft you won't see any of the changes.
    I decided your post didn't merit a coherent reply, so:
    RTFM!
     
  7. Offline

    Racruk

    Hi i have some problem with the plugin he's does'nt work :( help me or add me on skype Samuel11154 thanks
     
  8. Offline

    captainawesome7

    click here
     
  9. Offline

    ustatennis

    DOES NOT WORK!
    WHY!
    PLEASE FIX I NEED THIS PLUGIN
     
  10. Offline

    captainawesome7

    DON'T BE A RETARD
     
  11. Offline

    Andy15_16

    Hey man i got idea for game mode! you can make One Man Army:)
     
  12. Offline

    captainawesome7

    What?
     
  13. Offline

    BROBLOX

    does this work on 1.3.2 bukkit servers?
     
  14. Offline

    captainawesome7

    No. This one will be updated soon though.
     
  15. Offline

    joehot2000

    ok, its a shame, as i dont want sprout, none of my users use spout, and i wouldent be able to get enough spout players (u need online-mode and i use cracked server with mainly cracked players)
     
  16. Offline

    Frabok120

    Problem with the plugin 1.4.6
     
  17. Offline

    TheExperiance

    Looks cool, can't wait to try it out!
     
  18. Offline

    vTranzform

    This plugin does not work with the new rec build of bukkit? Mine does not create a config folder.?
     
  19. Offline

    captainawesome7

    This is long beyond not working, but this paintball plugin works fine.
     
  20. Offline

    Darkmanor1996

    I need the Perms
     

Share This Page