1. Hello, new to plugin development and wanted to try to create a Rust plugin. I wanted to start with something simple.

    I followed this tutorial for starters:Setting up a C# workspace in Visual Studio 2015 | Oxide

    This code doesn't work
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;namespace FirstPlugin
    {
        public class Class1
        {
            void Loaded()
            {
                Puts("Loaded works!");
            }
        }
    }
    
    I assume I didnt do something right, can someone please explain what I did wrong? Thank you!
     
  2. Missing some code in your public class:
    Code:
    public class Class1 : RustPlugin
     
  3. Thank you both for the help! Have a good day.
     
  4. Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;namespace Oxide.Plugins
    {
        public class Class1 : RustPlugin
        {
            void Loaded()
            {
                Puts("Loaded works!");
            }
        }
    }
    [DOUBLEPOST=1476169488][/DOUBLEPOST]Yeah need to make sure your in the Oxide NameSpace
     
  5. Thank you for the reply! I got it to work!