Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/uvlabs/no-replicas/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
What it does
Prevents backup and file manager plugins from being activated on a WordPress website.
Why
Users kept cloning the demo sites I created for Kikote and Chwazi. Manually deactivating the demo license from those sites was a chore.
How to use
Simply copy the no-replicas.php file into your wp-content\plugins\mu-plugins folder of your demo template. Create the mu-plugins folder if it does not exist.
Misc
Feel free to submit a pull request with additional backup/cloning and file manager plugins. Feel free to fork and make the lib into a general purpose one.