Are you an LLM? You can read better optimized documentation at /en\tutorial\override\overview.md for this page in Markdown format
Overview
The override feature applies custom changes to a subscription config, and those changes still apply after the subscription is updated.
Use cases
- Adding custom rules
- Customizing proxy groups
- Anything else that involves modifying the config file
How to use
Clash Party overrides are not global — you have to assign an override file to the subscription that should use it.
- Open Clash Party, go to the
Overridepage in the left sidebar, and import an override file from a URL or from a local file. - Click the override file you want to edit, make your changes, and save.
- Open
Subscription Managementin the left sidebar, click the three dots in the top right corner of the subscription, and chooseEdit Info. - In the dialog, set the last item,
Override, to the override script/config you just imported, then save.
Override file formats
YAML
A YAML override file uses the same syntax as a subscription config; you only need to write the entries you want to change. See YAML for details.
JavaScript
JavaScript lets you modify the config more flexibly. See JavaScript for details.
