added snowbrawl to main.py

This commit is contained in:
PanFritz
2015-06-15 22:36:50 +02:00
parent 3a02a4cffc
commit caec2fd0d5

View File

@@ -25,13 +25,12 @@ def on_enable():
@hook.disable
def on_disable():
shared["modules"]["reports"].stop_reporting()
shared["modules"]["snowbrawl"].stop_match_end_thread()
info("RedstonerUtils disabled!")
info("Loading RedstonerUtils...")
# Import all modules, in this order
shared["load_modules"] = [
# Collection of tiny utilities
@@ -75,14 +74,12 @@ shared["load_modules"] = [
# Adds /imout, displays fake leave/join messages
"imout",
#adds snowbrawl minigame
#"snowbrawl",
"snowbrawl",
# Adds /tm [player] for a messages to be sent to this player via /msg
"pmtoggle"
# Replacement for LoginSecurity
#"loginsecurity"
# NOTICE: If you add something here, please add a small descriptive comment above!
]
shared["modules"] = {}
for module in shared["load_modules"]:
try:
@@ -91,4 +88,3 @@ for module in shared["load_modules"]:
except:
error("Failed to import module %s:" % module)
error(print_traceback())