Skip to content

Commit 26bff17

Browse files
authored
Update README.md
1 parent 15f13ba commit 26bff17

1 file changed

Lines changed: 29 additions & 13 deletions

File tree

README.md

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@ CoreProtectionAssistant (CPA) is a **zero-trust** staff monitoring and player re
114114
| `reports.yml` | Report categories and anti-abuse settings |
115115
| `chatbot.yml` | ChatBot rules and responses (NEW) |
116116

117+
### Auto Cleanup (`config.yml` section)
118+
```yaml
119+
cleanup:
120+
player_commands: 30 # Days to keep player commands
121+
staff_actions: 90 # Days to keep staff actions
122+
chat_violations: 30 # Days to keep chat violations
123+
apologies: 30 # Days to keep apologies
124+
grief_actions: 30 # Days to keep grief actions
125+
```
126+
117127
### Grief Detection (`config.yml` section)
118128
```yaml
119129
grief_detection:
@@ -141,6 +151,7 @@ grief_detection:
141151
|---------|------------|-------------|
142152
| `/cpa` | - | Show help menu |
143153
| `/cpa stats <player>` | `cpa.moder` | View player statistics |
154+
| `/cpa resetstats <player> <type>` | `cpa.staff` | Reset player statistics (commands/all/ban/mute/kick/give/gm/rating/warn/free) |
144155
| `/cpa staff <player>` | `cpa.staff` | View staff member statistics |
145156
| `/cpa top <type> [page]` | `cpa.moder` | View leaderboards |
146157
| `/cpa check <player>` | `cpa.moder` | Quick player check |
@@ -161,6 +172,7 @@ grief_detection:
161172
|------------|---------|-------------|
162173
| `cpa.moder` | op | Access to player statistics |
163174
| `cpa.staff` | op | Access to staff statistics (owner only!) |
175+
| `cpa.resetstats` | op | Can reset player statistics |
164176
| `cpa.warn` | op | Can issue warnings |
165177
| `cpa.warn.clear` | op | Can clear warnings |
166178
| `cpa.report` | true | Can use `/report` |
@@ -223,6 +235,7 @@ Supports both **SQLite** (default) and **MySQL**.
223235
- `cpa_abuse_scores` — Staff abuse scores
224236
- `cpa_grief_actions` — Grief detection log
225237
- `cpa_player_commands` — All tracked player and staff commands
238+
- `cpa_player_commands` — All tracked player and staff commands
226239

227240
---
228241

@@ -246,25 +259,28 @@ Supports both **SQLite** (default) and **MySQL**.
246259

247260
---
248261

249-
❓ FAQ
262+
## ❓ FAQ
263+
264+
**Q: Why "zero-trust"?**
265+
A: The plugin assumes staff members might abuse their powers. It tracks everything and calculates an abuse score to alert owners.
250266

251-
Q: Why "zero-trust"?
252-
A: The plugin assumes staff members might abuse their powers. It tracks everything and calculates an abuse score to alert owners.
267+
**Q: Does it work without CoreProtect?**
268+
A: Yes, but block/chest/command statistics and grief detection will be unavailable.
253269

254-
Q: Does it work without CoreProtect?
255-
A: Yes, but block/chest/command statistics and grief detection will be unavailable.
270+
**Q: Can I customize the abuse score weights?**
271+
A: Yes, in config.yml under abuse_weights.
256272

257-
Q: Can I customize the abuse score weights?
258-
A: Yes, in config.yml under abuse_weights.
273+
**Q: How do I add new chat rules?**
274+
A: Edit chattrules.yml and use /cpa reload.
259275

260-
Q: How do I add new chat rules?
261-
A: Edit chattrules.yml and use /cpa reload.
276+
**Q: What is "recidivism"?**
277+
A: Repeated violations within a time window result in harsher punishments.
262278

263-
Q: What is "recidivism"?
264-
A: Repeated violations within a time window result in harsher punishments.
279+
**Q: How do I disable a specific message?**
280+
A: Set it to "" or "none" in lang.yml.
265281

266-
Q: How do I disable a specific message?
267-
A: Set it to "" or "none" in lang.yml.
282+
**Q: How do I reset a player's statistics?**
283+
A: Use `/cpa resetstats <player> <type>` (commands, all, ban, mute, kick, give, gm, rating, warn, free).
268284

269285
```bash
270286

0 commit comments

Comments
 (0)