1. Vlad-00003

    Vlad-00003 Master Researcher Plugin Developer

    So.... yeah. here I am.
    What I am requesting - is to print the filename of the plugin on Oxide.Plugins command.
    Why? Well - some of the plugin devs sets the plugin title to something really not related with the file name. Exapme is here - Automatic Build Grades for Rust | Oxide . It's named as "Automatic Build Grades", while the filename is AutoGrades.cs.
    So, my question is - can the filename be oputputed on this command? It would be much better to re\unload the plugin. Cos I'm tired of searching for the name...
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    We could just force the name to be the filename. :p
     
  3. Vlad-00003

    Vlad-00003 Master Researcher Plugin Developer

    Nah, that's not it. You can just do something like that:

    Code (Text):

    ...

                foreach (var plugin in loadedPlugins)
                    output += $"\n  {number++:00} \"{plugin.Title}\" - {plugin.Filename} ({plugin.Version}) by {plugin.Author} ({plugin.TotalHookTime:0.00}s)";
    ...
    Plugin name must be there as well - for searching for an updates, for example.
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Basically what I did, just slightly different layout.
     
  5. Vlad-00003

    Vlad-00003 Master Researcher Plugin Developer

    Cool! Thanks =3
     
  6. Vlad-00003

    Vlad-00003 Master Researcher Plugin Developer

    WUUUUUUUUUULF?!
    Is there any way to print ONLY THE NAME of the file? =D
    Cos it looks awful with the ful path to the file =)
     
  7. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, will fix. :p