BanFromClaim icon

BanFromClaim -----

Add-on for regionprotection plugins that let you banish players from your claim.




  • Did some cleanup of the code.
  • Fixed the NullPointerException reported at #53.
  • Removed the "The database has been purged of expired regions" message in the console. Changed to removing regions from db only when necessary. This was requested at #54.
----------, Dec 16, 2024

  • Fixed NullPointerException (#47)
----------, Aug 16, 2024

  • Fixed NullPointerException (#46)
----------, Aug 10, 2024

Bug fix
  • Fixed missing permission checks for riding players. Thanks to @AnttiMK for the pull (#45).
----------, Jul 11, 2024

Changes
  • Fixed NullPointerException
  • Added support for Bukkit 1.13+
  • Updated shadow for Gradle
  • Bumped plugin version to 1.7.1
  • Changed Java version to 21
  • More cleanup
----------, Jul 6, 2024

Updates
  • Added bStats (Metrics).
  • Code cleanup.
  • Rewrote the hook handler for expansion.
  • Added support for Residence.
  • Changed effect to be compatible with Minecraft 1.21.
  • Bumped to version 1.7.0.
This version will only work with Minecraft 1.21+
----------, Jun 29, 2024

What's Changed
  • Fixed so that players riding other players cannot move inside a claim they are banned from.
  • Code cleanup.
----------, Feb 17, 2024

I'm not entirely sure what happened here, but the file I uploaded for v1.6.6 is corrupt. Use this one instead.
----------, Feb 17, 2024

  • Code cleaup.
  • Fixed players riding another player being kicked off if they are banned from a claim.
----------, Feb 15, 2024

BUG
  • Fixed a ConcurrentModificationException bug when combat mode is activated.
----------, Oct 31, 2022

BUGS
  • If a new player was banned from a claim and the player had not previously been on the server, the player would not be recognized. This has now been fixed.
----------, Oct 22, 2022

Fixed bugs
  • Better combat handling
  • Fixed IllegalArgumentException
  • Better implements for hooks
  • Fixed stuck-in-claim issue
Added support
  • Added support for RegionDefence
----------, Sep 2, 2022

Bug Fix
  • Another ClassNotFoundException bug fixed for GriefPrevention users.
----------, Mar 12, 2022

Bug fix
  • A fix for the /kfc command for GriefPrevention that provided ClassNotFoundException in the console.
----------, Mar 8, 2022

In version 1.6.0, major improvements have been made.
  • Gamemode spectate will no longer be banned from claims. Everyone in the spectate mode will bypass any bans.
  • Major improvements have been made for eviction of players. Now they will no longer be stuck in claims or end up in the exact same place every time. A big thanks to @Mithrandir who gave away his algorithm for me to use.
  • Following a popular request, I have given in to create /kickfromclaim [player] command function.
The Kick command is optional and can be turned off in the configuration file if you prefer an another KickFromClaim plugin.

New entry in the configuration file
Code (YAML):
kickmode : true
----------, Feb 23, 2022

  • Another fix for the GriefPrevention part, and this time it should work for everybody.
----------, Sep 9, 2021

  • Fixed another issue with the GriefPrevention part, regarding ban all players.
----------, Sep 9, 2021

Bug Fix
  • Fixed a NullPointerException for GriefPrevention users.
----------, Sep 9, 2021

Feature Update
  • Added the ability to exclude all players from your claim with a command. Use /bfcall in your claim and no one else will be able to enter your area. If you have given trust to a player, they will not be banned.
  • To use the command, the player must have the bfc.banall permission.
----------, Sep 9, 2021

BUG FIX
  • Fixed a ConcurrentModificationException bug triggered when in combatmode. Thanks to CrispyDairy for reporting!
----------, Sep 6, 2021

Improvements
  • This release is aimed at GriefDefender 2.0.0. As of this release, BanFromClaim will not work with GriefDefender below version 2.0.0.
As of Minecraft 1.17 support, BanFromClaim is already ready for 1.17.
----------, Jul 29, 2021

Bugs
  • Fixed bugs relating to GriefPrevention. Version 1.5.4 will not work with GriefPrevention!
----------, Apr 27, 2021

Improvements
  • #5 This suggestion have been addressed. Added checks for void and the possibility to add a safespot.
  • New methods for teleportation from claim and the way to deny entrance to claim when banned.
Features
  • When a player tries to enter a claim when banned, a particle effect will be visable.
  • Added new command /bfcsafespot for a second teleportation spot if a player teleports to void after being banned from claim.
EDIT: For GriefPrevention users BanFromClaim is broken on this version. Please use version 1.5.3 until fixed. Estimated fix date: 27.04 EST
----------, Apr 26, 2021

Fixed bugs
  • #4 Could not pass event PlayerMoveEvent to BanFromClaim
----------, Apr 15, 2021

Features
  • Combat Mode has been added so that the players can not use their claims for sanctuary. If you hit a player who is banned from your claim, he/she will be able to enter the area. Combat Mode are optional in the config file.
  • You can now ban offline players.
Bug fixes
  • Some performance issues has been solved, thanks to HexedHero for pointing out some obvious issues.
  • Players who were banned from a GriefDefender claim ended up one block down in the ground. This is now fixed.
  • message.yml file has changed due to offline players.

New config file

Code (YAML):
combatmode:
  enabled
: false
  time
: 15
  timer-enabled
: true
message.yml
Code (YAML):
unvalid-playername : '&c %target% is not a valid player name.'
----------, Apr 15, 2021

I'm sorry, but in the previous update I discovered that I made a mistake that could cause players to be banned from the world.

This only applies to those who use GriefDefender. The bug has been fixed in this update.
----------, Mar 1, 2021

  • Added GriefDefender support
  • Fixed a small typo in messages.yml
----------, Mar 1, 2021

  • Added support for 1.16+
----------, Jun 25, 2020

Bug fixes
  • For some reason I forgot to secure the owner from getting banished from his own claim. This is now fixed. Thanks to @Amadeus for letting me know!
  • Added new locale to the messages.yml.
Code (YAML):
ban-owner : '&cYou can not banish the owner of this claim.'
----------, Apr 11, 2020

  • Added 1.15 support
----------, Dec 11, 2019

  • Added messages.yml for custom messages. Now you can translate almost everything to your specifications.
  • Added scheduled cleaning of data storage. No need for storage of old claims that has been deleted.
----------, Aug 31, 2019

First release
----------, Aug 30, 2019

Resource Information
Author:
----------
Total Downloads: 5,783
First Release: Aug 30, 2019
Last Update: Dec 16, 2024
Category: ---------------
All-Time Rating:
18 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings