1. Axy

    Axy

    I've realized that Oxide actually supports js! That's great! I would love to dive into plugin creation.

    In the documents, some things are listed of course but I'm unable to find resources for this (or any specific language) -

    Where/how should I start?

    Thanks.
    [DOUBLEPOST=1429696332][/DOUBLEPOST]Oh, just realized the tabs on upper right of "docs".
    Starting to dive in. Wish me luck.
    [DOUBLEPOST=1429697175][/DOUBLEPOST]Trying this simple one, without luck so far:

    Code:
    OnPlayerInit : function(player) {
        rust.BroadcastChat(player.diplayName + " has joined the server");
    }
     
  2. Wulf

    Wulf Community Admin

    What does your full plugin look like? You can't created a plugin only from the snippet you posted above.
     
  3. Axy

    Axy

    @Wulf I realized :] I'm reading through documents and checking ther examples on the forum atm.