Teleporting to coordinates

Discussion in 'Plugin Development' started by mgbeenieboy, Sep 2, 2014.

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

    mgbeenieboy

    Hello, I want a small warp plugin. It's not a plugin where you can create warps and teleport to them. It's a plugin which says, if you type /example you will be teleported to world Sampleworld, X 100, Y 64, Z 124.

    p.teleport( this expects a location )

    But I don't know how to declare this variable?!
     
  2. Offline

    Zupsub

    To create a variable you need (some :cough:) java knowledge... What about learning java before you make bukkit plugins?

    Just a hint: new Location(...) is what you miss.
     
  3. Offline

    JaguarJo

Thread Status:
Not open for further replies.

Share This Page