Pushball
Pushball
play a game of soccer on your server! just place a block type in a command and wollah you have a soccer ball! just walk up to the ball to push it. Push balls up hills and let them roll down the other side, push them into a 2 high wall and watch them bounce off of it
Features
- Economy Support
- Permissions Support
- Easily create and destroy push balls
- push blocks up hills
- let them roll down the other side
- balls bounce off 2 high walls to ensure they don't get stuck in corners
- simply destroy the block to get rid of pushball
- easily create automated arenas for your players to play in
- request features below!
Commands
/pb, /pball and /pushball can all be used for the commands below
/pb create <name> - makes the block you are looking at a pushball
/pb createArena <name> - creates an arena using your current selection
/pb delete - deletes the pushball you are looking at
/pb delete <name> - deletes the pushball by its name
/pb deleteAll - deletes All pushballs
/pb deleteArena <name> - deletes the named arena
/pb set <goal1:goal2:ball:ballspawn> <arena> - sets an attribute of an arena
/pb wand - gives you the selection wand
/pb select <1:2>
/pb start <arena> - starts the game in the named arena
/pb stop <arena> - stops the game in the named arena
/pb time <arena> - tells you the time left in the named arena
/pb list <balls:arenas> - lists all the current pushballs or arenas
/pb help - displays help
/pb info <name> - shows the info of the named player
/pb info - shows your info
How to Create An Arena
Its easy to create an arena below are the steps to do so
1. Selection
To select a selection using left and right clicking you need a wand. By default the wand is a stick which you can get from your creative inventory or you can get the wand by using the command /pb wand. The item used for the wand can be changed in the config. If you dont want to use the wand you can look at the block you want to select and type /pb select <1:2>. the 1 and 2 are the points so you can use /pb select 1 to select point 1.
2. Creating the Arena
Once you have selected the area for the arena you have to create it. Note, the selection of the arena automatically spans from the bottom of the map to the top. To create the arena simply use the command /pb createArena <name>. The name that you select will be used for almost all arena related commands so pick a good one. Thats it! you have now created the arena.
3. Setting the Goal, Ballspawn and Ball
You now have an arena, great! but you cant play on it without goals and a place for the ball to return to each time you score. To set the goals you simply select the goals using the technique stated in point 1. Note, the goals do not span from bottom to top of the world so go crazy with your arenas (maybe make the goals on different levels that you have to get them to instead of making just a default soccer field). To set the goals simply use the command /pb set <goal1:goal2> <arena>. You can use this to set goal1 and goal2!
Now to set the ballspawn simply stand where you want the ball to spawn and use the command /pb set ballspawn <arena>. This will set where the ball will spawn.
To set the ball for the game you can look at the pushball and type /pb set ball. Note, this is optional and is only recommended if you want a ball other than the default white wool that will be spawned if a ball is not set.
4. Start your match
You have now created an arena! But how do i play in it. Just use the command /pb start <arena> and it will start the match. Then to join the match type /pb join <arena> and you will be added the the game. You can also stop the game by using /pb stop <arena> or check how much time is left in a match by using /pb time <arena>.
Permissions
Important! Do not add the colons ":" to the permissions. for example below there is a permission that is pushball.create.ball with a colon to indicate going onto the info for that permission. so for the example you wouldnt do "pushball.create.ball:" but instead "pushball.create.ball"
pushball.*: description: Gives access to all pushball commands children: pushball.delete.all: true pushball.delete.own: true pushball.ride: true pushball.create.ball: true pushball.create.arena: true pushball.list: true pushball.info.own: true pushball.info.other: true pushball.paybypass: true pushball.delete.*: description: Gives access to all pushball delete commands children: pushball.delete.all: true pushball.delete.own: true pushball.delete.arena.own: true pushball.delete.arena.all: true pushball.set.*: description: Gives access to all set commands children: pushball.set.goals: true pushball.set.ball: true pushball.set.ballspawn: true pushball.info.*: description: Gives access to all pushball info commands children: pushball.info.own: true pushball.info.other: true pushball.create.*: description: Gives access to all pushball create commands children: pushball.create.ball: true pushball.create.arena: true pushball.create.ball: description: Allows you to create a pushball default: true pushball.wand: description: Allows you to obtain a wand using /pb wand default: op pushball.join: description: Allows you to join a pushball match default: true pushball.start: description: Allows you to manually start a match default: op pushball.stop: description: Allows you to stop a match default: op pushball.time: description: Allows you to see how much time is left on a match default: true pushball.set.ballspawn: description: Allows you to set the ballspawn for an arena default: op pushball.set.ball: description: Allows you to set the ball for an arena default: op pushball.set.goal: description: Allows you to set the goals for an arena default: op pushball.select: description: Allows you to set a selection default: op pushball.create.arena: description: Allows you to create a pushball arena default: op pushball.ride: description: Allows you to ride on pushballs - Currently obsolete because riding pushballs not working default: true pushball.delete.arena.own: description: Allows you to delete arenas you made using command /pb deleteArena <name> default: op pushball.delete.arena.all: description: Allows you to delete all arenas using command /pb deleteArena <name> default: op pushball.delete.all: description: Allows you to delete all pushballs using command /pb deleteAll default: op pushball.delete.own: description: Allows you delete a pushball you have created default: true pushball.list: description: Allows you to view all pushballs names default: true pushball.help: description: displays pushball help default: true pushball.paybypass: description: Allows players to create pushballs without paying default: op pushball.info.own: description: Allows you show your own info default: true pushball.info.other: description: Allows you to show another player's info default: true
Plugin Metrics
if you would not like to be involved in this simply change the value opt-out: false in the plugin metrics config to opt-out: true
Support Pushball
copy the code below into your signature and help pushball grow!
For BukkitDev Sigs:
[[http://dev.bukkit.org/server-mods/pushball/|{{http://dev.bukkit.org/media/images/52/758/pushballLogoPlain_small.png|Pushball}}]]
For Bukkit Forums Sigs:
[URL='http://dev.bukkit.org/server-mods/pushball/'][IMG]http://dev.bukkit.org/media/images/52/758/pushballLogoPlain_small.png[/IMG][/URL]
The code above will add the following image/link to your signature.
Donate ===
Donating helps me find time to update this plugin! although not necessary donating is greatly appreciated! a donate button can be found in the top right of the page if you would like to help me out!
Everyone if you have the paintball plugin instead of using /pb use /pushball, in the next update i am adding another aliase /pball
@AdaClar
hmm, i will look into this, thanks for letting me know
Edit: setting goal2 message was just a type sorry about that, it still sets goal 2 though.
Edit2: i am not sure about the starting the arena one... i have looked through the code and there is no possibility of it not showing you a message without an error. Did you get an error? and if not did you try it again to see if it was just a one time thing, Sorry for the inconvenience
I was trying to start an Arena that i had made (On multiplayer) and when i used the command: /pb start minipushball (minipushball is the name of my arena) nothing happened. No /pb help [page] message or anything. I'm sure that the arena didn't start, because I could not join it. Also, when setting the goals, I created the first goal no problem but when i created the second one using /pb set goal2 minipushball it told me that i succesfully set goal1. but I typed in goal2. Maybe this has something to do with the arena not starting? Yes, i am op'ed. Am i doing something wrong? Please help.
Yes we need different commands, such as /pball or /push. Just suggestions, I would use this in my server right now but the commands will not work with the paintball plugin we are already using. If you could change this, then you have my download.
can you pls change the commands I can not paintball and pushball because all 2 / pb is! sorry for my bad english
Pushball V3.0 -DEV is out!
keep in mind that it is a dev build so there may be some bugs
This is a dev build so expect some bugs, if you run into any please post below, pm me or make a ticket.
Changes:
+ Added Arenas!
+ fixed for 1.5.1
As you may have noticed from above i have added arenas to pushball! That is why this update is so late, sorry bout that. Note that i still have lots to do with these arenas like adding rewards. If you have any suggestions please post them below and i will see to get them added to the plugin if i like the idea.
I need 1.5 verson for this plugin, update please!
A new version is out and it does not have any of the bugs that are listed below and it works in the version 1.4.7. The only problem with this version is that i had to remove riding on pushballs due to some errors with it.
@Newpoman
i am currently working on arenas and games and i do have a black list except i have to add the blocks manually to it so currently i only have some objects. By the way making pushballs any block doesn't really matter because my plugin makes the blocks not drop items if its in the middle of the air. For example if you make a pushball a sign then it won't drop a million signs when dropping through the air.
nice plugin.... just a few issues though.. Being able to make a goal with certain blocks that would make the goal count, keep score, and reset the ball to the middle of the field would be awesome. Also need to have an item blacklist or only be able to use a certain block for a ball. being able to make any block a ball is not good.
sorry guys i have been away for 3 weeks and i also just went back into school i do not like giving excuses and i am sorry i havent updated it yet but i will start working on it tonight
Update please!!!
The ticket I made possibly covers some of the others' issue.
http://dev.bukkit.org/server-mods/pushball/tickets/4-version-2-3-an-error-prevents-loading-of-pushball/
Doesn't run at all.
@Sothatsit
I'm afraid I have to confirm the plugin malfunction when used with CB version 1.4.6-R0.1 (also it doesn't work with R0.3). Could you please update the plugin?
Here is the error message:
2013-01-01 03:38:08 [SEVERE] Could not load 'plugins/Pushball.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/DataWatcher at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugins(CraftServer.java:235) at org.bukkit.craftbukkit.v1_4_6.CraftServer.reload(CraftServer.java:585) at org.bukkit.Bukkit.reload(Bukkit.java:184) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchServerCommand(CraftServer.java:502) at net.minecraft.server.v1_4_6.DedicatedServer.al(DedicatedServer.java:260) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/DataWatcher at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.DataWatcher at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 17 more
@Sothatsit
When you update to 1.4.6?
Change the command /pb for something else? There http://dev.bukkit.org/server-mods/arenapaintball/ plugin which also uses this command, which pushball does not work ;(
@Nickbbeezy
i will probably work on an arena version of this plugin after i have finished the plugin i am currently working on.
@Deps7
the current download should work for 1.4.6 if it doesnt please tell me and i will update it
But for the version 1.4.6, there is no update?
Would love to see an arena version of this plugin!
Thanks for all the support guys! i never thought i would ever get 100 downloads never mind 3,000!