Item Permissions

Discussion in 'Plugin Requests' started by Skeletron, Jun 27, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    Skeletron

    Plugin category: Permissions

    Minecraft version: 1.17

    Suggested name: ItemCommand

    What I want: If a player tries to do [command], there is a check for an item in their inventory. If they do not have that item in their inventory, they are denied access to that command. If they do have it, the command is executed, and that item is removed from their inventory. The reason I want this is to have a teleport system where players can only TP if they have a certain item (like an ender pearl) in their inventory.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: itemcommand.bypass - bypasses the item restriction

    When I'd like it by: Whenever it is available
     
  2. Offline

    PHZoro

    Hello, i programmed your plugin request. By typing /itemcommand set/remove <command>, you can set or remove a command in the configuration. The item you are currently holding in your main hand gets set to the item which is needed to execute the command. You can change all error/success messages in the config.yml. I hope you like it. Here's the link: https://www.spigotmc.org/resources/itemcommand.93733/
     
Thread Status:
Not open for further replies.

Share This Page