HyperPerms-2.8.7.jar
What's new
- Permissions not applied after permissions.json wipe -
syncPermissionsToHytale()only removed negated permissions from Hytale's internal storage but never added granted permissions. After an OOM crash wiped Hytale'spermissions.json, third-party plugins (OrbisGuard, etc.) usingPermissionsModule.hasPermission()saw an empty permission set. Now pushes all expanded granted permissions (with wildcard and alias resolution) to other providers, then removes denied permissions — ensuring negations still override grants - JSON storage data loss on JVM crash -
saveUser(),saveGroup(), andsaveTrack()usedFiles.writeString()withTRUNCATE_EXISTING, which could leave files empty or corrupt if the JVM crashed mid-write. Now writes to a.tmpfile first, then atomically renames to the target path - Corrupt JSON file crashes entire load -
loadAllUsers(),loadAllGroups(), andloadAllTracks()only caughtIOException, notJsonParseException(aRuntimeException). A single corrupt file would crash the entire load and prevent all other files from loading. Now catches all exceptions, logs a warning with the filename and error, and continues loading remaining files
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

