just pushing what i have the ui is still broken
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
"tables": {
|
||||
"punishments": "staff_punishments",
|
||||
"players_seen": "staff_players_seen"
|
||||
},
|
||||
"presence": {
|
||||
"announce_staff_join_leave": true,
|
||||
"leave_suppression_seconds": 10
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -37,6 +41,15 @@ Permission gating no longer lives here. Each command checks a permission node (`
|
||||
| `punishments` | `"staff_punishments"` | Table name. Change only if you really need to and you're prepared to migrate data. |
|
||||
| `players_seen` | `"staff_players_seen"` | Same. |
|
||||
|
||||
### presence
|
||||
|
||||
| Field | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `announce_staff_join_leave` | `true` | When a staff member (anyone with `networkstaff.chat`) joins or leaves the **network**, announce on the staff chat channel. Server-to-server transfers via `/send` or `/hub` are suppressed. |
|
||||
| `leave_suppression_seconds` | `10` | After a disconnect, wait this many seconds before declaring the player has "left the network." If they reconnect anywhere (any server) in that window, no leave message is sent. Tune higher if your transfers take longer than 10s; tune lower for snappier announcements at the cost of false positives. |
|
||||
|
||||
Requires NetworkCore's `PlayerPresence` service. If NetworkCore isn't running or PlayerPresence is unavailable, presence announcements are silently skipped (with a warning in the boot log).
|
||||
|
||||
## Setting up staff permissions
|
||||
|
||||
1. In your Hytale server's permission config, create a `staff` group (or whatever you want to call it).
|
||||
|
||||
Reference in New Issue
Block a user