Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CompassTP like...

Comments in 'Plugin Development' started by aliuly, Mar 30, 2015.

  1. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    I was looking at old v1.3 plugins and found this cool TPCompass plugin.
    I though, if it would work on the current PocketMine. Since the original was a PMF, I wrote my own. (As part of my GrabBag plugin which is currently awaiting moderation).

    Check out the results...



    In case you want to see how is this done the code is here: GitHub

    If you want to try for yourself you need to get the code from GitHub and run it using DevTools (There is no Phar at the moment). Once you have the pluging loaded you need to equip the compass and while it is in your hand you tap and hold the screen for about 1 second. And it will teleport to the place you are looking at.

    Attached Files:

    Last edited: Apr 1, 2015
  2. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    There is already a feature like that in worldeditart
    PEMapModder likes this.
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Yours is probably better than mine ;) (I rarely say like this)

Share This Page

Advertisement