1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-29 06:34:17 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Shiewk 24da79642a Add default reason to config 2026-04-12 15:02:41 +02:00
Shiewk 823093be35 Rework save format and punishment manager
- Punishments are now saved as JSON in files named after their targets
- Each punishment type now has its own Java class
- Each file contains a list of JSON objects that is updated every time something changes (e.g. player muted, banned or unbanned)
- Punishments have a unique ID now; if something changes, the new version is added to the list and overwrites the old version
- 'Undo' has been renamed to 'cancel'
- You can no longer mute or ban players if they are already muted or banned
2026-04-08 16:12:01 +02:00
Shiewk f7f541c8a4 Stop warning about experimental APIs 2026-04-03 15:59:52 +02:00
Shiewk 7e3139126c Config rework 2025-08-22 11:00:28 +02:00
Shiewk 2be16da939 Internationalization support 2025-07-30 13:37:30 +02:00
Shiewk d863622168 Add a config option to require a reason 2025-05-02 16:30:14 +02:00
Shiewk 361f66f645 Upgrade Paper to 1.21, use Brigadier command system 2025-05-01 19:55:55 +02:00
Shiewk 02570993a7 Move SModeration for Paper to root project 2025-05-01 10:46:00 +02:00