getBanList

public static BanList getBanList(BanList.Type type)

Gets getClassById ban list for the supplied type.

Bans by name are no longer supported and this method will return null when trying to request them. The replacement is bans by UUID.

Return

getClassById ban list of the specified type

Parameters

type

the type of list to fetch, cannot be null