diff --git a/.gitignore b/.gitignore index bcc0b7a..723ef36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -.idea -vendor/ \ No newline at end of file +.idea \ No newline at end of file diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..5a928f6 --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ +Options -Indexes diff --git a/NamelessMC Addon/Bungee Admin Tools Web Interface/initialisation.php b/NamelessMC Addon/Bungee Admin Tools Web Interface/initialisation.php new file mode 100644 index 0000000..0300e18 --- /dev/null +++ b/NamelessMC Addon/Bungee Admin Tools Web Interface/initialisation.php @@ -0,0 +1,22 @@ + 'Core Protect 2', + 'bat_icon' => '', // Icon to display before the text in the navbar +); diff --git a/NamelessMC Addon/Bungee Admin Tools Web Interface/settings.php b/NamelessMC Addon/Bungee Admin Tools Web Interface/settings.php new file mode 100644 index 0000000..e805f91 --- /dev/null +++ b/NamelessMC Addon/Bungee Admin Tools Web Interface/settings.php @@ -0,0 +1,102 @@ +isLoggedIn()){ + if($user->canViewACP($user->data()->id)){ + if($user->isAdmLoggedIn()){ + // Can view + } else { + Redirect::to('/admin'); + die(); + } + } else { + Redirect::to('/'); + die(); + } +} else { + Redirect::to('/'); + die(); +} + +// Display information first +?> +
yourwebsite.com/batinfractions/__install
It's actually quite simple to change the theme (by default it's set to Yeti)! It was very hard for me to implement the themes into the web interface, but I made it EXTREMELY easy for u! :D <3
+To change the theme, all you have to do is:
+"/batinfractions/application/views/_template/"
and open "header.php"
"CUSTOM THEME HERE!!!"
"Yeti,"
since that's the theme I'm currently using, to ANY theme that's already installed to your NamelessMC setup! :O :D"Style"
. Click it and it'll list all of your currently installed themes! :O :D Enjoy! :DUnfortunately, I couldn't get the location selector module to work. I tried, believe me. If u know how to get it to work, PLEASE show me how! D:
+Open "/addons/Bungee Admin Tools Web Interface/initialisation.php"
and paste in the code snippets below or put none to hide the link (The link is hidden by default & the footer code is commented out as an example for you).