Snowballer
Overview
Snowballer!
version: 0.3.0
| craftbukkit: #2149
| Source
Snowballer adds features onto snowballs, primarily for use in MobArena. The most important feature is adding damage, which is only enabled through a permission node. By doing this, you can have snowballs as a weapon type for a specific class in your arena!
Setup
Setup
Config Setup
The config.yml file has some very basic options, which are explained below.
Quote from the Config Setup:snowball_damage: # - This is the damage snowballs will deal. 1 point = 1/2 heart.
allow_dispenser: [true | false] - True means dispensers can throw damage-dealing snowballs.
allow_snowman: [true | false] - True means snowmen can throw damage-dealing snowballs.
use_permissions: [true | false] - True means permissions are checked for player-thrown snowballs.
How To Use
In order to use Snowballer, you have to assign the permission to the users/groups who can have snowball damage (or other effects).
Quote from the Permission nodes:snowballer.damage - Allows snowballs to deal damage when thrown.
How To Use in MobArena
To have damage-dealing snowballs in MobArena-only, assign the Permission to the class(es). Future features will be separate permission nodes, so avoid using snowballer.*
node. For example:
1 2 3 4 5 6 | classes: Megaman: items: snow_ball:64, grilled_pork, bone armor: 298, 299, 300, 301 permissions: - snowballer.damage |
To Do List
My current to-do list:
- See if I can set snowballs on fire (visually).
- Add the permission for snowballs to extinguish fires on players and/or mobs.
- Add different damage levels for snowballs (based on the permission given).
- Change velocity of snowball throws to make them more straight-line shots (as an option, at least).
Changelog
Version 0.3.0
- Compiled and fixed for RB 1.2.5-R1.0 (#2149)!
Version 0.2.0
- Compiled and fixed for RB 1597!
- Allow snowmen to use damaging snowballs.
- Allow permission usage to be disabled (for any non-permission servers out there).
Version 0.1.0
- Beta release!
- Works with MobArena (v 0.94.2)
- Set the damage of snowballs
- Allow dispensers to use damaging snowballs
Hey. Sorry to trouble you but even when I set true for snowmen they deal no damage. I'm running a spigot server.
Thanks
@Feindbild
Why would you hate GitHub???
I hate github, but here's an updated and working version of this plugin: http://www.deinfeindbild.org/snowballer.jar If you don't trust me (you shouldn't), here's the modified source of Snowballer.java: http://nopaste.info/7525e093ac.html SBEntityListener.java becomes obsolete.
Because of the bullshit the CraftBukkit core team decides to force upon developers at the moment, this is exclusively compatible with 1.4.6.
Does it work with 1.4.2 and 1.4.5 servers? I'd love to use it!
Somehow snoballs thrown by snowmen still don't deal any damage :(
I love this mod in the face with face-loving. :D
Perfect for my ice/snow dungeons (built with Catacombs)
Finally fixed Snowballer for 1.2.5 R1.0 (#2149). Takes about 10-30 mins for the file to get approved. :)
Yeah, need to fix this up. I'll try to spend some intimate time with Snowballer tonight and get her patched up. :)
It does not work with 1.2.
2012-03-05 08:01:14 [SEVERE] Error occurred while enabling Snowballer v0.2.0 (Is it up to date?)
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.JavaPluginLoader.getClassByName(JavaPluginLoader.java:234)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:37)
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 ca.agnate.Snowballer.Snowballer.onEnable(Snowballer.java:42)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
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)
Does it work with 1.2?
@jacobems Snowman can now deal damage!
@cena6665 Finally updated Snowballer! File should be accepted by Bukkit in bit. :)
@AgnateHeartstone
it's OK, just looking forward to it :) just hope MA gets updated with some fixes soon lol wish i could help lol.
Sorry all, Christmas season is pretty hectic. Still planning to get this updated (and if all goes well, I'm hoping by Thursday evening). :)
@AgnateHeartstone
awsome :) looking forward to update :)
Just realized this baby needs an update!
I'll add a config option to let Snowmen deal damage, too. :)
:D yay! this will make snow gollems awesome! :3 or will it...?