Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Imperialroma10

Create a defense zone

Report TranquilZone?

Description

The TranquilZone plugin allows players to create protective zones (BlockZone) where specific actions can be controlled using configurable flags. These zones help players safeguard their resources and prevent unwanted interactions from other players or the environment.

Key Features

  • Zone Creation: Players can establish a zone using a special block.
  • Configurable Flags: Zone owners can toggle specific actions like building, chest access, and PvP.
  • Player Access: Owners can add other players to the member list, granting them access to the zone.
  • Zone Visualization: The plugin displays the zone's boundaries using particles.
  • GUI Management: Zones can be edited through an intuitive graphical menu.

How to Use the Plugin

Obtaining the Zone Block: Admins can give players a zone block using the command:

/tranquilzone admin giveblock

Placing the block creates a protected zone automatically. Setting Up a Zone:

  • Place the zone block in the world. The default zone radius is 10 blocks.
  • If the radius overlaps with another zone, the block cannot be placed.

Editing a Zone:

  • Right-click the central block of the zone to open the GUI.
  • Configure zone flags (e.g., disable PvP or building).

Removing a Zone:

  • Break the central block of the zone. The zone block will be returned to the owner.

Granting Zone Access:

  • Add players to the member list to give them access to the zone.

Commands and Permissions

Main Commands

/tranquilzone admin giveblock

Description: Gives the player a zone block. Permission: tranquilzone.admin.giveblock Usage Example:

/tranquilzone admin giveblock

Examples of Zone Flags

build Allow or deny building within the zone. pvp Enable or disable PvP in the zone. openchest Allow or deny opening of chests in the zone.

Permissions

Use * for all rights, or assign specific permissions:

  • tranquilzone.use: Allows players to use the zone block.
  • tranquilzone.admin.giveblock: Allows admins to give players the zone block.

Information

CategoryGameplay
Published onJanuary 4, 2025
LicenseUnspecified
Download1
Stars0
Watchers0

Pinned Versions

Members