Overview
Runway can redirect system messages (plugin chat messages) to the action bar using the[actionbar] prefix. This is useful for displaying temporary notifications without cluttering the chat.
Action bar messages:
- Appear above the hotbar
- Display for 2-3 seconds by default
- Don’t persist in chat history
- Can include full MiniMessage formatting
- Support placeholders
The [actionbar] prefix
Add[actionbar] to any system message to send it to the action bar instead of chat:
[mm] and [p] for full formatting support:
The
[actionbar] prefix is checked in the SystemChatListener and only affects system messages, not player chat.How it works
From SystemChatListener.java:32-36:SystemChatListener.java
- Checks if the message contains
[actionbar] - Removes the prefix from the message
- Cancels the original chat packet
- Sends the processed message to the player’s action bar
Configuration requirements
System messages must be enabled in the config for action bar messages to work:config.yml
Use cases
Economy notifications
Perfect for transaction confirmations that don’t need to persist in chat:Status updates
Show temporary status messages without cluttering chat:Game mechanics
Display real-time game information:Permission checks
Quiet permission denied messages:Minigame events
Formatting examples
Basic formatted messages
With placeholders
Complex formatting
Before & after examples
Economy plugin messages
- Before
- After
Chat cluttered with transaction messages:
Quest notifications
- Before
- After
Multiple prefixes
You can combine all three prefixes for maximum functionality:[actionbar]- Redirect to action bar[mm]- Enable MiniMessage parsing[p]- Enable placeholder parsing
Practical plugin configurations
Shop plugin
Skills plugin
Claims/Protection plugin
Teleport plugin
Best practices
Use action bar for temporary info
Reserve action bar for information that doesn’t need to persist:
- Transaction confirmations
- Progress updates
- Temporary status messages
- Cooldown notifications
Keep chat for important messages
Leave important information in chat:
- Announcements
- Direct player messages
- Error messages requiring attention
- Information players might need to reference
Avoid action bar spam
Don’t send action bar messages more than once per second. Rapid updates can be distracting and hard to read.
Timing considerations
Action bar messages display for approximately 2-3 seconds. Plan your message frequency accordingly:Rapid updates
Rapid updates
For real-time stats (health, XP), send updates every 1-2 seconds:
Event-based messages
Event-based messages
For events (purchases, achievements), send once per event:
Persistent information
Persistent information
For information that should stay visible, consider using the scoreboard instead of action bar.
Troubleshooting
Action bar messages not appearing
Action bar messages not appearing
- Verify
system-messages: truein config - Ensure the message is a system message (plugin message), not player chat
- Check that the
[actionbar]prefix is present - Reload Runway:
/runway reload
Message appears in chat instead
Message appears in chat instead
The
[actionbar] prefix is only processed for system messages (chat packets from plugins). If you see the message in chat:- It might be a player chat message, not a system message
- System messages listener might be disabled
- The packet type might not be SYSTEM_CHAT_MESSAGE
Formatting not working
Formatting not working
Remember to include all necessary prefixes:
Message too long
Message too long
Action bar has limited space. If your message is cut off:
- Shorten the text
- Remove unnecessary decorations
- Use abbreviations
- Split into multiple sequential messages
Testing action bar messages
Use the parse command to test action bar messages:The parse command is perfect for testing different formats and placeholders before adding them to plugin configs.
Next steps
MiniMessage formatting
Learn about gradients, colors, and interactive elements
Placeholder integration
Add dynamic placeholders to action bar messages