Solved /home stuff

Discussion in 'Plugin Development' started by Sladd_Cool, Apr 3, 2014.

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

    Sladd_Cool

    Hello
    I am coding a "menu" plugin by following a tutorial and chaning it to my likings, everything I have made so far works fine (change gamemode and teleport random by clicking blocks in a chest gui but I want a way to click another item in the chest gui and get teleported to /home how do I do that?
    Like:
    Code:
    player.teleportHome
    or something like that.
     
  2. Offline

    JungleSociety

    You could have them run a command when they click that item by using:
    Code:java
    1. player.performCommand("Command Here");

    if that's what you mean.
     
  3. Offline

    Sladd_Cool

    Oh okay thanks so much JungleSociety :) It took a while before I saw your answer:/
     
Thread Status:
Not open for further replies.

Share This Page