Raised This Month: $12 Target: $400
 3% 

PlayersMap v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical       
thEsp
BANNED
Join Date: Aug 2017
Old 07-25-2020 , 10:34   PlayersMap v1.0
Reply With Quote #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)
  1. Clone the repository by typing git clone https://github.com/x-Eagle-x/PlayersMapAMXX.git in a certain terminal.
  2. Install PHP there. Additionally add it to the %path% (if on Windows).
  3. Edit line 7 through 11 in file playersmap.php and 12 through 15 in amx_playersmap.sma.
  4. Compile the plugin and install it in your game server.
  5. 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 is offline
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 07-25-2020 , 17:51   Re: 🌎 PlayersMap v1.0
Reply With Quote #2

Sounds good .. Nice idea .. Will try it soon . GJ

[EDIT] : Just tested and it works , ty
__________________
Copy-and-Paste was programmed by programmers for programmers actually

Last edited by RBE sLayeR; 07-26-2020 at 10:16.
RBE sLayeR is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode