1. Hey,
    I am quite new to Rust, and obviously Oxide. I come from a Java background when it comes to game modding/development and I was wondering one thing. Is it possible to have multiple files when you create a Rust plugin? Every resource I see in the plugins tab is only one file and I feel like it would get pretty annoying to use that single file throughout the entirety of my plugin. I obviously know about anonymous classes but the same problem is present. Thanks.
     
  2. Wulf

    Wulf Community Admin

    Plugins a generally a single file, but you can call other plugins if desired.
     
  3. Thanks for the quick reply. Anyways I make a lot of Spigot plugins (Spigot is the API used for making Minecraft plugins) and when making a plugin you'd see something like this Screenshot The difference is that you drag & drop the actual compiled jar into the plugins folder of your server, unlike Oxide where you drop the source file in. Is there a way in which I could work with multiple files (as seen on the screenshot) and successfully run the plugin on a Rust server?
     
  4. Wulf

    Wulf Community Admin

    Very familiar with Spigot and Bukkit, I come from that background. ;)

    Generally plugins are a single file, but you can setup a project to contain multiple plugins if you'd like. In the end though, a plugin is still a single file that isn't compiled until the server needs it to be compiled. You can create multiple plugins and call them between each other with the server; or even have an "include" file with the Ext.Name.cs format (C# plugins mainly for this feature), but that isn't widely advertised yet as it isn't really developed.

    To keep it short: you won't have the same project setup that you do with Java or normal C# plugins, as you aren't making a precompiled plugin.
     
  5. Wow that's great that you come from that background! Looking through Oxide reminded me a lot of Bukkit/Spigot. Thanks for your help too, will take your suggestions into consideration!