I need a plugin that broadcast a death message and who kills who. When a player get killed by a another player it shall be broadcasted like "<victim> got killed by <killer> with <weapon>" When you take your mouse over the weapon it will tell you every information about the weapon for example "player1 got killed by player2 with My Sword" When i hover over "My Sword" it will come op the enchantings for that weapon For example the weapon had looting 2 when you hover over the weapon name will looting 2 come up on the tool tip
This could be achieved through the use of commandblocks if you are desperate enough. I haven't seen much of the new MC features used in plugins.
I understand the first part with the player death message (that'll take 5 min.) But, the second part makes no sense... explain
Justinian6 he means like when u hover over a link and a text box appears he wants you to manipulate that to show the info
How can i do it? I wan't it like the death message to be for example a sword is named "Swordio" and someone kills a player with that sword the deathmessage will be "Michaled killed Jason with Swordio". You know when players gets achievements on a server now todays you can hover your mouse over the achievment name and a tooltip will come and tell you how to get that achievement. What i trying to explain is when you have your mouse cursor over Swordio in the death message it will come up a tooltip about what wepon it is and what enchanting it has. For example swordio is an diamond sword when you have your cursor over the name a tooltip will come up like you have the item in your inventory. timtower do you understand me?
yes... so far I only have the enchantments being displayed over the name of the item... is there any other thing about the item you want displayed???
Yes the real name of the item too so i won't be trolled with the death message when people have a diamond sword and named it a wooden sword But its optional
ok https://drive.google.com/file/d/0B6lFzKffh5BqWUZKV3JKb3cyZkU/edit?usp=sharing tell me if there are any bugs etc. I'll be more than happy to change anything for you EDIT by Moderator: merged posts, please use the edit button instead of double posting.
oh ya... for the Chat hover thingy you need ProtocolLib and ChatLib http://dev.bukkit.org/bukkit-plugins/chatlib/ http://dev.bukkit.org/bukkit-plugins/protocollib/ no... only Death Messages I gave you the links to the other dependencies though
Justinian6 the tooltip thing you could add with the JSON Chat message now and you wouldn't need ChatLib and ProtocolLib as the JSON Chat Message is downloadable to put into your own Plugin
ProtocolLib is for easy packet handling without updating every 2-3 months. ChatLib is for easy access. You can also make plugins without the bukkit api but I don't see anybody doing that either.
hmmm... let me check could you send me a picture? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Its not allowed to comment twice you must edit your comment to not comment twice. I send the server log tomorrow
Justinian6 sorry for the long waiting time no one was on the server when i should kill someone put i got the problem fixed. The plugin did just happen to work for some reason. Here is the log if you wan't to see http://pastebin.com/TavdMMXB
Justinian6 timtower I have a problem with the plugin the enchantings and the real item name is on the same line so when players have more that 5 enchantings it will go out of the screen any idea how to make the enchantments and the real name on seperate lines?
cato11112 Ummm.... I don't think the JSON supports the new &n for a new line... try asking one of the others, to be honest I don't know... sorry.