TempBanMC

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

                          

_____________________________________________________________________________________________________________________________

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.

_____________________________________________________________________________________________________________________________

 

                          

 

 


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    269591
  • Created
    Jun 11, 2017
  • Last Released File
    Jun 12, 2017
  • Total Downloads
    13,162
  • License

Categories

Members

Recent Files

Bukkit

  • 1.5
    Jun 12, 2017