DynamicBan

Dynamicban

DynamicBan


Announcement: 1.2.9 was released with many neat updates! Check the file section to download the new version.

- Posted on (02/02/2013) by DJ Addi


Planned Features:

  • None


Features

  • Kick, ban, IP-ban or range-ban players with reasons
  • Temporarily ban or IP-ban players
  • Warn players and execute commands after a certain amount of warnings
  • Get notified when two players with the same IP adress join or compare IPs manually per command
  • Lock IPs to a single name
  • Recieve a list of all players and their IPs from the console
  • Make players immune to all commands or whitelist them to protect them from bans
  • Check a player's status including warns, kicks, bans, temporary bans and more
  • Purge a player's data with a simple command
  • Fully costumizable messages for everything including broadcasts
  • No autocomplete for safer administration
  • Update notifications


Commands

CommandArgumentsDescription
dp[Name]Displays details for the given player.
dk[Name] [Reason]Kicks the specified player.
db[Name] [Reason]Bans a player's name.
dbip[Name] [Reason]Bans a player's IP.
drb[Name] [level:1/level:2/level:3]Bans a player's IP range.
dub[Name]Unbans a player's name..
dubip[Name]Unbans a player's IP.
durb[Name]Unbans a player's IP range.
dst[Name] (1/2)View detailed information about warns and bans.
dtb[Name] [Time eg. 1h:2m]Temporarily bans a player's name.
dtbip[Name] [Time eg. 1h:2m]Temporarily bans a player's IP.
dim[Add/Remove][Name]Adds or removes a player's immunity to DynamicBan commands.
dwl[Add/Remove][Name]Adds or removes a player from the whitelist which protects the player from bans.
dw[Name] [Reason]Warns the specified player.
dpg[Name] [data,warns,kicks]Resets a player's data.
drlReload the DynamicBan data.
dlistView a list of online player's IPs. (Console only)
dc[Name] [SecondName]Compare the IPs of the specified players.
dl[IP] [Name]Locks the specified IP to a name.
dul[IP]Unlocks the specified IP.
dm[Name] [Time eg. 1h:2m]Mute the specified player.
dum[Name]Unmute the specified player.


Permissions

PermissionGranted
operator or dynamicban.*All commands
dynamicban.ban.playerdb
dynamicban.ban.ipdbip
dynamicban.ban.rangedrb
dynamicban.immune.adddim add
dynamicban.immune.removedim remove
dynamicban.whitelist.adddwl add
dynamicban.whitelist.removedwl remove
dynamicban.purgedpg
dynamicban.kickdk
dynamicban.player.detailsdp
dynamicban.player.standingdst
dynamicban.reloaddrl
dynamicban.tempban.playerdtb
dynamicban.tempban.ipdtbip
dynamicban.unban.playerdub
dynamicban.unban.ipdubip
dynamicban.unban.rangedurb
dynamicban.warndw
dynamicban.mutedm
dynamicban.unmutedum
dynamicban.lockipdl
dynamicban.unlockipdul
dynamicban.checkSame-IP notifications
dynamicban.comparedc


