Snowmen
Donate if you appreciate the work as it costs a lot of time and effort to create this plugin. If not then I hope you let other people know about my work.
Description
Introduction video!
Let snowmen distract creatures like creepers, zombies, spiders and all the other annoying monsters when survivaling.
With this plugin you can create a statue where snowmen can be summoned.
You will just spawn snowmen, they will not follow you or whatever. They are just meant to distract other creatures.
It is really simple.
Just create a statue:
[Jack 'O Lantern]
[Iron Block]
[Iron Block]
(So it's just like creating a snowman but replace snow blocks with iron blocks and the pumpkin with a jack o lantern.)
People can now interact with the statue while having 15(default) snowballs(default) in their hand.
You can configure the needed item and amount.
You can also give the item a name. (default: Snowballs)
How to install
Just copy Snowmen.jar to your /plugins folder.
You also need Vault, go here to get Vault!
Configuring
Needed amount: 15 // Needed amount of the set item. Used item: 332 // Item used to summon snowmen. Used item name: Snowballs // Name of your item. SnowballDamage: 5
Needed amount: 15
Change this to the amount you want to be used.
NOTE: This will be the amount of the item IN HAND so an amount above 64 will probably not work and above 16 for snowballs won't work either.
Used item: 332
Item id of the item you want to be used. (default: 332 >> snowballs)
Used item name: Snowballs
Item name, only used for the plugin. The item will keep its original name in your inventory.
Permissions
- snowmen.statue.create >> Allows the user to create a snowmanstatue.
- snowmen.statue.destroy >> Allows the user to destroy a snowmanstatue.
- snowman.summon >> Allows the user to summon a snowman.
Planned features
- Snowballs do damage so the snowmen fight for you.
- Configurable statue items
Changelog
Changelog can be found here.
does it protect y from attacking players
Plugin updated and fixed the errors.
@PAL18
It should be. I use PEX myself too. But I am currently making my other pugin 'StartersQuiz' R5 compatible. After that I will make this R5 compatible and check permissions for it.
KR Sluijsens
Is this plugin compatible with PermissionsEx ?
I gave my usergroup permission to use the snowmen, but when i right click the totem, it says "Snowmen~ You do not have permission to summon snowmen!". I know the plugin works because when i had op permission it let me summon the snowmen.
@jacobems
That's right. I am making a video that will explain how the plugin works.
@Sluijsens
Oh I get it now. So you right click on the statue with a stack or so of snowballs and it will spawn a snowman?
Ahh k :D Thx
@theask
File still needs approval i see.
You can download it here for now.
Ok... And where can I download the Fix? xD
@theask
Ah okay, well. It wasn't a very big problem. It only occured when you where interacting with air.
But I fixed it:)
KR Sluijsens
I dont test if it works... But This came every second... So I dont try it if it work^^
@theask
But is it working as it should? I am also getting this error but everything works as it should.
Weird stuff. I am trying to fix it.
KR Sluijsens
BUG FIXED
The Plugin sounds Nice but...
17:14:47 [SEVERE] Could not pass event PLAYER_INTERACT to Snowmen java.lang.NullPointerException at me.sluijsens.Snowmen.Snowmen.validateBlock(Snowmen.java:64) at me.sluijsens.Snowmen.SnowmenPlayerListener.onPlayerInteract(SnowmenPlayerListener.java:22) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:825) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:196) at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:38) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
@jacobems
The statue is not the snowman itself. The statue is used to summon snowmen and will never disappear (unless it is destroyed). This way players dont need 2 snow blocks and a pumpkin but just a specified amount of a specified item.
I dont know if its possible to let them follow you.
I dont see anything different about the snowmen besides the blocks atm...i see u r going to add snowball damage but does it do anything different yet? :P all i really care about is the damage tho so this is fine for my purposes. Though it might be nice to have them follow you...