1. getting error "Error while compiling: Class1.cs(16,10): error CS0592: The attribute `Oxide.Plugins.DescriptionAttribute' is not valid on this declaration type. It is valid on `class' declarations only"


    this is the start of the code

    using Oxide.Game.Rust.Cui;
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using Oxide.Core.Plugins;

    namespace Oxide.Plugins
    {
    [Info("boat Command", "Courierxddd", 0.1)]
    [Description("a boat command")]

    public class Class1 : RustPlugin

    please help lol
     
  2. Wulf

    Wulf Community Admin

    Sounds like your class name is invalid.
     
  3. yea thanks, changed name and all is working. new to this lol.
    appreciate the fast reply