Configuration

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
# DynamicBan 1.2.8a - Comprehensive Administration System. 
config:
    check_for_updates: true
    # Do you want to check for updates?
    plugin_tag: '&0[&3DynamicBan&0]&f: '
    # How do you want the plugin messages to be tagged? ('' to deactivate)
    broadcast_on_kick: true
    # Do you want to broadcast on kicks?
    broadcast_on_ban: true
    # Do you want to broadcast on bans?
    broadcast_on_ipban: true
    # Do you want to broadcast on ipban?
    broadcast_on_tempban: true
    # Do you want to broadcast on tempban?
    broadcast_on_iptempban: true
    # Do you want to broadcast on iptempban?
    broadcast_on_same_ip: true
    # Do you want to broadcast on two players having the same ip?
    broadcast_on_mute: true
    # Do you want to broadcast on mute?
    broadcast_on_warn: true
    # Do you want to broadcast when a player is warned?
    broadcast_on_rangeban: true
    # Do you want to broadcast when a player is rangebanned?
    warn_results:
    # What should happen if a player recieves too many warns?
        3: dk {PLAYER} {WARNREASON}
        # Number of warns: Command to be executed
        5: dtb {PLAYER} 15m
        7: dtb {PLAYER} 30m
        9: dtb {PLAYER} 60m
        10: db {PLAYER} {WARNREASON}
    warns_timeout: 72
    # How many hours do you want to keep warns?
    warns_on_login: 1
    # Do you want players to get notified about their warnings when they login?
    # 0 = deactivate
    # 1 = show amount of warnings
    # 2 = show all warnings
    # 3 = show all warnings & amount of warnings
    warns_on_login_delay: 0
    # By how many seconds should the warning notification be delayed? (0 to deactivate)
    connections_per_ip: 5
    # How many connections do you want to allow per ip? (0 to deactivate)
    messages_per_ip: 3
    # For how many connections from the same ip should the join and leave message be shown? (0 to deactivate)
    op_immune_bypass: false
    # Allows OPs to bypass the immunity of players.
    mute:
        blocked_commands:
        # When a player is muted, what commands should be disallowed?
            - msg
            - tell
            - r
            - er
messages:
    kick_message: "You have been kicked."
    # The kick message.
    ban_message: "You have been banned."
    # The ban message.
    tempban_message: "You have been temporarily banned."
    # The tempban message.
    ip_tempban_message: "You have been temporarily ip-banned."
    # The tempipban message.
    ip_ban_message: "You have been IP banned."
    # The ipban message.
    warn_kick_message: "You were kicked after multiple warnings."
    # The warnkick message.
    locked_ip_message: "That IP has been locked to another player."
    # The iplock message.
    ip_connections_message: "Too many players connected from your IP."
    # The iplimit message.
    rangeban_message: "You IP-Range has been banned."
    # The rangeban message.
broadcast_messages:
    kick_message: "&b{PLAYER} has been kicked. Reason: {REASON}"
    # The broadcast message when a player is kicked.
    mute_message: "&b{PLAYER} has been muted. Time: {TIME}"
    # The broadcast message when a player is muted.
    ban_message: "&b{PLAYER} has been banned. Reason: {REASON}"
    # The broadcast message when a player is banned.
    tempban_message: "&b{PLAYER} has been temporarily banned. Time: {TIME}"
    # The broadcast message when a player is tempbanned.
    ip_tempban_message: "&b{PLAYER} has been temporarily ip-banned. Time: {TIME}"
    # The broadcast message when a player is iptempbanned.
    ip_ban_message: "&b{PLAYER} has been ip-banned. Reason: {REASON}"
    # The broadcast message when a player is ipbanned.
    warn_message: "&b{PLAYER} has recieved a warning. Reason: {REASON}."
    # The broadcast message when a player is warned.
    rangeban_message: "&b{PLAYER} has been range-banned. Reason: {REASON}"
    # The broadcast message when a player is rangebanned.
other_messages:
    muted_message: "&cYou cannot talk, you have been muted. Time left: {TIME}"
    # The message to send to the player when he/she is muted.
    muted_command_blocked: "&cYou cannot perform that command when muted! Time left: {TIME}"
    # The message to send to the player when he/she is muted and attempts a blocked command.
    immune_message: "&cThat player is immune to your command!"
    # The message the commandsender will recieve if a player is immune.
    warned_message: "&c{SENDER} warned you. Reason: {REASON}."
    # The message to send to the player when he/she is warned.
    same_ip_message: "&b{PLAYER} logged in on the same IP ({IP}) as {OLDERPLAYER}."
    # The message to send to people with permission/op when the are two or more players with the same ip.
    default_reason: "&cNothing."
    # The default reason for everything.
    


ToDo

  • MySQL
  • DNSBL Blacklist (To block spammers, public proxies, etc)
  • Broadcast on unban
  • Add reason to tempbans

Stay tuned for updates on the release of DynamicBan 1.3.

