Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.entities | |
com.smartfoxserver.v2.entities.managers | |
com.smartfoxserver.v2.util |
Modifier and Type | Method and Description |
---|---|
void |
SFSApi.banUser(User userToBan,
User modUser,
java.lang.String banMessage,
BanMode mode,
int durationMinutes,
int delaySeconds)
Ban a User.
|
void |
ISFSApi.banUser(User userToBan,
User modUser,
java.lang.String banMessage,
BanMode mode,
int durationMinutes,
int delaySeconds)
Ban a User.
|
Modifier and Type | Field and Description |
---|---|
protected BanMode |
SFSBannedUser.mode |
Modifier and Type | Method and Description |
---|---|
BanMode |
SFSBannedUser.getMode() |
BanMode |
BannedUser.getMode() |
Constructor and Description |
---|
SFSBannedUser(java.lang.String userName,
java.lang.String zoneName,
int durationMinutes,
BanMode mode) |
SFSBannedUser(java.lang.String userName,
java.lang.String zoneName,
int durationMinutes,
BanMode mode,
java.lang.String reason,
java.lang.String adminName) |
SFSBannedUser(User user,
int durationMinutes,
BanMode mode) |
SFSBannedUser(User user,
int durationMinutes,
BanMode mode,
java.lang.String reason,
java.lang.String adminName) |
Modifier and Type | Method and Description |
---|---|
static BanMode |
BanMode.fromId(int id) |
static BanMode |
BanMode.fromString(java.lang.String id) |
static BanMode |
BanMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BanMode[] |
BanMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
SFSBannedUserManager.banUser(java.lang.String userName,
java.lang.String zoneName,
int durationMinutes,
BanMode mode,
java.lang.String reason) |
void |
SFSBannedUserManager.banUser(java.lang.String userName,
java.lang.String zoneName,
int durationMinutes,
BanMode mode,
java.lang.String reason,
java.lang.String adminName) |
void |
SFSBannedUserManager.banUser(User userToBan,
User modUser,
int durationMinutes,
BanMode mode,
java.lang.String reason,
java.lang.String banMessage,
int delaySeconds) |
void |
SFSBannedUserManager.removeBannedUser(java.lang.String id,
java.lang.String zoneName,
BanMode mode) |
Modifier and Type | Method and Description |
---|---|
BanMode |
IFloodFilter.getBanMode() |
BanMode |
IWordFilter.getBanMode() |
BanMode |
SFSWordFilter.getBanMode() |
BanMode |
SFSFloodFilter.getBanMode() |
Modifier and Type | Method and Description |
---|---|
void |
IFloodFilter.setBanMode(BanMode banMode) |
void |
IWordFilter.setBanMode(BanMode banMode) |
void |
SFSWordFilter.setBanMode(BanMode banMode) |
void |
SFSFloodFilter.setBanMode(BanMode banMode) |