-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Add several types of territory creation:
- Standard selection of two points with an item.
- Selecting chunks individually or within a radius.
- Smart selection;;;
smart selection allows the player to execute commands to select an area. After executing this command, the player will be in standby mode, the hotbar with slots 1-9 will be filled with special items for quick selection management, for example items such as:
Checks if an area is selected; if selected, it will ask the player to enter the region name in chat or via
· Confirm region creation
The player must select two points. If the points are selected, the player can click with this item in or outside the selection area - the point closest to the player's location will be selected for moving (IMPORTANT)
· Move point 1 or 2
Moves the entire selected area 360° in any direction the player is looking (IMPORTANT)
· Move the entire area
Allows specifying the expansion radius for the entire selected territory on all sides of the selected area, for example top/bottom/side edges.
Can provide a choice via on right-click with the item, so the player can distribute areas by specifying the dimensions of each side in the dialog menu
· Expand the area in a radius
Allows expanding the region from the far side of an edge or the far left, far right corner, and so on... (IMPORTANT)
· Expand the area with selection
(IMPORTANT):::
All notes marked IMPORTANT must have an interactive menu in the hotbar, these are slots 1-9 with the player's items which are replaced with the plugin's items when entering the area creation command...
The hotbar and standby mode provide the ability to:
· set selection points 1 or 2, for example sequentially by clicking with the item in hand or Shift + LMB/RMB in the air or on a block (the player no longer needs to build pillars to select the top point, this is done at a distance and selects the farthest block specified in the config or selects an existing block on the path to the point where the player looked when clicking).
· when moving or expanding areas, the hotbar should play an important role because for expansion or movement, a sequence of slots will be used, this is controlling movement and expansion using the mouse wheel;
· the player moves the entire area 360° along X,Y,Z by clicking on a block or in the air, and the mouse wheel sets the distance further or closer.
· the player changes the selected area; the area that is farther from the player beyond the selection, where the player is looking, should move in the direction the player is looking, for example, if the player is looking straight ahead — we increase the distance with the mouse wheel or narrow the zone towards the player, and so on.