Skip to content

Releases: ALBAN-1776/SnowPluginCS2

v1.0.2

Choose a tag to compare

@ALBAN-1776 ALBAN-1776 released this 12 Dec 06:33
110908a

📋 Changelog

v1.0.2

  • ✅ Built-in precaching - No external precacher needed! (Thanks to @vulikit)
  • ✅ Automatic particle file precaching on map start
  • ✅ Added CreateSnowOnConnect option

v1.0.1

Choose a tag to compare

@ALBAN-1776 ALBAN-1776 released this 29 Nov 03:54
5acafe2

🎄 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_z configuration parameter for cleaner config files
  • Optimized particle creation logic using Server.NextFrame() for better synchronization
  • Enhanced code structure with better error handling

📥 Installation

  1. Download the latest release
  2. Extract to addons/counterstrikesharp/plugins/SnowPluginCS2/
  3. Ensure the lang/ folder contains your desired language files
  4. 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:

  1. Create a new file in lang/ folder (e.g., de.json for German)
  2. Copy the structure from en.json
  3. Translate the messages
  4. 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: !snow or css_snow in 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_z config parameter
  • ✅ Improved particle attachment mechanism
  • ✅ Code optimization and cleanup

v1.0.0

  • 🎉 Initial release

v1.0.0

Choose a tag to compare

@ALBAN-1776 ALBAN-1776 released this 27 Nov 00:55
0d22138
Add files via upload