πŸ›οΈ
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
  • What are flags?
  • How to use flags

Was this helpful?

  1. 🎌flags🎌

Introduction

Introduction to flags

What are flags?

Sleep most is using flags for world specific configurations. Everything that is a flag is a property that can be configured per world. This is different for configurations such as messages which will be the same for all worlds.

How to use flags

Whenever the world is enabled, all flags will automatically be prepared in the config file for that world. In order to configure the flags, you can use the following command:

/sm setflag <flagName> <flagValue>

IMPORTANT: We highly recommend using the commands only. The reason for that is that some flags will only be validated or set correctly if you are using the commands.

PreviousPermissionsNextOverview flags

Last updated 1 year ago

Was this helpful?