Jump to content

Disable autologin


Recommended Posts

Posted

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
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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