ModsJava
AdvancedBans
A simple and modern website for AdvancedBan. Free Minecraft Java mod — download and open it in the game.
⬇ Download on SpigotA simple and modern website panel for AdvancedBan.
Clone advancedbans to your web server. Then open the website and configure the website to your liking.
Database configuration is also done thru the same setup form.
How to reconfigure/redo the setup
Default configuration file
Translating AdvancedBans is simple. Languages are located in static/languages and all language files follow a simple format. To translate AdvancedBans for yourself, create a new file for your language. For example, en-US.json is used for the English language used in the United States. Then, use the following template to make your translations.
Themes
Like translating AdvancedBans, theming AdvancedBans is also simple. However, AdvancedBans will always load the core files for Bootstrap and will follow a Bootstrap HTML structure. Themes are stored in static/themes and the following is an example of the file structure for a theme.
Static stylesheets and scripts should be placed in the appropriate css and js folders. As noted before, AdvancedBans will always load core Bootstrap files and jQuery before custom theme stylesheets and scripts.
The configuration.json file for your theme should follow this template.
Icons
To change the icons for AdvancedBans, replace the icon files located in static/resources/images and static/resources/images/icons and the favicon.ico file using a tool like https://www.favicon-generator.org.
Screenshots
Support
For support you can message me on Spigot and Discord or join my Discord server. My Discord username is Seff300#5683
Discord server:
Credit
This resource was originally made by Mathhulk. He gave me permission to upload the continued version on Spigot.
The author of AdvancedBan is Leoko. Find AdvancedBan on SpigotMC.
- A demo can be found here.
- Self-hosted
- Supports the latest AdvancedBan version
- Easy to Setup
- Themes
- Beautiful default and contributor themes
- Create custom themes
- User theme selection
- Languages
- Default contributor languages
- Create custom languages
- User language selection
- Punishments
- Search
- Search punishment status
- Search punishment type
- Search punishment through input for name, reason and operator
- Mix and match multiple queries during each search
- Search
- Players
- Updated in a 5 second interval
- Configure the server host address and port
- Optional query for older servers
- Enable or disable
- Navigation
- Configure custom support link
- Configure custom appeal link
- Enable or disable one or both
- Supports private pages
- PHP v7.2.8 recommended
- mysqlnd PHP module
- nd_mysqli PHP module
- Apache mod_rewrite (optional, can be enabled)
Clone advancedbans to your web server. Then open the website and configure the website to your liking.
How to reconfigure/redo the setup
Spoiler: How to reconfigure/redo the setup
If you messed up during the setup or need to change some things then you can navigate to static/configuration.json in the folder where you ban website is located and open the file configuration.json. In there you will find different options which you can change but if you prefer to make the changes on the setup form itself then change setup completed to false
If you would like to change your database changes then you can open the database.php file in the folder static/. The database file looks like this (The values may be different for you):
You can also change the database settings thru the website setup form by setting setup completed to false in the configuration file located at static/configuration.json. But keep in mind that this will then require you to redo the whole setup form. It is recommended to keep the version set to stable as changing this to legacy or beta may cause some issues.
Code (Text):
"setup": {
"completed": false
"completed": false
You can also change the database settings thru the website setup form by setting setup completed to false in the configuration file located at static/configuration.json. But keep in mind that this will then require you to redo the whole setup form. It is recommended to keep the version set to stable as changing this to legacy or beta may cause some issues.
Default configuration file
Spoiler: Default configuration
Languages
Code (Text):
{
"version": "stable",
"mod_rewrite": false,
"default": {
"theme": "photon",
"language": "en-US"
},
"language": {
"title": "AdvancedBans",
"description": "Simple and sleek punishment panel for AdvancedBan."
},
"player_count": {
"enabled": true,
"query": false,
"host": "mc.hypixel.net",
"port": "25565"
},
"navigation": {
"contact": {
"enabled": false,
"link": "http://example.com/contact"
},
"appeal": {
"enabled": false,
"link": "http://example.com/appeal"
}
},
"private_page": {
"enabled": false,
"password": "default"
},
"setup": {
"completed": true
}
}
"version": "stable",
"mod_rewrite": false,
"default": {
"theme": "photon",
"language": "en-US"
},
"language": {
"title": "AdvancedBans",
"description": "Simple and sleek punishment panel for AdvancedBan."
},
"player_count": {
"enabled": true,
"query": false,
"host": "mc.hypixel.net",
"port": "25565"
},
"navigation": {
"contact": {
"enabled": false,
"link": "http://example.com/contact"
},
"appeal": {
"enabled": false,
"link": "http://example.com/appeal"
}
},
"private_page": {
"enabled": false,
"password": "default"
},
"setup": {
"completed": true
}
}
Translating AdvancedBans is simple. Languages are located in static/languages and all language files follow a simple format. To translate AdvancedBans for yourself, create a new file for your language. For example, en-US.json is used for the English language used in the United States. Then, use the following template to make your translations.
Spoiler: Language template
Consider translating AdvancedBans into a language you are fluent in. Create a pull request and I will merge your language translation into the master branch.
Code (Text):
{
"language": "English",
"collection": {
"punishments": "Punishments",
"support": "Support",
"contact": "Contact",
"appeal": "Appeal",
"credit": "Credit",
"themes": "Themes",
"default": "Default",
"languages": "Languages",
"players": "Players",
"search": "Search",
"copy": "Copy",
"copied": "Copied",
"inactive": "Inactive",
"active": "Active",
"first": "First",
"previous": "Previous",
"next": "Next",
"last": "Last",
"name": "Name",
"reason": "Reason",
"operator": "Operator",
"date": "Date",
"expires": "Expires",
"type": "Type",
"status": "Status",
"filter": "Filter",
"development": "This is a development version. Proceed with caution!",
"update": "There is a new update available! Download it here.",
"private": "This is a private page",
"ban": "Ban",
"temp_ban": "Temp. Ban",
"ip_ban": "I.P. Ban",
"mute": "Mute",
"temp_mute": "Temp. Mute",
"warning": "Warning",
"temp_warning": "Temp. Warning",
"kick": "Kick",
"error_no_punishments": "No punishments could be listed on this page",
"error_not_evaluated": "N/A"
}
}
"language": "English",
"collection": {
"punishments": "Punishments",
"support": "Support",
"contact": "Contact",
"appeal": "Appeal",
"credit": "Credit",
"themes": "Themes",
"default": "Default",
"languages": "Languages",
"players": "Players",
"search": "Search",
"copy": "Copy",
"copied": "Copied",
"inactive": "Inactive",
"active": "Active",
"first": "First",
"previous": "Previous",
"next": "Next",
"last": "Last",
"name": "Name",
"reason": "Reason",
"operator": "Operator",
"date": "Date",
"expires": "Expires",
"type": "Type",
"status": "Status",
"filter": "Filter",
"development": "This is a development version. Proceed with caution!",
"update": "There is a new update available! Download it here.",
"private": "This is a private page",
"ban": "Ban",
"temp_ban": "Temp. Ban",
"ip_ban": "I.P. Ban",
"mute": "Mute",
"temp_mute": "Temp. Mute",
"warning": "Warning",
"temp_warning": "Temp. Warning",
"kick": "Kick",
"error_no_punishments": "No punishments could be listed on this page",
"error_not_evaluated": "N/A"
}
}
Themes
Like translating AdvancedBans, theming AdvancedBans is also simple. However, AdvancedBans will always load the core files for Bootstrap and will follow a Bootstrap HTML structure. Themes are stored in static/themes and the following is an example of the file structure for a theme.
Code (Text):
themes /
\ - photon /
| - css /
\ - photon.css
| - img
| - js
\ - configuration.json
\ - photon /
| - css /
\ - photon.css
| - img
| - js
\ - configuration.json
The configuration.json file for your theme should follow this template.
Code (Text):
{
"theme": "Photon",
"creator": "mathhulk"
}
"theme": "Photon",
"creator": "mathhulk"
}
To change the icons for AdvancedBans, replace the icon files located in static/resources/images and static/resources/images/icons and the favicon.ico file using a tool like https://www.favicon-generator.org.
Screenshots
Support
For support you can message me on Spigot and Discord or join my Discord server. My Discord username is Seff300#5683
Discord server:
Credit
This resource was originally made by Mathhulk. He gave me permission to upload the continued version on Spigot.
The author of AdvancedBan is Leoko. Find AdvancedBan on SpigotMC.
AdvancedBans is a free Minecraft Java mod. Downloaded 1,636 times (via Spigot). Download it and open it directly in the game.