HomePlugin icon

HomePlugin -----

Home and spawn with a cache and a multitude of synchronization




## ✨ New Features & Enhancements

### ✅ Fair Home Placement System

* Homes can no longer be set in unfair or exploitable locations:

* Too high or too low (Y coordinate)
* In water blocks or on portal blocks
* In blacklisted worlds (`world_nether`, `world_the_end`)
* On floating platforms (air-only support beneath)
* Fully configurable via `PreventUnfairLocation: true` in `config.yml`

### ✅ TPA Timeout Configuration

* TPA request timeout is now configurable:
`Config.Tpa.Tpa-duration` (default: `30` seconds)

### ✅ Compatibility Updates

* Support for Minecraft **1.21.7**
* Fix: replaced `Material.isAir()` with `== Material.AIR` for proper 1.14.x compatibility

### ✅ Commands & Permissions

* New supported commands:
`/tpa`, `/tpaccept`, `/tpdeny`
* Fixed permission node: `homeplugin.command.tpa`

## Refactoring & Internal Changes

* Removed deprecated `updateLanguage()` logic (replaced by `/lang update`)
* Improved floating platform detection logic (more precise conditions)
* Refined Redis connection handling with cleaner logging

## Language Improvements

* Added new language entries in `french.yml`, `english.yml`, and `custom.yml`:

* `Invalid-height`, `Water-location`, `Portal-location`, `Floating-platform`, `End-disabled`

---

### Notes

* ⚙️ Make sure `PreventUnfairLocation` is enabled to enforce fair home placement.
* All changes are backward-compatible.
* To manually update language files, use `/lang update`.

---

