You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
partyAllies → RelationType.ALLY (bidirectional if both parties exist)
playerAllies → no direct equivalent (log as warning)
Protection flags → territory permission mapping
Permission: hyperfactions.admin.import (existing)
Risks and Alternatives
Not a faction mod — SimpleClaims parties lack power mechanics, diplomacy (enemy/neutral), homes, economy, and other faction features. Imported factions will need manual configuration for these.
SQLite dependency — SimpleClaims uses SQLite while HyperFactions importers currently parse JSON files. Need to add SQLite reading capability (can use JDBC directly since it's reading an external file, not managing our own DB).
Player allies — SimpleClaims has individual player allies (no HF equivalent) and party allies (maps to faction allies). Player allies will be logged as warnings.
Alternative — Instead of direct SQLite reading, could export SimpleClaims data to JSON first, but this adds friction for server owners.
Scope
Implementation Details
SimpleClaimsImporterfollowing existingElbaphFactionsImporter/HyFactionsImporterpatternSimpleClaims/claims.dbin Universe folder)/f admin import simpleclaims [path](same pattern as existing importers)ReentrantLock/AtomicBooleanwith other importersPartyInfo→Faction(owner→leader, memberSet→members with MEMBER role, name, description, color as RGB int → nearest color code)ChunkInfo(dimension + chunkX/chunkZ) →FactionClaim(world + chunkX/chunkZ)partyAllies→RelationType.ALLY(bidirectional if both parties exist)playerAllies→ no direct equivalent (log as warning)hyperfactions.admin.import(existing)Risks and Alternatives
References and Media
com.hyperfactions.importer.ElbaphFactionsImporter,HyFactionsImporterClaimManager,PartyInfo,ChunkInfoclasses<universe>/SimpleClaims/claims.db