Skip to content

A plugin to notify when a player joins or leaves the network or when they switch to another server

Notifications You must be signed in to change notification settings

NewAmazingPVP/ProxyPlayerNotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProxyPlayerNotify v2.5.0

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

Platforms MC Java License

TL;DR 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.


Table of Contents


Highlights

  • Join, leave, and server‑switch broadcasts
  • First‑join public/private messages
  • MiniMessage or legacy color codes (use_minimessage)
  • LuckPerms placeholders: %lp_prefix%, %lp_suffix% (optional)
  • PAPIProxyBridge placeholders (optional)
  • Private/Disabled/Limbo servers for smart routing
  • Per‑player toggle command; permission‑gated visibility
  • Webhook on join (Discord‑compatible)

Note: This is a proxy plugin. It runs on BungeeCord/Velocity, not on Spigot/Paper/Folia.


Platforms & Requirements

  • Platforms: BungeeCord/Waterfall, Velocity 3.x
  • Java: 17+
  • Optional integrations (soft‑depends): LuckPerms, PAPIProxyBridge, PremiumVanish/SuperVanish

Installation

  1. Download the latest jar from Releases (or Actions artifacts).
  2. Place it in your proxy plugins/ folder.
  3. Start the proxy to generate config.yml.
  4. Adjust config, then reload:
    • Bungee: /reloadProxyNotifyConfig
    • Velocity: reloadProxyNotifyConfig

Quick Start

Key options in config.yml:

  • Messages: join_message, leave_message, switch_message
  • First‑join: first_join_message, first_join_private_message
  • Private message to the joining player: join_private_message (YAML list → multi‑line)
  • Delays (ticks): join_message_delay, switch_message_delay, etc.
  • Formatting: use_minimessage: true|false
  • Routing: ServerNames, DisabledServers, PrivateServers, LimboServers
  • Vanish: disable_vanish_notifications: true|false
  • Permissions: permission.permissions, permission.notify_message, permission.hide_message
  • Webhook: webhook.enabled, webhook.url, webhook.message

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


Configuration

Messages & Delays

  • Public: join_message, leave_message, switch_message
  • Private (to the joining player): join_private_message (list)
  • First‑join variants: first_join_*
  • Delays are in ticks (x 50ms): join_message_delay, switch_message_delay, etc.

Servers & Routing

  • ServerNames: map backend → display name
  • DisabledServers: players on these servers won’t receive broadcasts
  • PrivateServers: activity from/to these servers isn’t broadcast network‑wide
  • LimboServers: moving into a limbo server acts like leaving; moving out acts like joining

Placeholders

  • Built‑in: %player%, %server%, %last_server%, %time%
  • LuckPerms (optional): %lp_prefix%, %lp_suffix%
  • PAPIProxyBridge (optional): all PAPI placeholders available on your proxy

Permissions

  • Enable checks: permission.permissions: true
  • Hide unless viewer has ppn.view: permission.hide_message: true
  • Only broadcast for players with ppn.notify: permission.notify_message: true

Webhook

  • webhook.enabled: true|false
  • webhook.url: "https://..."
  • webhook.message: supports placeholders and formatting

Commands

  • BungeeCord
    • /reloadProxyNotifyConfig - reloads config (perm: ppn.reloadProxyNotifyConfig)
    • /togglemessages - per‑player toggle
  • Velocity
    • reloadProxyNotifyConfig - reloads config (console or permissioned source)
    • togglemessages - per‑player toggle

Troubleshooting

  • No placeholders? Ensure LuckPerms/PAPIProxyBridge is installed on the proxy (optional). The plugin runs fine without them.
  • Vanish not detected? PremiumVanish/SuperVanish is optional; if absent, notifications aren’t blocked.
  • Messages not visible? Check permission.* settings and viewer permissions.
  • Switch/first‑join timing odd? Increase delays to ensure server names are available.

Building from Source

mvn -DskipTests package

Contributing & Support


License

MIT

About

A plugin to notify when a player joins or leaves the network or when they switch to another server

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages