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

    thats because its out of date by a lot
     
  3. Offline

    grid21

    i get an error when I load this plugin. Help!!

    2012-06-24 21:37:06 [SEVERE] Could not load 'plugins\Paintball.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at me.ic3d.paintball.pb.<init>(pb.java:33)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.entity.EntityListener
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 27 more
     
  4. Offline

    captainawesome7

    thats because its super old
     
  5. Offline

    grid21

    Is there going to be an update? The guys on my server keep asking about it! Is there another one I can use in the mean time?
     
  6. Offline

    YoMad

    I cant get it working do i need any other plugins to make it work
     
  7. Offline

    captainawesome7

    its super old

    http://uplugins.weebly.com/paintball.html

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

    YoMad

    how old? what version do i need to run it
     
  9. Offline

    captainawesome7

    it says at the top 953, so whatever version that is. I'm working on a new plugin if you want to try it out, dl it here. Info can be found here.
     
  10. Offline

    YoMad

    aweseomeeeeee
     
  11. Offline

    captainawesome7

    just send me a message with any bugs that you encounter
     
  12. Offline

    grid21

    I like it but I don't use spoutplugin. Does it need it??
     
  13. Offline

    captainawesome7

    It does need the plugin but not spoutcraft.
     
  14. Offline

    grid21

    So how do I get it to work then? Also do you know of a plugin that randomize what game people end up playing? I have parkour and paintball. And I want people to get a random game when they goto the world. I use multiworld plugin.
     
  15. Offline

    YoMad

    will do still didn't find any
     
  16. Offline

    captainawesome7

    You could probably write your own plugin pretty easily that would do just that.
     
  17. Offline

    DarkVOODO

    Can you make it so the map changes every round say this message Round changing in 30 seconds etc also can you make it so people can get ranks like armor rank leather is what you start out whit then iron then gold then diamond then chain also would love to see a king of hill gamemode and also would like to see differnt type of ammo you can say like snow is the regular kind then egg is like a snowbomb were it blows up 2x3 radius and slime were you can chuck it at some one and it make them walk slow :D sorry i couldnt find were to make a coment it wouldnt allow me to do it and i couldnt find IT :) also if you could make like a money sytem 4 it so when the round end 4 how many people you killed it rounds up and give you the amount you disever Please tell me if you can do some of these changes :D
     
  18. Offline

    ASIANBRO24

    Could not load 'plugins/Paintball.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at me.ic3d.paintball.pb.<init>(pb.java:33)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.entity.EntityListener
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    WHAT DOES THIS MEAN(MAC) HELP?????
     
  19. Offline

    captainawesome7

    It's outdated, try the one here instead.
     
  20. Offline

    DarkVOODO

    So confuse
     
    captainawesome7 and ASIANBRO24 like this.
  21. Offline

    ASIANBRO24

    Also for some reason i cant /pb end and i get this saying "An internal error occured while attempting this command" could it be that i am on a team myself? and i can other player also use the start command or only ops?

    can you make it so that there is a limit on how much someone can shoot out of the flint and also at first it said i was out right with one hit but can you make it so it doesnt i got this mod that makes snowballs do damage it was like snowball wars i think.......also do about everything that darkcoodoo has said!!!!

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

    captainawesome7

    only ops can use the commands (besides join/leave/list/texture). You can end the game with only one person playing, open your log and paste the error as a reply so I can try to fix it.

    When you play paintball you go out with only one hit, so it's going to stay that way.

    I don't know if you guys use this plugin still, but the new version (0.3) will automatically update itself (you can disable it). I just added that in so when I update it with new stuff you don't have to go back to the site or check or whatever. You can download it here. It's probably a good thing to dl cause I'm adding CTF soon (working on it), and I'm working on new weapons.
    *Edit* Version 0.3 also adds permissions in addition to ops, so check the site here for the nodes.

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

    Shacx

    Well it says:
    [Paintball Error] Error loading configuration
     
  24. Offline

    captainawesome7

    Did you ever use /pb save like it says to here?
     
  25. Offline

    grid21

    But your plugin needs spout craft which I don't like. If you made it so it didn't use spout I would be willing to use it.
     
  26. Offline

    captainawesome7

    your loss
     
  27. Offline

    Shacx

    Yes i typed it in (while in the server) and it didnt say anything
    Am I supposed to type it in the console?
     
  28. Offline

    captainawesome7

    its supposed to save the config to /plugins/paintball/config.yml
    can you check the log for any errors?
     
  29. Offline

    Julloe15

    It is possible to vote for a paintball map?
     
  30. Offline

    captainawesome7

    no
     
  31. Offline

    bjsnow

    When I Type In anything even like /pb help nothing comes up and this is the error 10.07 01:40:02 [Server] INFO [Paintball Info] Paintball is up to date.
    10.07 01:40:02 [Server] INFO [Paintball Info] Default configuration values used.
    10.07 01:40:02 [Server] INFO [Paintball Error] Error loading configuration.
    10.07 01:40:02 [Server] INFO [Paintball] Enabling Paintball v0.4
    10.07 01:40:01 [Server] INFO [Spout] Enabling Spout v1244
    10.07 01:40:01 [Server] INFO [Paintball] Loading Paintball v0.4
    10.07 01:40:01 [Server] INFO [Spout] Loading Spout v1244
    10.07 01:40:00 [Server] INFO 182 recipes
    10.07 01:39:57 [Server] INFO CONSOLE: Opping bjsnow
    10.07 01:39:33 [Multicraft] bjsnow ran command Message of the Day
    10.07 01:39:32 [Connect] User bjsnow, IP 122.109.137.58
    10.07 01:38:05 [Server] INFO [Server] �8World saved.
    10.07 01:38:05 [Server] INFO CONSOLE: Forcing save..
    10.07 01:38:05 [Server] INFO CONSOLE: Enabling level saving..
    10.07 01:38:05 [Multicraft] Auto-saving world...
    10.07 01:28:02 [Server] INFO [Server] �8World saved.
    10.07 01:28:02 [Server] INFO CONSOLE: Forcing save..
    10.07 01:28:02 [Server] INFO CONSOLE: Enabling level saving..
    10.07 01:28:01 [Multicraft] Auto-saving world...
    10.07 01:19:42 [Server] INFO Connection reset
    10.07 01:19:42 [Disconnect] User AustinJ2010 has disconnected, reason: disconnect.quitting
    10.07 01:18:27 [Multicraft] AustinJ2010 ran command Message of the Day
    10.07 01:18:27 [Connect] User AustinJ2010, IP 24.68.176.137
    10.07 01:18:06 [Server] Startup Done (4.429s)! For help, type "help" or "?"
    10.07 01:18:05 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
    10.07 01:18:05 [Server] INFO Preparing start region for level 2 (Seed: -7714166012467884262)
    10.07 01:18:05 [Server] INFO Preparing spawn area: 73%
    10.07 01:18:03 [Server] INFO Preparing spawn area: 12%
    10.07 01:18:03 [Server] INFO Preparing start region for level 1 (Seed: -7714166012467884262)
    10.07 01:18:02 [Server] INFO Preparing spawn area: 52%
    10.07 01:18:01 [Server] INFO Preparing start region for level 0 (Seed: 934567463691169746)
    10.07 01:18:01 [Server] INFO Default game type: 0
    10.07 01:18:01 [Server] INFO Preparing level "world"
    10.07 01:18:01 [Server] INFO ... 11 more
    10.07 01:18:01 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source)
    10.07 01:18:01 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source)
    10.07 01:18:01 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    10.07 01:18:01 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    10.07 01:18:01 [Server] INFO at java.net.URLClassLoader.findClass(Unknown Source)
    10.07 01:18:01 [Server] INFO at java.security.AccessController.doPrivileged(Native Method)
    10.07 01:18:01 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source)
    10.07 01:18:01 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source)
    10.07 01:18:01 [Server] INFO Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.material.CustomItem
    10.07 01:18:01 [Server] INFO ... 8 more
    10.07 01:18:01 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
    10.07 01:18:01 [Server] INFO at java.lang.Class.forName(Unknown Source)
    10.07 01:18:01 [Server] INFO at java.lang.Class.forName0(Native Method)
    10.07 01:18:01 [Server] INFO Caused by: java.lang.NoClassDefFoundError: org/getspout/spoutapi/material/CustomItem
    10.07 01:18:01 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    10.07 01:18:01 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    10.07 01:18:01 [Server] INFO at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    10.07 01:18:01 [Server] INFO at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    10.07 01:18:01 [Server] INFO at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    10.07 01:18:01 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    10.07 01:18:01 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    10.07 01:18:01 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    10.07 01:18:01 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
    10.07 01:18:01 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/getspout/spoutapi/material/CustomItem
    10.07 01:18:01 [Server] SEVERE Could not load 'plugins/Paintball.jar' in folder 'plugins'​
     

Share This Page