**Resources:**
[[PlaceholderAPI]( https://www.spigotmc.org/resources/...w.spigotmc.org/resources/placeholderapi.6245/)
----------, Aug 4, 2025

✨ **New Features & Improvements**

- ✅ New TPA command with full cache support
- Efficient management of TPA requests stored in cache (Redis or local).
- Methods to add, check, retrieve, and remove TPA requests.

- ✅ CacheManager overhaul
- Unified handling of player homes, spawn locations, and TPA requests cache.
- Support for clearing all homes globally via `clearAllHomes()` including Redis support.

- ✅ Automatic language file updater at plugin startup
- Backs up existing language files automatically.
- Regenerates missing files while preserving current translations.
- Merges missing keys without overwriting existing ones.
- Provides success/failure messages during update.

**Code Refactoring**

- Improved modularity between cache stores and manager class.
- Enhanced error handling in language file update process.
- Prep for centralized language key management.

**Notes**

- Backward-compatible cache changes.
- Language updater removes manual update requirements.
- Use `/lang update` command to manually trigger language file update.

---

**Resources:**
PlaceholderAPI support: https://www.spigotmc.org/resources/placeholderapi.6245/
----------, Jul 16, 2025

✨ Features

✅ Automatic language file updater implemented
New system to automatically detect and insert missing keys in the language file (french.yml or other) without overwriting existing values.
Usage : /lang update

✅ Future-proofing for localization
Ensures compatibility with future updates by maintaining key integrity and reducing manual maintenance.
Code Refactoring

✅ Internal message handling improved
Preparation for centralized language key management in all modules.

✅ Fix update checker

Notes

This update is backward-compatible with existing language files. No manual intervention is required after deployment.

PlaceholderAPI: https://www.spigotmc.org/resources/placeholderapi.6245/
----------, Jul 15, 2025

✨ Features

✅ Home Admin management commands implemented:
New commands to manage private homes efficiently.
✅ Improved Admin messages:
Player name is now included in teleportation confirmation for better clarity.

Code Refactoring

✅ Permission & language handling streamlined:
Unified permission checks and language key usage across command classes.

✅ Cleanup:
Deployment scripts added to .gitignore to prevent accidental commits.

✅ Miscellaneous internal changes:
Minor modifications to prepare for future modularization.

Notes

> The GUI remains **partially incompatible with Minecraft 1.21.7**. A full patch is in progress.

PlaceholderAPI: https://www.spigotmc.org/resources/placeholderapi.6245/
----------, Jul 15, 2025

## ✨ Features

* ✅ **Teleportation API updated**: improved stability, performance, and integration with future features.
* ✅ **Command fixes**:

* Fixed edge cases and errors in `admin`, `list`, and `gui` commands
* Improved internal handling of command responses
* ✅ **Wiki updated**: reflects the latest features, permissions, and setup instructions.
* ✅ **License change**:

* Migrated from **MTP 2.0** to **Apache 2.0**
* Clarifies open-source usage and contributions

## Code Refactoring

* Simplified command logic and error handling
* Minor cleanup in GUI code for better maintainability
* Internal APIs prepared for future modularity

## Notes

> The GUI remains **partially incompatible with Minecraft 1.21.7**. A full patch is in progress.

PlaceholderAPI: https://www.spigotmc.org/resources/placeholderapi.6245/
----------, Jul 12, 2025

## ✨ Features

- ✅ **Minecraft version support expanded**: Compatible with **1.14.0 to 1.21.6**
- ✅ **Java compatibility refactored**: Plugin now compiled with **Java 11** to support older servers
- ✅ **Improved command logic**:
- Refactored `HomeCommand` internals
- Added tab completer for `/sethome`
- ✅ **Permission-based home limit system**:
Define home limits per player/group via permissions:
- `homeplugin.limit.1` → max 1 home
- `homeplugin.limit.5` → max 5 homes
- `homeplugin.limit.10` → max 10 homes
- `homeplugin.limit.x` -> your number, but 100 it's the maximum
- Fallback to default if no permission is found
- Compatible with **LuckPerms**

## Code Refactoring

- Cleaned up logic for compatibility across Minecraft versions
- Removed Java 16+ language features
- Improved GUI separation for maintainability

## Notes

> The GUI is currently **not fully compatible with Minecraft 1.21**.
----------, Jul 11, 2025

# GUI Update

- Added the ability to teleport to or delete a home directly from the GUI.
- New messages added for improved user feedback.
- Fixed several bugs related to home management.
![{07C6957A-A332-4CBB-A939-A392B097FAA4}]( https://github.com/user-attachments/assets/d7eb24a6-112f-46fc-96ba-2d0e9f69f226)


PlaceholderAPI: https://www.spigotmc.org/resources/placeholderapi.6245/
----------, May 30, 2025

  1. More translatable message.
  2. Support now multi-version (1.8.x-1.21.x).
  3. Update soon...
----------, Jan 2, 2025

Fix delete home bug and rename certain method
----------, Jun 16, 2024

In this version, i have added : Redis system and configuration, added a plugin loader for your (developer). and i have refactored the code for more visibility.

Thank's for use my plugin

Note : if you find an issues go : here
----------, Jun 8, 2024

"Fix setspawn, spawn , home, sethome"
----------, Jun 3, 2024

Fix api, fix bugs, refactor the code
----------, Jun 2, 2024


Fix Spawn, add UpdateChecker
----------, Mar 16, 2024

Create an API, FIX HomeManagers, Add PlaceHolder support, support for api use, and more
----------, Mar 15, 2024

Fixed the link that didn't work
----------, Mar 12, 2024

Download link has changed
----------, Mar 12, 2024

- Adding custom language, and fix spawn teleportation.
- Adding database sync
----------, Mar 10, 2024

Fix the spawn title
----------, Dec 16, 2023

Upgrade the cache
----------, Dec 16, 2023

Add Update checker in .jar
Thanks :)
----------, Dec 12, 2023

Resource Information
Author:
----------
Total Downloads: 1,095
First Release: Dec 12, 2023
Last Update: Aug 4, 2025
Category: ---------------
All-Time Rating:
1 ratings
Find more info at modrinth.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings