Temporary Ban

Temporary Ban

Temporary ban players with ease!

1 398 downloads
2 followers

BetterTempBan

BetterTempBan is a plugin for server admins. It helps them manage bans in a clean and flexible way. They can ban any player whether they are online or offline with one command. They can also give a custom reason for the ban, Set a time limit. When a player is banned they see a screen that shows who banned them when and how much time they have left.

The ban is based on the players ID so even if they change their name the ban will still work. If you are running a server that allows cracked versions of the game you can easily switch to a type of tracking with just one setting.

Features

  • /tempban <player> <time> <reason> Ban any player, offline
  • /tempunban <player> Unban a player from the game or console
  • /tempbanlist See all bans, including who banned the player the reason and the time left
  • /baninfo <player> See a players ban, their unique ID, IP address and full ban history
  • It supports different time units like seconds, minutes, hours and days. For example you can ban someone for 30 minutes, 12 hours or 7 days.
  • It also shows a custom screen when a player is banned, with the ban date, who banned them the reason and the time left.
  • There is a mode, for cracked servers that switches to username-based tracking with just one setting.
  • It can also block players from using accounts to get around bans.
  • All ban history is logged, including when a player's unbanned or when a ban expires.
  • When a ban expires it is automatically logged to the console.

Commands

Command Description Permission
/tempban <player> <time> <reason> Temporarily ban a player bettertempban.ban
/tempunban <player> Remove a temporary ban bettertempban.unban
/tempbanlist List all active temp bans bettertempban.list
/baninfo <player> View ban info and history bettertempban.info

Permissions

Permission Description Default
bettertempban.ban Access to /tempban OP
bettertempban.unban Access to /tempunban OP
bettertempban.list Access to /tempbanlist OP
bettertempban.info Access to /baninfo OP
bettertempban.bypass Bypass temp bans entirely false

Configuration

cracked-server: false
ban-ip: true

Installation

  1. Drop the latest BetterTempBan-x.x.jar into your plugins/ folder.