summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2020-04-06 16:28:46 +0200
committerjak1 <mike.wollmann@gmail.com>2020-04-06 16:28:46 +0200
commitee012bfd77768f6ec4f38aa6d949d19697c6c8c7 (patch)
treebc28e1ed336c2e062618a0852e1ef9e357476b4c
parent2d11f10907bf8e0b061245bf7fa6a440fc01108a (diff)
downloadmanachat-ee012bfd77768f6ec4f38aa6d949d19697c6c8c7.tar.gz
manachat-ee012bfd77768f6ec4f38aa6d949d19697c6c8c7.tar.bz2
manachat-ee012bfd77768f6ec4f38aa6d949d19697c6c8c7.tar.xz
manachat-ee012bfd77768f6ec4f38aa6d949d19697c6c8c7.zip
moved shop configuration to config/ | added manachat.ini.tamplate
-rw-r--r--config/manachat.ini.template35
-rwxr-xr-xplugins/shop.py4
2 files changed, 37 insertions, 2 deletions
diff --git a/config/manachat.ini.template b/config/manachat.ini.template
new file mode 100644
index 0000000..ba34d3b
--- /dev/null
+++ b/config/manachat.ini.template
@@ -0,0 +1,35 @@
+[Server]
+host = 52.174.196.146
+port = 6901
+
+[Player]
+username = *
+password = *
+charname = *
+
+[Other]
+online_txt_url = http://server.themanaworld.org/online.txt
+log_network_packets = 0
+
+[Plugins]
+autospell = 0
+msgqueue = 0
+chatlogfile = 0
+shop = 1
+autofollow = 0
+manaboy = 1
+
+[msgqueue]
+net.mapserv.cmsg_chat_whisper = 7.5
+
+[notify]
+notif_timeout = 7000
+notif_sound = 1
+
+[chatlogfile]
+chatlog_dir = chatlogs
+
+[shop]
+timeout = 60
+shoplist_txt = config/shoplist.txt
+admins_file = config/shopAdmins.txt
diff --git a/plugins/shop.py b/plugins/shop.py
index be66cea..cf8a113 100755
--- a/plugins/shop.py
+++ b/plugins/shop.py
@@ -27,8 +27,8 @@ PLUGIN = {
'blocks': (),
'default_config' : {
'timeout' : 60,
- 'shoplist_txt' : 'shoplist.txt',
- 'admins_file' : 'shopAdmins.txt'
+ 'shoplist_txt' : 'config/shoplist.txt',
+ 'admins_file' : 'config/shopAdmins.txt'
}
}