name: bungeeSuiteBans
main : net.bungeeSuite.bans.bungeeSuiteBans
version: BungeeSuite Bans v2.1b
description: Part of the bungeeSuite this plugin allows moderators to ban and kick players
author: Luke199
commands:
    ban:
        description: Bans a player from the proxy
        permission: bungeeSuite.bans.command.ban
        permission-message: §cYou do not have permission for this command
        usage: |
               /<command> (player)
               /<command> (player) (message)
    warn:
        description: Issues an official warning to a player
        permission: bungeeSuite.bans.command.warn
        permission-message: §cYou do not have permission for this command
        usage: |
               /<command> (player)
               /<command> (player) (message)
    checkban:
        description: Gets info about a players ban
        permission: bungeeSuite.bans.command.checkban
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)
    banhistory:
        description: Gets the ban history of a player
        permission: bungeeSuite.bans.command.banhistory
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)
    warnhistory:
        description: Gets the warning history of a player
        aliases: [dst, warnings]
        permission: bungeeSuite.bans.command.warnhistory
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)
    where:
        description: Gets the login history of IPs, players and UUIDs
        aliases: [wherehistory]
        permission: bungeeSuite.bans.command.where
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)
    ontime:
        description: Gets the ontime statistics of a player
        permission: bungeeSuite.bans.command.ontime
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)|((top) (page))
    lastlogins:
        description: Gets the last logins of a player
        permission: bungeeSuite.bans.command.lastlogins
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player) (number to return)
    ipban:
        description: Bans an IP from the proxy
        aliases: [banip,dbip]
        permission: bungeeSuite.bans.command.ipban
        permission-message: §cYou do not have permission for this command
        usage: |
               /<command> (player)
               /<command> (ip)
               /<command> (ip/player) (message)
    kick:
        description: Kick a player from the proxy
        aliases: [kickplayer, playerkick, kickp,pkick]
        permission: bungeeSuite.bans.command.kick
        permission-message: §cYou do not have permission for this command
        usage: |
               /<command> (player)
               /<command> (player) (message)
    kickall:
        description: Kicks everyone from the proxy
        aliases: [kicka]
        permission: bungeeSuite.bans.command.kickall
        permission-message: §cYou do not have permission for this command
        usage: |
               /<command>
               /<command> (message)
    lockdown:
        description: locks the server so no new players can join
        permission: bungeeSuite.ban.command.lockdown
        permission-message: §cYou do not have permission for this command
        usage: /<command> end|status|<time> <msg>
    reloadbans:
        description: Reloads the bans config
        aliases: [bansreload, reloadban, banreload]
        permission: bungeeSuite.bans.command.reload
        permission-message: §cYou do not have permission for this command
        usage: /<command>
    tempban:
        description: Temporarily bans a player from the proxy
        aliases: [tban,bant,bantemp,dtb]
        permission: bungeeSuite.bans.command.tempban
        permission-message: §cYou do not have permission for this command
        usage: |
               /<command> (player) (time) (reason)
               /<command> (player) (time) (reason)        
               Example: /command bob 2d5h building things
               Valid time units: s (seconds), m (minutes),
               h (hours), d (days) and w (weeks)
    unban:
        description: Unbans a player from the proxy
        aliases: [uban,removeban,pardon,dub]
        permission: bungeeSuite.bans.command.ban
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)
    unipban:
        description: Unbans an IP from the proxy
        aliases: [ipunban,unbanip,ipsafe,safeip,dubip]
        permission: bungeeSuite.bans.command.ipban
        permission-message: §cYou do not have permission for this command
        usage: /<command> (ip)
    namehistory:
        description: Gets the name history of a player
        aliases: [names]
        permission: bungeeSuite.bans.command.namehistory
        permission-message: §cYou do not have permission for this command
        usage: /<command> (player)

permissions:
    bungeeSuite.bans.*:
        description: Gives access to all bans commands
        default: op
        children:
            bungeeSuite.chat.admin: true
    bungeeSuite.bans.admin:
        description: Gives access to all bans admin commands
        children:
            bungeeSuite.bans.command.kickall: true
            bungeeSuite.bans.command.ipban: true
            bungeeSuite.bans.command.reload: true
            bungeeSuite.bans.mod: true
            bungeeSuite.bans.command.lockdown: true
    bungeeSuite.bans.mod:
        description: Gives access to all bans mod commands
        children:
            bungeeSuite.bans.command.ban: true
            bungeeSuite.bans.command.checkban: true
            bungeeSuite.bans.command.banhistory: true
            bungeeSuite.bans.command.kick: true
            bungeeSuite.bans.command.tempban: true
            bungeeSuite.bans.command.namehistory: true
