FunCannon
Main | Permissions and Commands | Default config.yml | FunCannonModes
This is a remake of the Hive Fun Cannon with some cool extra features!
Installation
- Download the jar file and put it in your plugins folder.
- Restart/Reload your server.
- Enjoy the epicness of FunCannon!
How to use FunCannon ?
Since v1.6.1-SNAPSHOT you're able to create FunCannon modes! Take a look.
It's very simple: The plugin gives you the FunCannon item on all enabled worlds. If you have permission to use it you can shoot particles and sounds when you right click it. If you want to know how many times you've used the FunCannon just type "/funcannon stats". It will be saved in the Plugin config how many times you've used it. If you shoot a player he becomes invisible for you a few seconds.
Finally you can edit the messages in the messages.yml. You need at least FunCannon v1.4!
Planned Features
- Editable Cooldown (done)
- Editable Item (Lore (done), Name (done), ID (done))
- Only available in given worlds (done)
- Editable Sounds (done)
- Editable Effects (done)
- Editable Messages (done)
- Editable offset, speed and amount of the particles (done)
- Creating of different types of the FunCannon (done)
- Give money for hitting a player. (in work)
- Give me more ideas, i'll try to work it out!
Can You Add Enchantment In The Cannon?
This plugin is amazing! Only two things that should be added. It seems that there is no give on join command, or even a give command at all. If someone ends up not having one, you have to toggle the world off and then back on again. It should autogive on join in the enabled world. The second thing is, instead of just 1 snowball (or chosen item), there should be a config as to how many are thrown on use. With those two things, this would be absolutely perfect!
@ELSaitam
Ah thank you for the report. I gotta fix it quick.
@ILurch
ERROR: [15:28:01] [Server thread/ERROR]: Could not pass event InventoryClickEvent to FunCannon v1.6.4-SNAPSHOT Build:- org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1586) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:31) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:9) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_75] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_75] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at java.lang.Thread.run(Unknown Source) [?:1.7.0_75] Caused by: java.lang.NullPointerException at de.lurch.funcannon.util.FunCannonItem.onInventoryClick(FunCannonItem.java:63) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_75] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_75] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] ... 14 more [15:28:11] [Server thread/ERROR]: Could not pass event InventoryClickEvent to FunCannon v1.6.4-SNAPSHOT Build:- org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1586) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:31) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:9) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_75] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_75] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] at java.lang.Thread.run(Unknown Source) [?:1.7.0_75] Caused by: java.lang.NullPointerException at de.lurch.funcannon.util.FunCannonItem.onInventoryClick(FunCannonItem.java:63) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_75] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_75] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot-1.8.jar:git-Spigot-52c130f-ce7dd34] ... 14 more [15:28:19] [Server thread/INFO]: [m
@DenTsar
Done. Wait for Bukkits approval.
Oh :) I have another idea. This is for modes's configs. This will be called Fire Item (FunCannon uses snowballs now). This feature will allow people to choose what they will shoot. For example, I have created Snow Cannon and Fire Сannon. For Snow Cannon I will use default fire item - snowballs, but for Fire Cannon I can change it to Enderpearls (or maybe both). Is it real to realize?)
@DenTsar
You have to enable it with the command "/fc toggleworld"
I'll change that in the description.
FunCannon v1.6.3-SNAPSHOT "Give on Join" doesn't work, is it just for me or is it a bug?
@DenTsar The Version is not recommend, there will be lots of bugs and erros. I'm sorry for it.
@ILurch
Thank you so much!) You are the best :)
@DenTsar
Allright, that's a nice idea. I think i can do it.
EDIT: Done
Add commands for separate FC modes. For example: I have 3 FC modes (Fire, Snow and Water) and I want to set this mode via the command - /fc mode fire or /fc mode snow. This would be great for own GUI
@File14
I really can't recognize what your problem is. Everything for me works perfectly.
@DiamondPigman
allright :D
@DiamondPigman
Never Mind, i just didnt enable it in my world
I didn't get given a fun cannon! Is there a way i can get one? Otherwise this plugin looks really cool! :)
@ILurch
Hey man really need your help!
1.3.1 and above you said that you can edit the particles, the link for the particle effects isnt working, please help me, and also how to format the particle effects for the fun cannon,
Also add me on skype: ben.mobarak
Please help me!
@ILurch
Thanks for the list, and the great plugin! As for the sound, any chance to make it so we can have multiple sounds if we wanted?
@CaptDarkStar
You'll get the Error, becaue the Sounds aren't saving as a List, only as one single one.
There is a List of all ParticleEffects: http://pastebin.de/156280
@ILurch
The new version is amazing! Its so simple to change everything. I simply love it! Was the ability to add multiple sounds ever added? I tried it int he config, but it seems to break. Also, you dont happen to have a list of all the current particle effects that you could PM me do you?
@ELSaitam
In the latest version, you are able to adjust the effects in the config. Works beautifully I might add. Or where you talking about changing it from a snowball to something else like an ender eye or something like that?