๐Ÿ›๏ธ
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
  1. ๐ŸŽŒflags๐ŸŽŒ

Introduction

Introduction to flags

PreviousPermissionsNextOverview flags

Last updated 1 year ago

Was this helpful?

CtrlK
  • What are flags?
  • How to use flags

Was this helpful?

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.