Wiki 9Minecraft Wiki 9Minecraft

Automating Promotion Broadcasts with Rank Change Events

Listening for Promotions Using on group change

Whenever a player's LuckPerms rank updates, whether from a /rankup script, a timed add player to group "vip" for 30 days reward, or an admin adjustment, Hyper Perms Plugin lets you react immediately through a dedicated event trigger.

1. Add an on group change: block inside your HyperScript file to run custom actions automatically whenever any player switches groups.

2. Read the player's updated details inside the event using group of player, prefix of player, and suffix of player so your message displays their fresh rank title and formatting accurately.

3. Broadcast a server-wide promotion notice to celebrate milestones, or send private guidance explaining what new perks unlocked with the updated group.

4. If you want different announcements for different tiers, combine on group change: with checks on group of player or weight of group "vip" so major ranks get a spotlight message while minor updates stay quiet.

Preventing Double Announcements Across Scripts

A frequent setup mistake is putting a broadcast line inside your /rankup command and also broadcasting a generic message inside on group change:, which causes two back-to-back announcements every time someone ranks up. Pick one clear home for server broadcasts: either keep chat alerts centralized inside on group change: so every promotion path announces consistently, or reserve /rankup broadcasts for coin-based promotions while filtering on group change: for special groups. Testing a single rank switch on a test account confirms only one clean announcement fires in chat. Since LuckPerms saves every rank change centrally, event scripts stay synchronized across your entire server.

Join 9Minecraft News & Guides