Repository navigation
v1.0.1
๐ Snow Plugin v1.0.1 - Update
โจ What's New
๐ Localization Support
Added full localization system! The plugin now supports multiple languages with easy-to-edit translation files.
Currently supported languages:
- ๐ฌ๐ง English (en)
- ๐ท๐บ Russian (ru)
Translation files are located in the lang/ folder and can be easily customized or extended with new languages.
๐ง Bug Fixes
Fixed player appearing from the sky
- Issue: when activating an effect or after a player respawns from the sky
- Solution: Improved particle creation sequence with proper parent attachment timing
- Result: Snow particles now appear instantly at the correct position without visual glitches
๐จ Code Improvements
- Removed unnecessary
offset_zconfiguration parameter for cleaner config files - Optimized particle creation logic using
Server.NextFrame()for better synchronization - Enhanced code structure with better error handling
๐ฅ Installation
- Download the latest release
- Extract to
addons/counterstrikesharp/plugins/SnowPluginCS2/ - Ensure the
lang/folder contains your desired language files - Restart your server or reload the plugin
File structure:
SnowPluginCS2/
โโโ SnowPluginCS2.dll
โโโ lang/
โโโ en.json
โโโ ru.json
๐ Adding New Languages
To add a new language:
- Create a new file in
lang/folder (e.g.,de.jsonfor German) - Copy the structure from
en.json - Translate the messages
- Set your server's language in CS# config
Example translation file:
{
"snow.enabled": "{Green}[Snow]{Default} Effect {Green}enabled",
"snow.disabled": "{Red}[Snow]{Default} Effect {Red}disabled"
}Available color tags: {Green}, {Red}, {Blue}, {Yellow}, {Default}, {White}, {Purple}, {Orange}
๐ฎ Usage
- Toggle snow effect:
!snoworcss_snowin console - Player preferences are saved automatically
- Effect persists through map changes and reconnections
๐ Changelog
v1.0.1
- โ Added localization support (English & Russian)
- โ Fixed snow particles spawning from sky
- โ
Removed
offset_zconfig parameter - โ Improved particle attachment mechanism
- โ Code optimization and cleanup
v1.0.0
- ๐ Initial release