Client UUID Implementation: Bans and User Auth.
Send ServerSideCharacter flag if set in WorldInfo.
This commit is contained in:
parent
2569c10823
commit
b2a8198bb1
12 changed files with 158 additions and 26 deletions
|
|
@ -845,6 +845,11 @@ namespace TShockAPI
|
|||
ban = Bans.GetBanByIp(player.IP);
|
||||
}
|
||||
|
||||
if (Config.EnableUUIDBans && null == ban)
|
||||
{
|
||||
ban = Bans.GetBanByUUID(player.UUID);
|
||||
}
|
||||
|
||||
if (ban != null)
|
||||
{
|
||||
if (!Utils.HasBanExpired(ban))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue