ItemToChat
ItemToChat
Summary
Ever thought it would be neat to have a way to display items in the chat like what you can see in big MMORPG like World of Warcraft or Guild Wars 2? It's now possible with this plugin.
You can just middle click an item and it will send it to the chat.
Commands
/itc reload
: Guess what it does :-)/itc send [player]
: Show an item in the chat/itc send [player]
: Sends an item to a player trough the chat (when he click it, the item is taken from you inventory is put in his)/itc give [player]
: Same than send but the item is not taken from your inventory/itc transaction <clear> [player]
: Clear all transactions (from a player if specified)
Permissions
itemtochat.*
: Give access to all ItemToChat features
itemtochat.commands.*
: Give access to all ItemToChat commands
itemtochat.commands.reload
: Reload config from file (default is op)
itemtochat.commands.show
: Use /itc show command (default is true)
itemtochat.commands.send
: Use /itc send command (default is true)
itemtochat.commands.give
: Use /itc give command (default is op)
itemtochat.chat.*
: Give access to the chat related features
itemtochat.chat.message
: Show an item into the chat using a placeholder (default is true)
itemtochat.chat.click
: Click to get item on usable messages (default is true)
Config
The plugin is still in heavy development. As a consequence, the configuration file evolve almost every time I make a change... Beware that if you download this plugin, you should remove the config file every time you update until a release is released :-)
Features
[X]
Display item in the chat by clicking it[X]
Display item in the chat by typing[item]
in the chat[ ]
Display item in the chat with the possibility to click it to get it[ ]
Possibility for admins to clear the transactions[ ]
Handle all item data[ ]
Add more stuff to the config
Development
The project is published under GNU version 3 license, the source code is available on github so feel free to contribute!
Alpha testing
See the continuous integration page to try the lastest version of the plugin.
@bendembd
Do you know to make this what i want if you know pls help me ! I think it can work with essentials chat !
@Veljko456
I'm not developing for bukkit anymore, I'll make small updates if necessary, but considering how bukkit developement is dead, no new features or projects will come. Also, this project has always been experimental and I won't continue it.
Can you make your plugin to to this ? When some player kill another to can see enchant on that sword pls its very useful and i rly need that i looking for that for a long time !
@DrakeSnodgrass
Yes it does:
doesn't work with 1.8.1
est on update?
hey, can you add a option so it has no item names?
for example: if I hold a leather chestplate and type [item] it will show [Leather Chestplate]. Is there a way to show [item] or [show]?
all my server's armor are made of colored leather (bronze armor is orange, ruby red, etc) so it's kinda strange to link a ruby item and see it's actually called leather
@Mateix27
I'm currently waiting for bukkit to implement an api for the new chat feature. I worked on it here but bukkit pr reviews are generally extremely slow (more if it's a completely new feature). Also, you're not the first to have that problem. If you want to be informed, check this issue: https:github.com/bendem/ItemToChat/issues/5
Since you're not the first to ask I'll try to add a workaround while waiting for bukkit tho.
Can you add "Item Lore Stats" support?
@bendembd
its all cool, no rush :D
Development is paused while working on Bukkit API to add native support of 1.7 chat stuff...
@LallierQc
You can already do that actually. See string-to-replace in the config (by default it's [item]).
It would be very cool to make an option to have like that when we write something in the chat like #hand or #item it shows the item we have in hand! So we can comment on the item instead of saying it after. it would be very cool
@bendembd
my bad about the ticket >.>
yea here they are
http://imgur.com/DNJbuGL
and this is the output: ‎11‎:‎06‎:‎30‎ ‎AM ItemToChat: json: {text:"\u003cf[dRPG-ALPHAf] tierdal 8[Wizard]4r\u003e ",extra:[{text:"["},{text:"Iron Sword",color:"gray",hoverEvent:{action:"show_item",value:"{id:267,Damage:13,tag:{display:{Name:\"5lCorrupted Sword of Power\",Lore:[\"\",\"bWeapon Speed: aFast\",\"3Damage: +b11.533-b49.7\",\"3Crit Chance: 34.43%\",\"3Crit Damage: 320.33%\",\"cIgnition: 48.0c%\",\"2Poison: a6.52%\",\"\",\"8Durability: 73278/7344\",\"\",\"9This Sword has been forged by a decent blacksmith.\",\"\",\"3Level: b273\"]}}}"}},{text:"]"}]}
i use item lore stats for this
@tierdal
Created a github issue since you didn't : https://github.com/bendem/ItemToChat/issues/5
I guess this is caused by invalid characters in the lore (I mean characters not recognized by minecraft parser)
Could I ask you to give a screenshot of the lore of the item and the name of the plugin you're using? :-)
8:22:31 PM ItemToChat: json: {text:"\u003cf[dRPG-ALPHAf] tierdal 8[Wizard]4r\u003e ",extra:[{text:"["},{text:"Gold Helmet",color:"gold",hoverEvent:{action:"show_item",value:"{id:314,Damage:0,tag:{display:{Name:\"2lBroad Helmet 3of Protection\",Lore:[\"\",\"3Armour: b13.43%\",\"6Speed: 1.76%\",\"\",\"8Durability: 714708/71470\",\"\",\"cThis Helmet offers decent protection.\",\"\",\"3Level: b423\"]}}}"}},{text:"]"}]}
I use 1.7.2 R3 craft bukkit
that is what's displayed when i mid click it, but when i hover over it, just says invalid item.
@tierdal
It seems to work fine for me (as you can see on this screenshot). Can you open an issue on github with your bukkit version and the server logs (which should contain the generated json command).
@bendembd
got the latest dev build of jenkins, now it just says invalid item on any named / lored item
@bendembd
<3 you are the bomb
@tierdal
I was thinking about permissions, but I guess I can add a config node to disable functionalities as well ;-)
@bendembd
nice. very nice. will the trading option be toggable within the config? i use a web auction portal and trading GUI to do trades so i might want to disable this feature