From cf300acff116c6ffb35461b00c97b17e825d1659 Mon Sep 17 00:00:00 2001 From: JaTiTV Date: Tue, 5 Jul 2022 20:02:18 +0200 Subject: [PATCH] Create SubAliasObjekt.java --- .../alias/Spigot/objects/SubAliasObjekt.java | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 src/main/java/net/t2code/alias/Spigot/objects/SubAliasObjekt.java diff --git a/src/main/java/net/t2code/alias/Spigot/objects/SubAliasObjekt.java b/src/main/java/net/t2code/alias/Spigot/objects/SubAliasObjekt.java new file mode 100644 index 0000000..d03f441 --- /dev/null +++ b/src/main/java/net/t2code/alias/Spigot/objects/SubAliasObjekt.java @@ -0,0 +1,106 @@ +package net.t2code.alias.Spigot.objects; + +import java.util.List; + +public class SubAliasObjekt { + public Boolean subAliasEnable; + public List subAliasList; + public Integer subAliasArg; + public String subAliasFor; + + public Boolean permNecessary; + + public Boolean costEnable; + public Double costPrice; + public Boolean costAllowBypass; + + public Boolean commandEnable; + public Boolean commandAsConsole; + public Boolean bungeeCommand; + public List command; + public Boolean messageEnable; + public List messages; + + + public Boolean adminEnable; + public String adminPermission; + public Boolean adminCommandEnable; + public Boolean adminCommandAsConsole; + public Boolean adminBungeeCommand; + public List adminCommands; + public Boolean adminMessageEnable; + public List adminMessages; + public Boolean consoleEnable; + public Boolean consoleCommandEnable; + public Boolean consoleBungeeCommand; + public List consoleCommands; + public Boolean consoleMessageEnable; + public List consoleMessages; + + public SubAliasObjekt(Boolean subAliasEnable, + List subAliasList, + String subAliasFor, + Integer subAliasArg, + Boolean permNecessary, + + Boolean costEnable, + Double costPrice, + Boolean costAllowBypass, + + Boolean commandEnable, + Boolean commandAsConsole, + Boolean bungeeCommand, + List command, + Boolean messageEnable, + List messages, + + Boolean adminEnable, + String adminPermission, + Boolean adminCommandEnable, + Boolean adminCommandAsConsole, + Boolean adminBungeeCommand, + List adminCommands, + Boolean adminMessageEnable, + List adminMessages, + + Boolean consoleEnable, + Boolean consoleCommandEnable, + Boolean consoleBungeeCommand, + List consoleCommands, + Boolean consoleMessageEnable, + List consoleMessages) { + this.subAliasEnable = subAliasEnable; + this.subAliasList = subAliasList; + this.subAliasFor = subAliasFor; + this.subAliasArg = subAliasArg; + this.permNecessary = permNecessary; + + this.costEnable = costEnable; + this.costPrice = costPrice; + this.costAllowBypass = costAllowBypass; + + this.commandEnable = commandEnable; + this.commandAsConsole = commandAsConsole; + this.bungeeCommand = bungeeCommand; + this.command = command; + this.messageEnable = messageEnable; + this.messages = messages; + this.adminEnable = adminEnable; + this.adminPermission = adminPermission; + this.adminCommandEnable = adminCommandEnable; + this.adminCommandAsConsole = adminCommandAsConsole; + this.adminBungeeCommand = adminBungeeCommand; + this.adminCommands = adminCommands; + this.adminMessageEnable = adminMessageEnable; + this.adminMessages = adminMessages; + + + this.consoleEnable = consoleEnable; + this.consoleCommandEnable = consoleCommandEnable; + this.consoleBungeeCommand = consoleBungeeCommand; + this.consoleCommands = consoleCommands; + this.consoleMessageEnable = consoleMessageEnable; + this.consoleMessages = consoleMessages; + + } +}