tag:github.com,2008:https://github.com/HerrMagiic/CSS-CreateCustomCommands/releases Release notes from CSS-CreateCustomCommands 2024-10-06T17:34:42Z tag:github.com,2008:Repository/726064980/v3.0.1 2025-11-25T18:24:31Z v3.0.1 <h2>v3.0.1</h2> <h3>Features</h3> <ul> <li><strong>Config Option for Command Registration</strong>: Added a new configuration option to disable automatic CSS command registration (e.g., <code>css_&lt;command&gt;</code>). This allows you to create custom commands like <code>!ip</code> without conflicting with commands like <code>ip</code> in vanilla CS2.</li> <li><strong>Client Command Execution</strong>: Introduced support for executing client-side commands. Check out <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/blob/main/Examples/ClientCommands.md"><code>ClientCommands.md</code></a> for more details.</li> <li><strong>Client Command from Server</strong>: Added functionality to send commands from the server to clients. Refer to <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/blob/main/Examples/ClientCommands.md"><code>ClientCommands.md</code></a> for implementation instructions.</li> <li><strong>Server Commands</strong>: New server commands have been added. Example usages can be found in <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/blob/main/Examples/ServerCommands.md"><code>ServerCommands.md</code></a>.</li> <li><strong>Updated Example Files</strong>: The example files have been updated with more information and clearer descriptions, making it easier to use the plugin.</li> <li><strong>Server Kick Example</strong>: A server kick example has been added in <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/blob/main/Examples/ServerCommands.md"><code>ServerCommands.md</code></a> to demonstrate kicking players.</li> <li><strong>Random Tag Example</strong>: A new example showcasing random tag functionality has been added. See <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/blob/main/Examples/Tags.md"><code>Tags.md</code></a> for details.</li> <li><strong>Color Tags for Prefixes</strong>: Added the ability to apply color tags to command prefixes for more customization.</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>Fixed Newline in Language Tag</strong>: Resolved an issue where newlines were not working correctly in language tags.</li> <li><strong>Fixed Unicode characters not working</strong>: Commands and messages now fully support Unicode, enabling broader character compatibility.</li> </ul> <h3>Optimizations</h3> <ul> <li><strong>Code Optimizations</strong>: Made small optimizations to improve the code's performance.</li> <li><strong>Variable Refactoring</strong>: Changed most variables to use <code>var</code> instead of specific types (like <code>int</code> or <code>string</code>) for cleaner and more flexible code.</li> <li><strong>Async Command File Reading</strong>: Command files are now read asynchronously, improving performance and responsiveness.</li> <li><strong>New Counterstrikesharp version</strong>: Compiled plugin with css v276.</li> </ul> HerrMagiic tag:github.com,2008:Repository/726064980/v3.0.0 2024-10-06T17:09:16Z v3.0.0 <p>Merge <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/HerrMagiic/CSS-CreateCustomCommands/commit/b2d64921598ca06a7ca694d03e0724bad5710891/hovercard" href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/commit/b2d64921598ca06a7ca694d03e0724bad5710891"><tt>b2d6492</tt></a> into <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/HerrMagiic/CSS-CreateCustomCommands/commit/d7a62f747c32577a508eee342e3db297a78cb924/hovercard" href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/commit/d7a62f747c32577a508eee342e3db297a78cb924"><tt>d7a62f7</tt></a>…</p> HerrMagiic tag:github.com,2008:Repository/726064980/v2.1.0 2024-04-21T19:17:28Z v2.1.0 <p>update to css 213 and dotnet 8</p> HerrMagiic tag:github.com,2008:Repository/726064980/v2.0.3 2024-02-09T14:43:14Z v2.0.3 <p>update plugin to Counterstrikesharp version 163</p> HerrMagiic tag:github.com,2008:Repository/726064980/v2.0.2 2024-02-03T21:42:45Z v2.0.2 <h2>Urgent Security Update: Version 2.0.2 Released</h2> <h3>Immediate Action Required for Users of v2.0.0 and v2.0.1</h3> <h4>Key Changes:</h4> <ul> <li><strong>Critical Security Fix</strong>: Addressed a significant vulnerability involving the <code>{PLAYERNAME}</code> tag in server commands.</li> <li><strong>Tag Removal</strong>: The <code>{PLAYERNAME}</code> tag has been removed from server commands for enhanced security.</li> <li><strong>Continued Use in Messages</strong>: The tag remains available for messaging purposes.</li> </ul> <h4>Upgrade Importance:</h4> <ul> <li>Essential to upgrade to v2.0.2 immediately to secure your system.</li> </ul> HerrMagiic tag:github.com,2008:Repository/726064980/v2.0.1 2024-02-03T21:57:53Z v2.0.1 <h1>DON'T USE THIS VERSION! USE v2.0.2+</h1> <h2>How to upgrade:</h2> <ul> <li>if you want to display the time for your own CooldownMessage the {TIME} tag has changed to {TIMELEFT}</li> </ul> <h2>Fixes:</h2> <ul> <li>Fixed CooldownMessage not working</li> <li>Fixed wrong time showing by timeleft on the command</li> <li>Removed unnecessary Console.Writelines that where left for debugging</li> </ul> HerrMagiic tag:github.com,2008:Repository/726064980/v2.0.0 2024-02-03T21:58:07Z v2.0.0 <h1>DON'T USE THIS VERSION! USE v2.0.2+</h1> <h2>What's New:</h2> <ul> <li>Alias Creation for Commands: You can now create aliases for commands using a semicolon, as in "Command": "discord;dc".</li> <li>New Tag for User ID: Added a new tag {USERID} to retrieve the #userid of the individual who used the command (userid from 'status').</li> <li>Support for Tags in Server Commands: Enhanced functionality with the addition of tag support for server commands.</li> <li>Command Cooldown Feature: Introduced a command cooldown option. For more information, see <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/tree/main/Examples/Cooldown.json">Cooldown.json</a>.</li> <li>Argument Support for Commands: Implemented support for command arguments, e.g., "Command": "test 1". Details are available at <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/tree/main/Examples/CommandWithArguments.json">CommandWithArguments.json</a>.</li> <li>Toggle Feature for Server Commands: Added the ability to toggle server commands, such as sv_cheats. See <a href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/tree/main/Examples/ToggleServerCommands.json">ToggleServerCommands.json</a> for more information.</li> </ul> <h2>Fixes:</h2> <ul> <li>Example Ignoring in Command Folder: Fixed an issue where Command.example.json file were not ignored when a JSON file was present in the Commands folder.</li> <li>Color Display at String Start: Resolved a bug where colors were not displayed when color tag placed at the beginning of a string.</li> <li>Command Alias Case Sensitivity: Fixed a bug where the plugin did not recognize duplicated commands due to differing cases in aliases.</li> <li>Miscellaneous Minor Fixes: Implemented several small fixes to improve overall functionality.</li> </ul> HerrMagiic tag:github.com,2008:Repository/726064980/v.1.0.9 2024-01-20T22:22:14Z v1.0.9 <h2>What's Changed</h2> <ul> <li>Adding Multiple Json file Support (for more info have a look at the readme)</li> <li>Added Json file and Command Validation for better error handling</li> <li>small fixes and code refactoring</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/HerrMagiic/CSS-CreateCustomCommands/compare/v1.0.8...v.1.0.9"><tt>v1.0.8...v.1.0.9</tt></a></p> HerrMagiic tag:github.com,2008:Repository/726064980/v1.0.8 2024-01-07T12:17:32Z v1.0.8 <h3>What's New:</h3> <ol> <li><strong>Dependency Injection:</strong> Adding dependency injection for better modularity and maintainability.</li> <li><strong>Language Support:</strong> To enhance user experience across different languages, you have now the ability for language support in your commands. Check out <code>Example/LanguageSupport.json</code> for implementation details.</li> <li><strong>Tag Support for CenterMessage:</strong> Enhance your CenterMessage with our new tag support feature. Please note that color tags are not included. Refer to <code>Example/Tags.json</code> for available tags.</li> </ol> <h3>Fixes:</h3> <ul> <li>Corrected a spelling error: Changed 'Reguire' to 'Require'.</li> <li>Wrong path in last release</li> </ul> <h3>How to Upgrade:</h3> <p>To upgrade to this version, simply replace 'Reguire' with 'Require' in your <code>Commands.json</code> file.</p> <hr> <p>Please let me know if there are any specific formatting or additional details you'd like to include in this release description!</p> HerrMagiic tag:github.com,2008:Repository/726064980/v1.0.7 2023-12-29T16:29:08Z v1.0.7 <h3>Changes:</h3> <ol> <li> <p><strong>File Renaming:</strong></p> <ul> <li>Renamed <code>Commands.json</code> to <code>Commands.example.json</code> to prevent accidental replacement of the original file on the server.</li> </ul> </li> <li> <p><strong>Command Duplication Check:</strong></p> <ul> <li>Introduced a new feature to check for duplicated commands, ensuring a more streamlined and error-free experience.</li> </ul> </li> <li> <p><strong>Bug Fixes:</strong></p> <ul> <li> <p><strong>MessageCenter Issue:</strong></p> <ul> <li>Resolved an issue where MessageCenter was not functioning correctly. Please refer to the updated <code>Commands.example.json</code> for any necessary adjustments.</li> </ul> </li> <li> <p><strong>SteamID Error:</strong></p> <ul> <li>Fixed a SteamID error that was causing issues. Users should no longer encounter this issue after updating.</li> </ul> </li> </ul> </li> <li> <p><strong>Enhancements:</strong></p> <ul> <li><strong>Flexible Message Format:</strong> <ul> <li>Messages can now be defined as either an array or a string, providing greater flexibility in message handling.</li> </ul> </li> </ul> </li> </ol> <h3>How to Upgrade:</h3> <ul> <li>If you are using the previous version, follow these steps to upgrade: <ol> <li>Check the <code>Commands.example.json</code> for any adjustments related to the MessageCenter fix.</li> </ol> </li> </ul> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ { &quot;Title&quot;: &quot;Center Message with color&quot;, &quot;Description&quot;: &quot;Center Message with color&quot;, &quot;Command&quot;: &quot;colorcenter&quot;, &quot;CenterElement&quot;: { &quot;CenterMessage&quot;: &quot;&lt;font color='#00ff00'&gt;Cool color here&lt;/font&gt;&quot;, &quot;CenterMessageTime&quot;: 5 }, &quot;PrintTo&quot;: 2 }, --------&gt; TO { &quot;Title&quot;: &quot;Center Message with color&quot;, &quot;Description&quot;: &quot;Center Message with color&quot;, &quot;Command&quot;: &quot;colorcenter&quot;, &quot;CenterMessage&quot;: { &quot;Message&quot;: &quot;&lt;font color='#00ff00'&gt;Cool color here&lt;/font&gt;&quot;, &quot;Time&quot;: 5 }, &quot;PrintTo&quot;: 2 } ]"><pre>[ { <span class="pl-ent">"Title"</span>: <span class="pl-s"><span class="pl-pds">"</span>Center Message with color<span class="pl-pds">"</span></span>, <span class="pl-ent">"Description"</span>: <span class="pl-s"><span class="pl-pds">"</span>Center Message with color<span class="pl-pds">"</span></span>, <span class="pl-ent">"Command"</span>: <span class="pl-s"><span class="pl-pds">"</span>colorcenter<span class="pl-pds">"</span></span>, <span class="pl-ent">"CenterElement"</span>: { <span class="pl-ent">"CenterMessage"</span>: <span class="pl-s"><span class="pl-pds">"</span>&lt;font color='#00ff00'&gt;Cool color here&lt;/font&gt;<span class="pl-pds">"</span></span>, <span class="pl-ent">"CenterMessageTime"</span>: <span class="pl-c1">5</span> }, <span class="pl-ent">"PrintTo"</span>: <span class="pl-c1">2</span> }, <span class="pl-ii">--------&gt; TO</span> { <span class="pl-ent">"Title"</span>: <span class="pl-s"><span class="pl-pds">"</span>Center Message with color<span class="pl-pds">"</span></span>, <span class="pl-ent">"Description"</span>: <span class="pl-s"><span class="pl-pds">"</span>Center Message with color<span class="pl-pds">"</span></span>, <span class="pl-ent">"Command"</span>: <span class="pl-s"><span class="pl-pds">"</span>colorcenter<span class="pl-pds">"</span></span>, <span class="pl-ent">"CenterMessage"</span>: { <span class="pl-ent">"Message"</span>: <span class="pl-s"><span class="pl-pds">"</span>&lt;font color='#00ff00'&gt;Cool color here&lt;/font&gt;<span class="pl-pds">"</span></span>, <span class="pl-ent">"Time"</span>: <span class="pl-c1">5</span> }, <span class="pl-ent">"PrintTo"</span>: <span class="pl-c1">2</span> } ]</pre></div> <p>Thank you for your continued support! If you encounter any issues or have questions, please feel free to open an issue on GitHub.</p> HerrMagiic