Jump to content

Disable autologin


tzhaarown

Recommended Posts

You can do the following:

bot.getRandomExecutor().registerHook(
	new RandomBehaviourHook(RandomEvent.AUTO_LOGIN) {
		@Override
		public boolean shouldActivate() {
			return false;
		}
	}
);

And if you want to allow the autologin to activate again, use the same code again but change the return false; to return super.shouldActivate().

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...