Feature Flags
Feature Flags
EclipseCP is modular - toggle features on/off without touching code.
How to Configure
The easiest way is through Admin > Settings > Features - a visual toggle page for every module.
You can also set defaults in your .env file (these are the technical keys):
| Module | .env Variable | Default |
|---|---|---|
| Store | FEATURE_STORE | true |
| Documentation | FEATURE_GRIMOIRE | true |
| Forum | FEATURE_FORUM | true |
| Voting | FEATURE_VOTING | true |
| Donations | FEATURE_DONATIONS | true |
| Events | FEATURE_EVENTS | true |
| Bookings | FEATURE_BOOKINGS | true |
| Server Showcases | FEATURE_DEDICATED_SERVERS | true |
Display names shown in the admin panel and navigation are configurable in Settings > General (e.g. rename "Documentation" to anything you like).
What Gets Disabled
When a feature is disabled:
- Its routes return 404
- Its sidebar links are hidden from the admin panel
- Its navigation items are hidden from the public site