diff --git a/.idea/compiler.xml b/.idea/compiler.xml index fcb19bf..b589d56 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 9e605c9..64de3b3 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -6,7 +6,7 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 205b332..0890198 100644 --- a/README.md +++ b/README.md @@ -29,19 +29,20 @@ To make a webhook: Of course, you must get a release first, as said in the prerequisites. After you get a jar, put it in the `plugins` folder On first run, it will make a directory in the server's base directory.\ -In it, there will be two important files:\ -These files will be `NoS/notifyWebhook.json` and `NoS/pubMessageWebhook.json`. +In it, there will be one important file:\ +This file will be `NoS/config_webhook.json`. -Of course, put the webhook URL of where the events should be logged in `notifyWebhook.json` +Of course, put the webhook URL of where the events should be logged in the `url_notify` field. -`pubMessageWebhook.json` is for a command named `/send-message`. This will simply send text to the webhook containing provided text.\ -Put the webhook link in `url`. +The `url_publicmsg` field is for a command named `/send-message`. This will simply send text to the webhook containing provided text.\ +Put the webhook link in it. -An example of what these files' content should be: +An example of what the file's content should be: ```json { - "url": "" + "url_notify": "", + "url_publicmsg": "" } ``` @@ -50,6 +51,7 @@ If you change this value, you have to restart the server to apply changes. By default, its value is: ```json { - "url": "default-ns" + "url_notify": "default-ns", + "url_publicmsg": "default-ns" } ```