promotional bannermobile promotional banner

hyprotect

Protects spawn from block changes and players in spawn from damage

HyProtect

Looking for a fun PVP experience on a stable server?

Join HYDMG.COM
IP: hydmg.com

image

HyProtect is a lightweight and configurable spawn protection mod designed for Hytale servers. It ensures your server's spawn point remains safe and unaltered by preventing block modifications and damage within a specified radius.

Features

  • Spawn Protection: Prevents players from breaking or placing blocks within the protected area.
  • Damage Prevention: Disables damage (both PvP and PvE) within the spawn radius (or a separately configured damage radius).
  • Configurable Radius: Easily adjust the protection radius and shape via in-game commands or configuration file.
  • Protection Shapes: Choose between Circle (Cylindrical) or Square protection zones.
  • Visualization System: Visually display the protection boundaries with ghost blocks that update as you move.
  • Zone Notifications: Players receive on-screen title notifications when entering or exiting protected zones (e.g., "Safe Zone", "Wilderness").
  • Admin Controls: Secure commands to manage settings on the fly.

You can allow players to place and break blocks respectively with the following two permissions: 

hyprotect.place and hyprotect.break

 

Installation

  1. Download the latest hyprotect-x.x.x.jar from the releases page.
  2. Place the jar file into your Hytale server's mods directory.
  3. Restart your server.

Usage

Commands

Command Description Permission
/hyprotect help Show the list of available commands. None
/hyprotect get View the current protection radii and shape. None
/hyprotect set radius <spawn|damage> --value=<value> Set the protection radius for block breaking (spawn) or damage (damage). hyprotect.admin
/hyprotect set shape <circle|square> Set the protection shape. Defaults to Square. hyprotect.admin
/hyprotect show Enable the protection visualization. hyprotect.show
/hyprotect hide Disable the protection visualization. hyprotect.show
/hyprotect reload Reload the configuration from disk. hyprotect.admin

 

Visualization

 

The visualization system allows admins (or players with permission) to see exactly where the protection boundaries are.

  • Usage: Run /hyprotect show to enable.
  • Ghost Blocks: The mod renders "ghost blocks" (client-side only blocks) to trace the outline of the protection zone.
  • Dynamic Positioning: The boundary is rendered 5 blocks below your current position. As you move up or down, the old blocks are automatically cleared and redrawn at your new height, ensuring the border is always visible relative to you.
  • Dual Zones: If your Spawn Radius and Damage Radius are different, two separate borders will be shown, allowing you to visualize both zones simultaneously.
  • Shapes: The visualization respects your configured shape—it will draw a square or a circle accordingly.
  • Disable: Run /hyprotect hide to instantly clear all visualization blocks.

Zone Notifications

image

Players are automatically notified when they cross protection boundaries.

  • Build/Spawn Zone:
    • Enter: Displays "Spawn" - "Building is disabled here"
    • Exit: Displays "Wilderness" - "You can build here"
  • Damage/Safe Zone:
    • Enter: Displays "Safe Zone" - "You are safe from other players"
    • Exit: Displays "Combat Zone" - "Players can attack you here"

These notifications are sent as on-screen titles for high visibility.

Configuration

The configuration file is located at mods/HyProtect/config.json. You can edit this file manually or use the /hyprotect set commands.

Default Configuration:

{
  "spawnProtectRadius": 50,
  "damageProtectRadius": -1,
  "protectionShape": "square",
  "buildEntryTitle": "Spawn",
  "buildEntrySubtitle": "Building is disabled here",
  "buildExitTitle": "Wilderness",
  "buildExitSubtitle": "You can build here",
  "damageEntryTitle": "Safe Zone",
  "damageEntrySubtitle": "You are safe from other players",
  "damageExitTitle": "Combat Zone",
  "damageExitSubtitle": "Players can attack you here"
}
  • spawnProtectRadius: The radius (in blocks) around the world spawn point where block modification is prevented.
  • damageProtectRadius: The radius (in blocks) where damage is prevented. Set to -1 to use the same value as spawnProtectRadius.
  • protectionShape: The shape of the protection zone. Can be square or circle.
  • *Title / *Subtitle: Configurable text for the zone entry/exit notifications.

Created By



Use code asonia to support us!

The hyprotect Team

profile avatar
Owner
  • 1
    Followers
  • 8
    Projects
  • 6.4K
    Downloads
Donate

More from asonia

  • broadcaster project image

    broadcaster

    • 87
    • Mods

    Allows broadcasting formatted messages to a Hytale server over your local network.

    • 87
    • January 15, 2026
    • Mods
    • +1
  • netmsg project image

    netmsg

    • 101
    • Mods

    This mod provides a custom event `NetMessageReceivedEvent` that is fired whenever the LocalNetBridge receives a message on port 55000. Other mods can listen to this event to handle incoming messages.

    • 101
    • January 15, 2026
    • Mods
  • NoPlayersOnMap project image

    NoPlayersOnMap

    • 1.1K
    • Mods

    Prevents players from seeing each other on the world map.

    • 1.1K
    • January 14, 2026
    • Mods
    • +3
  • broadcaster project image

    broadcaster

    • 87
    • Mods

    Allows broadcasting formatted messages to a Hytale server over your local network.

    • 87
    • January 15, 2026
    • Mods
    • +1
  • netmsg project image

    netmsg

    • 101
    • Mods

    This mod provides a custom event `NetMessageReceivedEvent` that is fired whenever the LocalNetBridge receives a message on port 55000. Other mods can listen to this event to handle incoming messages.

    • 101
    • January 15, 2026
    • Mods
  • NoPlayersOnMap project image

    NoPlayersOnMap

    • 1.1K
    • Mods

    Prevents players from seeing each other on the world map.

    • 1.1K
    • January 14, 2026
    • Mods
    • +3