Sueta

BanManager | MySQL | Config | BungeeCord

1.3

A ban system with mysql and config for bungeecord.

·Config

Description
•
This small plugin allows you to punish players if they violate rules.

Commands
•
/ban <player> [reason] - bans a player permanently
•
/ban [-s] <player> [reason] - bans a player permanently (silent)

• /tempban <player> <duration> [reason] - bans a player temporarily
•
/tempban [-s] <player> <duration> [reason] - bans a player temporarily (silent)

• /unban <player> - unbans a player
•
/unban [-s] <player> - unbans a player (silent)

• /banlist - shows all banned players

• /check - shows the players ban status

• /kick - kicks a player

• /history - see all punishments of a player

Requirements
• BungeeCord network
• MySQL database

Permissions
• banmanager.ban - to use the '/ban' command
• banmanager.tempban - to use the '/tempban' command
• banmanager.unban - to use the '/unban' command
• banmanager.banlist - to use the '/banlist' command
• banmanager.silent - to use the '-s' tag for silent bans
• banmanager.notify - to see the broadcasts
• banmanager.check - to see the players ban status
• banmanager.kick - to kick a player
• banmanager.history - to see all punishments of a player

Config

messages:
  prefix: '&7[&cBan&7]&f'
  no_permission: '%prefix% &cYou do not have permission!'
  tempban_broadcast: '%prefix% %target% was temporarily banned by %operator% until
    %date% for %apostrophe%%reason%%apostrophe%!'
  ban_broadcast: '%prefix% %target% was permanently banned by %operator% for %apostrophe%%reason%%apostrophe%!'
  unban_broadcast: '%prefix% %target% was unbanned by %operator%!'
  unban_silent_message: '%prefix% %target% was unbanned!'
  tempban_silent_message: '%prefix% %target% was temporarily banned until %date% for
    %apostrophe%%reason%%apostrophe%!'
  ban_silent_message: '%prefix% %target% was permanently banned for %apostrophe%%reason%%apostrophe%!'
  tempban_usage: '%prefix% &e/tempban <player> <duration> [reason]'
  tempban_usage_silent: '%prefix% &e/tempban [-s] <player> <duration> [reason]'
  ban_usage: '%prefix% &e/ban <player> [reason]'
  ban_usage_silent: '%prefix% &e/ban [-s] <player> [reason]'
  unban_usage: '%prefix% &e/unban <player>'
  unban_usage_silent: '%prefix% &e/unban [-s] <player>'
  banlist_usage: '%prefix% &e/banlist'
  banlist_activebans: '%prefix% &6%amount% &7active bans.'
  ban_layout: '&cYou were permanently banned by %operator% for %apostrophe%%reason%%apostrophe%!'
  tempban_layout: "&cYou were temporarily banned by %operator% for %apostrophe%%reason%%apostrophe%!\
    \ \n&cThis ban will expire in: %remaining%"
  kickban_layout: '&cYou were banned from this server!'
  invalid_timeunit: '%prefix% Invalid timeunit! Use: s(seconds), m(minutes), h(hours),
    d(days), w(weeks)'
  already_banned: '%prefix% &cThis player is already banned from this server!'
  never_played: '%prefix% &cThis player has never played on this server!'
  not_banned: '%prefix% &cThis player is currently not banned!'
  check_usage: '%prefix% &e/check <player>'
  check_banned: '%prefix% &7%target%''s status: &abanned &7(%reason%, %operator%,
    %date%)'
  check_not_banned: '%prefix% &7%target%''s status: &cnot banned'
  kick_layout: '&cYou got kicked by %operator% for %apostrophe%%reason%%apostrophe%!'
  kick_usage: '%prefix% &e/kick <player> [reason]'
  kick_usage_silent: '%prefix% &e/kick [-s] <player> [reason]'
  kick_broadcast: '%prefix% %target% got kicked by %operator% for %apostrophe%%reason%%apostrophe%!'
  history_usage: '%prefix% &e/history <player>'
  never_banned: '%prefix% &cThis player has never been banned from the server!'
  history_start_checking: '%prefix% &fChecking %target%''s history...'
  history_checking_complete: '%prefix% &fCheck complete.'
  history_output: ' &6&l* &eReason: &f%reason%&e, Operator: &f%operator%&e, Bandate: &f%bandate%&e, Expiredate: &f%date%'
mysql:
  host: localhost
  username: root
  database: banmanager
  password: secret
  port: '3306'

Screenshots

Download (1).png
Download (2).png
Download.png
check1.png
check2.png
history.png

To-Do
• mute & tempmute command [0%]
• chatfilter system [0%]
• playerinfo command to see active bans and a punishment history [100%]
• banlist and mutelist [100%Banlist & 0%Mutelist]

Similar projects

Config →