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

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

     
  1. Offline

    IC3D

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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:

    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:

    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.  
  3. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nope, waiting for the new 1.7 recommended build.
  4. Offline

    litsche

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    pls update for 953 ;D plsss
  5. Offline

    AlLyBOY

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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(pbe.java:201)
    at me.ic3d.paintball.pbe.onEntityDamageByEntity(pbe.java:389)
    at me.ic3d.paintball.pbe.onEntityDamage(pbe.java:396)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityArrow.m_(EntityArrow.java:178)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  6. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    .....
  7. Offline

    litsche

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    pls update ?!
  8. Offline

    IC3D

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated. Please report bugs if you find any (I know u will :/)
  9. Offline

    Matje69

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Cant DL, site gives this error:
    Code:
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>6804291EDE0A5B6A</RequestId>
    <HostId>
    vCCLkXhhLeabo8DcTgtbwAxmXj/J4ePacLn0yNVNMTWDcHdralmKV5PSNiqjfi9s
    </HostId>
    </Error>
  10. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Re-uploaded
  11. Offline

    Rlack

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  12. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  13. Offline

    Rlack

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok, no worrys.
  14. Offline

    xXcraeterXx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hi i love your plugin you do a very good work
    but i cant do any command D:
    the plugin is enable, i have the correct bukkit version and iam an admin so i have all permissions (i think)
    and if i type /help in the chat than there stays PB:Null oO

    pls help me

    and in the server log there is no ERORR or WARNING

    > 00:15:47 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    > 00:15:47 [INFO] Plugin EssentialsGeoIP Version 2.4.2 geladen, erstellt von Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology, übersetzt von snowleo
    > 00:15:47 [INFO] BukkitContrib 0.1.3 has been initialized
    > 00:15:47 [INFO] Plugin EssentialsProtect Version 2.4.2 geladen, erstellt von Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology, übersetzt von snowleo
    > 00:15:47 [INFO] [Paintball] Version 1.4 by IC3D enabled!
    > 00:15:47 [INFO] Plugin EssentialsSpawn Version 2.4.2 geladen, erstellt von Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology, übersetzt von snowleo
    > 00:15:46 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    > 00:15:46 [INFO] WorldEdit 4.6 enabled.
    > 00:15:46 [INFO] Plugin Essentials Version 2.4.2 geladen, erstellt von Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology, übersetzt von snowleo
    > 00:15:45 [INFO] CuboidPlugin version 1.3 is enabled with permissions!
  15. Offline

    xXcraeterXx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    aaaah i found my fault

    i wasnt in the opstxt ^^
  16. Offline

    xXcraeterXx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    now i played on my server and then there was an ERORR in the log and in game:

    An internall error occurend while attempting to perform this command

    Servr Log:
    ... 12 more
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    at me.ic3d.paintball.pb.onCommand(pb.java:383)
    Caused by: java.lang.NullPointerException
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    org.bukkit.command.CommandException: Unhandled exception executing command 'pb' in plugin Paintball v1.4
    > 01:25:55 [SCHWERWIEGEND] null
    > 01:24:16 [INFO] §9[PLAYER_COMMAND] xXcreaterXx: /back
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:163)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
    at net.llamaslayers.minecraft.bukkitcontribessentials.BCEPlayerListener.onPlayerMove(BCEPlayerListener.java:124)
    java.lang.NullPointerException
    > 01:24:06 [SCHWERWIEGEND] Could not pass event PLAYER_MOVE to BukkitContribEssentials

    and i dont see guns i only see the bow and the arrows

    now help me pls ^^ sry that iam spam a little bit sry for my bad english
  17. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It looks like you have other problems as well.
    Read the OP for info on client side guns (as you clearly haven't)
  18. Offline

    wobsy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey can u reupload the .ogg files i cant download them :/
  19. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Right click the link and choose "save target as" or "save link as".
  20. Offline

    litsche

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i use 953 -.- !
  21. Offline

    lKinx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  22. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  23. Offline

    lKinx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So your mod just adds a few commands and requires a retexture of the bow and arrow?
  24. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This isn't a mod, it's a plugin. So yeah, it adds commands for team based play, and because Bukkit can't add items, it uses the bow and arrow, which allows anybody to join the server and play without having to install the mod on their client as well. When BukkitContrib is in its final stages and allows seamless client and server side mod management, this will become a full fledged client and server mod, but until then, it's just a plugin.
  25. Offline

    Underkover

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You should make so you can have more "maps". Like multiply bases and choose map for each battle.
    like: /pb ctf map1, /pb ctf map2 :) but you can choose the name of map1 and map2.

    would be nice :)
  26. Offline

    JjPwN1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    MOST ANNOYING PLUGIN EVER!! Because the people on our server WON'T STOP!! :D. One suggestion is to add like an automatic team distribution so people can't make unfair teams. Also, is there a way to make multiple arenas, if not add that and I would love this plugin!!!
  27. Offline

    heeelp4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey do i Have to have the clientside to play paintball instead of the plugin.
  28. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No
  29. Offline

    heeelp4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok Thanks anyway
  30. Offline

    xfro1029384756

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Also, when i play ctf i dont know how to take the flag do i destroy it? and when i take it to my base nothing happens
  31. Offline

    xfro1029384756

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the hits and lives has a bug i get hit a bunch of times and nothing happens i have it set to 2 hits and 3 lives, and when u die and still have lives were r u supposed to tp. maybe the bug is cus i dont have a spectate place yet
  32. Offline

    captainawesome7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just try setting the spectate place.

Share This Page