---
title: "AdvancedBan on a Network: MySQL, BungeeCord and Velocity"
description: "Set up AdvancedBan on a proxy network: BungeeCord install, MySQL storage, shared history, permissions and what to do if you use Velocity."
url: "https://www.zcraftstudios.com/blog/advancedban-network-mysql-bungeecord-velocity-setup"
updated: "2026-11-04T03:51:07.783865+00:00"
source: "ZCraft Studios"
---

> Site index for AI agents: https://www.zcraftstudios.com/llms.txt (full reference: https://www.zcraftstudios.com/llms-full.txt). Every page is available as Markdown by adding `.md` to its URL or sending `Accept: text/markdown`.

1. [Home](https://www.zcraftstudios.com/)
2. [Blog](https://www.zcraftstudios.com/blog)
3. AdvancedBan on a Network: MySQL, BungeeCord and Velocity

[ All posts](https://www.zcraftstudios.com/blog)

# AdvancedBan on a Network: MySQL, BungeeCord and Velocity

ZCraft StudiosNov 4, 2026

Set up AdvancedBan on a proxy network: BungeeCord install, MySQL storage, shared history, permissions and what to do if you use Velocity.

## In this guide

- [Which platform do you have?](#which-platform-do-you-have)
- [Install on a BungeeCord proxy](#install-on-a-bungeecord-proxy)
- [Use MySQL for shared history](#use-mysql-for-shared-history)
- [Permissions on a proxy](#permissions-on-a-proxy)
- [Protect your backends](#protect-your-backends)
- [What about Velocity?](#what-about-velocity)
- [Test the network](#test-the-network)
- [Frequently asked questions](#frequently-asked-questions)
- [Related reading](#related-reading)

## AdvancedBan on a Network: MySQL, BungeeCord and Velocity

**Quick answer:** on a BungeeCord network, install the BungeeCord version of AdvancedBan on the **proxy**, switch to **MySQL**, give staff permissions through your proxy permission setup, and lock backend servers so players cannot bypass the proxy. The original AdvancedBan and AdvancedBanX list Bukkit and BungeeCord, so on **Velocity** you should check for an officially supported plugin first.

_Information comes from the plugin pages and docs, last checked November 2026\. Platform support changes, so confirm for your build._

## Which platform do you have?

| Setup                           | What to do                                                                                                                                       |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Single Paper server             | Install AdvancedBan on the server. See the [Setup Guide](https://www.zcraftstudios.com/blog/advancedban-setup-guide)                                                          |
| BungeeCord or Waterfall network | Install the BungeeCord version on the proxy and use MySQL                                                                                        |
| Velocity network                | Check which punishment plugins officially support Velocity. See [Alternatives](https://www.zcraftstudios.com/blog/advancedban-alternatives-advancedbanx-libertybans-litebans) |

For choosing a proxy, see [Velocity vs BungeeCord vs Waterfall](https://www.zcraftstudios.com/blog/velocity-vs-bungeecord-vs-waterfall-comparison).

## Install on a BungeeCord proxy

1. Back up the proxy. See [Backup Strategy](https://www.zcraftstudios.com/blog/minecraft-server-backup-strategy).
2. Put the AdvancedBan jar in the proxy's `plugins` folder.
3. Restart the proxy fully, not with a reload.
4. Run `/advancedban` to confirm it loaded.
5. Open the generated files and set up storage and messages one change at a time.

Do not also install a second punishment plugin on the same network. See [Plugin Conflicts](https://www.zcraftstudios.com/blog/minecraft-server-plugin-conflict-debugging).

## Use MySQL for shared history

Local file storage keeps data on one machine. For a network that needs shared history and a safe backup, use MySQL.

1. Create a database and a dedicated user with access only to that database.
2. Set `UseMySQL: true` in `config.yml` and enter the host, port, database, user and password.
3. Restart and check the console for connection errors.
4. Issue a test punishment and confirm rows appear.

If the connection fails, the fork's page suggests checking the MySQL version, since older drivers can have trouble with newer MySQL releases. Keep the database on a private network, and use a strong password. See [SQLite vs MySQL](https://www.zcraftstudios.com/blog/minecraft-server-plugin-database-sqlite-vs-mysql), [Sharing Player Data With MySQL](https://www.zcraftstudios.com/blog/mysql-cross-server-player-data) and [Firewall Hardening](https://www.zcraftstudios.com/blog/minecraft-server-firewall-hardening).

## Permissions on a proxy

Permissions must be defined where the proxy can read them. Use your proxy permission plugin or the proxy's own configuration, and check wildcard behavior. Then test with a staff account. See the [Commands and Permissions Cheat Sheet](https://www.zcraftstudios.com/blog/advancedban-commands-permissions-cheat-sheet).

## Protect your backends

A ban on the proxy does not stop a banned player who can connect to a backend directly. Make sure backends only accept proxy traffic:

- Firewall backend ports to the proxy's IP
- Use secure forwarding. See [Velocity Modern Forwarding Checklist](https://www.zcraftstudios.com/blog/velocity-modern-forwarding-setup-checklist) for the Velocity equivalent
- Keep backends offline-mode only when they are locked behind the proxy. See [Authentication Models](https://www.zcraftstudios.com/blog/minecraft-server-authentication-methods)

## What about Velocity?

The original AdvancedBan and AdvancedBanX list Bukkit and BungeeCord support. AdvancedBanX lists Velocity as a goal, and a community Velocity port exists but is labeled an early build with no support and notes that its commands may not work. For a production Velocity network, check whether a punishment plugin officially supports Velocity, such as LiteBans or LibertyBans, and test on staging. See [AdvancedBan Alternatives](https://www.zcraftstudios.com/blog/advancedban-alternatives-advancedbanx-libertybans-litebans) and [Velocity Network Setup](https://www.zcraftstudios.com/blog/velocity-proxy-network-setup).

## Test the network

| Test               | What to check                                                  |
| ------------------ | -------------------------------------------------------------- |
| Ban from the proxy | The banned account cannot join any server                      |
| Mute               | The player cannot use chat or the muted commands on any server |
| History            | /history shows the same data on every backend                  |
| Direct connect     | Backends refuse connections that skip the proxy                |
| Restart            | Punishments persist after restarts                             |

## Frequently asked questions

**Does AdvancedBan work on BungeeCord?** Yes, the BungeeCord version runs on the proxy.

**Do I need MySQL on a network?** It is the best way to keep shared history and backups.

**Does AdvancedBan support Velocity?** The original lists Bukkit and BungeeCord. Check for a plugin that officially supports Velocity.

**Where do I install it on a network?** On the proxy, as the plugin docs describe, then test every route.

**How do I stop banned players bypassing the proxy?** Firewall your backends.

## Related reading

- [AdvancedBan Setup Guide](https://www.zcraftstudios.com/blog/advancedban-setup-guide)
- [AdvancedBan Not Working? Fixes](https://www.zcraftstudios.com/blog/advancedban-not-working-fixes)
- [Hypixel-Style Network Setup](https://www.zcraftstudios.com/blog/hypixel-style-network-setup-lobby-minigames)

## Continue reading

- [AdvancedBan Not Working? Permissions, MySQL and Command Fixes](https://www.zcraftstudios.com/blog/advancedban-not-working-fixes)
- [Velocity vs. BungeeCord vs. Waterfall: Choosing a Proxy](https://www.zcraftstudios.com/blog/velocity-vs-bungeecord-vs-waterfall-comparison)
- [Sharing Player Data Across a Network With MySQL](https://www.zcraftstudios.com/blog/mysql-cross-server-player-data)
- [AdvancedBan Alternatives: AdvancedBanX, LibertyBans, LiteBans](https://www.zcraftstudios.com/blog/advancedban-alternatives-advancedbanx-libertybans-litebans)

[ Previous guide How to Move Your Minecraft Server to RealisticNode (SFTP)](https://www.zcraftstudios.com/blog/move-minecraft-server-to-realisticnode-sftp)[ Next guide AdvancedBan Commands and Permissions: Cheat Sheet](https://www.zcraftstudios.com/blog/advancedban-commands-permissions-cheat-sheet)

<script type="application/ld+json">{"@context":"https://schema.org","@type":"Organization","@id":"https://www.zcraftstudios.com/#organization","name":"ZCraft Studios","alternateName":["ZCS","ZCraft","ZCraftStudios"],"logo":{"@type":"ImageObject","url":"https://www.zcraftstudios.com/favicon-192.png","width":192,"height":192},"image":{"@type":"ImageObject","url":"https://www.zcraftstudios.com/favicon-192.png","width":192,"height":192},"url":"https://www.zcraftstudios.com","description":"ZCraft Studios (ZCS) creates Minecraft plugins, server configs and tools. Browse resources, compatibility details and setup guides.","email":"Support@zcraftstudios.com","slogan":"Minecraft resources, configurations and custom server development.","knowsAbout":["Minecraft plugins","Minecraft server configuration","Java plugin development","Minecraft server optimization"],"sameAs":["https://dsc.gg/zcraftstudios","https://x.com/ZCraftNetwork","https://www.youtube.com/@zcraft_studios","https://www.instagram.com/ZCraftStudios"],"contactPoint":[{"@type":"ContactPoint","contactType":"customer support","email":"Support@zcraftstudios.com","availableLanguage":["English"],"areaServed":"Worldwide"}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","@id":"https://www.zcraftstudios.com/#website","url":"https://www.zcraftstudios.com","name":"ZCraft Studios","alternateName":["ZCS","ZCraft"],"description":"ZCraft Studios (ZCS) creates Minecraft plugins, server configs and tools. Browse resources, compatibility details and setup guides.","inLanguage":"en","publisher":{"@type":"Organization","@id":"https://www.zcraftstudios.com/#organization","name":"ZCraft Studios","url":"https://www.zcraftstudios.com"}}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://www.zcraftstudios.com/blog/advancedban-network-mysql-bungeecord-velocity-setup#article","headline":"AdvancedBan on a Network: MySQL, BungeeCord and Velocity","url":"https://www.zcraftstudios.com/blog/advancedban-network-mysql-bungeecord-velocity-setup","mainEntityOfPage":"https://www.zcraftstudios.com/blog/advancedban-network-mysql-bungeecord-velocity-setup","isPartOf":{"@type":"WebSite","@id":"https://www.zcraftstudios.com/#website","name":"ZCraft Studios","url":"https://www.zcraftstudios.com"},"speakable":{"@type":"SpeakableSpecification","cssSelector":["h1","main"]},"description":"Set up AdvancedBan on a proxy network: BungeeCord install, MySQL storage, shared history, permissions and what to do if you use Velocity.","datePublished":"2026-11-04T03:51:07.783865+00:00","dateModified":"2026-11-04T03:51:07.783865+00:00","author":{"@type":"Organization","@id":"https://www.zcraftstudios.com/#organization","name":"ZCraft Studios","url":"https://www.zcraftstudios.com/about"},"publisher":{"@type":"Organization","@id":"https://www.zcraftstudios.com/#organization","name":"ZCraft Studios","url":"https://www.zcraftstudios.com","logo":{"@type":"ImageObject","url":"https://www.zcraftstudios.com/favicon-192.png","width":192,"height":192}},"inLanguage":"en","image":"https://www.zcraftstudios.com/api/og/blog/advancedban-network-mysql-bungeecord-velocity-setup?v=1mrk4pt"}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.zcraftstudios.com/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://www.zcraftstudios.com/blog"},{"@type":"ListItem","position":3,"name":"AdvancedBan on a Network: MySQL, BungeeCord and Velocity","item":"https://www.zcraftstudios.com/blog/advancedban-network-mysql-bungeecord-velocity-setup"}]}</script>
