[ADMN] BanMeOnTheServer v1.2 - "Ban" someone on the server [1.6.4-R2.0]

Discussion in 'Archived: Plugin Releases' started by Hybris95, Jun 13, 2012.

  1. Offline

    Hybris95

    BanMeOnTheServer - "Ban" someone on the server

    Latest Version: v1.2 [1.6.4-R2.0]
    Latest Stable Version: v1.2 [1.6.4-R2.0]
    BanMeOnTheServer allows operators to ban someone on the server
    The banned player has to be connected so that its duration expires.
    While he's banned, he just can't use any command.
    Place him somewhere he can't destroy blocks/escape and it's done !

    Features:

    Show Spoiler
    * Ban a player on the server
    * Update the ban duration of a banned player
    * Remove a ban on a player
    * List the banned players
    * Really disallow banned players from joining after the plugin has been disabled
    * Kicks banned players when disabling


    Downloads:

    Show Spoiler
    Dropbox:
    <Edit by Moderator: Redacted bit url>
    Source Code:
    <Edit by Moderator: Redacted bit url>
    <Edit by Moderator: Redacted bit url>


    How to install and run commands :

    Show Spoiler
    * Copy the latest stable version downloaded in the "plugins" folder of your CraftBukkit server.

    * Launch your CraftBukkit server, then type in the console (if it's necessary) :
    Code:
    op YourName
    (where YourName is the Pseudo of your character ingame)

    * Then connect with this character on your server and type :
    Code:
    /bmots add TheNameOfThePlayerIWantToBan 50
    In the chat to ban TheNameOfThePlayerIWantToBan for 50 seconds


    Commands:

    Show Spoiler
    * /bmots add <Name> <Time in seconds>
    * /bmots remove <Name>
    * /bmots list

    Code:
     
    <Time in seconds> can be replaced by a number in seconds
     
    <Name> can be replaced by the name of a player
    


    Permission nodes:
    * banmeontheserver.admin (this is required to use the admin commands)

    Changelog:
    Later Version
    * Warn/Save in a file the Event that a player got free
    (in order to engage the process of unlocking his "jail")
    * Create a node to bypass the ban effects (banmeontheserver.bypass)

    Version 1.2
    * Updated the plugin with the latest CraftBukkit version (1.5.1-R0.2)
    * Implemented Bukkit's Permissions system
    * Changed the admin command parsing method
    (from PlayerCommandPreprocess to CommandExecutor)
    * Tested on Bukkit 1.5.1-R0.2
    * Fixed the bug which was showing the usage whenever you were typing a bmots cmd
    * Tested on Bukkit 1.5.2-R0.1
    * Tested on Bukkit 1.6.4-R2.0

    Version 1.1
    * Disabled the banned players from taking damages (so that they don't respawn after starving to death for example)

    Version 1.0
    * First Release

    Known bugs (please leave me some feedback !):

    Show Spoiler
    * Doesn't block commands catched by PlayerCommandPreprocessEvent
     
    Last edited by a moderator: Feb 19, 2017
  2. Offline

    limdingwen

    Isn't it like jailing? :confused:
     
  3. Offline

    Steffion

    Can he chat? Because he can swear?
     
  4. Offline

    Lolmewn Retired Staff

    Oh great, a Jail plugin in disguise!
     
  5. Offline

    Hybris95

    It is like jailing in a kind of way.
    He can chat, that reinforces the RP side of this plugin ;)
    What was great, was to code it and implement it on our highly populated server ^^
     
  6. Offline

    wardme

    Oh great.[​IMG]
     
  7. Offline

    Hybris95

  8. Offline

    md_5

    Removed changelog from spoiler, approved.
     
  9. Offline

    Hybris95

    Update: Version 1.2 is out !
    Update with the latest CraftBukkit version (1.5.1-R0.2)
    Implemented Bukkit's Permissions system (node : banmeontheserver.admin)

    Edit: Tested on CraftBukkit 1.5.2-R0.1
    Edit(2): Tested on CraftBukkit 1.6.4-R2.0
     

Share This Page