Staff++
Search…
Discord Integration

Introduction

Discord integration lets Staff++ notify certain events to your discord server using discord webhooks.
To Enable integration you need to install a separate plugin: https://www.spigotmc.org/resources/staff-discord-integration.83871/

Configuration

The configuration of the discord integration plugin is fairly simple.
1
StaffPlusPlusDiscord:
2
templatePack: "default" # Choose from template packs "default" or "videndum"
3
updateTemplates: true
4
# REPORTS
5
6
reports:
7
# The discord webhook url. This can be found in you discord server settings
8
webhookUrl: ""
9
# Optional webhook url. When provided, reports linked to a player will be send on this url.
10
playerReportsWebhookUrl: ""
11
# Trigger a discord message when some player opens a new report
12
notifyOpen: false
13
# Trigger a discord message when a staff member for some reason decides to not handle a report and he unassigns himself
14
notifyReopen: false
15
# Trigger a discord message when a staff member assigns himself to an open report
16
notifyAccept: false
17
# Trigger a discord message when a staff member rejects a report
18
notifyReject: false
19
# Trigger a discord message when a staff member resolves a report
20
notifyResolve: false
21
22
warnings:
23
webhookUrl: ""
24
notifyCleared: false
25
notifyCreate: false
26
notifyThresholdReached: false
27
appeals:
28
webhookUrl: ""
29
notifyCreate: false
30
notifyApproved: false
31
notifyRejected: false
32
bans:
33
webhookUrl: ""
34
ban: false
35
unban: false
36
kicks:
37
webhookUrl: ""
38
kick: false
39
mutes:
40
webhookUrl: ""
41
mute: false
42
unmute: false
43
altDetect:
44
webhookUrl: ""
45
# Levels that should be notified to discord, leave empty to disable all notifications. Should be semi-colon separated
46
# possible values: POSITIVE, FAIRLY_POSITIVE, POSSIBLE, NOT_LIKELY
47
# example value: POSITIVE;FAIRLY_POSITIVE
48
enabledTrustLevels: ""
49
xray:
50
webhookUrl: ""
51
# Ores that should be notified to discord, leave empty to disable all notifications. Should be semi-colon separated
52
# possible values: any bukkit material
53
# example value: DIAMOND;REDSTONE
54
enabledOres: ""
55
staffmode:
56
webhookUrl: ""
57
# Trigger a discord message whenever a staffmember enters staffmode
58
notify-enter: false
59
# Trigger a discord message whenever a staffmember enters staffmode
60
notify-exit: false
61
chat:
62
webhookUrl: ""
63
# Trigger a discord message whenever a a player sends a chat message containing predefined words/phrases
64
phrase-detection: false
65
staffchat:
66
sync: false
67
message-format: "&9&l(discord) &7%text%"
Copied!
Make sure you create a webhook on your discord server. This can be done by following this guide: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks Once you created the webhook paste it inside the configuration file.

commands

Command`
Description
/staffplusplusdiscord reload
Reload the entire configuration, this includes the discord templates and webhook urls.

permissions

Permission
Description
staffplusplusdiscord.reload
Allows using the reload command

Examples:

All discord templates can be customized.

Report

Warning

Last modified 5mo ago