From 42f1963c060c21dab9d16a5ce2afd224d50d0c5e Mon Sep 17 00:00:00 2001 From: mrAppleXZ Date: Sun, 21 Jan 2018 15:11:35 +0500 Subject: [PATCH] Update readme --- README.MD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 788d34f..6458e91 100644 --- a/README.MD +++ b/README.MD @@ -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 { @@ -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. \ No newline at end of file +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. \ No newline at end of file