I need help with my /Invsee command

Discussion in 'Plugin Development' started by FlowLox, Jan 20, 2017.

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

    FlowLox

    Hello,
    I have now developed a /invsee <playername> command it works, but i want it for my skypvp plugin. The problem is when i have the permission "skypvp.invsee" i can perform this command, this is right but i can move the items from my target and this is wrong, can me please anybody help?

    Thanks!
     
  2. Offline

    kameronn

    Make an inventoryclickevent, check if the Inventory is equal to the inventory the player has open by either checking the name or the inventory itself, then cancel the event if it is.
     
  3. Offline

    FlowLox

    Thank you, its works :)
     
  4. Offline

    Zombie_Striker

    @FlowLox
    If your problem has been solved, mark this thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page