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

First version of the SMod menu and command

This commit is contained in:
Shy
2024-06-08 15:22:24 +02:00
parent e2fcf9797c
commit 1f85d65bdd
8 changed files with 238 additions and 4 deletions
@@ -26,7 +26,7 @@ public class Punishment {
public final UUID to;
public final String reason;
protected Punishment(PunishmentType type, long time, long until, UUID by, UUID to, String reason) {
public Punishment(PunishmentType type, long time, long until, UUID by, UUID to, String reason) {
this.type = type;
this.time = time;
this.until = until;
@@ -1,7 +1,13 @@
package de.shiewk.smoderation.punishments;
public enum PunishmentType {
MUTE,
KICK,
BAN
MUTE("Mute"),
KICK("Kick"),
BAN("Ban");
public final String name;
PunishmentType(String name) {
this.name = name;
}
}