diff options
author | jak1 <mike.wollmann@gmail.com> | 2020-04-06 16:28:46 +0200 |
---|---|---|
committer | jak1 <mike.wollmann@gmail.com> | 2020-04-06 16:28:46 +0200 |
commit | ee012bfd77768f6ec4f38aa6d949d19697c6c8c7 (patch) | |
tree | bc28e1ed336c2e062618a0852e1ef9e357476b4c | |
parent | 2d11f10907bf8e0b061245bf7fa6a440fc01108a (diff) | |
download | manachat-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.template | 35 | ||||
-rwxr-xr-x | plugins/shop.py | 4 |
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' } } |