diff --git a/mosfet/bot.py b/mosfet/bot.py index a15d46c..885d1bf 100644 --- a/mosfet/bot.py +++ b/mosfet/bot.py @@ -272,6 +272,12 @@ def bot(global_state): elif EMAIL: print('No password provided, attempting to connect in offline mode...') g.connection = Connection(SERVER, PORT, username=EMAIL) + elif PASSWORD: + print('') + print('Did you forget to specify an email?') + print('If you want to use your own account:') + print('EMAIL=you@domain.com PASSWORD=supersecret SERVER=minecraft.example.com ./run_linux.sh') + os._exit(0) else: print('No username or password provided, using burner minecraft account...') EMAIL = 'moc.liamg@monortem'[::-1]