Solved Plugin Reference

Discussion in 'Rust Development' started by Captain Zip, Aug 6, 2017.

  1. So i've been downloading plugins like ServerRewards and Kits and they seem to have plugin reference to Economics, but when I put the
    Code:
    [PluginReference] private Economics;
    it seems to have an error anyone know why?
     
  2. Wulf

    Wulf Community Admin

    What is the error you are getting?
     
  3. Economics does not exist in the current context
     
  4. Wulf

    Wulf Community Admin

    Code:
    [PluginReference]
    private Plugin Economics
    or
    Code:
    [PluginReference]
    Plugin Economics
    or
    Code:
    [PluginReference] private Plugin Economics
    or
    Code:
    [PluginReference] Plugin Economics
    You need the Plugin part.
     
  5. With the addition of Plugin now, it says i'm missing an assembly but these are my current references
    b4dd69592ac541a296e99be423c9ce54.png
     
  6. Wulf

    Wulf Community Admin

    I can't really help without seeing the actual errors.
     
  7. Nah my fault, i did a nooby mistake, I forgot to add Oxide.Core.Plugins, i put Oxide.Plugins