EasyBan is a Plugin to Simplify ban's on you Minecraft Server
Installation
Download the plugin from GitHub. Now move the EasyBan-RELEASE.jar into the plugin's folder of the server and state the server afterwards. As soon as the server is started, a new folder named EasyBan will be created in the plugin's folder. In this folder you will find a config.yml now you can start to set your ban reasons, and you can also set the format of all dates here DateTime Patterns.
Configuration
Code (YAML):
dateTimeFormate
:
"HH:mm:ss dd.MM.yyyy"
# The Pattern for all Dates
reasons
:
# To create a new Reason set a id and all Properties for this Object
1:
name
: Hacking
message
:
# You can use the %reason%, %from% and %until%
# placeholders to dynamically deliver your message.
# Also, color codes can be used
-
"&7&m-----------"
-
"&r&7Du wurdest gebannt wegen &cHacking"
-
"&r&7von %from%"
-
"&r&7bis %until%"
time
:
# Set the length of a ban in seconds, minutes, hours,
# days, weeks, months and years
seconds
: 0
minutes
: 0
hours
: 0
days
: 0
weeks
: 1
months
: 0
years
: 0
2:
name
: Lifetime
# In addition, the parameter customReason can be specified.
# Use the placeholder %reason% in the message to display the custom reason.
customReason
: true
message
:
-
"&7&m-----------"
-
"&r&7Du wurdest gebannt wegen %reason%"
-
"&r&7von %from%"
-
"&r&7bis %until%"
time:
seconds
: 0
minutes
: 0
hours
: 0
days
: 0
weeks
: 0
months
: 0
years
: 999