/hlkreedz

Primary LanguagePawn

HL KreedZ

This repository contains AMX Mod X plugins for Half-Life jump servers, extended with several features for the SourceRuns AG jump server. The already compiled plugins are compiled with AMX Mod X 1.8.3 which is not backwards compatible with 1.8.2 or any other, so if you just grab them without compiling them by yourself, make sure to have AMX Mod X 1.8.3 installed in your server. You can find it here: AMX Mod X 1.8.3 dev builds

hl_kreedz

hl_kreedz provides essential functionality such as start and stop buttons, timer and leaderboards.

q_jumpstats

q_jumpstats monitors and records players' high scores in various types of jumps. Credits: this is Quaker's (@skyrim) plugin adapted to HL/AG.

searchmaps

searchmaps provides commands to search through the maps installed on the server, with an optional search term and pagination.
For this version to work, you have to create an allmaps.txt file (in addons/amxmodx/configs) containing a map per line, with all the maps you want. Doing cd into your ag/maps folder and executing ls -- *.bsp >> ../addons/amxmodx/configs/allmaps.txt should be enough for this plugin to work correctly.

speclist

speclist provides a command to toggle a list of spectators watching you

hl_kreedz_discord

hl_kreedz_discord can send info about new WRs to a service (not directly to the webhook as this AMXX cURL doesn't support SSL yet), in the format of a JSON that a Discord webhook can understand so that a Discord bot posts that info to a chat. Requires setting the URL of the service with this cvar:

kz_discord_service "http://example.domain/whatever/some_service_name.php"

And the Discord webhook token with this cvar:

kz_discord_webhook "https://ptb.discordapp.com/api/webhooks/some_number/some_token"

For the plugin to work, it's also necessary to enable the curl module, writing curl in an empty line of the config/modules.ini file. The service is the hlkz_service/discord.php file, which should be public in your server (you need a PHP processor and a web server such as nginx that serves the file, and then point to the URL of the service file with the cvar).

TODO: explain all the available commands for admins and players