This commit is contained in:
rrryfoo
2023-04-12 06:01:23 +00:00
parent 65922f9790
commit 1fb46a573a
+4 -2
View File
@@ -28,7 +28,8 @@ To make a webhook:
# using this thing # using this thing
Of course, you must get a release first, as said in the prerequisites. After you get a jar, put it in the `plugins` folder 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 where Spigot is.\ 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`. These files will be `NoS/notifyWebhook.json` and `NoS/pubMessageWebhook.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 `notifyWebhook.json`
@@ -36,7 +37,8 @@ Of course, put the webhook URL of where the events should be logged in `notifyWe
`pubMessageWebhook.json` is for a command named `/send-message`. This will simply send text to the webhook containing provided text.\ `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`. Put the webhook link in `url`.
An example of what the file content should be: An example of what these files' content should be:
```json ```json
{ {
"url": "<get the webhook link from earlier and paste>" "url": "<get the webhook link from earlier and paste>"