Thread
:
PlayersMap v1.0
View Single Post
Plugin Info:
Modification:
Category:
thEsp
BANNED
Join Date: Aug 2017
07-25-2020 , 10:34 PlayersMap v1.0
#
1
PlayersMap
v1.0
Description
PlayersMap is a simple extension for GoldSrc-based games that sends information to a web-page about players' country.
Installation
(READ BEFORE POSTING)
Clone the repository by typing
git clone
https://github.com/x-Eagle-x/PlayersMapAMXX.git
in a certain terminal.
Install PHP there. Additionally add it to the
%path%
(if on Windows).
Edit line 7 through 11 in file
playersmap.php
and 12 through 15 in
amx_playersmap.sma
.
Compile the plugin and install it in your game server.
Open
start.sh
or
start.bat
, obviously depending on what operating system PHP is installed.
Notes
If you get an error indicating that function
mysqli_x
is undefined then create file
php.ini
in PHP's main folder and type this on it:
Code:
extension_dir = "./ext/" extension = mysqli
This plugin requires AMXX version 1.9 or later.
Make sure your GeoIP database (
GeoLite2-Country.mmdb
) is updated. In case it is not, download a newer database from
https://dev.maxmind.com/geoip/geoip2/geolite2/
.
If you want to host the SQL server on your local machine then follow this tutorial:
https://forums.alliedmods.net/showthread.php?t=223331
.
Keep in mind
that this requires the PHP script to be used in the same root server as HLDS.
You may use a hosting service to do the job (PHP server) for you, just make sure you also get a SQL server included.
Last edited by thEsp; 07-26-2020 at
11:37
.
thEsp
View Public Profile
Visit thEsp's homepage!
Find More Posts by thEsp