-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/main/java/io/github/yo56789/mcdiscwbhk/config/DefaultConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package io.github.yo56789.mcdiscwbhk.config; | ||
|
||
public class DefaultConfig { | ||
public static final String DEFAULTCONFIG = """ | ||
# Discord webhook URI | ||
# How to get a webhook: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks | ||
webhook-uri=https://discord.com/api/webhooks/1221539658421244157/MHFQu9KUiV7xpiXIMIqo8_hs6eLNdMCtMVx92w3XavozhDLUqbD4TaT-e16hcbweACx9 | ||
# Server name | ||
# Can be set to anything, and shows for server-related events | ||
server-webhook-name=Server | ||
# User avatar provider | ||
# Replace the part where the UUID is located with %s | ||
user-avatar-url=https://mc-heads.net/avatar/%s | ||
# Webhook mode | ||
# Type "message" or "embed" | ||
# "message" only sends raw text messages. "embed" sends content in embeds | ||
webhook-mode=embed | ||
# Events (Leave blank to ignore event) | ||
# Server starting | ||
event-server-starting=Server Starting! | ||
# Server started | ||
event-server-started=Server Started! | ||
# Server stopping | ||
event-server-stopping=Server Stopping! | ||
# Server stopped | ||
event-server-stopped=Server Stopped! | ||
# Player join | ||
event-player-join=%s joined! | ||
# Player leave | ||
event-player-leave=%s left! | ||
"""; | ||
} |
736e4f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to remove webhook url used for testing. The webhook url in the DefaultConfig.java of this commit is no longer valid using it will not work.