Removed ip address from users, as well as changed /user add syntax to be '/user add username password group' instead of colon bullshit.
This commit is contained in:
parent
d7da68a262
commit
ba42fb08df
7 changed files with 34 additions and 166 deletions
|
|
@ -742,14 +742,6 @@ namespace TShockAPI
|
|||
private void OnConnect(int ply, HandledEventArgs handler)
|
||||
{
|
||||
var player = new TSPlayer(ply);
|
||||
if (Config.EnableDNSHostResolution)
|
||||
{
|
||||
player.Group = Users.GetGroupForIPExpensive(player.IP);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.Group = Users.GetGroupForIP(player.IP);
|
||||
}
|
||||
|
||||
if (Utils.ActivePlayers() + 1 > Config.MaxSlots + 20)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue