Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
plugin:showitem:faq [2020/12/13 23:26] – created phoenix616plugin:showitem:faq [2022/11/20 14:12] (current) – Add entry for why the GUI doesn't open on item click phoenix616
Line 1: Line 1:
 # Frequently Asked Questions # 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? ### Why aren't any item icons shown in the chat?
-Check if you have set the texticonrp 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))+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 that option?+### Why do Chinese symbols show after enabling the texticon-rp option?
 {{:plugin:showitem:faq:symbols.png?nolink|}} {{: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).) 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? ### Now that I see the icons they seem to display the wrong item?
Line 35: Line 56:
  
 (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) (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!