1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

AlwaysSpawn does'nt work with PocketMine-MP_1.7dev82/83 (to confirm)

Discussion in 'Help' started by TeraCube, Sep 25, 2017.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @Awzaw

    hi,

    i tried PocketMine-MP_1.7dev-83 with new xbox live identification process and AlwaysSpawn_dev-13.phar
    https://poggit.pmmp.io/r/12133/AlwaysSpawn_dev-13.phar

    every player log at different place, so Always spawn does'nt work
    player 1 logged in with entity id 287 at (world, 3095, 79.9216, 3174)
    player 2 logged in with entity id 338 at (world, 2783.4978, 69.5, 2904.7324)
    player 3 logged in with entity id 372 at (world, 2766.2065, 79, 2882.6084)
    player 4 logged in with entity id 422 at (world, 5187.6191, 56, 645.6381)

    i try online-mode = true and online-mode= false
    same result

    could you test this

    sorry for my bad english
     
  2. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Could you specify your error with a bit more results as I don't get you. A screenshot or a log of what happens could be good.
     
    iiFlamiinBlaze likes this.
  3. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    It does work, it's just that for some reason @Awzaw decided to make the teleportation on PlayerJoinEvent instead of PlayerLoginEvent.
     
  4. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    I moved it to PlayerJoinEvent because at some point during alpha7s evolution teleporting in PlayerJoinEvent started causing problems with PurePerms after what seemed to be a successful login (permissions for commands, but the player movement/position/interact was not recognised by plugins, coords unchanged while moving around and chatting - sort of half logged-in...) for a reason I still haven't figured out. I'll check again and test if that's still a problem.

    **EDIT it was originally in PlayerJoinEvent (the code in the authors repo is not the code he submitted to pocketmine.net, and won't work), but was moved to PlayerLoginEvent before being officially released. It was then moved back to PlayerJoinEvent because at some point in alpha7s... see above.

    I've just moved it back to PlayerJoinEvent for performance reasons that @dktapps pointed out, and I can't reproduce the problems I'd had during ALPHA7.
     
    Last edited: Sep 25, 2017
  5. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Hey Awzaw any chance AlwaysSpawn will go back to what it was before, like when you die tps you to the main world (hub).
    Thanks
     
    TeraCube likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.