FireWorkLevel
FireWorkLevel
FireWorkLevel
Make leveling up more fun with FireWorks!
What does it do?
Every player with the permission firework.level will be surprised with a randomly generated FireWork when they level up! That means: random colours, random power random effects and random shapes.
It's simple and lightweight!
There's also (completely optional) MCMMO support.
To everyone who is wondering if this makes the plugin less lightweight: it does not! It's still as lightweight as it used to be - unless you're using this function. By default, it is set to false in the config.yml. You also won't be bothered if you simply don't use McMMO. The plugin is still simple and lightweight, so don't worry!
Anything else?
Nope! This plugin is as simple as it should be: you're done with a single permission node. If you have any suggestions though, you are free to post them in the comments! Keep in mind I want to keep this as lightweight as possible.
* Please note: you will need build #2565 or higher for this plugin, otherwise it won't work! See dl.bukkit.org! *
Latest file link
http://dev.bukkit.org/server-mods/fireworklevel/files/5-fire-work-level-v1-04/
Concept & Image
The concept for this plugin came from KylexDavis. He requested this plugin on the forums.
Wumpyc made the image for this plugin.
Can you add a config for the interval between levels? Like fireworks after every x levels?
@Rprrr
Oh sorry about that, I presumed the latest version of bukkit I could find was the latest build, as we are using 1.4.6 0.1 for the server. Once again, sorry for this!
@thomasmccarron
Please run build #2565 or higher. I don't want to be harsh, but that's written in multiple places all over these BukkitDev pages.
The beta build is #2561. That means it won't work. Install build #2565 or higher. See dl.bukkit.org for a list of builds and downloads.
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) [ at java.lang.reflect.Method.invoke(Method.java:601) [ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source) [ at com.gmail.koningluka.fireworklevel.FireWorkLevel.onLevelChange(FireWorkLevel.java:34) [ at org.bukkit.craftbukkit.v1_4_6.CraftWorld.spawnEntity(CraftWorld.java:328) [ at org.bukkit.craftbukkit.v1_4_6.CraftWorld.spawn(CraftWorld.java:781) [ at org.bukkit.craftbukkit.v1_4_6.CraftWorld.spawn(CraftWorld.java:1001) [ Caused by: java.lang.IllegalArgumentException: Cannot spawn an entity for org.bukkit.entity.Firework [ at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) [ at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) [ at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) [ at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) [ at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) [ at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) [ at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) [ at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) [ at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) [ at net.minecraft.server.v1_4_6.Packet10Flying.handle(SourceFile:136) [ at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:352) [ at net.minecraft.server.v1_4_6.EntityPlayer.g(EntityPlayer.java:225) [ at org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callPlayerLevelChangeEvent(CraftEventFactory.java:403) [ at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) [ at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) [ at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [ at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) [ org.bukkit.event.EventException [ 2012-12-24 20:47:50 [SEVERE] Could not pass event PlayerLevelChangeEvent to FireWorkLevel v1.0
Any ideas? This occurs on both of the latest versions and Im running a stable 1.4.6 server with 16gb of ram, so resources arent an issue.
Uploaded a newer version with an added check that makes sure the player has actually levelled up (previously it launched fireworks on every level change (so also when the level went down)), download it here:
http://dev.bukkit.org/server-mods/fireworklevel/files/3-fire-work-level-v1-02/
*Note that you need build #2565 or higher. Download at dl.bukkit.org.*
@lawrence1998
Run build #2565 or higher. See dl.bukkit.org. The beta build you're running is #2561.
Installed it. Im runnign CB 1.4.6 stable version and it simply dosent work. I added permission node to my default group and imm opped, i threw a bottle fo enchanting on floor and no fireworks :(
Thanks guys. :) It was actually a plugin request on the forums; after I had made it I decided to post it on BukkitDev aswell, since more people might enjoy it.
Although the plugin has not yet been approved by BukkitDev staff, you can already download it over here:
http://dev.bukkit.org/server-mods/fireworklevel/files/2-fire-work-level-v1-01/
Note that you need build #2565 or higher. Download at dl.bukkit.org.
Really brilliant idea, i see this plugin a success in most servers! :D
Yeah, I like it too. I will try it tomorrow :D
Awesome idea!
Love it. Could you add like custom config.