{"id":16342,"date":"2026-05-31T22:01:40","date_gmt":"2026-05-31T19:01:40","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/"},"modified":"2026-05-31T22:01:40","modified_gmt":"2026-05-31T19:01:40","slug":"antitotemghost","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/","title":{"rendered":"AntiTotemGhost"},"content":{"rendered":"<p># Antighost<\/p>\n<p>Lightweight Paper plugin that prevents death by consuming a Totem of Undying and applying safe effects.<\/p>\n<p>## Overview<br \/>\nThis repository contains a small Minecraft Paper plugin written in Java. The plugin listens for lethal damage and consumes a Totem of Undying (main\/off-hand) to keep the player alive while playing the totem effects.        <\/p>\n<p>Key files:<br \/>\n&#8211; `src\/main\/java\/&#8230;\/Antighost.java` &#8211; plugin main class<br \/>\n&#8211; `src\/main\/java\/&#8230;\/listeners\/TotemListener.java` &#8211; main listener implementation<br \/>\n&#8211; `src\/main\/resources\/paper-plugin.yml` &#8211; Paper plugin descriptor (will be packaged into the JAR)<br \/>\n&#8211; `build.gradle` &#8211; Gradle build configuration<\/p>\n<p>## Requirements<br \/>\n&#8211; JDK 17+ (project is configured to target Java 21 in `build.gradle`; ensure your toolchain supports it)<br \/>\n&#8211; Gradle (the project includes the Gradle wrapper; you can run `.\/gradlew` on Unix or `.<br \/>\ngradlew.bat` on Windows)<\/p>\n<p>## Build<br \/>\nFrom the project root (Windows PowerShell):<\/p>\n<p>&#8220;`powershell<br \/>\n# Clean and build the plugin<br \/>\n.gradlew.bat &#8211;no-daemon clean build<br \/>\n&#8220;`<\/p>\n<p>After a successful build the plugin JAR will be in `build\/libs\/` (for example `build\/libs\/antighost-1.0-SNAPSHOT.jar`).<\/p>\n<p>## Verify the plugin descriptor is packaged (important for Modrinth)<br \/>\nModrinth (and Paper) requires a `plugin.yml` or `paper-plugin.yml` at the root of the plugin JAR. If Modrinth gives the error &#8220;No plugin.yml or paper-plugin.yml present for plugin file&#8221; the YAML is missing from the artifact.<\/p>\n<p>Use one of these commands in PowerShell to check the contents of the built JAR:<\/p>\n<p>&#8220;`powershell<br \/>\n# Find the latest built jar<br \/>\n$jar = Get-ChildItem .buildlibs*.jar | Select-Object -Last 1 -ExpandProperty FullName<br \/>\n# List entries and search for plugin descriptor names<br \/>\nAdd-Type -AssemblyName System.IO.Compression.FileSystem<br \/>\n[System.IO.Compression.ZipFile]::OpenRead($jar).Entries | Select-Object -ExpandProperty FullName | Where-Object { $_ -match &#8216;plugin.yml|paper-plugin.yml&#8217; }<br \/>\n&#8220;`<\/p>\n<p>If the command prints `paper-plugin.yml` (or `plugin.yml`), it is present. It must appear at the root of the JAR (the entry name should be exactly `paper-plugin.yml` or `plugin.yml`).<\/p>\n<p>Alternative (using `jar` if available):<\/p>\n<p>&#8220;`powershell<br \/>\n&#038; &#8216;C:Program FilesJavajdk-21binjar.exe&#8217; tf buildlibsantighost-1.0-SNAPSHOT.jar | Select-String &#8216;paper-plugin.yml|plugin.yml&#8217;<br \/>\n&#8220;`<\/p>\n<p>## Common causes &#038; fixes if the YAML is missing<br \/>\n&#8211; Resource file misplacement: ensure the descriptor is at `src\/main\/resources\/paper-plugin.yml` (or `plugin.yml`).<br \/>\n&#8211; `build.gradle` customizations: check for `sourceSets` overrides that exclude `src\/main\/resources` or `processResources` filters that unintentionally exclude `*.yml`.<br \/>\n&#8211; Using a shading plugin (Shadow): ensure you upload the shaded JAR (usually `shadowJar`) and that the shading configuration includes `sourceSets.main.output` so resources are bundled.<br \/>\n&#8211; If you use `processResources` to expand properties (this project uses it to expand `version` in `paper-plugin.yml`), make sure the `filesMatching(&#8216;paper-plugin.yml&#8217;)` block is correct and not excluding the file.<\/p>\n<p>Example Gradle hints (Groovy DSL):<br \/>\n&#8211; Ensure resources are included (default behavior):<\/p>\n<p>&#8220;`groovy<br \/>\nsourceSets {<br \/>\n    main {<br \/>\n        resources.srcDirs = [&#8216;src\/main\/resources&#8217;]<br \/>\n    }<br \/>\n}<\/p>\n<p>jar {<br \/>\n    from(sourceSets.main.output)<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>&#8211; If you use Shadow plugin, ensure you publish the shadow jar:<\/p>\n<p>&#8220;`groovy<br \/>\nshadowJar {<br \/>\n    from(sourceSets.main.output)<br \/>\n}<br \/>\ntasks.build.dependsOn shadowJar<br \/>\n&#8220;`<\/p>\n<p>## Troubleshooting steps<br \/>\n1. Confirm the `paper-plugin.yml` exists at `src\/main\/resources`.<br \/>\n2. Run a clean build: `.<br \/>\ngradlew.bat &#8211;no-daemon clean build`.<br \/>\n3. Verify the JAR contents using the PowerShell snippet above.<br \/>\n4. If missing, inspect `build.gradle` for `processResources`, `sourceSets`, `jar`, or `shadowJar` blocks.<br \/>\n5. If you need help, open an issue or paste the output of `.<br \/>\ngradlew.bat &#8211;no-daemon clean build &#8211;info` and the JAR listing command output.<\/p>\n<p>## License<br \/>\nMIT<\/p>\n<p>&#8212;<\/p>\n<p>If you&#8217;d like, I can also add a small CI workflow that builds the jar and checks the JAR contains `paper-plugin.yml` automatically on push.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin prevents client and server side totem ghosting. it will decrease the ghosting amount a lot.<\/p>\n","protected":false},"featured_media":16343,"template":"","meta":{"_minecraft_slug":"antitotemghost","_minecraft_project_id":"fdwyyeMx","_minecraft_author":"devBramCraft","_minecraft_license":"MIT","_minecraft_downloads":13,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"antitotemghost.zip","_minecraft_size_bytes":4123,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T22:56:31.399141Z","_minecraft_date_created":"2026-04-28T21:00:34.183468Z","_minecraft_date_modified":"2026-04-16T21:16:27.557184Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/antitotemghost","_minecraft_icon_attachment_id":16343,"_minecraft_imported_at":"2026-05-31T19:01:41+00:00","_minecraft_import_hash":"f0120528740f06e8ddf2cd278a12ea6d","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[89,127,123],"mod_loader":[132],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-16342","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-game-mechanics","mod_category-paper","mod_category-technology","mod_loader-paper","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>AntiTotemGhost - 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\/antitotemghost\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AntiTotemGhost - Minecraft\" \/>\n<meta property=\"og:description\" content=\"This plugin prevents client and server side totem ghosting. it will decrease the ghosting amount a lot.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/\",\"name\":\"AntiTotemGhost - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/antitotemghost-icon-6b379775f2f9e6baeb75182f7abc8933e43f48ba_96.webp\",\"datePublished\":\"2026-05-31T19:01:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/antitotemghost-icon-6b379775f2f9e6baeb75182f7abc8933e43f48ba_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/antitotemghost-icon-6b379775f2f9e6baeb75182f7abc8933e43f48ba_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/antitotemghost\\\/#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\":\"AntiTotemGhost\"}]},{\"@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":"AntiTotemGhost - 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\/antitotemghost\/","og_locale":"en_US","og_type":"article","og_title":"AntiTotemGhost - Minecraft","og_description":"This plugin prevents client and server side totem ghosting. it will decrease the ghosting amount a lot.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/","name":"AntiTotemGhost - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/antitotemghost-icon-6b379775f2f9e6baeb75182f7abc8933e43f48ba_96.webp","datePublished":"2026-05-31T19:01:40+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/antitotemghost-icon-6b379775f2f9e6baeb75182f7abc8933e43f48ba_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/antitotemghost-icon-6b379775f2f9e6baeb75182f7abc8933e43f48ba_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/antitotemghost\/#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":"AntiTotemGhost"}]},{"@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\/16342","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\/16343"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=16342"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=16342"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=16342"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=16342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}