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.

Last updated