Skip to content

Commit 7afb3bb

Browse files
committed
v2.5.0 Release
1 parent f392063 commit 7afb3bb

File tree

6 files changed

+32
-33
lines changed

6 files changed

+32
-33
lines changed

README.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<div align="center">
22

3-
# **ProxyPlayerNotify v2.4.0**
3+
# **ProxyPlayerNotify v2.5.0**
44

55
*Network‑wide join/leave/switch notifications for proxy servers.*
66

7-
[![SpigotMC](https://img.shields.io/badge/SpigotMC-Resource-orange)](https://www.spigotmc.org/resources/bungeeplayernotify.108035/)
87
![Platforms](https://img.shields.io/badge/Platforms-BungeeCord%20%7C%20Velocity-5A67D8)
98
![MC](https://img.shields.io/badge/Minecraft-1.8%E2%86%92Latest-2EA043)
109
![Java](https://img.shields.io/badge/Java-17+-1F6FEB)
@@ -13,7 +12,8 @@
1312
</div>
1413

1514
> TL;DR
16-
> Drop the jar on your proxy (BungeeCord/Velocity). It broadcasts join/leave/switch messages (with placeholders, MiniMessage or legacy colors), supports per‑player toggles, obeys vanish, and can ping a Discord‑style webhook.
15+
> Drop the jar on your proxy (BungeeCord/Velocity). It broadcasts join/leave/switch messages (with placeholders,
16+
> MiniMessage or legacy colors), supports per‑player toggles, obeys vanish, and can ping a Discord‑style webhook.
1717
1818
---
1919

@@ -24,11 +24,11 @@
2424
* [Installation](#installation)
2525
* [Quick Start](#quick-start)
2626
* [Configuration](#configuration)
27-
* [Messages & Delays](#messages--delays)
28-
* [Servers & Routing](#servers--routing)
29-
* [Placeholders](#placeholders)
30-
* [Permissions](#permissions)
31-
* [Webhook](#webhook)
27+
* [Messages & Delays](#messages--delays)
28+
* [Servers & Routing](#servers--routing)
29+
* [Placeholders](#placeholders)
30+
* [Permissions](#permissions)
31+
* [Webhook](#webhook)
3232
* [Commands](#commands)
3333
* [Troubleshooting](#troubleshooting)
3434
* [Building from Source](#building-from-source)
@@ -55,7 +55,6 @@
5555
## Platforms & Requirements
5656

5757
- Platforms: BungeeCord/Waterfall, Velocity 3.x
58-
- Minecraft: 1.8 → Latest
5958
- Java: 17+
6059
- Optional integrations (soft‑depends): LuckPerms, PAPIProxyBridge, PremiumVanish/SuperVanish
6160

@@ -67,8 +66,8 @@
6766
2. Place it in your proxy `plugins/` folder.
6867
3. Start the proxy to generate `config.yml`.
6968
4. Adjust config, then reload:
70-
- Bungee: `/reloadProxyNotifyConfig`
71-
- Velocity: `reloadProxyNotifyConfig`
69+
- Bungee: `/reloadProxyNotifyConfig`
70+
- Velocity: `reloadProxyNotifyConfig`
7271

7372
---
7473

@@ -86,7 +85,7 @@ Key options in `config.yml`:
8685
- Permissions: `permission.permissions`, `permission.notify_message`, `permission.hide_message`
8786
- Webhook: `webhook.enabled`, `webhook.url`, `webhook.message`
8887

89-
Tip: For multi‑line messages, use YAML lists the plugin joins them with newlines.
88+
Tip: For multi‑line messages, use YAML lists - the plugin joins them with newlines.
9089

9190
---
9291

@@ -129,17 +128,18 @@ Tip: For multi‑line messages, use YAML lists — the plugin joins them with ne
129128
## Commands
130129

131130
- BungeeCord
132-
- `/reloadProxyNotifyConfig` reloads config (perm: `ppn.reloadProxyNotifyConfig`)
133-
- `/togglemessages` per‑player toggle
131+
- `/reloadProxyNotifyConfig` - reloads config (perm: `ppn.reloadProxyNotifyConfig`)
132+
- `/togglemessages` - per‑player toggle
134133
- Velocity
135-
- `reloadProxyNotifyConfig` reloads config (console or permissioned source)
136-
- `togglemessages` per‑player toggle
134+
- `reloadProxyNotifyConfig` - reloads config (console or permissioned source)
135+
- `togglemessages` - per‑player toggle
137136

138137
---
139138

140139
## Troubleshooting
141140

142-
- No placeholders? Ensure LuckPerms/PAPIProxyBridge is installed on the proxy (optional). The plugin runs fine without them.
141+
- No placeholders? Ensure LuckPerms/PAPIProxyBridge is installed on the proxy (optional). The plugin runs fine without
142+
them.
143143
- Vanish not detected? PremiumVanish/SuperVanish is optional; if absent, notifications aren’t blocked.
144144
- Messages not visible? Check `permission.*` settings and viewer permissions.
145145
- Switch/first‑join timing odd? Increase delays to ensure server names are available.
@@ -152,8 +152,6 @@ Tip: For multi‑line messages, use YAML lists — the plugin joins them with ne
152152
mvn -DskipTests package
153153
```
154154

155-
156-
157155
## Contributing & Support
158156

159157
- Spigot: https://www.spigotmc.org/resources/bungeeplayernotify.108035/

pom.xml

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

77
<groupId>Serversync</groupId>
88
<artifactId>ProxyPlayerNotify</artifactId>
9-
<version>2.4.0</version>
9+
<version>2.5.0</version>
1010
<packaging>jar</packaging>
1111

1212
<name>Serversync</name>
@@ -58,11 +58,16 @@
5858
</goals>
5959
<configuration>
6060
<target>
61-
<copy file="${project.build.directory}/${project.build.finalName}.jar" todir="C:/Plugins Testing/Bungeecord/plugins"/>
62-
<copy file="${project.build.directory}/${project.build.finalName}.jar" todir="C:/Plugins Testing/Folia/plugins"/>
63-
<copy file="${project.build.directory}/${project.build.finalName}.jar" todir="C:/Plugins Testing/Paper/plugins"/>
64-
<copy file="${project.build.directory}/${project.build.finalName}.jar" todir="C:/Plugins Testing/Spigot/plugins"/>
65-
<copy file="${project.build.directory}/${project.build.finalName}.jar" todir="C:/Plugins Testing/Velocity/plugins"/>
61+
<copy file="${project.build.directory}/${project.build.finalName}.jar"
62+
todir="C:/Plugins Testing/Bungeecord/plugins"/>
63+
<copy file="${project.build.directory}/${project.build.finalName}.jar"
64+
todir="C:/Plugins Testing/Folia/plugins"/>
65+
<copy file="${project.build.directory}/${project.build.finalName}.jar"
66+
todir="C:/Plugins Testing/Paper/plugins"/>
67+
<copy file="${project.build.directory}/${project.build.finalName}.jar"
68+
todir="C:/Plugins Testing/Spigot/plugins"/>
69+
<copy file="${project.build.directory}/${project.build.finalName}.jar"
70+
todir="C:/Plugins Testing/Velocity/plugins"/>
6671
</target>
6772
</configuration>
6873
</execution>

src/main/java/ppn/bungeecord/EventListener.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313

1414
import java.time.LocalTime;
1515
import java.time.format.DateTimeFormatter;
16-
import java.util.HashMap;
17-
import java.util.HashSet;
18-
import java.util.Map;
19-
import java.util.Set;
20-
import java.util.UUID;
16+
import java.util.*;
2117
import java.util.concurrent.CompletableFuture;
2218
import java.util.concurrent.TimeUnit;
2319

src/main/java/ppn/velocity/EventListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
import com.velocitypowered.api.event.player.ServerConnectedEvent;
88
import com.velocitypowered.api.proxy.Player;
99
import de.myzelyam.api.vanish.VelocityVanishAPI;
10+
import net.kyori.adventure.text.Component;
1011
import ppn.Webhook;
1112
import ppn.velocity.utils.MessageSender;
1213

13-
import net.kyori.adventure.text.Component;
1414
import java.time.LocalTime;
1515
import java.time.format.DateTimeFormatter;
1616
import java.util.concurrent.CompletableFuture;

src/main/java/ppn/velocity/VelocityPlayerNotify.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import java.time.Duration;
3131
import java.util.*;
3232

33-
@Plugin(id = "proxyplayernotify", name = "ProxyPlayerNotify", authors = "NewAmazingPVP", version = "2.4.0", url = "https://www.spigotmc.org/resources/bungeeplayernotify.108035/", dependencies = {
33+
@Plugin(id = "proxyplayernotify", name = "ProxyPlayerNotify", authors = "NewAmazingPVP", version = "2.5.0", url = "https://www.spigotmc.org/resources/bungeeplayernotify.108035/", dependencies = {
3434
@Dependency(id = "luckperms", optional = true),
3535
@Dependency(id = "papiproxybridge", optional = true),
3636
@Dependency(id = "premiumvanish", optional = true),

src/main/resources/bungee.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ProxyPlayerNotify
2-
version: '2.4.0'
2+
version: '2.5.0'
33
author: 'NewAmazingPVP'
44
main: ppn.bungeecord.BungeePlayerNotify
55
description: This plugin notifies the whole network when a player joins or switches the server in the network!

0 commit comments

Comments
 (0)