Oxide.Rust
Oxide.Rust copied to clipboard
More performant o.plugins
Reduced allocations and overheard from running the O.plugins command, useful for RCON tools and such that might run it often
I'm not opposed to changing the way this command works but I feel like we can make it a little bit more readable and clean it up using StringBuilder.AppendFormat for example:
output.AppendLine();
output.AppendFormat(string.Format(" {0} \"{1}\" ({2}) by {3} ({4}s) - {5}", pluginCount++.ToString("00"), plugin.Title, plugin.Version, plugin.Author, plugin.TotalHookTime.ToString("0.00"), plugin.Filename.Basename()));