# Frequently Asked Questions ### Why does a message show when clicking with the middle mouse button on an item? {{:plugin:showitem:helpclick.png?nolink|}} In order to find out the correct slot number you can use the inventory help click which defaults to the middle mouse button (doesn't do anything in vanilla survival but it can be changed in the config) which prints out a message which contains useful information on how to use the slot in the chat placeholder or the commands. (You can use the permission showitem.helpclick to manage who has access to it) It will only show possible options that the player has access to. E.g. if your players only have access to the chat variable, player and default radius command then they will only see these three messages. And if a player does not have access to the slot-specific commands/variable at all this function won't do anything. ### Why does a player's inventory open when right clicking on them? There is a permission (which should be disabled by default) which allows viewing a player's inventory by right clicking on them. Simply revoke the permission `showitem.rightclick.viewinv` and that won't happen anymore. ### Why does the GUI only open for operators when the click on an item in the chat? In order to open the GUI ShowItem uses the commands `/showitem:showitem`, `/showitem:showslot`, `/showitem:showinv`, or `/showitem:showender` depending on the thing shown. Make sure that your players have permission to use those commands (`showitem.command.itemexecutor.viewgui`, `showitem.command.slotexecutor.viewgui`, `showitem.command.invexecutor`, `showitem.command.enderexecutor`) Those are granted by default but if you have disabled default permissions in your permissions plugin then you need to manually grant those. Also seeing as namespaced commands are used in order to not conflict with other plugins you need to make sure that you have not disabled this useful functionality for some reason. If you did either enable it again, whitelist ShowItem, or set the `namespaced-commands` config option to false in the `config.yml`. ### Why aren't any item icons shown in the chat? Check if you have set the `texticon-rp` option in your config.yml to true. (Note: You also need to use Wolfie Mario's text icon resourcepack for that to work properly! For more info see [this site](itemicons)) ### Why do Chinese symbols show after enabling the texticon-rp option? {{:plugin:showitem:faq:symbols.png?nolink|}} These icons are Chinese Han symbols that get replaced via [this resourcepack](itemicons) which you have to use for the icons to display right! (The best way for all users to get it are server resourcepacks! E.g. with my [ForceResourcepacks plugin](https://l.phoenix616.dev/frp).) If you don't want to show those icons then you can set `texticon-rp` to `false` in your config.yml. ### Now that I see the icons they seem to display the wrong item? That can only happen if the mapping in the iconrpmapping.yml are wrong ‒ either for this item or all of them. If you changed the file try deleting it and letting it regenerate. If you did not do such a thing contact me with the items which are wrong and I will try to provide you with a fix/update! ### Why does the item name look like it does on this image? {{:plugin:showitem:faq:translation.png?nolink|}} This happens when the mapping for this item's translation key is not correct. You can try setting `use-translation-mapping` to true in the config. If that didn't work either contact me with the item that didn't work and I will try to provide a solution/update for you asap! (If you are really skilled you can figure that out on your own by looking at Minecraft's language file and adding it with Spigot's Material to the transmapping.yml in the same fashion as the others!) ### Why does it say "Unknown language key: xyz"? {{:plugin:showitem:faq:unknownlang.png?nolink|}} This message tells you that you are missing a configuration option in the language section. This happens when an update adds new messages and you didn't add them to your config or let the config regenerate. In the case from the image you would have to add a string at `lang.item.unnamed` that sets the display format of an unnamed item. ### Why does "Invalid Item" appear when hovering over the item name instead of the item description? {{:plugin:showitem:faq:invaliditem.png?nolink|}} This might happen if you use a client version that doesn't match your server's version. Please test if using matching versions fixes that, if so then report it to the developers of the plugin you are using which allows older/newer versions to join. If it's not a version issue then this can also happen when the mapping of the Bukkit material name to the Minecraft item id is not correct or missing. You can contact me with the item you used and the output of [icode]/showitem -debug[/icode] and I will try to fix it for you asap. (If you want to fix that yourself you have to look up the item's Material name and it's Minecraft id and add them to the idmapping.yml) ## Contact If you have any other questions feel free to contact me any time! The best way is via a [private message on Spigot](https://www.spigotmc.org/conversations/add?to=Phoenix616&title=ShowItem%20problem) or the [discussion thread](https://www.spigotmc.org/threads/showitem-paid.81315/). Generally I should be able to get back to you with an answer in less then 12 hours ‒ during East Coast working hours it can even be under 1 hour!