Go to file
siegmund0 0bd193b721
Update README.md
2020-04-24 16:24:00 -03:00
README.md Update README.md 2020-04-24 16:24:00 -03:00
script.py Add files via upload 2019-09-04 16:35:33 -03:00
stats.php Update stats.php 2019-09-04 16:22:06 -03:00

README.md

Dayz-Leaderboard-Web-Developer

//@Siegmund Oaki website developer - 2019.

//Mod Developer: @QuickZ.

/// YOU NEED PYTHON BE INSTALLED /// OPEN CMD OR WINDOWS POWER SHELL AND PUT: py -m pip install mysql-connector

/// ADD python "PATH" to your windows path for execute pip command. Like this...

https://i.imgur.com/qVqc34E.png

/Intructions:

1- You need a mysql-.json folder intermediate or just enter the json manually in Database (script.py)

2- Start Xampp or the program you use to run the database and the web

3- Copy and Paste Stats.php in Htdocs They have to have some web mounted later prepared to accommodate the files within it. In any case, the .PHP is already configured to have a very basic website.

4- Create database with any name, within it create the tables that appear in "script.py". They have to be in the same order and be called in the same way. (you can modify it if you want)

-You have to keep in mind to mark the option "id" as the main one. The database will accommodate the files in their corresponding rows using the "id".

5- Huala... already have your player database

6-Always remember to have your script running

Note: In my case I use a python-based broker. But you can find other examples based on php and Bootstrap4

Points to consider:

//The .json files are located in the "Profiles" folder of the dayzserver (or the name given to it) //The broker with the "script.py" database makes modifications every 60 seconds in case the file has changed. //The "script.py" does NOT replace the data in the database, it only updates them if they change.

enjoy!