From 1e79740420bbc91c2dec6df3cd465b1e290634d3 Mon Sep 17 00:00:00 2001 From: Johnathon Slightham <31053827+jslightham@users.noreply.github.com> Date: Wed, 22 Apr 2020 21:25:31 -0400 Subject: [PATCH 1/2] Update api.php --- EasyBans-Web/api/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EasyBans-Web/api/api.php b/EasyBans-Web/api/api.php index 12ae737..5144f9c 100644 --- a/EasyBans-Web/api/api.php +++ b/EasyBans-Web/api/api.php @@ -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") "', "); } -?> \ No newline at end of file +?> From 7e44d70d3f6b5ef9dd3c41dd627b16a776cb98fb Mon Sep 17 00:00:00 2001 From: Johnathon Slightham <31053827+jslightham@users.noreply.github.com> Date: Wed, 22 Apr 2020 21:28:22 -0400 Subject: [PATCH 2/2] Create README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c3e6b04 --- /dev/null +++ b/README.md @@ -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