1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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. Ramil

    Ramil Scavenger

    How paste C# plugin in dll ? Oxide.Ext.pluginName

    Example:


    namespace Oxide.Plugins
    {
    [Info("RandmmFixdcrash", "lutSEfer", "1.0.0")]
    class RandmmFixdcrash : RustLegacyPlugin
    {
    object ModifyDamage(TakeDamage takedamage, DamageEvent damage)
    {
    //////////////////////////////////my Code
    }
    }
    }
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Plugins are not in .dll format. Why does that need to be a DLL?
     
  3. Ramil

    Ramil Scavenger

    i have private plugin. security my plugin. Hide my source
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Making it a .dll will not protect it, .NET / C# is easily viewable even when compiled.
     
  5. Ramil

    Ramil Scavenger

    obfuscare my dll. plugin.cs read all users. dll obfuscare not reading
     
  6. Wulf

    Wulf Community Admin Community Admin Oxide Developer

  7. Ramil

    Ramil Scavenger

    Wulf, Very THX
     
  8. MikiYouTuberCZ

    MikiYouTuberCZ Naked Wanderer

    Wulf... LINK not working... i want make dll plugins too... how i can load it please ?
     
  9. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Oxide · GitHub
     
  10. P0LENT4

    P0LENT4 Plugin Developer

    @Wulf is it possible to use Hooks, create config and date using an extension?
     
  11. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, Oxide is mostly extensions that contain plugins with hooks; ex. Oxide. Rust, Oxide.Hurtworld, etc.
     
  12. P0LENT4

    P0LENT4 Plugin Developer

  13. Mughisi

    Mughisi Community Mod Oxide Developer

    Hooks in extension plugins should use the [HookMethod("name_of_the_hook")] attribute.
     
  14. P0LENT4

    P0LENT4 Plugin Developer

    @Mughisi , I did it but it still did not work.
     
    Last edited: Jan 17, 2018