This commit is contained in:
jslightham
2020-04-27 01:14:06 -04:00
2 changed files with 6 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
define("key", KEY); // TODO: Make key customizable.
function get_mysql(){
$mysql = new MySQLi("remotemysql.com", "wptYz7NcqF", "62WcmjpDNu", "wptYz7NcqF");
$mysql = new MySQLi("", "", "", ""); // login details removed
if($mysql->connect_error){
die($mysql->connect_error);
@@ -13,4 +13,4 @@
function add($uuid, $reason){
get_mysql()->query("INSERT INTO bans (uuid, date, reason) values ('$uuid', '" date("Y-M-D H:M:S") "', ");
}
?>
?>

4
README.md Normal file
View File

@@ -0,0 +1,4 @@
# MC-Plugins
Minecraft Spigot plugins I have created
The completed, compiled plugins can be downloaded from spigot: https://www.spigotmc.org/members/jslightham.751105/#resources