net.minecraft.server.management

## Class BanList

- java.lang.Object
- - net.minecraft.server.management.BanList

-     public class BanList
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BanList(File par1File)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map` | `getBannedList()` removes expired Bans before returning
    `boolean` | `isBanned(String par1Str)`
    `boolean` | `isListActive()`
    `void` | `loadBanList()` Loads the ban list from the file (adds every entry, does not clear the current list).
    `void` | `put(BanEntry par1BanEntry)`
    `void` | `remove(String par1Str)`
    `void` | `removeExpiredBans()`
    `void` | `saveToFile(boolean par1)` par1: include header
    `void` | `saveToFileWithHeader()`
    `void` | `setListActive(boolean par1)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BanList

          public BanList(File par1File)

  - ### Method Detail

    - #### isListActive

          public boolean isListActive()

    - #### setListActive

          public void setListActive(boolean par1)

    - #### getBannedList

          public Map getBannedList()

      removes expired Bans before returning

    - #### isBanned

          public boolean isBanned(String par1Str)

    - #### put

          public void put(BanEntry par1BanEntry)

    - #### remove

          public void remove(String par1Str)

    - #### removeExpiredBans

          public void removeExpiredBans()

    - #### loadBanList

          public void loadBanList()

      Loads the ban list from the file (adds every entry, does not clear the current list).

    - #### saveToFileWithHeader

          public void saveToFileWithHeader()

    - #### saveToFile

          public void saveToFile(boolean par1)

      par1: include header