Better Moderation, moderation just done better.

Overview

Better Moderation Plugin

Commands

  • /ban <player> <reason> <time> - Bans a player from the server.
  • /blacklist <player> - Blacklists a player from the server.
  • /mute <player> <reason> <time> - Mutes a player from the server.
  • /report <player> <reason> - Sends a message to everyone who has permissions.
  • /history <player> - Allows staff to check the past history of a player.
  • /pardon <player> <type> - Unmute, unban, unblacklist a player from the server.

Available Variables for Commands

  • <time>: 1d, 1m, 1s, etc
  • <type>: Ban, Mute, Blacklist

Configuration

The configuration file for BetterModeration plugin is as follows:

# BetterModeration Configuration File

database:
  # The database type. "sqlite" and "mysql" are supported.
  type: sqlite

  # Edit these settings only if you choose "sqlite".
  sqlite:
    # The file name of the database in the plugin data folder.
    # You can also put an absolute path here.
    file: data.sqlite
  # Edit these settings only if you choose "mysql".
  mysql:
    host: 127.0.0.1
    # Avoid using the "root" user for security reasons.
    username: root
    password: ""
    schema: your_schema
  # The maximum number of simultaneous SQL queries
  # Recommended: 1 for sqlite, 2 for MySQL. You may want to further increase this value if your MySQL connection is very slow.
  worker-limit: 1

# The Discord webhook to use for logging reports and bans.
discord-webhook: "https://discordapp.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz"

How to Contribute?

We welcome pull requests from anyone interested in improving this project. Before making major changes, please open an issue to discuss your proposed changes and gather feedback from the project maintainers. When submitting a pull request, please ensure that you have updated the relevant tests to reflect your changes and ensure they pass successfully. Other than that, Thank you for your contribution!

Credits

  • PocketAI - Code generating AI revolving around Pocketmine-MP
You might also like...
🦭 Just a repository to discover GitHub (or Pokémons)!

Just a repository to discover GitHub (or Pokémons)! 🦭 Após alguns bons anos trabalhando com Git no Bitbucket, resolvi finalmente colocar um primeiro

Just the stats I want, maybe you want them too

SKCDEV Easy Digital Downloads Stats This plugin adds a new "SKCDEV EDD Stats" report tab to the EDD Reports tabs. Just the stats I want, maybe you wan

Laravel 9 Template - Just a empty Laravel 9 project, ready to start new crap.

Laravel 9 Template Just a empty Laravel 9 project, ready to start new crap. Clone and start using. Usage - Local Env The same as usual with laravel. C

Better Version of Cvolton's GMDprivateServer

BetterCvoltonGDPS Better Version of Cvolton's GMDprivateServer Supported version of Geometry Dash: 1.0 - 2.11 (so any version of Geometry Dash works,

We go for better world
We go for better world

Nasa-Space-Apps-Challenge-2021 We go for better world Team: Dynamo Warrior Team Member Mazharul Hasan Fozilatunnesa Mestu Paul Nayeem Hossain Belal Ud

Magento 2 SEO extension will do perfectly for your better SEO.
Magento 2 SEO extension will do perfectly for your better SEO.

Magento 2 SEO extension will do perfectly for your better SEO. This is a bundle of outstanding features that are auto-active when you install it from Mageplaza without any code modifications. It is also friendly with your store if you need to insert meta keywords and meta descriptions for your product.

Magento 2 Blog Extension is a better blog extension for Magento 2 platform. These include all useful features of Wordpress CMS
Magento 2 Blog Extension is a better blog extension for Magento 2 platform. These include all useful features of Wordpress CMS

Magento 2 Blog extension FREE Magento 2 Better Blog by Mageplaza is integrated right into the Magento backend so you can manage your blog and your e-c

composer plugin for a better frontend setup

node-composer composer plugin for a better frontend setup PHP projects mostly are Web-Applications. Many Web-Applications also need a frontend part wh

Better error reporting for PHP, and prettier too!
Better error reporting for PHP, and prettier too!

PHP Error | Improve Error Reporting for PHP THIS IS NO LOBGER MAINTAINED, Please leave me alone. PHP errors are not good enough for development, it's

Owner
Colby Pham
As a software developer and offensive security engineer, I build secure and elegant solutions to complex problems. Whether coding or anything, I push boundaries
Colby Pham
A library of powerful code snippets to help you get the job done with Gravity Forms and Gravity Perks.

Gravity Wiz Snippet Library Gravity Wiz is creating the most comprehensive library of snippets for Gravity Forms ever. We'll be consistently moving ou

Gravity Wiz 151 Dec 27, 2022
WebAgency certificate results done by Mickaël Moreau, delivred by Axelo (web-agency.app)

WebAgencyCertificate WebAgency certificate results done by Mickaël Moreau, delivred by Axelo (web-agency.app) Résultat du certificat en pré-production

Mickaël Moreau 1 Sep 20, 2022
TPI - News website done is the context of my CS studies

tpi-news-website TPI - News website done is the context of my CS studies IceScrum Software Used Documentation Text editing Microsoft Office 365 suite

Louis Richard 0 Sep 29, 2022
🔒 a simple login screen done in php with connection to mysql

login.php What is a login system? login (derived from the English log in) or logon or signin, is the process to access a restricted computer system ma

SEBASTIAN JN 3 Aug 21, 2022
Just show free stuff in the Elementor

Elementor - just free Just show free stuff in the Elementor: This plug-in will remove/hide pro features so the interface will be a bit cleaner. Keep i

Michael Gangolf 7 Oct 14, 2022
You have just downloaded "Messenger-app" [A lightweight, minimalistic real-time chat application]

MESSENGER-APP You have just downloaded "Messenger-app" [A lightweight, minimalistic real-time chat application] Setup To get it working, follow these

Chr1st0ph3r SAB 1 Oct 29, 2021
just the most basic functions of the website.

cybergrungewebsite just the most basic functions of the website. upload handling the artists folder contains custom upload.php which handles uploads.

Ellie 6 Dec 8, 2022
Disclaimer: The documentation of this plugin is English at the moment, but I might go for Latin later down the line, just for the fun of it.

Quiritibus Plugin This repository is storing the custom plugin developed for the Quiritibus Latin Magazine website, currently being developed at: http

Alkor András 1 Jan 19, 2022
🧬 Nano is a zero-config, no skeleton, minimal Hyperf distribution that allows you to quickly build a Hyperf application with just a single PHP file.

Nano is a zero-config, no skeleton, minimal Hyperf distribution that allows you to quickly build a Hyperf application with just a single PHP file.

Hyperf 273 Jan 4, 2023
A PHP library that can be used manually as well as a CLI script that you can just run on your file

Run phpcs on files and only report new warnings/errors compared to the previous version. This is both a PHP library that can be used manually as well

Payton Swick 20 Aug 4, 2022