added snowbrawl to main.py

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