From ee012bfd77768f6ec4f38aa6d949d19697c6c8c7 Mon Sep 17 00:00:00 2001 From: jak1 Date: Mon, 6 Apr 2020 16:28:46 +0200 Subject: moved shop configuration to config/ | added manachat.ini.tamplate --- config/manachat.ini.template | 35 +++++++++++++++++++++++++++++++++++ plugins/shop.py | 4 ++-- 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 config/manachat.ini.template 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' } } -- cgit v1.2.3-70-g09d2