← Back to Documentation Home

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)

  1. What this plugin does: Rule-based auto moderation with timed bans, action restrictions, account health UI, and admin overrides.
  2. Can apply rule-based moderation with timed bans.
  3. Can restrict posting, commenting, messaging, or calling per rule.
  4. Shows account health and moderation controls in admin area.
  5. Has an admin settings panel for plugin controls.
  6. Handles background actions without full page reload.
  7. Connects plugin behavior to system events.
  8. Creates required setup data during install.
  9. Contains core business logic for plugin features.
  10. Runs cleanup when you uninstall the plugin.
  11. Can update page output before user sees it.
  12. Runs when a new post is created.
  13. Runs when a new comment is created.
  14. Runs after successful AJAX actions.
  15. Runs after active plugins are fully loaded.

How to Install

  1. Make sure plugin system loader is active (/plugins-check.php should show auto_prepend_loaded: true).
  2. Confirm plugin path exists: content/plugins/auto-moderation-ban-system.
  3. Open /admincp/plugins, find Auto Moderation & Ban System, then click Install.
  4. Click Enable to start using the plugin.
  5. This plugin has install.php, so setup tasks run when you click Install.

How to Use

How to Uninstall

  1. Go to /admincp/plugins.
  2. Disable Auto Moderation & Ban System if active.
  3. Click Uninstall.
  4. This plugin has uninstall.php, so cleanup can run when you click Uninstall.
  5. 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.