promotional bannermobile promotional banner

HyFactions

A Faction Mod for Hytale

File Details

Hyfaction-1.0.535.jar

  • R
  • Feb 1, 2026
  • 779.63 KB
  • 94
  • Early Access

File Name

Hyfaction-1.0.535.jar

Supported Versions

  • Early Access

# UPDATE Hyfaction-1.0.535

API Package: com.kaws.hyfaction.api

PlayerFactionInfo (DTO)

Data Transfer Object containing player and faction information.

Available Methods:

getPlayerUuid() - Returns UUID - Player's UUID
getPlayerName() - Returns String - Player's name (cached or "Unknown")
getFactionId() - Returns UUID - Faction's UUID, or null if no faction
getFactionName() - Returns String - Faction's name, or null
getRank() - Returns Rank - Player's rank (OWNER, OFFICER, MEMBER), or null
hasFaction() - Returns boolean - true if player has a faction

HyfactionApi (Utility Class)

Main Method:

PlayerFactionInfo HyfactionApi.getPlayerAndFaction(UUID playerUuid)

Description: Retrieves the player's information and their faction data.

Returns: A PlayerFactionInfo object containing player data and faction data (or null for all faction fields if player has no faction).

Usage Example:
UUID playerUuid = player.getUniqueId();
PlayerFactionInfo info = HyfactionApi.getPlayerAndFaction(playerUuid);

if (info.hasFaction()) {
    System.out.println(info.getPlayerName() + " is in " + info.getFactionName());
} else {
    System.out.println(info.getPlayerName() + " has no faction");
}

Recent Updates

Bug Fixes
- Overclaim Fix - Fixed overclaim territory issues

New Configuration Options
- PowerGainPerEnemyKill - Set the amount of power gained when killing an enemy player

PowerGainPerEnemyKill: 1.0