Currently working on:

  • Cleaning up database code, adding missing comments to other classes
  • Moving ban-types to separate tables to allow future scalability (We cannot easily append missing fields, but we can add on missing tables if a new feature is added).

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ryvix ryvix May 23, 2012 at 12:48 UTC - 0 likes

    <<reply 720224>>

    Look above under the Permissions section.

    Looks like you would want dynamicban.check

  • Avatar of JohnPulse JohnPulse May 23, 2012 at 12:36 UTC - 0 likes

    Hello,

    Is there a permissions I can give to my mods to have them notified when a player enters with the same IP as another player?

    Regards, John

  • Avatar of snowy007 snowy007 May 23, 2012 at 08:47 UTC - 0 likes

    @xDrapor: Go

    So.... any estimation about the MySQL support?

    Also.. hope i'm not sounding demanding or something, just trying to help you to make this plugin even better.. :P About 90% of the plugins that i have seen, that require a time to be given in one or more of the commands, do it a little bit different. Instead of '23 hours' or '10 days' you can just type '23h' or '10d'. I'm not saying you have to change it, but it might be more user friendly to allow times to be entered like that too.

    BFAK:Snowy007,43610,9d0182500fe56fe836eb08f161a156445138f829baf2cc2502c9b427876717ec

  • Avatar of xDrapor xDrapor May 23, 2012 at 02:11 UTC - 0 likes

    Development of this plugin will be abit, ABIT slower, as I'm working on a plugin that is unique, and that I'm sure the community will appreciate. This plugin will receive updates probably as usual, and Rangebans is being taken care of by my good accomplice, KoolSource!

    xDrapor

    BFAK:xDrapor,90658899,5524fe22a2d58662def16dee8207036ab0241add6729268b04bc498ab3154ce7

  • Avatar of xDrapor xDrapor May 23, 2012 at 00:25 UTC - 0 likes

    @stoutrouge: Go

    I didn't override the default ban-ip command. So you can use that!

    xDrapor

  • Avatar of stoutrouge stoutrouge May 23, 2012 at 00:13 UTC - 0 likes

    Ahh is there a way I can ban ips without the players name.

  • Avatar of xDrapor xDrapor May 22, 2012 at 23:42 UTC - 0 likes

    @snowy007: Go

    Convert the days into hours, I'm working on a fix for that, sorry!
    xDrapor

    Last edited May 22, 2012 by xDrapor
  • Avatar of snowy007 snowy007 May 22, 2012 at 20:28 UTC - 0 likes

    @djaddi: Go

    Using commandbook to get command aliases. Also made a macro that executes both name and ipban commands. So i don't really need that option any more myself. :P

    I must have missed the 'Customizable warn results' in the to-do list, i see it now though. xD - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Now.. i installed the plugin and everything seems to work just fine. However... to test if everything works correctly i tried to temp ban a test account for 3 days. Now what do i get.. an error saying 'Please enter a number above 10!' What the hell man? I don't want to jail him for 10 days. I want to jail him for 3 days. Am i supposed to calculate how many hours there are in 3 days first? Not that bad for 3.. but what if i want to jail him 9 days? I'd have to open the calculator before i can temp ban someone??

  • Avatar of djaddi djaddi May 22, 2012 at 16:43 UTC - 0 likes

    @snowy007: Go

    The point with the auto-kick is that some players just don't read red messages. The kick should wake them up. And yes, the "costumizable warn results" are already on the to-do list.

    Banning both name and IP in one command would be... well, I guess it would be ok, but usually I wouldn't need it. Either a player really wants to play on your server and already reached something - name ban him. If he logs in with another name all his progress is lost. If he is just on your server to do shit, ban his ip because he can change his name faster than his ip.

  • Avatar of Hans6666 Hans6666 May 22, 2012 at 12:25 UTC - 0 likes

    ok thanks. it seems to workd now.
    but i still get the ban message from bukkit when i tempban a player even i set a # in front of the ban commands in plugin.yml (banip, unban, ban etc.)

    Last edited May 22, 2012 by Hans6666

Facts

Date created
Mar 25, 2012
Categories
Last update
Feb 02, 2013
Development stage
Mature
Language
  • enUS
License
All Rights Reserved
Curse link
DynamicBan
Downloads
15,423
Recent files

Authors

Relationships

Required dependency
Vault
Optional dependency
GroupManager
PermissionsEx