alex Posted November 10, 2025 Report Posted November 10, 2025 π XMAS Sky Manager Day/Night v2.0 Automatic day/night sky rotation plugin for CS 1.6 servers π Description XMAS Sky Manager Day/Night is an AMX Mod X plugin that automatically changes your server's skybox based on real-time hours. Set different skies for day and night, configure the transition hours, and let the plugin handle the rest! β¨ Features π€οΈ Separate day and night skies - Configure different skyboxes for daytime and nighttime β° Customizable schedule - Set exact hours when day/night transitions occur π Automatic switching - Sky changes automatically every 60 seconds based on server time π Detailed logging - All sky changes are logged in AMX logs π¨ No downloads required - Uses built-in CS 1.6 skyboxes βοΈ Easy configuration - Simple INI file with clear documentation π No map restart needed - Sky changes dynamically without changing maps π₯ Installation Compile the plugin: Upload xmas_sky_manager.sma to your web compiler or use AMX Mod X Studio Download the compiled .amxx file Upload the plugin: Place xmas_sky_manager.amxx in cstrike/addons/amxmodx/plugins/ Enable the plugin: Open cstrike/addons/amxmodx/configs/plugins.ini Add this line: xmas_sky_manager.amxx Restart your server or change map Configure (optional): Edit cstrike/addons/amxmodx/configs/sky_config.ini The file is auto-created with default settings on first run βοΈ Configuration The plugin creates sky_config.ini in your configs folder with these settings: ; Sky to use during daytime day_sky snow ; Sky to use during nighttime night_sky space ; Hour when day starts (0-23, default: 7 = 7:00 AM) day_start_hour 7 ; Hour when night starts (0-23, default: 18 = 6:00 PM) night_start_hour 18 Default Schedule 07:00 - 18:00 (7 AM - 6 PM) = snow sky 18:00 - 07:00 (6 PM - 7 AM) = space sky π¨ Available Skyboxes All these skyboxes are built into CS 1.6 - no additional downloads required! π Recommended for Daytime: snow - Cloudy/snowy sky (DEFAULT) desert - Clear desert sky 2desert - Alternate desert sky morningsnow - Morning with snow π Recommended for Nighttime: space - Cosmic space (DEFAULT) drksky - Dark cloudy sky black - Pitch black sky neb1 / neb6 - Colorful nebulas π Other Options: cliff - Rocky cliffs alien1 / alien2 / alien3 - Alien atmospheres xen9 / xen10 - Xen dimensions π Configuration Examples Example 1: Extended Daylight (6 AM - 10 PM) day_sky desert night_sky drksky day_start_hour 6 night_start_hour 22 Example 2: Standard Business Hours (8 AM - 8 PM) day_sky snow night_sky space day_start_hour 8 night_start_hour 20 Example 3: Early Bird Schedule (5 AM - 11 PM) day_sky morningsnow night_sky neb6 day_start_hour 5 night_start_hour 23 Example 4: Always Night Theme day_sky drksky night_sky space day_start_hour 0 night_start_hour 0 π§ How It Works On server start: Plugin reads sky_config.ini and applies the appropriate sky Every 60 seconds: Plugin checks current server time If time changed: Automatically switches between day/night sky Logging: Each sky change is recorded in AMX logs with timestamp Time Format Uses 24-hour format (0-23) Based on server's local time Hour 7 = 7:00 AM, Hour 18 = 6:00 PM π Server Requirements β AMX Mod X 1.8.2 or higher β Counter-Strike 1.6 β No additional files or dependencies π Troubleshooting Sky doesn't change Check that the plugin is loaded: amx_plugins in console Verify configuration file exists: configs/sky_config.ini Check AMX logs for errors: logs/L[date].log Sky changes but looks wrong Ensure sky names are spelled correctly (case-sensitive) Verify you're using valid CS 1.6 skybox names Check if custom skyboxes are properly installed (if using custom ones) Changes don't apply immediately Sky updates every 60 seconds, wait a moment Or change map/restart server for instant apply Check if hours are set correctly (0-23 range) π Changelog Version 2.0 β¨ Added day/night sky rotation β° Configurable transition hours π Enhanced logging system π Full English documentation π Automatic sky switching without map restart Version 1.1 π― Initial release π€οΈ Single sky configuration π¨βπ» Credits Author: alex - steams.ro Version: 2.0 License: Free to use and modify π¬ Support For issues, suggestions, or questions: Check the troubleshooting section above Review configuration examples Verify AMX logs for detailed error messages π Quick Start Guide Install plugin β plugins/xmas_sky_manager.amxx Add to plugins.ini Restart server (config file auto-creates) Edit configs/sky_config.ini (optional) Enjoy automatic day/night skies! π Enjoy dynamic skies on your server! βοΈβ¨ Β xmas_sky_manager.amxx xmas_sky_manager.sma
Recommended Posts