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.
@z65703071
Can you paste me an error log please?
@ccrama oh sorry! That's because maybe I forget to delete the old config. Thanks for your attention.You will improve the holo to display the mob name in next update which not the mob type ? Also, I found other bugs. When some mob was not slain . For example natural death or other manner of death. You will get many error message . That's I updated to the latest version and tested to get these conclusion.
@z65703071
Can I see your config file? I believe that may be the issue. Also, please use www.pastebin.com for errors!
Since I updated to version 1.0 . The server will always get many error when I killed a player or mob but before I using this plugin was no problem. Now , I forced to use the old version.
[11:14:19 ERROR]: Could not pass event EntityDeathEvent to HOLOPopup v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:320) [spigot.jar:git-Spigot-1314] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [spigot.jar:git-Spigot-1314] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredLi stener.java:30) [spigot.jar:git-Spigot-1314] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:482) [spigot.jar:git-Spigot-1314] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:467) [spigot.jar:git-Spigot-1314] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDeat hEvent(CraftEventFactory.java:349) [spigot.jar:git-Spigot-1314] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDeat hEvent(CraftEventFactory.java:342) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.EntityLiving.die(EntityLiving.java:800) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.j ava:739) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.EntityMonster.damageEntity(EntityMonster .java:47) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.EntityZombie.damageEntity(EntityZombie.j ava:156) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.EntityHuman.attack(EntityHuman.java:923) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java :1132) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.a(SourceFile:55) [ spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.handle(SourceFile: 10) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147 ) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java :77) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6 98) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 73) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 60) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :467) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [spigot.jar:git-Spigot-1314] Caused by: java.lang.NullPointerException at me.ccrama.HOLOPopup.Main.killAnimals(Main.java:98) [?:?] 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.ja va:318) [spigot.jar:git-Spigot-1314] ... 21 more
Also, Can you improve the holo to display the mob name and support the mob health plugin?
@DahDuff
In the works for v1.2 in a few weeks!
@Everyone
I will upload v1.0 tonight, with per-mob messages/rewards, a bug fix for the economy reward system, and may upload to Github within the next few weeks!
Change your license to open-source compatible license and make the plugin available on Github please. :(
@ccrama
I would highly appreciate it if you could add permissions :D
I will upload a fix for the double reward tonight. Thanks for anyone who reported it!
@BD35120
That's not really the point of the plugin. I recommend trying something like Holo API for that (search on bukkit dev)
@IngrownPenguin
That is a known bug, I'm working on it!
@GGoldRock2k
Might release source at a later date!
I do not know if someone has already asked: Is it possible to add this: if a player presses a button, a hologram appears (something like that)
(sorry for my english, I'm frensh)
Hi ccrama it will be good idea if you give as a source code i will be very :) about it
I get the same issue, When you kill a mob you get the reward for the player, but you still get the message for a mob, so you get "$5" but you get given $10, cant wait for per mob support, really nice idea
@boidyluke
@ReevoXF
I believe it's a bug, I will look into it!
also if you want to add our ip to your desc to show an example it play.astracraft.com we have it up and running and works great! thanks for the plugin!
also get same reward for killin mobs as players? awesome pl by the way! :) added: ✞ to my messages, makes it look kewl imo :)
@ReevoXF Make it:
Time: 2 PLAYER: Message: '&6&lYOU HAVE KILLED %name%, &3You have recieved $100' Reward: 100 MOB: Message: '&3You killed a %mob%, You have received $10' Reward: 10
This Plugin is really nice, but how can i set it in 2 different lines and can you add a time-cooldown for the messages?
If I kill a mob...i receive the money from 'if i kill a player'... :-?
Time: 2 PLAYER: Message: '&6&lYOU HAVE KILLED %name%, &3You have recieved $10' Reward: 100 MOB: Message: '&3You killed a %mob%, You have received $5' Reward: 10
@AConsolePeasant
It should be %mob%, not %mobtype%. Will add support for both in next update though!
@LiLChris06
I will probably add that in next update. Thanks!