Giter VIP home page Giter VIP logo

bansystem's Introduction

DALL·E 2024-01-07 18 36 25 - A symbolic wide image showing the transition from one GitHub repository to another, using a red 'X' as an indicator  The scene includes two stylized G>

https://github.com/toxnix/BanSystem

DALL·E 2023-11-12 00 20 21 - Create a banner for a Minecraft ban system in a 3_1 format  The banner should feature a stylized banhammer, striking an anvil with sparks flying  The

BanSystem

This plugin allows you to ban players. I am currently actively developing the plugin and have many ideas and features in progress.

Why Choose BanSystem?

BanSystem offers several compelling reasons to use it on your BungeeCord server:

  1. Efficient Player Management: Effortlessly ban, unban, mute, and unmute players. Access comprehensive ban and mute histories to enforce server rules effectively.
  2. Simplified Ban and Mute Templates: Use predefined templates for common scenarios or customize them to fit your server's needs, ensuring consistent rule enforcement.
  3. Flexible Control: Assign permissions, fine-tune ban and mute durations, and manage player groups with ease, giving you full control over server discipline.
  4. Easy Configuration: Quick installation, message customization, and adjustable ban durations make setup a breeze.

Commands

Command Description
/ban <Player> [<Time>] <Reason> Ban a player
/ban <Player> #<template-id> Ban a player using a template
/mute <Player> [<Time>] <Reason> Mute a player
/mute <Player> #<template-id> Mute a player using a template
/unban <Player> Unban a player
/unmute <Player> Unmute a player
/baninfo <Player> Show the player's ban history
/muteinfo <Player> Show the player's mute history
/clearban(s) <Player> Clear all ban entries for a player
/clearmute(s) <Player> Clear all mute entries for a player
/bantemplate list List ban templates
/bantemplate add <time> <reason> Add a ban template
/bantemplate edit <time> <reason> Edit a ban template
/bantemplate remove <id> Remove a ban template
/mutetemplate list List ban templates
/mutetemplate add <time> <reason> Add a mute template
/mutetemplate edit <time> <reason> Edit a mute template
/mutetemplate remove <id> Remove a mute template
/banreload Reload messages from configs

Permissions

Permission Description
bansystem.ban Permission for the /ban command
bansystem.ban.permanent Permission to use /ban with permanent bans
bansystem.ban.<group> Maximum ban duration can be configured in settings.yml
bansystem.mute Permission for the /mute command
bansystem.mute.permanent Permission to use /mute with permanent mutes
bansystem.mute.<group> Maximum mute duration can be configured in settings.yml
bansystem.unban Permission for the /unban command
bansystem.unmute Permission for the /unmute command
bansystem.baninfo Permission for the /baninfo command
bansystem.muteinfo Permission for the /muteinfo command
bansystem.bantemplate Permission for the /bantemplate command
bansystem.mutetemplate Permission for the /mutetemplate command
bansystem.reload Permission for the /banreload command
bansystem.ban.bypass Permission to bypass to be banned
bansystem.mute.bypass Permission to bypass to be muted

Functions

  • Ban players
  • Unban players
  • Mute players
  • Unmute players
  • Show ban history
  • Show mute history
  • Clear bans for specific players
  • Clear mutes for specific players
  • Create and use ban templates with IDs
  • Create and use mute templates with IDs

Requirements

  • Java 17 or higher
  • MySQL Database

Installation

  1. Move the plugin to the plugin's folder of your BungeeCord server.
  2. Restart BungeeCord.
  3. Configure MySQL settings in the mysql.yml configuration file.
  4. Optionally, customize individual messages in the messages.yml configuration file.
  5. If needed, adjust the ban duration settings for different groups in the settings.yml.

How to Update

Coming Soon

  • If you are muted, commands that you don't able to use
  • Add H2 and MongoDB Database support
  • General history command to show all mutes, bans, and warns
  • A warn System
  • Spigot support

In Planning

  • Webpanel
  • AI for the mute system

bansystem's People

Contributors

bacherik avatar renovate[bot] avatar dependabot[bot] avatar

bansystem's Issues

Kick after unmute

Describe the bug
If a player is muted, and another player sends a message, he will be kicked for chat message validation failure. After a mute, all people can continue chatting normally. Only if the person who was muted sends a message during their mute and then tries to send a message afterward, they will also be kicked for either Chat message validation failure or Received chat packet with missing or invalid signature..

To Reproduce
Steps to reproduce the behavior:

  1. Mute player XY
  2. sent a message

Expected behavior
Before, during and after a mute, all people except the muted person should be able to chat normally. The muted person should only be able to chat normally before and during a mute, and not at all during a mute.

Screenshots
image
image

Desktop:

  • OS: Windows
  • tested: Lunar vanilla, 1.20.1, LabyMod 1.20.1, fabric 1.20.1
  • Version 1.20.1

You can't ban player's

When you run "/ban BetaTester Test" or "/an BetaTester 5d Test", you get a message from the plugin with the content "null" in the chat. There are no errors in the console at any time. There is no new entry in the database.
image

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/issue-translator.yml
  • tomsun28/issues-translate-action v2.7
maven
pom.xml
  • org.apache.maven.plugins:maven-compiler-plugin 3.11.0
  • org.apache.maven.plugins:maven-shade-plugin 3.5.1
  • net.md-5:bungeecord-api 1.20-R0.2-SNAPSHOT
  • com.zaxxer:HikariCP 5.0.1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.