1. I want to make a temporary ban players use the chat command during their participation in the game event.
    I recommended the show to the EventManager, but I have not found a solution there

    OnRunCommand only for console commands?
     
  2. OnRunCommand should also be called for chat.say, which is called to write in chat. So you should propably be able to test if the command is "chat.say" and the text begins with "/"
     
  3. Wulf

    Wulf Community Admin

    I don't think this is currently possible, as Oxide's rustcore handles them before any plugins get a chance to change it.
     
  4. Maybe add a hook then? OnRunChatCommand
     
  5. Wulf

    Wulf Community Admin

    That'd be the same command as OnRunCommand, which rustcore would still handle before plugins.