YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.server.management.BanList Class Reference

Public Member Functions

 BanList (File par1File)
 
boolean isListActive ()
 
void setListActive (boolean par1)
 
Map getBannedList ()
 
boolean isBanned (String par1Str)
 
void put (BanEntry par1BanEntry)
 
void remove (String par1Str)
 
void removeExpiredBans ()
 
void loadBanList ()
 
void saveToFileWithHeader ()
 
void saveToFile (boolean par1)
 

Constructor & Destructor Documentation

net.minecraft.server.management.BanList.BanList ( File  par1File)

Member Function Documentation

Map net.minecraft.server.management.BanList.getBannedList ( )

removes expired Bans before returning

boolean net.minecraft.server.management.BanList.isBanned ( String  par1Str)
boolean net.minecraft.server.management.BanList.isListActive ( )
void net.minecraft.server.management.BanList.loadBanList ( )

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

void net.minecraft.server.management.BanList.put ( BanEntry  par1BanEntry)
void net.minecraft.server.management.BanList.remove ( String  par1Str)
void net.minecraft.server.management.BanList.removeExpiredBans ( )
void net.minecraft.server.management.BanList.saveToFile ( boolean  par1)

par1: include header

void net.minecraft.server.management.BanList.saveToFileWithHeader ( )
void net.minecraft.server.management.BanList.setListActive ( boolean  par1)

The documentation for this class was generated from the following file: