Sueta

[Unmaintained] BungeeBanz

1.0.1

Efficient bungeecord ban management

·Plugin


BungeeBanz is a ban manager for BungeeCord networks.

This is my first bungeecord plugin. Please do not treat it too hard! =)
Please report bugs / errors here .

Features

  • Punish online & offline players
  • Punish players by uuid (Don't need to have been playing on the server)
  • Ban players permanent or temporary
  • Mute players permanent or temporary
  • Unban/-mute players
  • Does not need a MySQL database
  • Notifies
  • Appeal site
  • Many permissions
  • Default reason
  • Different reasons
  • Easy-to-use Developer API

Commands

Informational: If no reason is specified, the default reason will be "Behaviour".

/kick <Player> [Reason]

Description: Kicks a player from the network
Example: /kick Rengobli | /ban Rengobli Advertisement
Permissions: BungeeBanz.command.kick | BungeeBanz.admin

/ban <Player> [Reason]

Description: Bans a player permanently from the network
Example: /ban Rengobli | /ban Rengobli Hacking
Permissions: BungeeBanz.command.ban | BungeeBanz.admin

/tempban <Player> <Duration> <Value> [Reason]

Description: Temporary bans a player from the network
Example: /tempban Rengobli 5 hours | /tempban Rengobli 30 days Hacking
Permissions: BungeeBanz.command.tempban | BungeeBanz.admin

/mute <Player> [Reason]

Description: Mutes a player permanently across the network
Example: /mute Rengobli | /mute Rengobli Advertising
Permissions: BungeeBanz.command.mute | BungeeBanz.admin

/tempmute <Player> <Duration> <Value> [Reason]

Description: Temporary mutes a player across the network
Example: /tempmute Rengobli 5 hours | / tempmute Rengobli 30 days Chat
Permissions: BungeeBanz.command.tempmute | BungeeBanz.admin

/unban <Player>

Description: Unbans a banned player
Example: /unban Rengobli
Permissions: BungeeBanz.command.unban | BungeeBanz.admin

/unmute <Player>

Description: Unmutes a muted player
Example: /unmute Rengobli
Permissions: BungeeBanz.command.unmute | BungeeBanz.admin

Punish reasons

  • Hacking
  • Teaming
  • Chat
  • Racism
  • Advertising
  • Skin
  • Scam
  • Insult
  • Behaviour (default)

Punish values

  • Minutes
  • Hours
  • Days
  • Weeks

Developer API

PunishManager.java

void notify(CommandSender staffName, String punished, String reason, PunishType type)

void notifyTime(CommandSender staffName, String punished, String reason, PunishType type, int duration, PunishValue value)

void notify(CommandSender staffName, String unPunished, PunishType type)

void sendPunishReasons(CommandSender cs)

void sendPunishValues(CommandSender cs)

boolean isPunished(UUID uuid, PunishType type)

void kickPlayer(CommandSender cs, ProxiedPlayer target, String reason)

void punishTime(CommandSender cs, String playerName, PunishReason reason, PunishType type, int duration, String time)

void punish(CommandSender cs, String playerName, PunishReason reason, PunishType type)

void unPunish(CommandSender cs, String playerName, PunishType type)

Example: /tempban command (4 arguments)
Main.getInstance().punishManager.punishTime(cs, args[0], PunishReason.valueOf(args[3].toUpperCase()), PunishType.TEMPBAN, Integer.valueOf(args[1]), args[2]);

banned.png
muted.png
notify.png
syntax.png

Can't get enough of me?
Check out my other
resources here ! =)

Similar projects

Plugin →