Auto Moderation & Ban System
Plugin documentation for installation, usage, uninstallation, and troubleshooting.
Slug: auto-moderation-ban-system
Version: 1.0.0
Author: Arman Sen
Introduction
Rule-based auto moderation with timed bans, action restrictions, account health UI, and admin overrides.
This plugin is managed through /admincp/plugins and works without core-file edits.
Features (As Per Plugin Functions)
- What this plugin does: Rule-based auto moderation with timed bans, action restrictions, account health UI, and admin overrides.
- Can apply rule-based moderation with timed bans.
- Can restrict posting, commenting, messaging, or calling per rule.
- Shows account health and moderation controls in admin area.
- Has an admin settings panel for plugin controls.
- Handles background actions without full page reload.
- Connects plugin behavior to system events.
- Creates required setup data during install.
- Contains core business logic for plugin features.
- Runs cleanup when you uninstall the plugin.
- Can update page output before user sees it.
- Runs when a new post is created.
- Runs when a new comment is created.
- Runs after successful AJAX actions.
- Runs after active plugins are fully loaded.
How to Install
- Make sure plugin system loader is active (
/plugins-check.php should show auto_prepend_loaded: true).
- Confirm plugin path exists:
content/plugins/auto-moderation-ban-system.
- Open
/admincp/plugins, find Auto Moderation & Ban System, then click Install.
- Click Enable to start using the plugin.
- This plugin has
install.php, so setup tasks run when you click Install.
How to Use
- Enable the plugin first, then test its workflow in the related area of your site.
- Use plugin settings in AdminCP when available to adjust behavior.
- Check frontend and AJAX flows for expected behavior after each change.
- Keep plugin files consistent with the same version shown in
plugin.json.
How to Uninstall
- Go to
/admincp/plugins.
- Disable Auto Moderation & Ban System if active.
- Click Uninstall.
- This plugin has
uninstall.php, so cleanup can run when you click Uninstall.
- Delete folder
content/plugins/auto-moderation-ban-system only after uninstall completes (if full removal is needed).
FAQs
Q: Plugin is installed but nothing changes. Why?
A: Usually it is not enabled, or plugin loader is not active. Check /admincp/plugins and /plugins-check.php.
Q: Where do I configure this plugin?
A: This plugin has a settings/admin screen available from its plugin card in AdminCP.
Q: Will core updates delete this plugin?
A: No. Plugin files in content/plugins are designed to be update-safe from core upgrades.
Q: Will uninstall remove all plugin data?
A: It depends on cleanup logic in uninstall.php. Review plugin behavior before removal if you need to preserve data.