Skip to content

Conversation

@Tryhard999
Copy link
Contributor

Reduced allocations and overheard from running the O.plugins command, useful for RCON tools and such that might run it often

@MrBlue
Copy link
Member

MrBlue commented Jan 29, 2024

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()));

@MrBlue MrBlue force-pushed the develop branch 5 times, most recently from 342e2fb to ed689a6 Compare April 2, 2025 05:20
@MrBlue MrBlue force-pushed the develop branch 2 times, most recently from d29b0c8 to bfe3314 Compare August 30, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants