Safe mode
Safe mode is used to block or limit plugin behavior when there is a configuration problem or when you want to prevent unverified events from running on the server.
When to use safe mode
Use safe mode when:
- the plugin prints errors in the console;
- an event has incorrect rewards;
- a YAML configuration is broken;
- you are performing maintenance;
- you just restored a backup;
- you need to stop automatic events from starting.
Enable safe mode
/eventdirector safemode on
Disable safe mode
/eventdirector safemode off
Check status
/eventdirector safemode status
or check:
/eventdirector version
What safe mode can do
The exact behavior depends on the build, but safe mode may:
- prevent events from starting;
- block automations;
- limit sensitive commands;
- prevent unverified rewards from being executed;
- keep diagnostic and restore commands available.
Recommended error procedure
- Enable safe mode.
- Check the console.
- Create a backup if possible.
- Fix the broken configuration.
- Reload or restart if needed.
- Test a simple event.
- Disable safe mode only when the issue is fixed.
warning
Do not disable safe mode just to hide an error. Fix the cause first.