You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update pom.xml
* Update to work with JDA Update
* upgrades
* cleaned up config
* update jda
* use maven properties to fill in plugin details
* fix match durations
* show server name
* Code Cleanup
* Embed, README, and bot status fixes
---------
Co-authored-by: Pear <20259871+TheRealPear@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This project's structure is a modified version of [Bolty](https://github.com/app
7
7
8
8
MatchBot will listen to [`MatchStartEvent`](https://github.com/PGMDev/PGM/blob/dev/core/src/main/java/tc/oc/pgm/api/match/event/MatchStartEvent.java) and [`MatchFinishEvent`](https://github.com/PGMDev/PGM/blob/dev/core/src/main/java/tc/oc/pgm/api/match/event/MatchFinishEvent.java) to populate a Discord [embed](https://javacord.org/wiki/basic-tutorials/embeds.html#creating-an-embed) with information about a started or finished match.
9
9
10
-
MatchBot is built with [Javacord](https://javacord.org/), an awesome Java library for Discord bots.
10
+
MatchBot is built with [JDA](https://jda.wiki/), an awesome Java library for Discord bots.
11
11
12
12
This bot runs on a single Minecraft server, and is not designed with proxies, networks, or multiple servers in mind.
13
13
@@ -49,12 +49,18 @@ You can also find out how to get server, role or channel IDs [here](https://supp
49
49
## Config
50
50
51
51
```yaml
52
-
# Discord Stuff
53
-
enabled: true # Enable discord bot?
52
+
# MatchBot configuration file
53
+
# Discord settings
54
+
enabled: true # Enable Discord bot?
54
55
token: ""# Discord bot token
55
-
server: ""# ID of discord server
56
+
server: ""# ID of Discord server
57
+
match-channel: ""# ID of channel where match embeds will be sent
56
58
57
-
# ID of channel where match embeds will be sent
58
-
match-channel: ""
59
+
# Minecraft settings
60
+
server-name: ""# Name of the server (useful for networks)
61
+
62
+
# Image URL to display in the embed's thumbnail if a map image is not found
0 commit comments