ryan75195 1 Share Posted April 4, 2018 I am currently writing a script and am unsure how to make my player logout and change worlds. I am able to get it to quickhop in game but I would like to logout first then change worlds. any help would be appreciated. thanks Link to comment Share on other sites More sharing options...
Xephy 237 Share Posted April 5, 2018 Look into getLoginUtility() Link to comment Share on other sites More sharing options...
Koschei 147 Share Posted April 5, 2018 In addition to what Xephy said. getTabs.logout(); is how to logout You will want to look into disabling the login event (Link) via the Random Manager (Link). Then just as Xephy said look into LoginUtility. Link to comment Share on other sites More sharing options...
ryan75195 1 Author Share Posted April 5, 2018 ah, Thank you! ill give it a go now. is there a better way to filter out all the worlds that manually blacklisting all the deadman mode, pvp, etc, world ids? like when using getWorlds(), i am able to filter out worlds using !isPvp() for example. i tried converting the World to an integer but it did not work. am i able to do this any other way using the getLoginUtility()? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.