Delete Languages.java

This commit is contained in:
JaTiTV 2024-07-03 03:33:28 +02:00
parent 35ac13b695
commit 09c81238c7
1 changed files with 0 additions and 65 deletions

View File

@ -1,65 +0,0 @@
// This class was created by JaTiTV.
package net.t2code.opsecurity.config.language.news;
import net.t2code.t2codelib.SPIGOT.api.yaml.T2CconfigWriter;
import net.t2code.t2codelib.T2CconfigItem;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Languages {
public enum VALUES implements T2CconfigItem {
VALUE1("path", VALUE, true, "DESCRIPTION"),
VALUE2("path", VALUE, true, "DESCRIPTION"),
;
private final String path;
private Object value;
private final boolean forceSet;
private final List<String> comments;
VALUES(String path, Object value,boolean forceSet, String... comments) {
this.path = path;
this.value = value;
this.forceSet=forceSet;
this.comments = new ArrayList<>(Arrays.asList(comments));
}
@Override
public String getPath() {
return path;
}
@Override
public Object getValue() {
return value;
}
@Override
public boolean getForceSet() {
return forceSet;
}
@Override
public List<String> getComments() {
return comments;
}
@Override
public void setValue(Object newValue) {
value = newValue;
}
}
public static void set(){
T2CconfigWriter.createConfig(new File(getPlugin().getDataFolder(), "config.yml"), VALUES.values(), FILEHEADER);
}
}
}