Drone : ConfigurationGlobal
This page last changed on Jun 18, 2004 by gbevin.
Since Drone runs under the RIFE Below is an example configuration file: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE config SYSTEM "/dtd/config.dtd"> <config> <param name="DATASOURCE">postgresql</param> <param name="MAX_SEARCH_RESULTS">20</param> </config> As you can see, Drone understands the following two specific settings: DATASOURCEYou have to enter the name of your datasource here. Since it's possible to declare several datasources in the datasources.xml file, Drone has to know which one to use. MAX_SEARCH_RESULTSDrone is capable of searching logfiles by receiving commands through IRC. The results will be returned to the user as private messages. By entering a number here, you can setup how many results will be returned maximum. It's recommended to configure the user permissions before putting your bot online. |
![]() |
Document generated by Confluence on Jun 18, 2004 09:44 |