PHP website supports Minecraft Spigot/Bukkit servers.
Get servers (recommend): https://getbukkit.org/download/spigot
Recommend XAMPP Apache & MySQL: https://www.apachefriends.org/download.html.
Just copy & paste to htdocs (C:/xampp/htdocs). Import file minecraft.sql to MySQL. Finally, change file config.php.
- Login Security: https://dev.bukkit.org/projects/loginsecurity
- SkinsRestorer: https://www.spigotmc.org/resources/skinsrestorer.2124/
Go to {minecraft_server}\plugins\LoginSecurity and change file database.yml
isolation: SERIALIZABLE
mysql:
enabled: true <---- CHANGE THIS FROM FALSE TO TRUE
host: 'localhost:3306'
username: 'root'
password: ''
# Table names are prefixed with ls_
database: 'minecraft'
Turn on rcon and query of Minrecraft Server
# Rcon
rcon.password=password@abc <------ RCON Password (Required)
enable-rcon=true <------ TRUE
# Query
enable-query=true <------ TRUE
- PHP code by Vy Nghia
- Thanks xPaw (Query source) & thedudeguy (RCon source)