1. Oxide for Rust Legacy has been discontinued and is no longer supported. No updates or additions will be made, and Rust Legacy-specific plugin submissions will no longer be accepted. We recommend upgrading to the latest version of Rust as able.
    Dismiss Notice
  1. yVitaum

    yVitaum Scavenger

    void OnPlayerConnected(NetUser netUser)
    {
    timer.Repeat(40f, 1, () =>
    {
    rust.SendChatMessage(netUser, "WELCOME", "[color green]" + netUser.displayName + "Welcome, type /help to show all comands");
    });
    }



    How to show the message only the first time the player connects to the server ? And how to change the chat message to pop ?
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    You'd have to store when they last connected or check for things such as if they are in the 'default' permission group.