Rename to mosfet.py, delete linux bash scripts

This commit is contained in:
Tanner
2026-11-03 20:07:47 +00:00
parent d43533bcfe
commit 891f14b988
7 changed files with 82 additions and 254 deletions
+4 -7
View File
@@ -1,5 +1,5 @@
if __name__ == '__main__':
print('Run main.py instead.')
print('Run mosfet.py instead.')
exit(1)
import os
@@ -251,11 +251,8 @@ def bot(global_state):
if not SERVER:
print()
print('You must specify a server to connect to. For example:')
print('SERVER=minecraft.example.com ./run_linux.sh')
print('SERVER=localhost PORT=12345 ./run_linux.sh')
print()
print('If you want to use your own account:')
print('EMAIL=you@domain.com PASSWORD=supersecret SERVER=minecraft.example.com ./run_linux.sh')
print('SERVER=minecraft.example.com python mosfet.py')
print('SERVER=localhost PORT=12345 python mosfet.py')
os._exit(0)
elif not g.connection:
if EMAIL and PASSWORD:
@@ -274,7 +271,7 @@ def bot(global_state):
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')
print('Set SERVER and run python mosfet.py.')
os._exit(0)
else:
print('No username or password provided, using burner minecraft account...')