Moved main.py to serve.py, implemented modularization and added control module
This commit is contained in:
parent
ad6190b46a
commit
e185786959
6 changed files with 138 additions and 21 deletions
5
modules/shazam.py
Normal file
5
modules/shazam.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
@libminecraft.onConsoleOutput(r"\[.*\] \[Server thread\/INFO\]: Set Malasaur's game mode to (.*) Mode")
|
||||
def malasaurSetGamemode(gamemode: str):
|
||||
global malasaurGamemode
|
||||
malasaurGamemode = gamemode.lower()
|
||||
Loading…
Add table
Add a link
Reference in a new issue