[Request] Check for Item

Discussion in 'Archived: Plugin Requests' started by Albertosx, Nov 8, 2014.

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


    Hi, i need a plugin for my 1.7.10 server with this features:
    I need to check if a player have NOT an item in his inventory, and if the item ISN'T in his inventory, teleport him to coordinates. I also need the command can be executed by a command block.

    The command could be like this:
    • /checkforitem <player> <item> <CoordinatesIfPlayerHasItem>;<CoordinatesIfPlayerHasNotTheItem>
    Or this:
    • /checkforitem <player> <item> <CoordinatesIfPlayerHasNotTheItem>
    So in the command block the command would be like that (for example):
    • /checkforitem @a[r=100] 57 0,100,0;100,100,100
    • /checkforitem @a[r=100] 57 100,100,100

    If there are 2 or more players in the range of the command block (@a[r=100] in the example) only the player without the item should be teleported.

    I need this for implement a feature to my server, i have searched for alternatives, but i didn't find any.
Thread Status:
Not open for further replies.

Share This Page