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 +?> 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