HOLOPopups - Custom Holograms and Rewards PvP and PvE
Great video with all the current features by IngrownPenguin (VariationVault). You should subscribe!
WELCOME TO HOLOPOPUP!
HOLOPopup is a very lightweight (a little under 200 lines!) plugin that utilizes horse nametags to create floating holograms. It uses no dependencies to create nametags, and is totally lag-free! You do, though, need Vault if you would like to use economy support.
WHAT'S IT DO?
This plugin allows you to set a custom message to pop up when a player kills a mob or another player, with multi lines, variables, and colors. The config file is very simple to use, with commented step-by-step configuration.
This plugin includes economy integration, and you can set mob/player rewards on kill for each mob/player. You can disable this by setting Reward: to 0!
METRICS
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Metrics help me as a developer continue to add support for the versions my users are running and help me gague the use of the plugin.
CONFIG/MOB SUPPORT
Visit the config page for more info on that!
New features are coming soon, if you have any ideas for this plugin, please comment below!
There are no commands or special permissions, although I may add permission support in the coming future.
Based on @Ultimate_n00b's Holograms library.
WAIT! Before you post an error, try some quick debugging solutions:
- UPDATE to the latest CB or Spigot version
- Reset config if you are updating from one version to another
If none of this works, paste the error here http://dev.bukkit.org/paste/ and I will try to fix the issue asap.
Version fix for 1.7.5 coming tonight!
@ccrama
haha thanks, when the solution will be available
@Fabyold
Ah, alright. Thanks for the update. I am coding a fix as we speak.
@ccrama
I discovered something just happens to die the player, I have a plugin that saves the inventory and all you have is called SaveItems.
@Fabyold
Can I possibly have a list of other plugins installed? It looks to me (by your log) that the killer is not being found, even though the statement is working on other servers. I believe another plugin may be interfering with the code.
@ccrama
If the only problem with errors consoles.
@lukerock7
Will possibly add this soon :).
@Fabyold
Does the hologram show at all?
@ccrama
I think it is every time someone kills a mob or person.
Although the error always appears in the Console.
You should have a option for disabled worlds, so some of the worlds dont have it. :)
@Fabyold
Hmm. Could you give me an example of when this error comes up? Is it every kill or just certain occasions?
@ccrama
http://dev.bukkit.org/paste/9654/
Use the CraftBukkit Version 1.7.2-R0.3 (Beta Build # 3020) and the plugin is updated to the latest version, and restart the Config and still the same.
Greetings.
@Shaorune
Well v0.1 is very old and v1.0-FIX is the latest version that works fine. Custom locale shouldn't make a difference, as you can change the language the text is displayed in in the config file, and /reload will still reload my plugin. Long story short, my plugin supports all that already. Just update to the latest version!
Hmm, I am a bit ashamed but I have an illegal fork of 0.1.1 that actually works,
even with custom locale and /reload support.
Since the license is all right reserved, I could not make it public.
@alsghl9607
Please read the answer to the last 3 people who have asked this question...
Look in the description where it says "WAIT! Before you post an error, try some quick debugging solutions:"
This will help you
Why this error occur?
I WANT TO USE THIS PLUGIN....
[07:59:23 ERROR]: Could not pass event EntityDeathEvent to HOLOPopup v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.j va:320) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.ja a:62) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager. ava:486) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager. ava:471) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDea hEvent(CraftEventFactory.java:332) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1 7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.EntityCow.dropDeathLoot(EntityCow.java: 6) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.EntityLiving.die(EntityLiving.java:783) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving. ava:732) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.EntityAnimal.damageEntity(SourceFile:14 ) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.EntityHuman.attack(EntityHuman.java:918 [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.jav :1102) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.a(SourceFile:55) spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.handle(SourceFile 10) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:14 ) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [spi ot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java: 55) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java: 50) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java: 45) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.jav :457) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile: 17) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R2/Packet at me.ccrama.HOLOPopup.Main.killAnimals(Main.java:89) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7. _51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7. _51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?: .7.0_51] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.j va:318) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] ... 19 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R2.Packe at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader java:67) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader java:62) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] at me.ccrama.HOLOPopup.Main.killAnimals(Main.java:89) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7. _51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7. _51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?: .7.0_51] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.j va:318) [spigot-1.7.2-R0.4-SNAPSHOT.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] ... 19 more
@Fabyold
Did you read the steps to take before posting an error?
"WAIT! Before you post an error, try some quick debugging solutions:
UPDATE to the latest CB or Spigot version If you are on Spigot, use latest HOLOPopup version Reset config if you are updating from one version to another If none of this works, paste the error here http://dev.bukkit.org/paste/ and I will try to fix the issue asap."//
Your problem should be fixed if you follow these steps.
Error
30.03 18:34:28 [Multicraft] Skipped 6 lines due to rate limit (30/s) 30.03 18:34:26 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_45] 30.03 18:34:26 [Server] INFO at me.ccrama.HOLOPopup.Main.killAnimals(Main.java:63) [?:?] 30.03 18:34:26 [Server] INFO Caused by: java.lang.NullPointerException 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:637) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:480) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1217) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1329) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1348) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityBat.h(SourceFile:109) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityInsentient.h(EntityInsentient.java:150) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityLiving.h(EntityLiving.java:1265) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.Entity.h(Entity.java:239) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityInsentient.C(EntityInsentient.java:111) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityLiving.C(EntityLiving.java:152) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.Entity.C(Entity.java:319) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityBat.damageEntity(SourceFile:199) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:732) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityLiving.die(EntityLiving.java:783) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at net.minecraft.server.v1_7_R1.EntityInsentient.dropDeathLoot(EntityInsentient.java:202) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:332) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:471) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:486) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 30.03 18:34:26 [Server] INFO org.bukkit.event.EventException 30.03 18:34:26 [Server] ERROR Could not pass event EntityDeathEvent to HOLOPopup v1.0
@baksovic111
Update to the latest version of spigot. The spigot version is based off of v1_7_R2. CraftBukkit is a lot less picky, but you need the latest version for spigot.
@baksovic111
lol... never heard of pasting console errors @ http://dev.bukkit.org/paste/ ?
[20:59:56] [Server thread/ERROR]: Could not pass event EntityDeathEvent to HOLOPopup v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:487) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:472) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:349) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityInsentient.dropDeathLoot(EntityInsentient.java:202) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityLiving.die(EntityLiving.java:790) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:739) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityBat.damageEntity(SourceFile:199) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.Entity.C(Entity.java:334) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityLiving.C(EntityLiving.java:159) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityInsentient.C(EntityInsentient.java:111) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.Entity.h(Entity.java:254) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityLiving.h(EntityLiving.java:1272) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityInsentient.h(EntityInsentient.java:150) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.EntityBat.h(SourceFile:109) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1487) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1463) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1332) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:514) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:673) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] Caused by: java.lang.NullPointerException at me.ccrama.HOLOPopup.Main.killAnimals(Main.java:63) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [craftbukkit.jar:git-Spigot-1.7.2-R0.3-122-gb58e277] ... 25 more