1. Does OnServerCommand catch commands typed directly from game console? If so let me know what im doing wrong but it isnt returning anything.

    Thanks in advance.

    Code:
    function PLUGIN:OnServerCommand(arg)
        print(arg:GetString[0])
       
    end
    [DOUBLEPOST=1473354631][/DOUBLEPOST]I played with the logger stuff but stuff like "ent kill" "noclip" commands dont show up. Thats my goal.
     
  2. Those are client sided commands.
    Being admin merely disables server sided anticheat checks for these players.
     
  3. so there is no way to get say when a admin (or not) goes to console and types in noclip for example??
     
  4. Wulf

    Wulf Community Admin

    No, there's no way to listen for things never sent to the server.
     
  5. Alright.....thanks everyone.
    [DOUBLEPOST=1473361516][/DOUBLEPOST]How about this, can i get a BasePlayer's auth level from say onplayerinit ??
     
  6. Are you saying something like:
    Code:
    void OnPlayerInit(BasePlayer player){
    Puts(player.net.connection.authLevel.ToString());
    }//Level 0 being regular - 1 being Mod - 2 being Owner
     
  7. Thanks.