Residence [1.7.10 up to 1.21]

MC Plugin Residence [1.7.10 up to 1.21] 6.0.1.8
Per player area protection plugin, excellent for survival servers

  • Quick improvement on economy detection which now has auto mode and will prioritize Vault economy system and if possible will utilize more direct approach for support economy plugins
  • Fix for an issue when rapidly reselecting area
  • Fix for an issue when selecting huge areas which resulted in broken output message
  • Like
Reactions: savycek
  • Added check when equipping items to animals on 1.21+ servers (CatTeaA)
  • Fix for an issue when selling residence and balance check was done on residence owner and not the buyer which prevented residences being sold if owner didn't had required amount. This didn't cause any issues with money transfer in particular, it only denied some of the transactions
  • Fix potential NPE from mod-added mobs on NeoForge servers (CatTeaA)
  • Additional fix for modded servers when it comes to entity handling (killerprojecte)
  • Fixed bypassing water/lava placement at Residence edges by interacting with waterlogged blocks while sneaking (CatTeaA)
  • Iceform no longer overrides snowtrail (CatTeaA)
  • Fix for an issue where player could enter residence while riding a horse on Folia type servers
  • Fix for residence remaining marked as main one when its being removed causing some inconsistencies of players having main residence which no longer exists
  • New placeholders
    • %residence_ownername_[resName]% - prints defined residence owner name
    • %residence_user_main_name% - prints users main residence name
    • %residence_user_main_owner% - prints users main residence owner name, which could be different incase residence is being rented
  • Fix for WorldEdit and FastAsyncWorldEdit plugins not working for residence saves and restoration. Now it will save up to 3 files for each residence if backup flag is set, it still restores the last recorded one, but will allow for some fallbacks to older versions if something went wrong or you simply want older version
  • Added two new commands for simpler schematics handling /res save (resName) and /res restore (resName), while restore command will list all save files you can choose from to be restored from for that particular residence. These commands are not accessible for regular players and should not be given access too, its only for staff members who knows what they are doing. So now you can make quick residence backups for future restoration if needed.
  • Fix for an issue where player state changed by special flags, like glow or move speed, was not updated properly on player quit event
  • Update for player location check to happen on more regular intervals, this is to avoid issues where player gets relocated without appropriate events being triggered and things like glow or speed doesn't get removed. This is primarily to resolve issue with Folia type servers which doesn't fire teleport event when player is teleported causing some inconsistencies.
  • Fix 1.20.6 Res Dispenser inside Bone_Meal, HopperCrosseRes Check Flags.container (CatTeaA)
  • Fix Vehicle Inventory bypass protection bug (CatTeaA)
  • Fix for NPE error on TNT interaction (CatTeaA)
  • Fix for inventory open check from entities like minecart with chest to be checked by entities location and not players (CatTeaA)
  • Fix compatibility with 1.16 and lower (HaHaWTH)
  • Fix for version compatibility issue relating to block dispensing event (HaHaWTH)
  • Add checks for projectiles hitting the TargetBlock (CatTeaA)
  • Improvement on name tag usage to rely on more than one flag (CatTeaA)
  • LWC support update for better performance and ASYNC support
  • Fix for an issue relating to special flags when you trying to teleport into residence which doesn't allow this action
  • Some performance improvements for general player move checks
  • Now player movement is being checked more often providing more frequent detections when you enter or leave residence
  • Improvement for auto command and its feedback messages, especially when new residence would be colliding with existing one
  • Preventing enderman teleportation into residence area with nomobs flag enabled
  • NPE fix for info command when player name is not known
  • New player free residence now uses auto command resizing for better and more consistent outcomes
  • Now there is persistence of new player record which will carry over server restarts and will allow for player who never owned residence to create first one for free independent how long ago he joined the server
  • Now you can enable option to create first residence for free when using auto or create command allowing for new player first residence being free if he placed a chest or created residence manually
  • Some changes for grouped flags handling. Now when using commands like /res pset and providing grouped flag name it will no longer pick provided state, it will enforce one provided in flags.yml file, which means that now you can properly enforce flag states you want it to set instead of it being a loose cannon. It defaults to true if not defined, but you can set flags to false or remove. As example
    - use-remove
    - tp-false
    - chat-true
    which will set flag states to the ones you defined, allowing you to have grouped flags which removes set flags or disables their access which allows you to have flag like untrusted which disables movement inside residence, disables door usage, disabled teleportation and so on.
  • Added option to ignore flag access requirement for grouped flags, so now you can have grouped flag which triggers disabled flag and sets it to specific state without player actually having ability to modify that specific flag with set or pset commands
  • Added support for BlueMap plugin
  • Some rework relating all 3 web map based plugins, DynMap, Pl3xMap and BlueMap. Now their config section is centralized and shared amongst all of them. Color codes have been changed to accept alpha values, so you can use hex color codes like {#33cc3340} where first 6 indicate color value and last 2 indicate its alpha value. You can use something like https://rgbcolorpicker.com/ to generate full RGBA hex color code. Added extra color for server land identification. Please update CMILib for full color alpha channel support
  • Fix for safe teleportation not informing player about potentially dangerous destination
  • Fix for an error message due to listener being registered on a minecraft version which doesn't have it (CatTeaA)
  • Fix for residence cleanup action being performed by chunk area and not exactly by residence one which could have resulted in extra blocks being replaced with air
  • Updated expand and contract command handling
  • Residence expansion limit per each command got increased from 100 to more or less unlimited
  • Boat and Minecart no longer immune to damage from Lava and Cactus (CatTeaA)
  • Some improvements for tab complete handling
  • Now commands in tab complete and base command list gets filtered out based on your actual command access, so no longer showing commands you can't use
  • Fix for default flags having disabled state when it should not have been, causing some confusion after initial setup
  • Added option to hide residences from Dynmap and Pl3xMap by players name
  • Now in case shooter block, for example disperser, is located inside the same residence damaged entity is, then this action will be allowed. This fixes an issue where arrows shoot from dispensers could not have damaged armorstands or item frames
  • Added Hook Flag new handling method for 1.21+ (CatTeaA)
  • Update for bucket handling inside residence (CatTeaA)
  • Some internal changes for anchor flag handling (CatTeaA)
  • Added build check for FrostWalker (CatTeaA)
  • Fix hopper stealing from edge Residence container (CatTeaA)
  • Update for message handling when you enter/leave residence (CatTeaA)
  • Added residence name max length limit, which is set to 64 characters as a default value. This only effects newly created residences
  • Now in case you are using removeworld command which removes all residences from entire world, money will be given back to the owners as it would be if they removed it normally.
  • Added support for commandblocks and their selector variables like @p @r @e
Don't forget to update CMILib
  • Copper golem interaction check (CatTeaA)
  • Fix for zombies breaking residence doors in some instances (CatTeaA)
  • Fix for Brush usage bypass (CatTeaA)
  • Some changes relating to entities unleashing action (CatTeaA)
  • Copper chests, shelfs got included into container flag group (CatTeaA)
  • New flag as GolemOpenChest to manage copper golems opening chests (CatTeaA)
  • Fix for an error message when checking players permission access while player record is not present at the moment, mainly an issue with first join players
  • Fix for an error when saving rented areas when player UUID isn't known
  • Fix for an error when using removeall command on a player which isn't known
  • Fix for an error when using info command on a residence which might have player records of which we only have UUID but not his name
  • Some optimization for residence area cleanup on its removal, which now scans one chunk at the time with slight delay introducing less taxing process which can handle bigger residence areas without impacting server performance
  • Like
Reactions: duongdznhatvn1
  • Fix for /res list command error (CatTeaA)
  • Update for projectile interactions (CatTeaA)
  • Added exception for res admin when destroying vehicles (CatTeaA)
  • Bringing back some outdated API methods for older plugins to keep working
  • Fix for an issue if you had uncompressed save files and those fail to load
  • Removed option to use old save format, now residence data will be saved in a new more compact way by default
  • Some updates relating to player teleportation's to add outgoing issues with Folia type servers
Make a backup before transitioning to this version or test things out on your server cloned version. While things were tested extensively there might still be edge cases where things will not work out as they should have.

This version is quite a big rework on how plugin handle things internally, mainly removal of all methods dealing with players by their names and moving to full UUID only approach. Quite few methods got deprecated, some got removed, while most addons should still work, it would be strongly recommended for those to get update and utilize new handling

Introduction of per player data save files which will contain players name as a basic information, which will be populated with more of it after player joins server. This will allow us to have more features in the future and will allow more control over offline players. There will be one time full offline player data read on server startup which will read player data and record their names and UUID's to be used in the future, so first startup might be slightly longer. While this process is not strictly mandatory for plugin to work and recognize ownerships of residences, would still recommend to allow it to finish its scanning just to have best match between player names and UUID's, especially if you had set offline type mode for residence plugin previously.
That said, there is no longer option to choose offline mode for residence plugin, its now by default based on players UUID's and not names, while you might still see some user names being recorded without UUID in data files, those are there only because we had no means in determining real UUID. Additionally to note, in case we can't determine players actual UUID and we only know his name, then temporary UUID starting with ffffffff- will be created which should be automatically replaced at the moment we recognize that player by name and we have actual UUID, this can happen if offline player data loads player by that name on first startup, if player himself logs into game or there is record of residence owner by that name with associated UUID in save files.
Fresh installs will skip all of this process.

Actual residence save file structure doesn't change, for now, so it should remain backwards compatible in case you will need to move back to the older version

Maven support is finally here, how to setup it you can find information on Github
  • TNT ignition is being prevented if you don't have permission for it
  • Fix for Lead removal by shears not being prevented, you might still see visual bug on client side where entity no longer have attached lead, but its there, this is just a client side visual bug
  • Removing Iconomy and RealEconomy support due to those being extra outdated and no longer maintained
  • Removal of 6.x WorldEdit and WorldGuard support
  • Removal of BPermissions plugin support. LuckPerms all the way!
  • Removal of no longer working metrics and shifting to bStats
  • Fix for auto selection not working as it should have
  • Removed pvpoverride flag/option as it was causing issues
  • Fix for ravager being able to break some of the blocks inside residence with block destruction disabled
  • Fix for vehicle destruction, now its based on vehicledestroy flag
  • Small change relating to player being kicked outside residence in case he can't move in one, now if players previous location is in another world then in that case we will try to use defined kicklocation which will help out to prevent from players being teleported to the worlds they should not be in, like temporary event worlds
  • Fix for an error when custom exploding entities are present in your server
  • Fix for elytra client side visual bug due to disabled elytra flag
  • Fix for some of the entities being knocked back inside residences by some of the effects
  • Fix for wooden buttons and pressure plates being triggered by arrows, tridents or dropped items (CatTeaA)
  • Fix for an error on Folia servers when teleporting player to another world in some specific conditions
  • Now in most cases arrows will not be removed when you shoot at protected entities, but those will simply bounce away (CatTeaA)
  • Allowing vaxing signs for staff members with build bypass permission node
  • Added happy Ghast into entity list which can't be ridden without appropriate flag access (CatTeaA)
  • Fix for an error relating to players teleportation on joining the server (BrilliantTeam)
  • Expanded detection range for animal boarding boats due to changes in recent minecraft versions (CatTeaA)
  • Some comment fixes in main config file
  • Now option to use offline mode will be hidden for new installs as no one should be using it anyways. This has no effect if you already have config file created.
  • Fix for staff members not being able to use bonemeal even with build bypass permission node
  • Fix relating to fly disable when you leave residence which might have picked incorrect teleportation location or could even fail to determine fallback one
  • Better handling of wind charges inside residences with pvp flag disabled, now it will play particle and sound effects on impact even if pvp is disabled, player will not be pushed around, so only effect's are being shown
  • New Boarding flag which can prevent animals in your residence to enter any vehicle, so you can completely disable ability for some trolls to take out animals from your residence by setting this flag to false
Top Bottom