Guide to make a Rust plugin?

Hi,
How to make rust oxide plguin?
What language do I should learn/use?

there is a guide?

Merged post

I am newbie to make it,I need a guide.
thanks

Did you mean  "Penquin" .? I would love to see them in the game :)

Coding/programming for me is a hobby and I started learning to make plugins by reading other plugins. You will need to learn C# but personally, I knew Java and other similar languages so I jumped reading other's plugins. I think the umod team put great documentation Getting Started
Here is the simplest plugin I can think of it will reply "hello" when a player writes "hi" in chat.

using Oxide.Core.Libraries.Covalence;

namespace Oxide.Plugins
{
    [Info("Hello World", "Oryx", "1.0.0")]
    [Description("Reply to player when they type hi")]

    public class HelloWorld : CovalencePlugin
    {

        //hook
        object OnUserChat(IPlayer player, string message)
        {
            if(message == "hi")
            {
                player.Reply("Hello"); //reply to the player
            }

            return null;
        }
    }
}

You will also need to learn what is a hook. A hook gets called when an event occurs for example, in the above code OnUserChat() gets called whenever a player types something in chat.

Also, I suggest trying to create something simple rather than jump into more complex projects because it will take time. You should also join umod's discord it will be useful if you have any questions.

XpdIQ0pmdCpRlJI.jpeg oryx

Coding/programming for me is a hobby and I started learning to make plugins by reading other plugins. You will need to learn C# but personally, I knew Java and other similar languages so I jumped reading other's plugins. I think the umod team put great documentation Getting Started
Here is the simplest plugin I can think of it will reply "hello" when a player writes "hi" in chat.

using Oxide.Core.Libraries.Covalence;

namespace Oxide.Plugins
{
    [Info("Hello World", "Oryx", "1.0.0")]
    [Description("Reply to player when they type hi")]

    public class HelloWorld : CovalencePlugin
    {

        //hook
        object OnUserChat(IPlayer player, string message)
        {
            if(message == "hi")
            {
                player.Reply("Hello"); //reply to the player
            }

            return null;
        }
    }
}

You will also need to learn what is a hook. A hook gets called when an event occurs for example, in the above code OnUserChat() gets called whenever a player types something in chat.

Also, I suggest trying to create something simple rather than jump into more complex projects because it will take time. You should also join umod's discord it will be useful if you have any questions.

Great exemple, I just strated coding the very first plugin with this, thanks !!! Btw, maybe lib changed or so, the .Reply() method doesnt seem to work. But .Message() worked for me :)