summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorPanFritz <redstonenoobpan@gmail.com>2015-06-15 22:36:50 +0200
committerPanFritz <redstonenoobpan@gmail.com>2015-06-15 22:36:50 +0200
commitcaec2fd0d553490ddb7df796c38b4f6faf54c709 (patch)
tree366992cc1741ad368f6c8791bc305a86f2169030 /main.py
parent3a02a4cffcaac49e90b08fb259cb4aec93d6d51f (diff)
added snowbrawl to main.py
Diffstat (limited to 'main.py')
-rw-r--r--main.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/main.py b/main.py
index 92c7315..5c7264c 100644
--- a/main.py
+++ b/main.py
@@ -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
@@ -40,8 +39,8 @@ shared["load_modules"] = [
"adminchat",
# Adds /badge, allows to give players achievements
"badges",
- # Adds a few block placement corrections/mods
- "blockplacemods",
+ # Adds a few block placement corrections/mods
+ "blockplacemods",
# Adds /calc, toggles automatic solving of Math expressions in chat
"calc",
# Plugin to locate laggy chunks. /lc <n> lists chunks with more than n entities
@@ -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:
@@ -90,5 +87,4 @@ for module in shared["load_modules"]:
info("Module %s loaded." % module)
except:
error("Failed to import module %s:" % module)
- error(print_traceback())
-
+ error(print_traceback()) \ No newline at end of file