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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user