From 9b46b625760e808695de26281f015844bc02d196 Mon Sep 17 00:00:00 2001 From: Greymagic27 Date: Sun, 28 Dec 2025 14:06:59 +0000 Subject: [PATCH 1/2] Update versions to 1.21.11 --- README.md | 2 +- pom.xml | 49 ++++++++++++++++++----------------- src/main/resources/plugin.yml | 2 +- 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 37bca7b..6976a8f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 1MB AntiFire -**This is a Helper plugin for the fire-damage events we want to have better control over on the 1MoreBlock.com Minecraft 1.17 Java server.** +**This is a Helper plugin for the fire-damage events we want to have better control over on the 1MoreBlock.com Minecraft 1.21.1 Java server.** The purpose of this plugin is two-fold: diff --git a/pom.xml b/pom.xml index 41c712b..5fe7ecf 100644 --- a/pom.xml +++ b/pom.xml @@ -6,24 +6,45 @@ com.mrfloris AntiFire - 2.0.2 + 2.0.3 jar 1MB AntiFire 1MB Helper plugin for dealing with server-wide fire-damage events - 1.8 + 25 UTF-8 https://github.com/mrfdev/AntiFire + + + papermc + https://repo.papermc.io/repository/maven-public/ + + + + + + io.papermc.paper + paper-api + 1.21.11-R0.1-SNAPSHOT + provided + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.9.0 + org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.14.1 ${java.version} ${java.version} @@ -32,7 +53,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.4 + 3.6.1 package @@ -54,24 +75,4 @@ 1MB-${project.artifactId} - - - - spigotmc-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - sonatype - https://oss.sonatype.org/content/groups/public/ - - - - - - org.spigotmc - spigot-api - 1.17-R0.1-SNAPSHOT - provided - - diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index dd1aa37..b23db9d 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: ${project.artifactId} version: ${project.version} main: com.mrfloris.antifire.pluginEvents -api-version: 1.17 +api-version: 1.21.11 prefix: ${project.name} load: STARTUP loadbefore: [ Multiverse-Core ] From bdd02067c2561b349c9c0d4a089039225f9dbe69 Mon Sep 17 00:00:00 2001 From: Greymagic27 Date: Sun, 28 Dec 2025 14:07:28 +0000 Subject: [PATCH 2/2] Mass format --- .github/ISSUE_TEMPLATE/bug_report.md | 17 ++++++---- README.md | 50 ++++++++++++++++++++-------- src/main/resources/plugin.yml | 2 +- 3 files changed, 47 insertions(+), 22 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dd84ea7..3205926 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -12,6 +12,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -24,15 +25,17 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] + +- OS: [e.g. iOS] +- Browser [e.g. chrome, safari] +- Version [e.g. 22] **Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + +- Device: [e.g. iPhone6] +- OS: [e.g. iOS8.1] +- Browser [e.g. stock browser, safari] +- Version [e.g. 22] **Additional context** Add any other context about the problem here. diff --git a/README.md b/README.md index 6976a8f..bc43ba1 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,67 @@ # 1MB AntiFire -**This is a Helper plugin for the fire-damage events we want to have better control over on the 1MoreBlock.com Minecraft 1.21.1 Java server.** +**This is a Helper plugin for the fire-damage events we want to have better control over on the 1MoreBlock.com Minecraft +1.21.1 Java server.** The purpose of this plugin is two-fold: -First, it will try to help prevent damage caused by ignited fire, fire-spread, etc. while the server is running. On our server we do not support grief, fire-spread, etc. +First, it will try to help prevent damage caused by ignited fire, fire-spread, etc. while the server is running. On our +server we do not support grief, fire-spread, etc. -And secondly, we try to beat existing protection plugins during start-up. We've noticed in the past that WorldGuard with a bit of lag and while worlds are loading and people log onto the server early can cause fire-damage from fire-spread at loaded (spawn) chunks. +And secondly, we try to beat existing protection plugins during start-up. We've noticed in the past that WorldGuard with +a bit of lag and while worlds are loading and people log onto the server early can cause fire-damage from fire-spread at +loaded (spawn) chunks. -More details about installation, configuration and usage can be found in the [wiki](https://github.com/mrfdev/AntiFire/wiki) pages. +More details about installation, configuration and usage can be found in +the [wiki](https://github.com/mrfdev/AntiFire/wiki) pages. ## Origins -During the Minecraft 1.8 / 1.12.2 era I always noted issues with fire control, I wanted this feature. DefianceCoding from the Spigot community has helped me get started with this plugin. Unfortunately, he's been quite busy and not always available when we upgrade. Since then since the original version got updated once to move from ID numbers to material names and work with 1.13+ again. This was version 1.x, contributions to make this happen was by the456gamer (thank you). +During the Minecraft 1.8 / 1.12.2 era I always noted issues with fire control, I wanted this feature. DefianceCoding +from the Spigot community has helped me get started with this plugin. Unfortunately, he's been quite busy and not always +available when we upgrade. Since then since the original version got updated once to move from ID numbers to material +names and work with 1.13+ again. This was version 1.x, contributions to make this happen was by the456gamer (thank you). ## Where we are now -With Minecraft version 1.17 out now, I wanted to pick things up again for some projects. Including this one. I've updated it slightly, so it works _okay_ with 1.16.5, and the latest Spigot/Paper server engine. The next step is making it a bit more modern, follow the logic of its purpose a bit more. And prepping it for future features that I want to consider. +With Minecraft version 1.17 out now, I wanted to pick things up again for some projects. Including this one. I've +updated it slightly, so it works _okay_ with 1.16.5, and the latest Spigot/Paper server engine. The next step is making +it a bit more modern, follow the logic of its purpose a bit more. And prepping it for future features that I want to +consider. -While it's great that it's API wasn't set, and is for java8, so it should work fine with java11/java16, etc. I kind of wanted to clean up the code, follow better logic, tweak some things, update it to java16, and make it specific for 1.16.5 so there's no start-up 'legacy material' warning, etc. +While it's great that it's API wasn't set, and is for java8, so it should work fine with java11/java16, etc. I kind of +wanted to clean up the code, follow better logic, tweak some things, update it to java16, and make it specific for +1.16.5 so there's no start-up 'legacy material' warning, etc. -A little update: We've got the 1.16.5 jar running for a while without issues and 1.17 is out now. Github is up to date again with an 1.17 update. +A little update: We've got the 1.16.5 jar running for a while without issues and 1.17 is out now. Github is up to date +again with an 1.17 update. ## Bugs / Suggestions -If you have an issue with this plugin, please make sure your Spigot or Paper engine is up to date, and are using the latest build of this 1MB AntiFire plugin. +If you have an issue with this plugin, please make sure your Spigot or Paper engine is up to date, and are using the +latest build of this 1MB AntiFire plugin. -When you're sure you've done everything right, you're free to [open an issue](https://github.com/mrfdev/AntiFire/issues/new?assignees=&labels=bug&template=bug_report.md&title=%5BBUG%5D) and file a bug report. We do not guarantee a fix, but we will do our best. +When you're sure you've done everything right, you're free +to [open an issue](https://github.com/mrfdev/AntiFire/issues/new?assignees=&labels=bug&template=bug_report.md&title=%5BBUG%5D) +and file a bug report. We do not guarantee a fix, but we will do our best. -If you have a suggestion or feature request, feel free to [open a new discussion](https://github.com/mrfdev/AntiFire/discussions/new), and describe what you wish this plugin would include. We can at least read it and take it under consideration. +If you have a suggestion or feature request, feel free +to [open a new discussion](https://github.com/mrfdev/AntiFire/discussions/new), and describe what you wish this plugin +would include. We can at least read it and take it under consideration. ## Wishlist -At the moment this works fine, but I can imagine in the (near) future we could add support for new 1.17 things and make sure everything is up to date. Maybe include some startup checks. +At the moment this works fine, but I can imagine in the (near) future we could add support for new 1.17 things and make +sure everything is up to date. Maybe include some startup checks. ## Other contributions 1.16.x Update contributions from [The456gamer](https://github.com/the456gamer) (thank you so much!) -And an honorable mention for DefianceCoding for listening to my issue and throwing a starter version of this plugin together for me. I have left you in the plugin.yml as author out of respect of course. +And an honorable mention for DefianceCoding for listening to my issue and throwing a starter version of this plugin +together for me. I have left you in the plugin.yml as author out of respect of course. ## Version -[Tested build](https://github.com/mrfdev/AntiFire/releases) Version 2.0.2, for Spigot / Paper 1.17. Last updated: June 2021. +[Tested build](https://github.com/mrfdev/AntiFire/releases) Version 2.0.2, for Spigot / Paper 1.17. Last updated: June +2021. diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index b23db9d..ad15245 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -6,6 +6,6 @@ prefix: ${project.name} load: STARTUP loadbefore: [ Multiverse-Core ] author: DefianceCoding -authors: [The456gaming, mrfloris] +authors: [ The456gaming, mrfloris ] description: ${project.description} website: github.com/mrfdev/AntiFire