2.8.19
Changes in the Standard Config
This commit is contained in:
parent
36e6702e8b
commit
613d1c16fa
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>net.t2code</groupId>
|
||||
<artifactId>CommandGUI_V2</artifactId>
|
||||
<version>2.8.18</version>
|
||||
<version>2.8.19</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>T2C-CommandGUI</name>
|
||||
|
@ -5,6 +5,7 @@ import net.t2code.commandguiv2.Spigot.enums.FunctionItemEnum;
|
||||
import net.t2code.commandguiv2.Spigot.enums.FunctionVoteEnum;
|
||||
import net.t2code.commandguiv2.Util;
|
||||
import net.t2code.t2codelib.SPIGOT.api.messages.T2Csend;
|
||||
import net.t2code.t2codelib.SPIGOT.system.T2CodeLibMain;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
|
||||
import java.io.File;
|
||||
@ -24,6 +25,13 @@ public class CreateFunctions {
|
||||
0, 0.0, Arrays.asList(), false, "",
|
||||
false, FunctionVoteEnum.ADD, 0, false, FunctionItemEnum.REMOVE, "DIRT;5");
|
||||
|
||||
|
||||
List<String> dclist;
|
||||
if (T2CodeLibMain.getMmIsLoad()) {
|
||||
dclist = Arrays.asList("<dark_gray>[<dark_red>T<gray>2</gray>Code</dark_red>]</dark_gray> <gold><hover:show_text:'<color:#7289da>http://dc.t2code.net</color>'><click:open_url:'http://dc.t2code.net'>You can find more information on Discord</click></hover></gold>");
|
||||
} else dclist = Arrays.asList("&6You can find more information on Discord: &ehttp://dc.t2code.net");
|
||||
|
||||
|
||||
createFunction("SupportDiscord", false, 1, true, true, "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzg3M2MxMmJmZmI1MjUxYTBiODhkNWFlNzVjNzI0N2NiMzlhNzVmZjFhODFjYmU0YzhhMzliMzExZGRlZGEifX19",
|
||||
false, "", "",
|
||||
"&3Support Discord", Arrays.asList("&8-----------------", "&bIf you need help setting up the plugin,", "&bfeel free to contact me on the Suport Discord.",
|
||||
@ -31,7 +39,7 @@ public class CreateFunctions {
|
||||
true, "", true, Arrays.asList("&8-----------------", "&4No Permission for this Function", "&8-----------------"),
|
||||
false, false, "", false, "VAULT", "DIRT;5", 0, 0.0, false, false,
|
||||
false, Arrays.asList(), false, "", false, "", false, false, "",
|
||||
false, true, Arrays.asList("&6You can find more information on Discord: &ehttp://dc.t2code.net"), false, "",
|
||||
false, true, dclist, false, "",
|
||||
"", "String", "", false, 0, 0.0, Arrays.asList(),
|
||||
"", false, 0, 0.0, Arrays.asList(), false, "",
|
||||
false, FunctionVoteEnum.ADD, 0, false, FunctionItemEnum.REMOVE, "DIRT;5");
|
||||
|
Loading…
Reference in New Issue
Block a user