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

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

  1. Offline


    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.

    • Play paintball!
    • Configurable ammo
    • Configurable messages
    • Configurable team bases
    • Configurable team spectating areas
    • Inventory saving!
    • Killfeed
    • Capture the flag and elimination game modes!
    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

    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:
        Hit: You're out!
        GameStart: Paintball has started!
        GameEnd: Game over! %team has won!
            Hits: 1
            FriendlyFire: false
            Lives: 1
            Ammo: 128
            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!

    The source code is included in the .jar (/me/ic3d/paintball/)

    Planned Changes
    • More game modes (what would you like to see?)
    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!
    • @captainawesome7 - All coding
    jacob0wnz, mathiash98 and kahlilnc like this.
  2. Offline


    Hello! I'm encountering permission problems with Paintball. I gave my users the permission node
    - paintball.commands
    but it doesn't work, even if I make them an Admin with access to all commands, it still doesn't work. It only works if the users are ops.
  3. Offline


    Directly from source:

  4. Offline


    I know, I said that in my quote, it doesn't work
    Here's snippit of my permissions file:
            default: false
                prefix: '&9'
                suffix: ''
                build: true
                rank: 2
            - preciousstones.benefit.*
            - preciousstones.whitelist.*
            - preciousstones.special.*
            - wormhole.use.*
            - tpp.*
            - essentials.*
            - DisposalChest.*
            - simplesign.*
            - supplysign.*
            - mothernature.*
            - minecartmania.*
            - mobRider.*
            - chaircraft.sit
            - wxw.spawn
            - movecraft.*
            - magiccarpet.*
            - bof.*
            - bog.*
            - -essentials.ban
            - paintball.commands
  5. Offline


    Oh well. It does work, I'm not responsible for your permissions failure.

    @Master Dover @jacob0wnz
    Hope the new 1.3 version fixes the previous problems. It still isn't compatible with b928 (they broke the most important event), but it does address the issues of configurable hits, lives, ammo, and friendly fire options. I also blocked the arrow damaging, so it should be easy to tell if it is working or not. Hopefully I won't accidentally upload a 1/4 finished build again :/

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


  7. Offline


    how to download that sounds
  8. Offline


    Is it possible you might add more permissions for specific admin commands? Admins/Mods don't want to have to "add player" everytime and host games, users should be able to do it themselves, but having total access to the plugin causes problems since those who know the setup commands can mess up waypoints and other stuff...
  9. Offline


    This plugin doesn't work. If a player is hit, he doesn't die. What shall I do?
  10. Offline


    That just takes the permission away from the player, that isn't the problem.

    It is updated...??

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


    Yes i didnt realize it was updated at the time.

    But the one permission - -essentials.ban is in the wrong format is it not. It should just be - essentials.ban. I've had issues like that before that messed up the whole permissions or essentials.

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


    It is in the right format.
  13. Offline


    umm i downloaded and set up the paintball plugin again. I have a problem. When someone gets shot they dont go out. They just lose a little health and you cant shoot them again.
  14. Offline


    What version does it say when it is enabled?
  15. Offline


    ok i got this error when playing paintball. [SEVERE] Could not pass event ENTITY_DAMAGE to paintball
    java.lang.NoSuchMethodError: org.bukkit.event.entity.EntityDamageByProjectileEvent.getProjectile<>Lorg/bukkit/entity/Entity;
  16. Offline


    You are on 928. This plugin is only working on 860 and below due to API breakages in the newest 2 Recommended Builds
  17. Offline

    Master Dover

    will test later today and let ya know if i hae any problems, thanks for the fast update!
  18. Offline


    How do you work this? I have it set up on my server and when i start the match with no one on the teams its fine bit once there's someone on the team as soon as i start it it say "An initial error occured while trying to preform this command"
  19. Offline


    do we have to mod client side or can we just play it but with just regular arrows?
  20. Offline


    What craftbukkit build are you on?

    you can play it with regular arrows

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


    Please Update to CB 935
  22. Offline


    Nope, waiting for the new 1.7 recommended build.
  23. Offline


    pls update for 953 ;D plsss
  24. Offline


    19:56:10 [SEVERE] Could not pass event ENTITY_DAMAGE to Paintball
    java.lang.NoSuchMethodError: org.bukkit.event.entity.EntityDamageByProjectileEvent.getProjectile()Lorg/bukkit/entity/Entity;
    at me.ic3d.paintball.pbe.onEntityDamageByProjectile(
    at me.ic3d.paintball.pbe.onEntityDamageByEntity(
    at me.ic3d.paintball.pbe.onEntityDamage(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.EntityArrow.m_(
    at net.minecraft.server.World.entityJoinedWorld(
    at net.minecraft.server.WorldServer.entityJoinedWorld(
    at net.minecraft.server.World.playerJoinedWorld(
    at net.minecraft.server.World.cleanUp(
    at net.minecraft.server.MinecraftServer.h(
  25. Offline


  26. Offline


    pls update ?!
  27. Offline


    Updated. Please report bugs if you find any (I know u will :/)
  28. Offline


    Cant DL, site gives this error:
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <Message>Access Denied</Message>
  29. Offline


  30. Offline


    Would there happen to be a way to either put people in teams randomly as soon as they join, or let the players themselves choose their team? I love the concept of this mod, but I just can't be there all the time, y'know?
  31. Offline


    I was going to add them in 1.5 but I might hold off to add automatic teams until 1.6. I definitely will have commands to join the team yourself by 1.5 though.

Share This Page