Adhan & Prayer Time Plugin Cs 1.6 - Plugins Cs 1.6 - Cs32.Ro - Download Cs 1.6 (Counter-Strike 1.6) Jump to content

BOOST-CS16.COM

Organic Master Server for your Counter-Strike 1.6 Server,

Our CS 1.6 masterserver guarantees a fair and cheat-free environment for all players.

Boost Cs 1.6

Download CS 1.6 Original

Looking for a Counter-Strike 1.6 download that’s safe and original? 

Whether you’re a long-time fan or a new player, experience the classic Counter-Strike 1.6.

Download Cs 1.6

1 Screenshot

About This File

Adhan & Prayer Time Plugin for CS 1.6

AMX Mod X (1.10)

Developer: sp_saad
Purpose: Encourage players in Algeria to pray on time while playing CS 1.6.

This plugin automatically plays the Adhan (Islamic call to prayer) and temporarily moves players to Spectator mode during prayer times, allowing them to take a break and perform Salah. The goal is to help players earn Ajar (reward) and Hassanat (good deeds) while enjoying the game responsibly.

How It Works

  1. Player Location Detection

    • Uses GeoIP2 City to determine if a player is located in Algeria.

  2. Prayer Times

    • Reads prayer times from a JSON file updated daily for all Algerian provinces.

    • JSON files are stored in:

      addons/amxmodx/configs/adhan
    • Utilizes the json.inc library for parsing.

  3. Adhan Playback

    • Adhan sounds are automatically played during prayer times.

    • Players are moved to Spectator mode for 15 minutes during the prayer period.

  4. AMX Mod X Compatibility

    • Built for AMXX version 1.10.

Installation Instructions

1. Configure the JSON Generator Script

  • Copy generate_adhan_time.py to your server.

  • Edit the following line in the script:

    /home/cs_server/cstrike/addons/amxmodx/configs/adhan

    Replace it with the full path where the daily adhan-YYYY-MM-DD.json file will be saved.

2. Edit Cron Setup Script

  • Open setup-cron.sh and edit the script path:

    SCRIPT_PATH="/home/cs_server/scripts/generate_adhan_time.py"

    Replace it with the actual path to generate_adhan_time.py.

3. Activate Cron Job

  • Give execute permission and run the setup script:

    chmod +x setup-cron.sh ./setup-cron.sh
  • This schedules the daily update at midnight to generate the latest prayer times.

4. Install the Plugin

  • Copy the cstrike folder into your server directory.

  • Add the plugin to plugins.ini:

    addons/amxmodx/configs/plugins.ini

    Add the line:

    adhan_prayer_time.amxx

5. Restart the Server

  • Restart CS 1.6 to activate the plugin.

Notes

  • The plugin is still under development.

  • Feedback, suggestions, and bug reports are welcome.

Final Words

Baraka Allahou Fikom – May Allah bless you all.


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...