TempBanMC

                          

_____________________________________________________________________________________________________________________________

Do you want to ban a player but only want to ban them for a day? Well now you can on your own server! Simply use the /tempban command and specify a reason and how long they need banning for and that's it done. The plugin will take care of the rest of the work for you. This plugin is by RightSide and feel free to donate any money view paypal if you feel this plugin is really useful to you! Plugin also uses player UUIDs, so if they change their names they will still be banned.

 

You can also view all players past tempbans by using the history command and if you tempbanned someone by mistake simply appeal them and use the /removepunishment command and it will be totally removed from their punishment list. Using the Config you can customize the join back message when a player joins back when banned use only '&' for colour codes eg, &4Will be red.

Example usage: (I typed /tempban to get the usage, which was shown below)

 

_____________________________________________________________________________________________________________________________ 

Goals:

10 Downloads /

50 Downloads /

100 Downloads /

500 Downloads /

1000 Downloads

5000 Downloads

_____________________________________________________________________________________________________________________________ 

 

Commands:

Commands Description
/tempban [OnlinePlayerName] [sec:min:hour:day:month] [Reason] Tempbans a player for the specified time.
/appeal [PlayerName] Will simply allow a banned player back onto the server however the punishement will still exist in their history, but they will no longer be banned.
/removepunishment [PunishmentID] [PlayerName] Use the history command to get the PunishmentID and then type it in here this will then remove this punishment from their history.
/history [PlayerName] Will display all that players tempbans with reasons and the staff who tempbanned them in case they are abusing permissions or you need evidence.

 

Permissions:

Permissions Default Description
tempban.history OP Allows that player to view any players past tempbans.
tempban.appeal OP and Console Will allow that player to unban a player.
tempban.removepunishment Default This will allow that player to remove the punishment off that player's history.
tempban.tempban Default Will allow that player to tempban players from the server.

 _____________________________________________________________________________________________________________________________

This will show you some example usages of how to use the commands:

/tempban RightSide min 1 Please do not spam (Will tempban the player for 1 minute.)

 

/history RightSide (Will display RightSide's history looks like this)

 

/removepunishment 1 RightSide (Look above and circled black is the ID of this punishment this could be 1 or any number depending on amount of punishments, when removing a punishment you get the ID by using /history as shown above).

 

/appeal RightSide (Can be done by player or console, but this will simply appeal the player so they will be unbanned however their punishment will still be shown in their history, to remove this use /removepunishment, by appealing them they will be unbanned and will be able to join the server like normal).

 

 

_____________________________________________________________________________________________________________________________

Here is what the config will look like:

 

NOTE:

  • You must only edit the line called 'layout' for the join back messages, if you edit any other lines it could cause the plugin to become unstable.
  • In the 'layout' section the kick message can contain: %duration%, %who%, %when% and %reason%. What each do are specified in the config.
  • PunishmentID can also be found by looking in config, see below. Above the player UUID.
# This is tempban coded by RightSide Java Dev.
# 
# Use these following phrases to help you out.
# %who% Will replace tempban message with who tempbanned the player.
# %reason% Will replace with the reason typed for the tempban.
# %time% Will replace with the current time.
# %when% Will replace with the time that they will be unbanned.
# 'NEXTLINE' will replace to give you a new line.
# All above are case sensitive so beware.
# 
# Use '&' for colours eg. &4 is red.
# 
# 
# This is the for the tempban message.
layout: '&7&LYou have been tempbanned. NEXTLINE NEXTLINE Banned for %duration% NEXTLINE
  NEXTLINE &bBanned by: %who% NEXTLINE You will be allowed back at: %when% NEXTLINE
  Reason: %reason%'
tempban:
  fde3436f-ebe5-4ee2-a9c6-d6086b8fac2f:
    punishment:
      who: RightSide
      when: 2017-06-11T09:07:20.142Z
      timetill: 1497172100
      date: 2017-06-11T09:08:20.142Z
      stillbanned: 'Yes'
      duration: 1 minutes
      reason: 'Please do not spam [E] '
history:
  id: 1
  '1': <<<<<<<<<<PUNISHMENTID, DO NOT CHANGE THIS!
    fde3436f-ebe5-4ee2-a9c6-d6086b8fac2f:
      IGN: RightSide
      timetill: 2017-06-11T09:08:20.142Z
      duration: 1 minutes
      who: RightSide
      date: 2017-06-11T09:07:20.142Z
      reason: 'Please do not spam [E] '

---------------------------------------------------------------------


When a punishment has been appealed it will look like this:
NOTE: This will not be seen on the /history command, it will come up as 0 punishments because it has been removed.
history:
id: 2
'1':
fde3436f-ebe5-4ee2-a9c6-d6086b8fac2f: 'Punishemnt Appealed By: RightSide'


Plugin coded by RightSide Java Developer, All rights reserved, any questions post them below.

_____________________________________________________________________________________________________________________________

 

                          

 

 

Download

File Name Status Version Downloads Date
1.5 R 1.11 +12 1,735 12/06/2017
TempBanMC 1.20.2 Updating 1.20.2 Updating Updating
TempBanMC 1.20.1 Updating 1.20.1 Updating Updating
TempBanMC 1.20 Updating 1.20 Updating Updating
TempBanMC 1.19.2 Updating 1.19.2 Updating Updating
TempBanMC 1.19.1 Updating 1.19.1 Updating Updating
TempBanMC 1.19 Updating 1.19 Updating Updating
TempBanMC 1.18 Updating 1.18 Updating Updating
TempBanMC 1.17.1 Updating 1.17.1 Updating Updating
TempBanMC Forge Updating Forge Updating Updating
TempBanMC Fabric Updating Fabric Updating Updating
TempBanMC
TempBanMC

Dear youtuber!
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!

Related Posts

Smarty Productivity Happiness

9LifeHack.com - make things smart