1. Hi!

    I have the following code:
    Code:
            void OnPlayerBanned(Network.Connection connection, string reason)
            {
                Puts("Player banned");
            }
    
    But nothing gets put in console or any errors when typing "ban JoeSheep" and banning myself while on the server. Am I missing something? Doing something silly? Only Oxide is being used for bans.


    Cheers!
     
  2. Wulf

    Wulf Community Admin

    It's only called on connections. OnUserBanned is called for commands.