Inactive [GEN/SEC] Advanced Bans v0.4: Temporary bans [812]

Discussion in 'Inactive/Unsupported Plugins' started by kyku, May 11, 2011.

     
  1. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    [tnt] Advanced Bans - more control [tnt]
    Version: 0.4

    More advanced control ban. Allows temporary bans, bans once the nickname and IP and ban reasons.

    Features:
    • Ban player
    • Unban player
    • Temporary bans (in minutes)
    • Reasons for the ban
    • Left time for unban in kick reason
    • "Welcome back" message (after unban)
    • Ban both nickname and IP (good for offline servers)
    • Permissions or OP
    • Console support
    • Configuration!
    • Lightweight
    • IP History (ban offline player on ip) (only MySQL Support for now) New
    • MySQL SUPPORT New
    Commands*:


    • /bann <nick> [time in minutes] [reason...] - ban player (if player is offline, plugin will use ip history) (example: /bann kyku 15 Spam)
    • /unbann <nick> - unban player (example: /unbann kyku)
    • /bannip <ip address> [time in minutes] [reason...] - ban player on ip AND NAME (it use ip history) (example: /bannip 127.0.0.1 60 Spam)
    • /unbannip <ip address> - unbanip player (example: /unbann 127.0.0.1)
    • /kickk <nick> [reason] - kick player (example: /kickk kyku spam)
    * /bann or /ban depending on the choice




    Configuration:


    Code:
    Advanced Bans:
        Strings:
            Unban broadcast: '&RED;Admin: &ANAME; unban &TNAME;.'
            Kick:
                broadcast: '&RED;Admin: &ANAME; kicked &TNAME;. Reason:&REASON;.'
                kickmsg: '&RED;You have been kicked! Reason:&REASON;.'
            Ban:
                t+r-broadcast: '&RED;Admin: &ANAME; has banned &TNAME; for &TIME;min.
                    Reason:&REASON;.'
                perm-kickmsg: '&RED;You have been banned from this server.'
                only time-broadcast: '&RED;Admin: &ANAME; has banned &TNAME; for &TIME;min.'
                only time-kickmsg: '&RED;Banned for &TIME; min.'
                t+r-kickmsg: '&RED;Banned for &TIME;min. Reason:&REASON;.'
                perm-broadcast: '&RED;Admin: &ANAME; has banned &TNAME;.'
            Join:
                Banned reason-left: '&RED;Banned! Reason:&REASON; (Left: &LEFT;min.)'
                Welcome msg: '&GREEN;You have been unbanned. Welcome back!'
                Banned IP: '&RED;Your IP has been banned.&WHITE; Do not change nickname!'
                Banned reason: '&RED;You have been banned from this server. Reason:&REASON;.'
            Standard reason: ' None'
            Error:
                No access: '&RED;You don''t have permissions'
                Player is offline: '&RED;This player is offline'
        MySQL:
            Use: false
            User: username
            Port: 3306
            Host: localhost
            Database: minecraft
            Password: password
            table: ab_list
            table history: ab_history
        Settings:
            Ban nickname + IP: true
            Welcome message: true
            Broadcast kick msg: true
            Broadcast ban msg: true
            Use IP history: true
            Broadcast unban msg: true
    
    Permissions - advbans.<command>

    • advbans.bann - allow use /bann <nick> [time] [reason]
    • advbans.bannip - allow use /bannip <IP ADDRESS> [time] [reason]
    • advbans.unbannip -allow use /unbannip <IP ADDRESS>
    • advbans.unbann - allow use /unbann <nick>
    • advbans.kickk - allow use /kickk <nick> [reason]
    or (if you use an alternative plugin)
    • advbans.ban - allow use /bann <nick> [time] [reason]
    • advbans.banip - allow use /bannip <IP ADDRESS> [time] [reason]
    • advbans.unbanip -allow use /unbannip <IP ADDRESS>
    • advbans.unban - allow use /unbann <nick>
    • advbans.kick - allow use /kickk <nick> [reason]
    TODO:


    • ban offline player
    • banip / unbanip
    • configuration
    • logs
    • web panel + banlist
    • MySQL
    • command kick
    Screen:



    [IMG]


    Download:

    REMOVE CONFIG BEFORE UPDATE!

    MySQL Connector (Put in base folder, where craftbukkit)
    Advanced Bans v0.4 (CB: 766-798) - New (Commands: /bann, /bannip, /kickk, /unbann, unbannip)
    Advanced Bans v0.4 (2) (CB: 766-798) - New (Commands: /ban, /banip, /kick, /unban, unbanip)

    Advanced Bans v0.3 (CB: 766)

    Source code in jar (v0.4+)..

    Changelog:

    Version 0.4:
    • MySQL
    • IP History (Only MySQL support!)
    • New commands: /bannip, /unbannip (Only MySQL support!)
    • Fixed some bugs
    Version 0.3:


    • Configuration!
    • Ban offline players work
    • Kick command
    • Logs
    • Fixed some bugs
    Version 0.2-beta:


    • Fixed some bugs
    Version 0.1-beta:


    • Initial release
  2.  
  3. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to perm ban ?

    BTW: If I type /bann <nick> it will ban NICK + IP automatically ? (if so, this plugin r0x)
  4. Offline

    crysis992

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    MySQL support would be awesome =)
  5. Offline

    luckyslayer92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Cool plugin, can you put kicking in this too?
  6. Offline

    tedmazer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I believe this is the exact same thing essentials has.
  7. Offline

    msw1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Essentials doesn't have Welcome Back or temporary.
  8. Offline

    ementalo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    We have temp bans
  9. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    added to the TODO list

    /bann nick 0 reason, /bann nick 0 or /bann nick - ban NICK + IP automatically (perm)

    ok, this will be in 0.3
  10. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    BIG UPDATE (0.3)
  11. Offline

    anon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I know its a big thing to ask, but... could you expand this to something like simpleban plugin?
  12. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    we will see :D
  13. Offline

    MrManiek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    KiwiAdmin 2.0 it's Better
  14. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    changelog has to be at the end
    version ranges are to be used only when needed and there is no tilde allowed.
  15. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    done
  16. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The title version should be a recommended one only...
  17. Offline

    Tfs Halo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    exactly what i want because simpleban is inactive :p and i saw this and was like '':O yay''
  18. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This plugin is Awesome. We are using this instead of 'jail' and works like a charm.

    BTW: It seens that on HIGH LOAD servers, the timer counter runs slower (i.e: a 10 minutes ban turns into a 30 minutes ban). Many other plugins had this kind of issue with hight load servers (i.e: proPertime).
  19. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    thanks, but you are wrong. This plugin use unix timestamp, not timer counter.

  20. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You're right.

    After a few more tests we confirmed: the delay is OK :)
  21. Offline

    firtvid20

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, what's the colour codes (e.g. &RED = red)?
  22. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:
    &AQUA;
    &BLACK;
    &BLUE;
    &DARK_AQUA;
    &DARK_BLUE;
    &DARK_GRAY;
    &DARK_GREEN;
    &DARK_PURPLE;
    &DARK_RED;
    &GOLD;
    &GRAY;
    &GREEN;
    &LIGHT_PURPLE;
    &RED;
    &WHITE;
    &YELLOW;
    firtvid20 likes this.
  23. Offline

    Miguel_Bremen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I will banning not time .
    /bann User Reason
    This functional not .

    My English is Bad sorry .
  24. Offline

    Bigwig222

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    dude, thanks :D
  25. Offline

    DylanP

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    MySQL support would be awesome! That way I could make a page like bans.php for people to see why they were banned, etc...

    Does this plugin use banned-players.txt?

    Quote me or @ me when you reply so I get a notification, please.
  26. Offline

    DylanP

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Also, can you make it where it's just /ban and not /bann, and if there's another plugin with /ban it over-rides it?
  27. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Now you can use /bann User 0 Reason, but in future i'll add this feature (maybee next version)

    I will release next version tomorrow.
    Plans: new commands /bannip, /unbannip, MySQL (+php script), SQLITE (i'm not sure) and alternative plugin (with /ban, /unban, etc.)
    Jan Tojnar likes this.
  28. Offline

    firtvid20

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Coo
    Cool thanks!
  29. Offline

    DylanP

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Where's the new version?
  30. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Would be awesome if you took the time to turn this into a simplebans kind of thing. Works good though!

    Actually, what would make this plugin a lot better is to log the IP's of the players. That way even if they are offline you could do /bann player24 and it would ban the IP too. I really hope you add this feature.

    Thanks
  31. Offline

    kyku

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry for this delay but i was too busy.

    this is what I did :p

    Advanced bans v0.4 is out

Share This Page