Page 3 of 3
Re: B3 plugins * Use at your own risk * Most are not tested!
Posted: 24 Aug 2019 19:30
by Rampage
warlock wrote: ↑28 Jul 2019 17:14
Chatlogger
Installation
------------
* copy chatlogger.py into `b3/extplugins`
* copy plugin_chatlogger.ini into into your config directory
* create the chatlog table in your database importing the `chatlogger.sql` file.
* update your main b3 config file with :
```
<plugin name="chatlogger" config="@b3/extplugins/conf/plugin_chatlogger.ini"/>
```
NOTE : if you are using the censor plugin, make sure the chatlogger plugin is loaded before the censor plugin or you
won't log any messages containing censored words.
Do you know how to separate chat logs on the database for multiple servers?
Re: B3 plugins * Use at your own risk * Most are not tested!
Posted: 25 Aug 2019 12:03
by Gen Stranger
I personally have a separate b3 directory with its own database for each server
it keeps one server from interacting with the other if they were to use the same data base
b30 data base for server 28960 the KAB bot war TDM server
b31 data base for server 28961 the KAB Hardcore TDM server
my b3 directories are
b3-28960 directory with a full copy of b3 there I renamed b3.xml there to 28960-b3.xml and edited it to suit that server
b3-28961 directory with a full copy of b3 there I renamed b3.xml there to 28961-b3.xml edited for that server
if I install anything it would be specific to each server
it wasn't necessary to rename the b3.xml files but It helps me know which server I am editing b3 for.
that setup would keep the chat plugin separate for each server.