Add /lmutelist and /lmutehistory commands
- /lmutelist - shows all active mutes with remaining time - /lmutehistory <player> - shows mute history for a player - Added mute history tracking (mute-history.json) - History includes: who muted, when, duration, reason, unmute info - Permissions: lochat.mutelist, lochat.mutehistory
This commit is contained in:
parent
c6175d9d61
commit
d92799613e
7 changed files with 428 additions and 10 deletions
|
|
@ -120,6 +120,12 @@ public final class LoChat extends JavaPlugin {
|
|||
UnmuteCommand unmuteCommand = new UnmuteCommand(this);
|
||||
getCommand("lunmute").setExecutor(unmuteCommand);
|
||||
getCommand("lunmute").setTabCompleter(unmuteCommand);
|
||||
|
||||
getCommand("lmutelist").setExecutor(new MuteListCommand(this));
|
||||
|
||||
MuteHistoryCommand muteHistoryCommand = new MuteHistoryCommand(this);
|
||||
getCommand("lmutehistory").setExecutor(muteHistoryCommand);
|
||||
getCommand("lmutehistory").setTabCompleter(muteHistoryCommand);
|
||||
}
|
||||
|
||||
public void reload() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue