Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrapplexz committed Jan 21, 2018
1 parent f2f5305 commit 42f1963
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ To generate it, execute a command "/cwl whitelist".

CWL also can automatically sync the whitelist in background with the specified interval.

# Reloading the plugin
You can execute the "/cwl reload" command to reload the config and restart the autosync task.

# Config file
```
main {
Expand All @@ -30,4 +33,6 @@ The `db_connection` field is a JDBC connection string. The format is `jdbc:CONNE

The `db_query` field is a SQL query string that will be used to get list of whitelisted users. Should return two columns: username and UUID. See the `Autogen` section.

The `sync_delay` field is an interval in seconds used to automatically sync the whitelist in background. Set to `0` to disable the autosyncing. See the `Autogen` section.
The `sync_delay` field is an interval in seconds used to automatically sync the whitelist in background. Set to `0` to disable the autosyncing. See the `Autogen` section.

You can reload the config in runtime, see the `Reloading the plugin` section.

0 comments on commit 42f1963

Please sign in to comment.