- Source Code:
- https://github.com/JohnodonCode/webadvancedbanWeb AdvancedBanInstallation
Web AdvancedBan is a simple, easy to use web panel for servers running the AdvancedBan Minecraft plugin.
Note: You must be using an external web server or a VPS (Virtual Private Server) to host this website. This will not run on the Minecraft server itself.
Note 2: AdvancedBan must use a MySQL database as its storage method for this to work.
Clone the git repository or download the provided zip file and extract it into an empty folder.
Run the npm i command to install all needed dependencies.
Run node index.js to start the web server. (Note: port 3000 must be available to open the server)
Open http://localhost:3000 in your browser (if hosted on your own machine). You will be redirected to the setup page:
Enter the database connection info and click Connect. If you entered incorrect connection information, it will tell you the error. If you entered the correct info, you will be directed to
the configuration page:
You are not required to enter a server name or a hostname, but if you do these will be displayed to people who view the web panel. You can change the port here, but it's best to leave it on default.
Once you have completed setup, you will receive the "Setup is complete. Please restart the script for changes to take effect." message. Your script will now either restart or shut down. If it shuts down just start it again. The web panel is now ready.
You can view a live version here: https://bans.johnodon.com/