{"id":127029,"date":"2026-06-07T14:20:31","date_gmt":"2026-06-07T11:20:31","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/"},"modified":"2026-06-07T14:20:31","modified_gmt":"2026-06-07T11:20:31","slug":"pvpindex-mcbans","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/","title":{"rendered":"PvPIndex MCBans"},"content":{"rendered":"<p>> **This is a refactored fork of the original MCBans plugin.** The ban-sharing concept, command structure, and permission layout originate from the MCBans team and their contributors. This fork modernises the codebase for Java 21 \/ Paper 1.21+ and replaces the legacy MCBans backend with the PvPIndex REST API.<\/p>\n<p>**PvPIndex MCBans** connects your Paper server to the mcbans.pvpindex.com global ban network. Players banned on any participating server are automatically blocked everywhere else &#8211; while you keep full control over local bans, storage backends, and permission levels.<\/p>\n<p>&#8212;<\/p>\n<p>## Features<\/p>\n<p>&#8211; **Global &#038; local bans** &#8211; issue a local ban (stays on your server) or a global ban synced to all connected servers in real time<br \/>\n&#8211; **Temporary bans** &#8211; time-limited with auto-expiry in minutes, hours, days, or weeks<br \/>\n&#8211; **IP bans** &#8211; ban by IP address to block VPN abuse and ban evasion<br \/>\n&#8211; **Reason presets** &#8211; define shorthand keys in config (`#hacks`, `#toxicity`) that expand to full reason strings; extended form supports a `default-duration` for temp bans; case-insensitive with tab-completion<br \/>\n&#8211; **Customizable kick messages** &#8211; per-type templates (`global`, `local`, `temp`, `failsafe`) with `{reason}`, `{admin}`, `{expires}`, and `{appeal_url}` placeholders<br \/>\n&#8211; **Offline resilience** &#8211; bans issued during API outages are queued and pushed on recovery; `failsafe` mode can block all logins when the API is unreachable<br \/>\n&#8211; **Delta sync** &#8211; downloads only ban changes on a configurable interval (default 60 min)<br \/>\n&#8211; **Multiple storage backends** &#8211; SQLite (default, zero-config), MySQL\/MariaDB, PostgreSQL<br \/>\n&#8211; **Alt-account detection** &#8211; `\/altlookup` surfaces known alternate accounts via the PvPIndex API<br \/>\n&#8211; **Developer API (JitPack)** &#8211; lightweight `pvpindex-mcbans-api` module lets other plugins query ban status without a Bukkit dependency<br \/>\n&#8211; **Vault integration** &#8211; optional; swap the permission backend in one config line<br \/>\n&#8211; **Fully translatable** &#8211; swap the `language` key to load a different locale file<\/p>\n<p>&#8212;<\/p>\n<p>## Requirements<\/p>\n<p>| Component | Version |<br \/>\n|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;|<br \/>\n| Java | 21+ |<br \/>\n| Paper | 1.21+ |<br \/>\n| PvPIndex API key | Free at pvpindex.com\/apply |<br \/>\n| Vault *(optional)* | Any recent version |<\/p>\n<p>&#8212;<\/p>\n<p>## Installation<\/p>\n<p>1. Download `pvpindex-mcbans-<version>.jar` from GitHub Releases.<br \/>\n2. Drop the JAR into `plugins\/` and start the server &#8211; `plugins\/MCBans\/config.yml` is generated automatically.<br \/>\n3. Apply for an API key and paste it into config:<\/p>\n<p>&#8220;`yaml<br \/>\npvpindex:<br \/>\n  apiKey: &#8220;your-bearer-token-here&#8221;<br \/>\n&#8220;`<\/p>\n<p>4. Reload with `\/mcbans reload` or restart.<br \/>\n5. Run `\/mcbans sync` to pull the current ban list from the network.<\/p>\n<p>\u2192 Full guide: docs.pvpindex.com\/mcbans\/installation<\/p>\n<p>&#8212;<\/p>\n<p>## Commands<\/p>\n<p>### Ban commands<\/p>\n<p>| Command | Permission | Description |<br \/>\n|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| `\/ban <player> [reason]` | `mcbans.ban.local` | Issue a local ban |<br \/>\n| `\/ban <player> g <reason>` \u00b7 `\/gban` | `mcbans.ban.global` | Issue a global ban (synced network-wide) |<br \/>\n| `\/ban <player> t <n> <m|h|d|w> [reason]` \u00b7 `\/tban` | `mcbans.ban.temp` | Temporary ban with auto-expiry |<br \/>\n| `\/banip <ip> [reason]` \u00b7 `\/ipban` | `mcbans.ban.ip` | Ban an IP address |<br \/>\n| `\/unban <player|IP|UUID>` | `mcbans.unban` | Remove any active ban |<\/p>\n<p>### Moderation commands<\/p>\n<p>| Command | Permission | Description |<br \/>\n|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| `\/kick <player> [reason]` | `mcbans.kick` | Kick without banning |<br \/>\n| `\/lookup <player|UUID>` \u00b7 `\/lup` | `mcbans.lookup.player` | View ban history |<br \/>\n| `\/banlookup <id>` \u00b7 `\/blup` | `mcbans.lookup.ban` | View a ban record by ID |<br \/>\n| `\/altlookup <player|UUID>` \u00b7 `\/alup` | `mcbans.lookup.alt` | Show known alternate accounts |<\/p>\n<p>### Admin commands<\/p>\n<p>| Command | Description |<br \/>\n|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| `\/mcbans` | Show help |<br \/>\n| `\/mcbans reload` | Reload config and language files |<br \/>\n| `\/mcbans sync` | Force an immediate push + download cycle |<br \/>\n| `\/mcbans presets` | List all configured reason presets (`mcbans.ban.local`) |<\/p>\n<p>&#8212;<\/p>\n<p>## Configuration<\/p>\n<p>&#8220;`yaml<br \/>\npvpindex:<br \/>\n  apiUrl:       https:\/\/api.pvpindex.com<br \/>\n  apiKey:       &#8220;&#8221;            # \u2190 paste your key here<br \/>\n  syncInterval: 60            # background sync in minutes<\/p>\n<p>storage:<br \/>\n  backend: sqlite             # sqlite | mysql | postgresql<\/p>\n<p>language:   default<br \/>\npermission: SuperPerms        # SuperPerms | Vault<\/p>\n<p>failsafe: false               # true = block all logins when API unreachable<\/p>\n<p># Optional: customise the message shown to banned\/kicked players<br \/>\nkick-message:<br \/>\n  global:   &#8220;&#038;cYou are globally banned.n&#038;7Reason: {reason}n&#038;7Appeal: {appeal_url}&#8221;<br \/>\n  local:    &#8220;&#038;cYou are banned from this server.n&#038;7Reason: {reason}&#8221;<br \/>\n  temp:     &#8220;&#038;cYou are temporarily banned until {expires}.n&#038;7Reason: {reason}&#8221;<br \/>\n  failsafe: &#8220;&#038;cUnable to verify your ban status. Try again later.&#8221;<\/p>\n<p># Optional: shorthand reason keys usable in all ban commands<br \/>\nreason-presets:<br \/>\n  hacks:<br \/>\n    reason: &#8220;Hacking \/ using unauthorized modifications&#8221;<br \/>\n  toxicity:<br \/>\n    reason: &#8220;Toxic behaviour&#8221;<br \/>\n  farming:<br \/>\n    reason: &#8220;Ban\/ELO farming&#8221;<br \/>\n    default-duration: &#8220;7d&#8221;<br \/>\n&#8220;`<\/p>\n<p>\u2192 Full reference: docs.pvpindex.com\/mcbans\/configuration<\/p>\n<p>&#8212;<\/p>\n<p>## Developer API (JitPack)<\/p>\n<p>Add the lightweight API client to your own plugin &#8211; no Bukkit dependency required:<\/p>\n<p>&#8220;`xml<br \/>\n<repositories><br \/>\n    <repository><br \/>\n        <id>jitpack<\/id><br \/>\n        <url>https:\/\/jitpack.io<\/url><br \/>\n    <\/repository><br \/>\n<\/repositories><br \/>\n<dependency><br \/>\n    <groupId>com.github.PVP-Index.pvpindex-mcbans<\/groupId><br \/>\n    <artifactId>pvpindex-mcbans-api<\/artifactId><br \/>\n    <version>1.1.0<\/version><br \/>\n<\/dependency><br \/>\n&#8220;`<\/p>\n<p>\u2192 Developer API documentation<\/p>\n<p>&#8212;<\/p>\n<p>## Links<\/p>\n<p>&#8211; **Ban registry** &#8211; mcbans.pvpindex.com<br \/>\n&#8211; **Documentation** &#8211; docs.pvpindex.com\/mcbans<br \/>\n&#8211; **Source** &#8211; github.com\/PVP-Index\/pvpindex-mcbans<br \/>\n&#8211; **Issue tracker** &#8211; github.com\/PVP-Index\/pvpindex-mcbans\/issues<br \/>\n&#8211; **Apply for an API key** &#8211; pvpindex.com\/apply<\/p>\n<p>&#8212;<\/p>\n<p>## Credits<\/p>\n<p>PvPIndex MCBans is a refactored fork of the original **MCBans** plugin by the MCBans team and contributors (dev.bukkit.org\/projects\/mcbans). The ban-sharing concept, TCP wire protocol, command set, and permission layout all originate from that project. This fork modernises the codebase for Java 21 \/ Paper 1.21+ and replaces the legacy MCBans backend with the PvPIndex REST API.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Refactored Fork of MCBans by PvPIndex<\/p>\n","protected":false},"featured_media":127030,"template":"","meta":{"_minecraft_slug":"pvpindex-mcbans","_minecraft_project_id":"8wyK7V60","_minecraft_author":"Shadow48402","_minecraft_license":"AGPL-3.0-only","_minecraft_downloads":6,"_minecraft_follows":1,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"pvpindex-mcbans.zip","_minecraft_size_bytes":50144571,"_minecraft_version_count":3,"_minecraft_updated_at":"2026-05-16T12:16:26.553312Z","_minecraft_date_created":"2026-05-08T04:05:08.688275Z","_minecraft_date_modified":"2026-05-08T08:53:00.043468Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/pvpindex-mcbans","_minecraft_icon_attachment_id":127030,"_minecraft_imported_at":"2026-06-07T11:20:32+00:00","_minecraft_import_hash":"349bf81b61b9d68ed6785042c08c105b","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,125,127,128,129],"mod_loader":[130,131,132,133,134],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82,83,167,163],"class_list":["post-127029","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","mod_category-folia","mod_category-paper","mod_category-purpur","mod_category-spigot","mod_loader-bukkit","mod_loader-folia","mod_loader-paper","mod_loader-purpur","mod_loader-spigot","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9","minecraft_version-26-1","minecraft_version-26-1-1","minecraft_version-26-1-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PvPIndex MCBans - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PvPIndex MCBans - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Refactored Fork of MCBans by PvPIndex\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/\",\"name\":\"PvPIndex MCBans - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/pvpindex-mcbans-icon-e6b92fbb3ff1d42e72229b57873a2c0ffc497444.gif\",\"datePublished\":\"2026-06-07T11:20:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/pvpindex-mcbans-icon-e6b92fbb3ff1d42e72229b57873a2c0ffc497444.gif\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/pvpindex-mcbans-icon-e6b92fbb3ff1d42e72229b57873a2c0ffc497444.gif\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/pvpindex-mcbans\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PvPIndex MCBans\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PvPIndex MCBans - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/","og_locale":"en_US","og_type":"article","og_title":"PvPIndex MCBans - Minecraft","og_description":"Refactored Fork of MCBans by PvPIndex","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/","name":"PvPIndex MCBans - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/pvpindex-mcbans-icon-e6b92fbb3ff1d42e72229b57873a2c0ffc497444.gif","datePublished":"2026-06-07T11:20:31+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/pvpindex-mcbans-icon-e6b92fbb3ff1d42e72229b57873a2c0ffc497444.gif","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/pvpindex-mcbans-icon-e6b92fbb3ff1d42e72229b57873a2c0ffc497444.gif","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/pvpindex-mcbans\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"PvPIndex MCBans"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/127029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/127030"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=127029"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=127029"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=127029"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=127029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}