change readme
This commit is contained in:
generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="18" />
|
||||
<bytecodeTargetLevel target="17" />
|
||||
</component>
|
||||
</project>
|
||||
generated
+1
-1
@@ -6,7 +6,7 @@
|
||||
</list>
|
||||
</component>
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_18" default="true" project-jdk-name="corretto-18" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -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": "<get the webhook link from earlier and paste>"
|
||||
"url_notify": "<get the webhook link from earlier and paste>",
|
||||
"url_publicmsg": "<same as earlier>"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user