Loading Oh boi...
Become a minion today!

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 VariableDefaultStoreFEATURE_STOREtrueDocumentationFEATURE_GRIMOIREtrueForumFEATURE_FORUMtrueVotingFEATURE_VOTINGtrueDonationsFEATURE_DONATIONStrueEventsFEATURE_EVENTStrueBookingsFEATURE_BOOKINGStrueServer ShowcasesFEATURE_DEDICATED_SERVERStrue

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
Contact Me