Hey guys just did this lite bans real quick all I'm asking for is a vouch thanks
Config File: messages.yml
Prefix: &8[&cSTAFF:&8]
Example Message: broadcast_ban: '&8[&cSTAFF:&8] &c$banningPlayer &fbanned &c$bannedPlayer &ffor ''&c$reason&f'''
[STAFF:] FlyingOG banned MCM for Test
[STAFF:] FlyingOG IP-Banned MCM for Test
Usage Command: used /mute -> [STAFF:] Usage: /mute <player> [reason]
Config File: messages.yml
Prefix: &8[&cSTAFF:&8]
Example Message: broadcast_ban: '&8[&cSTAFF:&8] &c$banningPlayer &fbanned &c$bannedPlayer &ffor ''&c$reason&f'''
[STAFF:] FlyingOG banned MCM for Test
[STAFF:] FlyingOG IP-Banned MCM for Test
Usage Command: used /mute -> [STAFF:] Usage: /mute <player> [reason]
Code:
time_format: YYYY-MM-dd
history_time_format: YYYY-MM-dd
banned_message_base: |
&cYou are banned from &cServer Name!&f
&cBanned on: $bannedFrom
&cBanned by: $displayName
&cReason: $reason&f
banned_message: |-
$base
Expires in: $banTimeLeft
$appealMessage
banned_message_permanent: |-
$base
You are permanently banned!
$appealMessage
banned_message_appeal_message: '&cAppeal at: &cserver name'
banned_message_geoip_blacklist: |-
&cYou are banned from this server!&f
Your location is blacklisted: $geoip
default_ban_reason: The Ban Hammer has spoken!
default_mute_reason: Spamming
permission_error: '&cYou don''t have permission!'
muted: '&cYou are muted! ($duration remaining)!'
muted_permanent: '&cYou are permanently muted!'
notify:
banned_player_join: '&c$player&f tried to join, but is banned ($duration)!'
banned_geoip_blacklist: '&c$player&f tried to join, but is blacklisted ($geoip)!'
error_no_reason_provided: '&cYou must provide a reason for this punishment!'
error_no_sql_connection: '&cLiteBans is not connected to a database!'
internal_error: '&cAn internal error occurred while attempting to perform this command.'
duration_limit_error: '&cMaximum duration allowed: $duration'
warned_join: '&cYou have new warnings:'
warned_join_entry: |-
&4 - Warned by &c$displayName&4: &c$reason
&4(&c$timeSince ago&4)
command:
ban:
usage: '&8[&cSTAFF:&8] &cUsage: /ban <player> [reason]'
unban_usage: '&8[&cSTAFF:&8] &cUsage: /unban <player>'
example: '&8[&cSTAFF:&8] &cExample: /ban Player 7d [reason]'
silent_prefix: '&f[&cSilent&f] '
broadcast_ban: '&8[&cSTAFF:&8] &c$banningPlayer &fbanned &c$bannedPlayer &ffor ''&c$reason&f'''
broadcast_tempban: '&8[&cSTAFF:&8] &c$banningPlayer &ftempbanned &c$bannedPlayer &ffor
$tempDuration for ''&c$reason&f'''
broadcast_ip_ban: '&8[&cSTAFF:&8] &c$banningPlayer &fIP-banned &c$bannedPlayer &ffor
''&c$reason&f'''
broadcast_temp_ip_ban: '&8[&cSTAFF:&8] &c$banningPlayer &ftemp IP-banned &c$bannedIP
&ffor $tempDuration for ''&c$reason&f'''
broadcast_ip_ban_hidden: '[Hidden IP]'
broadcast_unban: '&8[&cSTAFF:&8] &c$displayName &funbanned &c$bannedPlayer'
previous_ban_removed: '&8[&cSTAFF:&8] &cPrevious ban for $bannedPlayer removed.'
previous_ban_existing: '&8[&cSTAFF:&8] &c$bannedPlayer is already banned, and you do
not have permissions to replace existing bans.'
unban_queue: '&6If they try to reconnect, they will be unbanned.'
error_no_spec: '&cNo valid time specification detected!'
unban_fail: '&cTarget is not banned!'
exempt: '&cYou can''t ban $player!'
broadcast_unmute: '&c$displayName &funmuted &c$bannedPlayer'
no_override: '&cPlayer is already banned!'
response: ''
mute:
usage: '&8[&cSTAFF:&8] &cUsage: /mute <player> [reason]'
unmute_usage: '&8[&cSTAFF:&8] &cUsage: /unmute <player>'
example: '&8[&cSTAFF:&8] &cExample: /mute Player 7d [reason]'
broadcast: '&c$displayName &fmuted &c$mutedPlayer &ffor ''&c$reason&f'''
broadcast_tempmute: '&8[&cSTAFF:&8] &c$displayName &ftempmuted &c$mutedPlayer &ffor
$tempDuration for ''&c$reason&f'''
message: |-
&8[&cSTAFF:&8] &c&lGlobal Mute:
&4You have been muted by $displayName&4 for &c'&4$reason&c'&4.
&4This mute will expire in $duration.
message_permanent: |-
&8[&cSTAFF:&8] &c&lGlobal Mute:
&4You have been permanently muted by $displayName&4 for &c'&4$reason&c'&4.
&4This mute will not expire.
unmute_fail: '&8[&cSTAFF:&8] &cTarget is not muted!'
previous_mute_removed: '&8[&cSTAFF:&8] &cPrevious mute for $mutedPlayer removed.'
previous_mute_existing: '&8[&cSTAFF:&8] &c$mutedPlayer is already muted, and you do
not have permissions to replace existing mutes.'
exempt: '&8[&cSTAFF:&8] &cYou can''t mute $player!'
notification: '&8[&cSTAFF:&8] &c$mutedPlayer tried to speak, but is muted.'
error_not_enabled: '&cMuting is not enabled in the configuration!'
broadcast_ip_mute: '&8[&cSTAFF:&8] &c$displayName &fIP-muted &c$mutedPlayer &ffor ''&c$reason&f'''
broadcast_temp_ip_mute: '&8[&cSTAFF:&8] &c$displayName &ftemp IP-muted &c$mutedIP &ffor
$tempDuration for ''&c$reason&f'''
no_override: '&8[&cSTAFF:&8] &cPlayer is already muted!'
response: ''
warn:
usage: '&cUsage: /warn [-s] <player> [reason]'
unwarn_usage: '&cUsage: /unwarn <player>'
example: ''
broadcast: '&c$displayName &fwarned &c$warnedPlayer &ffor ''&c$reason&f'''
message: |-
&4You have been warned by $displayName&4 for &c'&4$reason&c'&4.
&4This warning will expire in $duration.
list_entry: ' \- Warned by $displayName: ''$reason&f'''
unwarn_response: '&cLast warning removed for $player.'
unwarn_fail: '&cTarget has no warnings!'
exempt: '&cYou can''t warn $player!'
cooldown: '&cYou need to wait $seconds seconds before $player can be warned again.'
response: ''
history:
usage: '&8[&cSTAFF:&8] &c/history <player> [entries=10]'
start: '&8[&cSTAFF:&8] &cHistory for $target (Limit: $limit):'
ban_entry: |-
&c -- [&f$timeSince ago&c] --&f
&f $name was &cbanned &fby $displayName: '&c$reason&f'
mute_entry: |-
&c -- [&f$timeSince ago&c] --&f
&f $name was &fmuted &fby $displayName: '&c$reason&f'
warn_entry: |-
&c -- [&f$timeSince ago&c] --&f
&f $name was &6warned &fby $displayName: '&c$reason&f'
kick_entry: |-
&c -- [&f$timeSince ago&c] --&f
&f $name was &ekicked &fby $displayName: '&c$reason&f'
active_suffix: '&f [&cActive&f]'
active_suffix_temp: |-
&f [&cActive&f]
&fExpires in $duration.
error_no_history: '&cNo history found.'
warnings:
usage: '&c/warnings <player>'
start: '&cActive warnings for $target:'
prunehistory:
usage: '&c/prunehistory <player> [duration]'
message: '&cHistory pruned.'
staffhistory:
usage: '&c/staffhistory <player> [entries=10]'
start: '&cStaff history for $target (Limit: $limit):'
staffrollback:
usage: '&c/staffrollback <player> [duration]'
message: '&cRollback completed, total entries removed: $amount'
banlist:
start: '&f=== &cPage &6$page&c out of &6$total&f ==='
iphistory:
usage: '&c/iphistory <player> [entries=10]'
start: '&cLogin history for $target (Limit: $limit):'
entry: '&c - [&f$date&c]&f $name&c:&f $ip'
error_no_history: '&cNo history found.'
dupeip:
usage: '&c/dupeip <player>'
start: '&fScanning &f$name&f on &c$ip&f. &f[&cOnline&f] [&fOffline&f] [&cBanned&f]'
separator: '&f, '
online: '&c'
offline: '&f'
banned: '&c'
multiple_addresses: '[$num addresses]'
ipreport:
start: '&fScanning &c$num&f online players.. [&cOnline&f] [&fOffline&f] [&cBanned&f]'
entry: '&f$player&c: $result'
checkban:
usage: '&c/checkban <player>'
no_ban: '&cTarget is not banned!'
banned: |-
&cTarget &f[&c$target&f]&c is banned:
&cBanned by: $displayName
&cReason: $reason&c
&cBanned on: $bannedFrom
&cBanned until: $bannedUntil ($banTimeLeft)
&cIP ban: $ipban, silent: $silent, permanent: $permanent
lastuuid:
usage: '&c/lastuuid <player|IP>'
message: '&fLast UUID for &c$name&f: &c$uuid'
geoip:
usage: '&c/geoip <player|IP>'
message: '&c$target&f is from: &c$result'
error_disabled: '&cGeoIP support is not enabled in the configuration!'
error_unavailable: '&cGeoIP support is currently unavailable, has it been downloaded
yet?'
error_not_found: '&cGeoIP information for $target not found.'
lockdown:
usage: '&c[ADMIN]&c/lockdown <reason> | /lockdown end'
message: '&8[&cSTAFF:&8] &cLockdown activated (reason: "$reason&c")'
stopped: '&c[ADMIN]&cLockdown has been deactivated.'
kick_message: |-
Server lockdown active, try again later.
Reason: $reason
error_not_active: '&cLockdown is not active!'
kick:
usage: '&8[&cSTAFF:&8] &c/kick <player> [reason]'
no_match: '&8[&cSTAFF:&8] &cError: &4Player not found.'
message: '&8[&cSTAFF:&8] Kicked by $displayName: $reason'
message_no_reason: Kicked by $displayName.
response: '&8[&cSTAFF:&8] &6$player has been kicked.'
broadcast: '&8[&cSTAFF:&8] &c$player&f was kicked by &c$displayName&f for ''&c$reason&f''.'
broadcast_no_reason: '&8[&cSTAFF:&8] &c$player&f was kicked by &c$displayName&f.'
exempt: '&8[&cSTAFF:&8] &cYou can''t kick $player!'
kick_requested: '&8[&cSTAFF:&8] &6Player $player is not online on this server. Cross-server
kick has been requested.'
togglechat:
toggle_off: '&8[&cSTAFF:&8] &cChat has been toggled &2&lOFF.'
toggle_on: '&8[&cSTAFF:&8] &cChat has been toggled &2&lON.'
clearchat:
broadcast: '&8[&cSTAFF:&8] &cChat is cleared by $displayName.'
mutechat:
response: '&8[&cSTAFF:&8] &cServer chat is currently disabled!'
broadcast_disabled: '&8[&cSTAFF:&8] &cServer chat has been disabled by $displayName.'
broadcast_enabled: '&8[&cSTAFF:&8] &cServer chat has been enabled by $displayName.'
litebans:
reload_success: '&cLiteBans reloaded successfully.'
reload_fail_connect: '&cLiteBans reloaded. &cFailed to connect to database.'
add_history_usage: '&c/litebans addhistory <name> <UUID> <IP>'
add_history: '&cHistory added.'
fix_history: '&cFixing history for table $table...'
fix_history_result: '&cAdded $amount entries.'
import_usage: '&c/litebans import start'
import_start: '&cImporting from $db, this might take a while...'
import_finish: '&cImport finished successfully. $bans bans imported, $ipbans IP-bans.'
import_finish_litebans: '&cImport finished successfully. Added $amount entries
to the database.'
import_fail: '&cImport failed. Check console.'
import_unsupported: '&cImporting from ''$name'' is not supported yet!'
sqlexec_success: '&cSQL query executed successfully.'
sqlexec_failure: '&cFailed to execute.'
newline_as_new_message: true
duration:
forever: forever
year: year
years: years
month: month
months: months
week: week
weeks: weeks
day: day
days: days
hour: hour
hours: hours
minute: minute
minutes: minutes
second: second
seconds: seconds
