{"id":158723,"date":"2026-06-09T16:52:05","date_gmt":"2026-06-09T13:52:05","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/"},"modified":"2026-06-09T16:52:05","modified_gmt":"2026-06-09T13:52:05","slug":"townypacifist-addon","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/","title":{"rendered":"TownyPacifist &#8211; Addon"},"content":{"rendered":"<p># \u262e TownyPacifist<\/p>\n<p>![Modrinth](https:\/\/modrinth.com\/project\/townypacifist-addon)<br \/>\n![GitHub Release](https:\/\/github.com\/renan3235\/TownyPacifist\/releases\/latest)<br \/>\n![License](LICENSE)<\/p>\n<p>> A lightweight Towny addon that enforces peace for peaceful towns \u2014 everywhere, not just within their borders.<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udcd6 About<\/p>\n<p>Many servers struggle with a common problem: players from peaceful towns getting killed by aggressive towns, or peaceful town members attacking others without consequence.<\/p>\n<p>**TownyPacifist** solves this by hooking directly into Towny&#8217;s own peaceful flag (`\/t toggle peaceful`). No custom data, no extra commands \u2014 if a town is marked as peaceful in Towny, this plugin enforces that everywhere on the map.<\/p>\n<p>&#8212;<\/p>\n<p>## \u2728 Features<\/p>\n<p>&#8211; **Zero custom storage** \u2014 reads directly from Towny&#8217;s `isNeutral()` flag<br \/>\n&#8211; **Bidirectional protection** \u2014 peaceful towns can&#8217;t attack OR be attacked<br \/>\n&#8211; **Arena support** \u2014 peaceful players can still PvP inside Towny arena plots (`\/plot set arena`)<br \/>\n&#8211; **EventWar integration** \u2014 works naturally alongside EventWar&#8217;s neutrality system<br \/>\n&#8211; **SiegeWar integration** \u2014 respects SiegeWar&#8217;s own peaceful town system when installed<br \/>\n&#8211; **TownyCaptureSites integration** \u2014 allows peaceful players to fight inside capture sites when installed<br \/>\n&#8211; **Multi-language** \u2014 ships with 9 languages (en-US, pt-BR, es-ES, fr-FR, de-DE, zh-CN, ru-RU, pl-PL, tr-TR)<br \/>\n&#8211; **Lightweight** \u2014 a single event listener, no databases, no commands<br \/>\n&#8211; **Cross-platform** \u2014 runs on Bukkit, Spigot, Paper, Purpur and Folia<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udd17 Dependencies<\/p>\n<p>| Plugin | Required |<br \/>\n|&#8212;|&#8212;|<br \/>\n| Towny | \u2705 Required |<br \/>\n| EventWar | \u2795 Optional (integrates automatically) |<br \/>\n| SiegeWar | \u2795 Optional (integrates automatically) |<br \/>\n| TownyCaptureSites | \u2795 Optional (integrates automatically) |<\/p>\n<p>&#8212;<\/p>\n<p>## \u2699\ufe0f How It Works<\/p>\n<p>TownyPacifist listens to `TownyPlayerDamagePlayerEvent` and checks both players&#8217; towns using Towny&#8217;s API:<\/p>\n<p>&#8220;`<br \/>\nPlayer A hits Player B<br \/>\n  \u2514\u2500 Is either player from a neutral (peaceful) town?<br \/>\n       \u251c\u2500 No  \u2192 do nothing, let Towny handle it normally<br \/>\n       \u251c\u2500 Yes \u2192 are they inside an arena plot?<br \/>\n       \u2502         \u251c\u2500 Yes + arenas allowed \u2192 permit combat (no spam, notified on entry)<br \/>\n       \u2502         \u2514\u2500 No  \u2192 cancel damage + send message<br \/>\n       \u2514\u2500 Both peaceful \u2192 cancel damage + specific message<br \/>\n&#8220;`<\/p>\n<p>The &#8220;peaceful&#8221; status is set by the town mayor using Towny&#8217;s own command:<br \/>\n&#8220;`<br \/>\n\/t toggle peaceful<br \/>\n&#8220;`<\/p>\n<p>No TownyPacifist commands needed.<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udcc1 Config<\/p>\n<p>&#8220;`yaml<br \/>\n# Enable or disable all protection globally<br \/>\nenabled: true<\/p>\n<p># Allow peaceful town members to PvP inside Towny arena plots<br \/>\nallow-pacifist-in-arenas: true<\/p>\n<p># Allow peaceful town members to fight inside TownyCaptureSites plots (requires TownyCaptureSites)<br \/>\nallow-pacifist-in-capture-sites: true<br \/>\n&#8220;`<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83c\udf0d Adding a Language<\/p>\n<p>TownyPacifist uses Towny&#8217;s built-in translation system. Messages are delivered in each player&#8217;s own language automatically.<\/p>\n<p>1. Go to `plugins\/TownyPacifist\/lang\/`<br \/>\n2. Copy `en-US.yml` and rename it (e.g. `es-ES.yml`)<br \/>\n3. Translate the messages<br \/>\n4. Towny picks it up automatically \u2014 no config change needed<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udd28 Building from Source<\/p>\n<p>**Requirements:**<br \/>\n&#8211; JDK 21 (for compilation)<br \/>\n&#8211; Gradle 8.12 (or use the included `gradlew`)<br \/>\n&#8211; Towny JAR \u2192 `libs\/Towny-x.x.x.x.jar` (download from Towny releases)<br \/>\n&#8211; EventWar JAR \u2192 `libs\/EventWar-x.x.x.jar` *(optional, for IDE support only)*<\/p>\n<p>&#8220;`bash<br \/>\n.\/gradlew build<br \/>\n# Output: build\/libs\/TownyPacifist-1.0.jar<br \/>\n&#8220;`<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\uddfa\ufe0f Planned Integrations<\/p>\n<p>&#8211; [x] Capture sites<br \/>\n&#8211; [x] SiegeWar<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udcdc License<\/p>\n<p>Apache 2.0 \u2014 see [LICENSE](LICENSE)<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udc64 Author<\/p>\n<p>Made by **RN_Axol**<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prevents combat involving peaceful Towny towns \u2014 bidirectional protection with arena, SiegeWar &#038; TownyCaptureSites support.<\/p>\n","protected":false},"featured_media":158724,"template":"","meta":{"_minecraft_slug":"townypacifist-addon","_minecraft_project_id":"yTqe7X6b","_minecraft_author":"RNAxol","_minecraft_license":"Apache-2.0","_minecraft_downloads":48,"_minecraft_follows":1,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"townypacifist-addon.zip","_minecraft_size_bytes":28203,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-15T21:24:18.398085Z","_minecraft_date_created":"2026-03-02T20:47:59.134990Z","_minecraft_date_modified":"2026-02-26T03:58:37.206440Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/townypacifist-addon","_minecraft_icon_attachment_id":158724,"_minecraft_imported_at":"2026-06-09T13:52:05+00:00","_minecraft_import_hash":"ceb6862c83a96d732d688cb3ee3d3fe0","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,125,89,126,127,128,129,92],"mod_loader":[130,131,132,133,134],"minecraft_version":[59,36,60,93,94,101,102,62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-158723","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","mod_category-folia","mod_category-game-mechanics","mod_category-management","mod_category-paper","mod_category-purpur","mod_category-spigot","mod_category-utility","mod_loader-bukkit","mod_loader-folia","mod_loader-paper","mod_loader-purpur","mod_loader-spigot","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>TownyPacifist - Addon - 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\/townypacifist-addon\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TownyPacifist - Addon - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Prevents combat involving peaceful Towny towns \u2014 bidirectional protection with arena, SiegeWar &amp; TownyCaptureSites support.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/\",\"name\":\"TownyPacifist - Addon - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/townypacifist-addon-icon-5a4d0ae27c55c66f16a15409c7b1c302d733e119_96.webp\",\"datePublished\":\"2026-06-09T13:52:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/townypacifist-addon-icon-5a4d0ae27c55c66f16a15409c7b1c302d733e119_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/townypacifist-addon-icon-5a4d0ae27c55c66f16a15409c7b1c302d733e119_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/townypacifist-addon\\\/#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\":\"TownyPacifist &#8211; Addon\"}]},{\"@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":"TownyPacifist - Addon - 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\/townypacifist-addon\/","og_locale":"en_US","og_type":"article","og_title":"TownyPacifist - Addon - Minecraft","og_description":"Prevents combat involving peaceful Towny towns \u2014 bidirectional protection with arena, SiegeWar & TownyCaptureSites support.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/","name":"TownyPacifist - Addon - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/townypacifist-addon-icon-5a4d0ae27c55c66f16a15409c7b1c302d733e119_96.webp","datePublished":"2026-06-09T13:52:05+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/townypacifist-addon-icon-5a4d0ae27c55c66f16a15409c7b1c302d733e119_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/townypacifist-addon-icon-5a4d0ae27c55c66f16a15409c7b1c302d733e119_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/townypacifist-addon\/#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":"TownyPacifist &#8211; Addon"}]},{"@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\/158723","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\/158724"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=158723"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=158723"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=158723"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=158723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}