πŸ›οΈ
Sleepmost
  • 🏠Sleep Most
  • 🎬Video-tutorials
  • ⏰Release updates
  • Commands
  • Features
  • Permissions
  • 🎌flags🎌
    • Introduction
    • Overview flags
  • πŸ” Placeholders
    • Sleepmost Config
    • Placeholder API
  • πŸ“ƒFiles
    • config.yml
    • messages.yml
  • πŸ“šGuidesπŸ“š
    • Debugging the plugin
    • Configure 1 player sleep
    • Configure AFK detection
    • Hiding messages
    • Nightcycle animation
Powered by GitBook
On this page
  • Hiding messages from messages.yml
  • Hiding the "world not enabled" message

Was this helpful?

  1. πŸ“šGuidesπŸ“š

Hiding messages

A guide on hiding certain messages

Hiding messages from messages.yml

The messages have been configured so, that whenever you want to hide the message, you can simply clear the message. The plugin will detect that nothing is there and the message will not be shown. Example below:

sleep-prevented: '&cYou cannot sleep in this world!'
sleep-prevented: ''

Hiding the "world not enabled" message

You might have encountered a message showing "world not enabled, type /sm enable ..." . This message is shown whenever a world is not enabled yet for sleep most. This message is not configurable as this is considered a system message.

However you can still configure to not see this message anymore. if you see this message, it means you have the sleepmost.notify permission or simply all permissions.

A simple way to hide this message is by adding the negated permission node to your group or player.

#please note the '-' in front to negate the permission
-sleepmost.notify

PreviousConfigure AFK detectionNextNightcycle animation

Last updated 2 years ago

Was this helpful?