Skip to content

Commit c7f8b55

Browse files
committed
docs: clean up all docs, add DiscordSRV comparison, expand listings
1 parent 587aafa commit c7f8b55

86 files changed

Lines changed: 2398 additions & 2575 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cd ZDiscord
2020
mvn clean package
2121
```
2222

23-
The shaded JAR is written to `target/ZDiscord-1.1.0.jar`. The build runs
23+
The shaded JAR is written to `target/ZDiscord-1.2.0.jar`. The build runs
2424
tests automatically during the `test` phase.
2525

2626
## Running tests

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ What actually happens. Include the exact error message or screenshot if relevant
2626

2727
## Environment
2828

29-
- ZDiscord version: (e.g. 1.1.0)
29+
- ZDiscord version: (e.g. 1.2.0)
3030
- Server software and version: (e.g. Paper 1.20.4, Folia, Spigot 1.20.4)
3131
- Java version: (`java -version`)
3232
- Storage backend: (YAML or MySQL)

.github/SECURITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
| Version | Supported |
66
|---|---|
7+
| 1.2.x | Yes |
78
| 1.1.x | Yes |
89
| 1.0.x | No |
910

.github/listings/curseforge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Discord integration for Paper, Folia, and Spigot. Chat bridge with player heads,
2020

2121
ZDiscord bridges your Minecraft server and Discord guild. Chat flows both ways, players see server status from Discord, and staff manage tickets from a dropdown panel.
2222

23-
Built with modern JDA 5 for native slash commands and button interactions. Supports Paper, Folia, and Spigot out of the box. 15+ toggleable modules — use what you need, disable what you don't.
23+
Uses JDA 5 with real slash commands and button interactions. Works on Paper, Folia, and Spigot — no extra setup per platform. Pick from 15+ modules in config; flip off whatever you won't use.
2424

2525
### Features
2626

@@ -50,7 +50,7 @@ Built with modern JDA 5 for native slash commands and button interactions. Suppo
5050

5151
### Installation
5252

53-
1. Download `ZDiscord-1.1.0.jar` from the files tab.
53+
1. Download `ZDiscord-1.2.0.jar` from the files tab.
5454
2. Place the JAR in your server's `plugins/` directory.
5555
3. Start the server to generate the default `config.yml` and `messages.yml`.
5656
4. Open `plugins/ZDiscord/config.yml` and set:

.github/listings/hangar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Discord integration for Paper servers. Chat bridge, status, tickets, account lin
2020

2121
ZDiscord bridges your Minecraft server and Discord guild. Chat flows both ways, players see server status from Discord, and staff manage tickets from a dropdown panel.
2222

23-
Built with modern JDA 5 for native slash commands and button interactions. Supports Paper 1.20.4 or newer, Folia, and Spigot 1.20.4 or newer. 15+ toggleable modules — use what you need, disable what you don't.
23+
Uses JDA 5 with real slash commands and button interactions. Works on Paper 1.20.4+, Folia, and Spigot 1.20.4+ with no per-platform config. Pick from 15+ modules — turn off the ones you're not using.
2424

2525
### Features
2626

@@ -50,7 +50,7 @@ Built with modern JDA 5 for native slash commands and button interactions. Suppo
5050

5151
### Installation
5252

53-
1. Download `ZDiscord-1.1.0.jar` from the versions tab.
53+
1. Download `ZDiscord-1.2.0.jar` from the versions tab.
5454
2. Place the JAR in your server's `plugins/` directory.
5555
3. Start the server to generate the default `config.yml` and `messages.yml`.
5656
4. Open `plugins/ZDiscord/config.yml` and set:

.github/listings/modrinth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ZDiscord bridges your Minecraft server and Discord guild. Chat flows both ways,
2626

2727
### Why ZDiscord?
2828

29-
Built with modern JDA 5 for native slash commands and button interactions. Supports Paper, Folia, and Spigot out of the box. 15+ toggleable modules — use what you need, disable what you don't.
29+
Uses JDA 5 with real slash commands and button interactions. Works on Paper, Folia, and Spigot — no extra setup per platform. Pick from 15+ modules in config; flip off whatever you won't use.
3030

3131
### Features
3232

@@ -56,7 +56,7 @@ Built with modern JDA 5 for native slash commands and button interactions. Suppo
5656

5757
### Installation
5858

59-
1. Download `ZDiscord-1.1.0.jar` from the releases page.
59+
1. Download `ZDiscord-1.2.0.jar` from the releases page.
6060
2. Place the JAR in your server's `plugins/` directory.
6161
3. Start the server to generate the default `config.yml` and `messages.yml`.
6262
4. Open `plugins/ZDiscord/config.yml` and set:

.github/listings/spigot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Chat bridge, tickets, status, account linking, anti-raid, player profiles, confe
1616

1717
ZDiscord bridges your Minecraft server and Discord guild. Chat flows both ways, players see server status from Discord, and staff manage tickets from a dropdown panel.
1818

19-
Built with modern JDA 5 for native slash commands and button interactions. Supports Paper, Folia, and Spigot out of the box. 15+ toggleable modules — use what you need, disable what you don't.
19+
Uses JDA 5 with real slash commands and button interactions. Works on Paper, Folia, and Spigot — no extra setup per platform. Pick from 15+ modules in config; flip off whatever you won't use.
2020

2121
### Features
2222

@@ -46,7 +46,7 @@ Built with modern JDA 5 for native slash commands and button interactions. Suppo
4646

4747
### Installation
4848

49-
1. Download `ZDiscord-1.1.0.jar` from the downloads section.
49+
1. Download `ZDiscord-1.2.0.jar` from the downloads section.
5050
2. Place the JAR in your server's `plugins/` directory.
5151
3. Start the server to generate the default `config.yml` and `messages.yml`.
5252
4. Open `plugins/ZDiscord/config.yml` and set:

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
88

9+
## [1.2.0] - 2026-06-16
10+
911
### Added
10-
- `/profile [player]` — renders a player card embed with avatar, NameMC link, first/last seen (Discord timestamps), sessions, playtime, advancement count, link status, follower count, and online indicator. Follow/Unfollow button on the embed subscribes the requester to DM notifications.
12+
- **Developer API**: Clean public interface for third-party plugins (`ZDiscordAPI`, `ZDiscordProvider`, models, and Bukkit events like `ZDiscordPlayerLinkEvent`, `ZDiscordFollowEvent`, `ZDiscordStatUpdateEvent`).
13+
- **Interactive Leaderboards**: `LeaderboardModule` completely rewritten with 🥇🥈🥉 medals, player head thumbnails, stat-specific styling, progress bars, pagination buttons, and a stat-switcher dropdown.
14+
- **Persistent Leaderboard Panel**: Auto-updating leaderboard panel in a configurable channel, including a new "Most Followed Players" leaderboard.
15+
- **Centralized Logger (`ZLogger`)**: 9 categories, 6 levels, compact format, and zero-cost debug via `Supplier`. Added a professional boxed `StartupBanner`.
16+
- `/profile [player]` — renders a player card embed with avatar, NameMC link, first/last seen (Discord timestamps), sessions, playtime, advancement count, link status, follower count, online indicator, kills, deaths, and K/D ratio. Follow/Unfollow button on the embed subscribes the requester to DM notifications.
1117
- `/seen <player>` — quick last-seen lookup. Returns online/offline status, last-seen timestamp, playtime, and session count.
1218
- `/following` — lists the Minecraft players the requester follows.
1319
- `/unfollow <player>` — stops following a player (previously only the button on `/profile`).
@@ -25,6 +31,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2531
- MySQL `isFollowing` uses `SELECT COUNT(*) > 0` instead of fetching all followers.
2632

2733
### Changed
34+
- `config-version` bumped to 4. Default `avatar-url` changed to `mc-heads.net` for higher reliability and uptime compared to `crafatar.com`.
35+
- `HeadUtil` rewritten to support `mc-heads.net` with `avatar()`, `body()`, and `combo()` methods and various size constants.
2836
- `YamlStorage` and `MySQLStorage` gained three new files / three new tables each, plus 12 new `StorageManager` methods.
2937
- `AdvancementListener` persists the unlock to storage, reads rarity stats asynchronously, and guards against duplicate events (e.g. from `/reload`). Duplicate events suppress the generic "Unlocked by" field.
3038
- `UpdateChecker` interval changed from 6 to 5 hours. `postSilentDiscordNotice()` fires once per detected release via `AtomicBoolean` guard and respects `misc.update-silent`.
@@ -33,6 +41,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
3341
- `ColorUtil.stripColor` used only internally for pre-processing before `toDiscordMarkdown`.
3442

3543
### Fixed
44+
- `SetupCommand` bug causing "Loading options failed" fixed (StringSelectMenu `addOption` parameter order corrected).
45+
- `SetupCommand` NPE when a selected ticket category was removed from config fixed.
46+
- `JoinQuitListener` null-safe bot connection checks added to prevent NPEs when the bot is disconnected. Playtime session tracking now records join timestamp before checking bot status.
47+
- `/seen` avatar resolution fixed to use the new `HeadUtil.avatar()`.
3648
- `FollowModule.onPlayerJoin` no longer blocks the scheduler thread — `retrieveUserById().complete()` replaced with `.queue()`.
3749
- `MySQLStorage.isFollowing` uses `SELECT COUNT(*)` instead of fetching all followers.
3850
- `/seen` shows "This player has never joined the server" instead of "No activity recorded yet."

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Discord integration for Minecraft servers.
88

9-
[![Version](https://img.shields.io/badge/version-1.1.0-blue)](https://github.com/DemonZ-Development/ZDiscord/releases)
9+
[![Version](https://img.shields.io/badge/version-1.2.0-blue)](https://github.com/DemonZ-Development/ZDiscord/releases)
1010
[![Minecraft](https://img.shields.io/badge/Minecraft-1.20.4%2B-green)](https://papermc.io)
1111
[![Platform](https://img.shields.io/badge/Paper%20%7C%20Folia%20%7C%20Spigot-orange)](https://papermc.io)
1212
[![Java](https://img.shields.io/badge/Java-17%2B-red)](https://adoptium.net)
@@ -63,7 +63,7 @@ ZDiscord connects your Minecraft server to Discord. Chat flows both ways, player
6363

6464
## Installation
6565

66-
1. Download `ZDiscord-1.1.0.jar` from the [Releases](https://github.com/DemonZ-Development/ZDiscord/releases) page.
66+
1. Download `ZDiscord-1.2.0.jar` from the [Releases](https://github.com/DemonZ-Development/ZDiscord/releases) page.
6767
2. Place the JAR in your server's `plugins/` directory.
6868
3. Start the server to generate the default `config.yml` and `messages.yml`.
6969
4. Open `plugins/ZDiscord/config.yml` and set:
@@ -142,7 +142,7 @@ cd ZDiscord
142142
mvn clean package
143143
```
144144

145-
The shaded JAR is written to `target/ZDiscord-1.1.0.jar`.
145+
The shaded JAR is written to `target/ZDiscord-1.2.0.jar`.
146146

147147
## License
148148

jitpack.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)