Premium ShowItem [Paid]

Discussion in 'Resource Discussion' started by Phoenix616, Jul 28, 2015.

  1. Right on! It would be cool but not a game changer if it can't be done. Thank you ahead of time for looking into it!
     
  2. Anyway to add:
    /show all - Shows item to all players on server
    /show world - Shows item to all players in your world

    This plugin is amazing, thank you so much! Well worth the money! Keep up the good work!
     
  3. Phoenix616

    Resource Staff

    /show world already kinda works if you set a high radius but I'll look into implementing the commands directly.
     
  4. Phoenix616

    Resource Staff

  5. Getting a few errors on it; a lot of the custom items we have work, but when i use this item (http://prntscr.com/8h8hle) or this item (http://prntscr.com/8h8hpa) I get "An internal error occured while attempting to perform this command". Heres the error that shows up in console.
    http://hastebin.com/joyifaheli.vbs
    I use mythicmobs to create items and edit their lore. I have a feeling the unicode in excalibur might be doing something, but im not sure whats causing it for the instablade. Possibly the extremely high damage.
    *After a quick test, it does appear that extremely high damage will cause the bug.
    **Another test; a player was unable to show their item when holding this (http://prntscr.com/8h8ir9). i suspect the negative data tags. Same error as before, same debug message.
     
  6. Phoenix616

    Resource Staff

    I'll look into that. Could you provide the output of the debug option of these items? (via adding -debug to the command) Screenshots aren't really that practical there.
     
  7. The debug literally just tells me "An internal error has occured while attempting to perform this command". In console, the hastebin link is the error that comes up when it happens. I'm not sure what else you'd need.

    As proof, http://prntscr.com/8hdash
    Thats when using the InstaBlade.
     
  8. Phoenix616

    Resource Staff

  9. The update did work, and the items now display, although they dont appear to display attributes in the item display. (http://prntscr.com/8hhmhh)

    I do love the plugin though, and attirbute displays aren't a huge deal to me; thanks a ton for the quick response!

    **Edit** Found a block it wont display; command blocks have "invalid item!" on the hover text. Heres the debug info: http://prntscr.com/8hln75
     
    #29 LucyValeheart, Sep 17, 2015
    Last edited: Sep 18, 2015
  10. Phoenix616

    Resource Staff

    The "Invalid Item" is because the Bukkit Material name was not converted correctly to the Minecraft block id. You can add the line " COMMAND: command_block" (with 2 two spaces in front) to the end of the idmapping.yml manually for now, but it'll be in the next update.

    For the Attribute problem: Can you give me the debug message for this item too? I should be able to fix it with that info.
     
  11. Sure, here. (http://pastebin.com/iFfS4bPM) I had to go into my chatlogs to get a pastebin of it because the message was a little bit bigger than what i could screenshot.

    And heres a screenshot of the debug info for banners. (http://prntscr.com/8hqqhj)

    As well as this custom item: (http://prntscr.com/8hqr98) It returns the "Internal error" debug message from before; on console it looks like this: (http://prntscr.com/8hqr98)

    Sorry to be reporting so many bugs lol, just wanna help get this plugin to perfection. Its easily a favorite of mine.
     
    #31 LucyValeheart, Sep 18, 2015
    Last edited: Sep 18, 2015
  12. Any update on this? Would love to see it happen :)
     
  13. Phoenix616

    Resource Staff

    I did some more research into this and it seems that the way MythicMobs gets the UUIDs for the attributes does not work properly - it applies the same "unique" id to every item with the same attribute type and that's not how that is supposed to work.

    This is something the MythicMobs devs have to fix as items with attributes which follow the Vanilla implementation work fine with my plugin and I have no influence on the fact that the client only displays valid attributes.
     
  14. Phoenix616

    Resource Staff

    Phoenix616 updated ShowItem with a new update entry:

    ShowItem 1.0.5 - world and all player "radius"; 1.7.10 fix

    Read the rest of this update entry...
     
    #34 Phoenix616, Oct 19, 2015
    Last edited: Oct 19, 2015
  15. I see. I'd report it to the MM dev's myself, but... I have no idea what any of that means, honestly, so I'd just end up causing more confusion. Its not a huge deal to me anyway, though; thanks for clearing it up at least.
     
  16. Phoenix616

    Resource Staff

    Uhm, what exactly is your problem? The \u203Bs? If so can you please provide me with a screenshot of the original item and the output of "/si -debug" with that item.
     
  17. When you use this character, display \u203Bs.
    And the NBT attribute is not shown.

    [​IMG] [​IMG]
     
  18. Type /si -debug while holding it and screenshot the output for him, too.
     
  19. Code (Text):
    [04:33:29] [Server thread/INFO]: fanglys issued server command: /si -debug
    [04:33:29] [Server thread/INFO]: [ShowItem] Item-Nbt: {ench=[{lvl=9, id=19}, {lvl=9, id=20}, {lvl=9, id=21}], display={Lore=[§5┌┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┐, §5│ §6类型: §a武器§0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §5 │, §5│ §6品质: §e仙器§0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §5 │, §5├┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┤, §5│§6 传说§e 原是太上老君冶炼的神铁§0 §5│, §5│§e 后被大禹借走治水 治水后遗下§0 §5│, §5│§e 的定海神针放于东海 后成为齐§0 §5│, §5│§e 大圣§c孙悟空§e的武器§a 如意金箍棒§0 §5│, §5└┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┘], Name=§6§l※※※※【§4§l真§e§l◆§6§l如意§c§l金§e§l箍§a§l棒§6§l】※※※※}, AttributeModifiers=[{UUIDMost=-6741291428192039732, UUIDLeast=-6146003327901857292, Amount=999.0, AttributeName=generic.attackDamage, Operation=0, Name=Modifier}]}
    [04:33:29] [Server thread/INFO]: [ShowItem] toMojangJsonString: {id:"minecraft:blaze_rod",tag:{ench:[{lvl:9,id:20},{lvl:9,id:21},{lvl:9,id:19}],display:{Lore:["§5┌┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┐","§5│ §6类型: §a武器§0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §5 │","§5│ §6品质: §e仙器§0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §5 │","§5├┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┤","§5│§6 传说§e 原是太上老君冶炼的神铁§0 §5│","§5│§e 后被大禹借走治水 治水后遗下§0 §5│","§5│§e 的定海神针放于东海 后成为齐§0 §5│","§5│§e 大圣§c孙悟空§e的武器§a 如意金箍棒§0 §5│","§5└┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┘"],Name:"§b§o§6§l\u203B\u203B\u203B\u203B【§4§l真§e§l◆§6§l如意§c§l金§e§l箍§a§l棒§6§l】\u203B\u203B\u203B\u203B"},AttributeModifiers:[{UUIDMost:-6741291428192039732,UUIDLeast:-6146003327901857292,Amount:999.0,AttributeName:"generic.attackDamage",Operation:0,Name:"Modifier"}]},Damage:0}
    [04:33:29] [Server thread/INFO]: [ShowItem] Json string: {"hoverEvent":{"action":"show_item","value":"{id:\"minecraft:blaze_rod\",tag:{ench:[{lvl:9,id:20},{lvl:9,id:21},{lvl:9,id:19}],display:{Lore:[\"§5┌┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┐\",\"§5│ §6类型: §a武器§0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §5 │\",\"§5│ §6品质: §e仙器§0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §0 §5 │\",\"§5├┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┤\",\"§5│§6 传说§e 原是太上老君冶炼的神铁§0 §5│\",\"§5│§e 后被大禹借走治水 治水后遗下§0 §5│\",\"§5│§e 的定海神针放于东海 后成为齐§0 §5│\",\"§5│§e 大圣§c孙悟空§e的武器§a 如意金箍棒§0 §5│\",\"§5└┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┘\"],Name:\"§b§o§6§l\\u203B\\u203B\\u203B\\u203B【§4§l真§e§l◆§6§l如意§c§l金§e§l箍§a§l棒§6§l】\\u203B\\u203B\\u203B\\u203B\"},AttributeModifiers:[{UUIDMost:-6741291428192039732,UUIDLeast:-6146003327901857292,Amount:999.0,AttributeName:\"generic.attackDamage\",Operation:0,Name:\"Modifier\"}]},Damage:0}"},"color":"aqua","text":"§b§o§6§l\u203B\u203B\u203B\u203B【§4§l真§e§l◆§6§l如意§c§l金§e§l箍§a§l棒§6§l】\u203B\u203B\u203B\u203B§r"}