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

    captainawesome7

    If anybody runs into bugs, please let me know. I wasn't able to get a large group of people together (only 4) to test the plugin, so there may be some bugs that I haven't fixed.

    *Warning*
    The game will NOT end by itself, I am fixing this now!

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

    jtlcr777

    Wait...if captainawesome did all of the coding...why are you submitting it and getting a shiny "Plugin Developer" tag? I noticed this for other plugins you've "submitted" as well.
     
    Flipsen likes this.
  4. Offline

    captainawesome7

    It is a plugin developer team, we work on some plugins together and help test stuff, along with some coding help.
     
  5. Offline

    jtlcr777

    But to me its not a team if someone did "all coding". But if you say so...
     
    Flipsen likes this.
  6. Offline

    captainawesome7

    Well I coded it, but I got help and questions answered from other people on the team.
     
  7. Offline

    jtlcr777

    Then why don't you just submit plugins yourself? I think coder=submitter.
     
  8. Offline

    captainawesome7

    Gameplay is a bit buggy now, if it isn't working for you, just re-download when 1.1 comes out!
     
  9. Offline

    jtlcr777

    See? You're even making all the announcements about it. I think next time you should just make plugin submissions yourself so you can just edit the topic instead of posting here all the time.
     
  10. Offline

    IC3D

    If you downloaded v1.0 please for god's sake download 1.1!!
     
  11. Offline

    RazorFlint

    Aha Really like this :D
    you should make it so it requires like 10 hits (Cofigurable) :D
     
  12. Offline

    captainawesome7

    I can add that, but it won't be very high on my to-do list
     
  13. Offline

    RazorFlint

    If you need help you can always ask ;)
     
  14. Offline

    captainawesome7

    Lol thats ok, I know how to do it, but in paintball it is a 1 hit kill, so I'm not really rushing to get it done. I'm busy with rewards and stuff
     
  15. Offline

    RazorFlint

    At my loacal club we have 5 hits out but it changes in different game types maybe you could add like a ctf?
     
  16. Offline

    captainawesome7

    I have never heard of paintball taking more than one hit as there is no way to keep track irl. That is on the todo list.
     
  17. Offline

    DreadKyller

    @jtlcr777 IC3D is a team, we work by pm communicating with each other, we form plugin ideas, we work out ways of making the plugin, we get others input and we help test the plugins, most of the plugins made so far are small enough that they are completed in not a long time, we are already trying to plan a large project for us all to work on together. One of the people in out team comes up with ideas specifically for IC3D, and so we post them on IC3D if it's a plugin we were developing ourselves off the team, with no input from other members we will post on out main accounts. the credits may say all coding, but the coding is only one element in the development of these plugins.

    @captainawesome7 RazorFlint asked to help, if you think so he could maybe join the team if he wants, more people would be good. and I have heard of multi hit paintball, although not common at all.

    @RazorFlint CTF would be very interesting, two teams, you have to go to other teams base collect something and bring it to yours, if you get hit by the paintballs you teleport back to your spawn and if you're holding to token it drops, when other team collects their token after they kill you it goes back to their spawn. Captain, sound like an idea?
     
  18. Offline

    captainawesome7

    I'm going to leave the CTF how it is now, but I'm adding 1 flag ctf with reinsertion which will work about like you said above.
     
  19. Offline

    DreadKyller

    1 flag? how would that work, you mean two teams, the flag is in middle, both teams must rush to get it?
     
  20. Offline

    captainawesome7

    Yes... thats what 1 flag ctf is. And to score you need to get the flag to the enemy base
     
  21. Offline

    DreadKyller

    usually it's you need to get the flag to your base, but I guess it could be either
     
  22. Offline

    kahlilnc

    This is amazing. Trying this out on my test server tomorrow.
     
  23. Offline

    XRiflesX

    Yeah I'm having trouble. I put spectator spawns and regular spawns when you start playing but i keep on dying by like tons of shots and it wont say game over. someone plz help me!
     
  24. Offline

    captainawesome7

    Hmm.. Other plugins? God mode? Any errors? Im going to need more info than that.
     
  25. Offline

    XRiflesX

    for my plugins i all i have is the mob arena. no god mode, no errors. it must be that then.
     
  26. Offline

    captainawesome7

    Probably, anything that modifies onEntityDamage, which includes mob arena
    *edit* try testing Paintball without mob arena installed
     
  27. Offline

    XRiflesX

    It said cannot pass ENDITY_DAMAGE to Paintball.
     
  28. Offline

    captainawesome7

    Um, ok. That doesn't really give me anything to work with...
    Maybe an actual error from the log?
     
  29. Offline

    XRiflesX

    does "NoSuchMethodError mean anything?
     
  30. Offline

    captainawesome7

    What version of craftbukkit are you using?
     

Share This Page