Configuration: Difference between revisions

From PurpleIRC Wiki
No edit summary
Line 7: Line 7:


== Bot Config (botname.yml) ==
== Bot Config (botname.yml) ==
<include src="https://raw.githubusercontent.com/cnaude/PurpleIRC/master/src/main/resources/SampleBot.yml">

Revision as of 17:49, 2 August 2015

Configuration of PurpleIRC is a fairly straightforward process. There is one main configuration file and one or more bot files. All of the configuration files are store in YAML format.

Main Config (config.yml)

The main configuration file, config.yml, contains the global settings for PurpleIRC.

<include src="http://raw.githubusercontent.com/cnaude/PurpleIRC/master/src/main/resources/config.yml">

Bot Config (botname.yml)

<include src="https://raw.githubusercontent.com/cnaude/PurpleIRC/master/src/main/resources/SampleBot.yml">