ExtendedBans for tShock

shock

Features of ExtendedBans plugin for tShock:

  • Temporary bans
  • Temporary silence
  • Allows you to ban players off-line
  • Supports wildcard * for IP masks
  • You can ban and silence players on the part of the nickname
  • MySQL database support

Permissions:

  • xbans.admin.banip - permission to ban by IP
  • xbans.admin.banplayer - permission to ban by player's nickname
  • xbans.admin.unbanip - permission to unban by IP
  • xbans.admin.unbanplayer - permission to unban by player's nickname
  • xbans.admin.mute - permission to impose silence on players
  • xbans.admin.unmute - permission to remove the silence from the players

Teams:

/ xbanip ip [time] cause - bans the specified IP or mask for a time [time]. If the [time] parameter is not specified, then it will be banned permanently;
/ xban player nickname [time] cause - bans the specified player for a time [time]. If the [time] parameter is not specified, then it will be banned permanently. You can ban players offline. Bans only the character, but not the user;
/ xunbanip IP - unlock the specified IP;
/ xunban player nickname - unban the specified player;
/ xmute player nickname [time] cause - Silences the specified player for a time [time]. If the [time] parameter is not specified, then the silence is applied permanently;
/ xunmute player nickname - removes the silence from the specified player.

[time] - the format is 1d2h3m4s, (1 day 2 hours 3 minutes 4 seconds). You can use different combinations - 1h2s (1 hour 2 seconds). If time unit is omitted, minutes are used by default.

Example:

/xbanip 127.0.0.* 1d4h Ты редиска!
> Банит маску 127.0.0.* на 1 день и 4 часа. Причина: Ты редиска!
/xbanip 127.0.0.1 Нет cookies!
> Банит IP 127.0.0.1 насовсем. Причина: Нет cookies.
/xunbanip 127.0.0.1
> Разбан 127.0.0.1

Etc.

To use MySQL:
1) Run TerrariaServer.exe. A file will be created tshock / extendedbans / xbans.cfg
2) Open xbans.cfg in notepad and set the parameter UseMysql = true and change MySQL config
3) Restart TerrariaServer.exe. The MySQL database will be created automatically. If in xbans.sqlite there will be no data, it is imported into your MySQL database.

Download (with sources)

Download
TerrariaGo - Everything for Terraria (Terraria) free download