- Compatible API Versions
- 1.0-SNAPSHOT
This plugin allows players to manage protected regions on a Minecraft server. The main functionalities are:
1. Region Protection: Players can create 20x20 block regions using `/reg create <region>` to protect their areas.
2. Region Removal: Players can delete their own regions with `/reg remove <region>`, while admins can delete other players' regions using `/reg remove <region> <user>`.
3. Name and Ownership Management: Regions can be renamed with `/reg rename <region> <new name>`, and ownership can be transferred using `/reg setowner <region> <user>`.
4. Friend Management: Players can add or remove friends to allow access to their regions. This is done with `/reg addfriend <region> <user>` and `/reg removefriend <region> <user>`.
5. Region Viewing: Players can view their own regions with `/reg myregions`, and admins can view other users' regions with `/reg myregions <user>`.
6. Reload and Help: The commands `/reg reload` and `/reg help` allow reloading the plugin configuration and accessing command help.
This plugin simplifies the protection and management of personal areas on the server, with additional admin options for operators.
- /reg create <region> - Protects a region of 20x20 blocks.
- /reg remove <region> - Completely remove your region.
- /reg remove <region> <user> (Admin) - Deletes a user's region.
- /reg rename <region> <new name> - Rename your region.
- /reg setowner <region> <user> - Change your region's ownership.
- /reg addfriend <region> <user> - Add a friend to your region.
- /reg removefriend <region> <user> - Eliminate your friend from your region.
- /reg myregions <user> (Admin) - Displays the regions of other users.
- /reg myregions - Show your regions.
- /reg reload - Reload configurations.
- /reg help - Help command.
- NukkitRegions.AddFriend - Allows the user to add friends to a region, granting them access.
- NukkitRegions.Create - Allows the user to create a protected region of 20x20 blocks, ensuring that only they and their friends can access it.
- NukkitRegions.Help - Allows the user to access the list of commands and their descriptions.
- NukkitRegions.MyRegions - Allows the user to view a list of their own regions.
- NukkitRegions.SetOwner - Allows the user to transfer ownership of a region to another player.
- NukkitRegions.Admin - Grants administrative permissions to manage other players' regions, allowing deletion, viewing, or modification of regions they do not own.
- NukkitRegions.Remove - Allows the user to delete their own regions. If the user has administrative permissions, they can also delete other players' regions.
- NukkitRegions.RemoveFriend - Allows the user to remove friends from their regions to restrict access.
- NukkitRegions.Rename - Allows the user to rename one of their regions.
Warning: This plugin only works with Java 21. Please ensure your server is running Java 21 for compatibility.
https://i.imgur.com/oBtvsyN.png
2.- In addition, there’s a regions.yml file where the regions created by users are stored.
https://i.imgur.com/iTMU0xW.png