Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Minimalistik Ban plugin. with ban , tempban, kick, unban, mute, tempmute, unmute, and more!
EasyBan
simple commands to manage bans, kicks, and mutes on your server.
Description:
EasyBan is a simple Minecraft plugin that helps you manage punishments on your server quickly.
🧰 Commands:
(version 1.7)
- /eb ban player — permanently ban a player
- /eb ban ip <nickname|IP> — permanently ban an IP address (or the IP of a player)
- /eb tempban player
- /eb tempban ip <nickname|IP>
- /eb delban player — unban a player (exempts player if their IP is banned)
- /eb delban ip <nickname|IP> — unban an IP address
- /eb kick — kick a player
- /eb mute player — mute a player
- /eb mute ip <nickname|IP> — mute an IP address
- /eb tempmute player
- /eb tempmute ip <nickname|IP>
- /eb delmute player — unmute a player
- /eb delmute ip <nickname|IP> — unmute an IP address
- /eb notbreak give — restrict a player from breaking blocks
- /eb notbreak remove — allow a player to break blocks again
- /eb status <player/ip> <nick/ip> — watch the status of ip or player
- You can use "pl" instead of "player"
- Time Format (
<time>): Specified as a single word combining number and unit. Examples:30s(30 seconds),10m(10 minutes),2h(2 hours),1d(1 day),2w(2 weeks). - Server Target (
server:<server>): You can optionally addserver:<server_name>at the end of any punishment or unpunishment command to target a specific server (e.g.,server:survival). Writeserver:allto apply the action network-wide across all connected servers (and Velocity). You don't need to use this if you don't use MySQL or want the action to apply only to the current server. - IP Exception (
not:<nickname>): You can optionally addnot:<nickname>at the end of any IP punishment command (ban ip,tempban ip,mute ip,tempmute ip). This means the punishment will apply to everyone on that IP except for the specified player.
New version 1.7!
Maked many changes, you can see them on changelog.
Сonfig:
# ---------------------------------------------------- #
# EasyBan Configuration #
# ---------------------------------------------------- #
# Name of this specific server (used for MySQL syncing)
server-name: "survival"
# Should the plugin check GitHub for new updates on startup?
checkupdates: true
# Language used for all plugin messages.
# Available by default: en (English), fr (French), de (German), uk (Ukrainian), es (Spanish).
# Language files are located in the "languages" folder and can be freely edited.
# Custom files (e.g. "pl.yml") can be added to the languages folder and selected here.
language: "en"
# Discord integration. This works through a Discord Webhook, which means you do
# NOT need a Discord bot or any extra plugin. To set it up:
# 1. In your Discord server, go to Server Settings -> Integrations -> Webhooks.
# 2. Create a webhook, copy its URL and paste it into "url" below.
# 3. Set "enabled" to true and choose which events you want to be announced.
discord:
enabled: false
# The webhook URL, e.g. "https://discord.com/api/webhooks/123456789/abcdef..."
url: ""
# Optional cosmetic overrides for the webhook bot appearance.
username: "EasyBan"
avatar-url: "" # Leave empty to use the webhook's default avatar.
# Choose what should be announced in your Discord channel:
notify:
ban: true # Player/IP bans and tempbans
mute: true # Player/IP mutes and tempmutes
kick: true # Kicks
unpunish: true # Removal of any punishment (unban, unmute, expiry, etc.)
blockbreak: true # "Do not break blocks" restrictions
# Developer API. When enabled, other plugins can punish, un-punish, query and
# listen to EasyBan through the EasyBanAPI class.
# !!! WARNING: only enable this if you actually use it. A malicious or badly
# written plugin COULD abuse this API to punish players without permission.
api:
enabled: false
storage:
# Type can be "local" (uses data.yml) or "mysql" (cross-server sync)
type: "local"
# How often the plugin checks the database for new bans (in seconds)
sync-interval: 4
# Automatically delete punishments whose time has run out, instead of keeping
# dead rows in data.yml / the MySQL table forever.
remove-expired: true
mysql:
host: "localhost"
port: 3306
database: "easyban"
username: "root"
password: ""
# SSL/TLS mode for the MySQL connection:
# disable - plain, unencrypted connection (default; fine for localhost/LAN)
# enable - encrypted connection, server certificate is NOT verified
# verify - encrypted connection WITH certificate verification
# (the server needs a certificate trusted by your Java truststore)
ssl-mode: "disable"
table-prefix: "" # Optional. Leave blank for no prefix.
Velocity Config
# ---------------------------------------------------- #
# EasyBan Velocity Configuration #
# ---------------------------------------------------- #
# EasyBan Velocity is an ADD-ON for the main EasyBan plugin.
# It reads the shared MySQL database and blocks banned players at the proxy,
# before they can reach any backend server.
# Only punishments with the scope "all" are enforced here - server-specific
# punishments stay the job of the backend EasyBan plugin.
storage:
# How often the proxy checks the database for new bans (in seconds)
sync-interval: 4
mysql:
host: "localhost"
port: 3306
database: "easyban"
username: "root"
password: ""
# SSL/TLS mode for the MySQL connection (same values as the backend plugin):
# disable - plain, unencrypted connection (default; fine for localhost/LAN)
# enable - encrypted connection, server certificate is NOT verified
# verify - encrypted connection WITH certificate verification
ssl-mode: "disable"
table-prefix: "" # Must be identical to the backend EasyBan setting.
# Screen shown to a player who is banned from the whole network.
# Supports MiniMessage (e.g. , <#FF5555>, , ).
# Placeholders: %reason%, %admin%, %time%
messages:
banned-layout: "YOU ARE BANNED FROM THE NETWORK!Reason: %reason%Banned by: %admin%Expires: %time%"
permanent: "Permanent"
✨ Features:
- Easy to use commands
- Supports temporary and permanent bans
- Kick and mute players quickly
- Works on small and large servers
🖥️ Requirements:
- Minecraft 1.21+
❗info
If you reinstall or update the plugin, your previous bans will still work. However, it is always recommended to test it, as it depends on whether you have MySQL connected or not.
Plugin was NOT testet on Folia
In version 1.7 can be bugs, if you find one please write in Discord Chanel.
Pinned Versions
- R1.21–26.3
Pages
Members
1Owner