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

    Rlack

    Ok, no worrys.
     
  3. Offline

    xXcraeterXx

    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!


    aaaah i found my fault

    i wasnt in the opstxt ^^

    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

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

    captainawesome7

    It looks like you have other problems as well.
    Read the OP for info on client side guns (as you clearly haven't)
     
  5. Offline

    wobsy

    Hey can u reupload the .ogg files i cant download them :/
     
  6. Offline

    captainawesome7

    Right click the link and choose "save target as" or "save link as".
     
  7. Offline

    litsche

    i use 953 -.- !
     
  8. Offline

    lKinx

  9. Offline

    captainawesome7

  10. Offline

    lKinx

    So your mod just adds a few commands and requires a retexture of the bow and arrow?
     
  11. Offline

    captainawesome7

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

    Underkover

    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 :)
     
  13. Offline

    JjPwN1

    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!!!
     
  14. Offline

    heeelp4

    Hey do i Have to have the clientside to play paintball instead of the plugin.
     
  15. Offline

    captainawesome7

    No
     
  16. Offline

    heeelp4

    ok Thanks anyway
     
  17. Offline

    xfro1029384756

    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

    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

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

    captainawesome7

    Just try setting the spectate place.
     
  19. Offline

    xfro1029384756

    worked :D awesome plug in i love it!
     
  20. Offline

    xXFuZioN360Xx

    When I Type The cmd /pb CTF its start the game but no one goes to there spawn and no one gets a bow and arrows? and same with /pb tdm.:( HELP!
     
  21. Offline

    Underkover

    Hey, Nothing happends when someone gets hited :S
     
  22. Offline

    Khrysos

    Have you tried putting the team bases and the flag bases first ?
     
  23. Offline

    xXFuZioN360Xx

    I fIXED IT BUT THANKS ANYWAY
     
  24. Offline

    aidanhd500

    can someone make a video tutorial or direct me to a video tutorial
     
  25. Offline

    Hamad

    weird, when trying to download, i get error: failed to load main-class manifest from bla bla bla
    first time happens to me
     
  26. Offline

    VatriXxX

    CTF and tdm doesn't work, after kill the other team it's not ended at tdm mode.
    After capture the flag from other team doesn't finished the game.
     
  27. Offline

    SNOWMANEH

    When every i edit the yml the plugin wont work please help
     
  28. Offline

    captainawesome7

    Just like every other yml:
    • Dont use tabs, use spaces
    • If you can't figure out how to edit a text file, I can't help you
     
  29. Offline

    Webmaster

    Hi, guys!
    I have a problem: plugin loads at the server, but I can't manage from the game. I wrote "paintball.commands" at the permission file. What should I do?
    P.S. I'm newbie and sorry for my bad English :(
     
  30. Offline

    iislight

    I have a paintball server with multiple maps, Could you possibly make say, Bluebase1, Bluebase2, Redbase1, Redbase2?
    Please?
     
  31. Offline

    BlackJack65

    The commands don't work :( why ?
    I can't use the commands In-Game.
     

Share This Page