Giving Credit

This commit is contained in:
Driftay 2019-12-02 13:55:38 -05:00
parent 9284707db6
commit f437144fba
168 changed files with 701 additions and 0 deletions

View File

@ -15,6 +15,10 @@ import java.util.Map;
public class BrigadierManager { public class BrigadierManager {
/**
* @author FactionsUUID Team
*/
public Commodore commodore; public Commodore commodore;
public LiteralArgumentBuilder<Object> brigadier = LiteralArgumentBuilder.literal("factions"); public LiteralArgumentBuilder<Object> brigadier = LiteralArgumentBuilder.literal("factions");

View File

@ -4,6 +4,10 @@ import com.mojang.brigadier.builder.ArgumentBuilder;
public interface BrigadierProvider { public interface BrigadierProvider {
/**
* @author FactionsUUID Team
*/
ArgumentBuilder<Object, ?> get(ArgumentBuilder<Object, ?> parent); ArgumentBuilder<Object, ?> get(ArgumentBuilder<Object, ?> parent);
} }

View File

@ -8,6 +8,10 @@ import org.bukkit.event.player.PlayerTeleportEvent;
public class CmdAHome extends FCommand { public class CmdAHome extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdAHome() { public CmdAHome() {
super(); super();
this.aliases.add("ahome"); this.aliases.add("ahome");

View File

@ -11,6 +11,10 @@ import org.bukkit.Bukkit;
public class CmdAdmin extends FCommand { public class CmdAdmin extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdAdmin() { public CmdAdmin() {
super(); super();
this.aliases.add("admin"); this.aliases.add("admin");

View File

@ -12,6 +12,10 @@ import org.bukkit.entity.Player;
public class CmdAnnounce extends FCommand { public class CmdAnnounce extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdAnnounce() { public CmdAnnounce() {
super(); super();
this.aliases.add("ann"); this.aliases.add("ann");

View File

@ -8,6 +8,10 @@ import java.util.ArrayList;
public class CmdAutoHelp extends FCommand { public class CmdAutoHelp extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdAutoHelp() { public CmdAutoHelp() {
this.aliases.add("?"); this.aliases.add("?");
this.aliases.add("h"); this.aliases.add("h");

View File

@ -13,6 +13,10 @@ import java.util.logging.Level;
public class CmdBan extends FCommand { public class CmdBan extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdBan() { public CmdBan() {
super(); super();
this.aliases.add("ban"); this.aliases.add("ban");

View File

@ -13,6 +13,10 @@ import java.util.List;
public class CmdBanlist extends FCommand { public class CmdBanlist extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdBanlist() { public CmdBanlist() {
super(); super();
this.aliases.add("banlist"); this.aliases.add("banlist");

View File

@ -13,6 +13,11 @@ import org.bukkit.inventory.PlayerInventory;
import org.bukkit.inventory.meta.ItemMeta; import org.bukkit.inventory.meta.ItemMeta;
public class CmdBanner extends FCommand { public class CmdBanner extends FCommand {
/**
* @author Illyria Team
*/
public CmdBanner() { public CmdBanner() {
this.aliases.add("banner"); this.aliases.add("banner");
this.aliases.add("warbanner"); this.aliases.add("warbanner");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdBoom extends FCommand { public class CmdBoom extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdBoom() { public CmdBoom() {
super(); super();
this.aliases.add("noboom"); this.aliases.add("noboom");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdBypass extends FCommand { public class CmdBypass extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdBypass() { public CmdBypass() {
super(); super();
this.aliases.add("bypass"); this.aliases.add("bypass");

View File

@ -10,6 +10,10 @@ import com.mojang.brigadier.builder.LiteralArgumentBuilder;
public class CmdChat extends FCommand { public class CmdChat extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdChat() { public CmdChat() {
super(); super();
this.aliases.add("c"); this.aliases.add("c");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdChatSpy extends FCommand { public class CmdChatSpy extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdChatSpy() { public CmdChatSpy() {
super(); super();
this.aliases.add("chatspy"); this.aliases.add("chatspy");

View File

@ -6,6 +6,11 @@ import com.massivecraft.factions.util.WarmUpUtil;
import com.massivecraft.factions.zcore.util.TL; import com.massivecraft.factions.zcore.util.TL;
public class CmdCheckpoint extends FCommand { public class CmdCheckpoint extends FCommand {
/**
* @author Illyria Team
*/
public CmdCheckpoint() { public CmdCheckpoint() {
super(); super();
this.aliases.add("checkp"); this.aliases.add("checkp");

View File

@ -10,6 +10,11 @@ import mkremins.fanciful.FancyMessage;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
public class CmdColeader extends FCommand { public class CmdColeader extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdColeader() { public CmdColeader() {
super(); super();
this.aliases.add("co"); this.aliases.add("co");

View File

@ -9,6 +9,10 @@ import org.bukkit.command.ConsoleCommandSender;
public class CmdConvert extends FCommand { public class CmdConvert extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdConvert() { public CmdConvert() {
this.aliases.add("convert"); this.aliases.add("convert");
this.requiredArgs.add("[MYSQL|JSON]"); this.requiredArgs.add("[MYSQL|JSON]");

View File

@ -7,6 +7,10 @@ import org.bukkit.Location;
public class CmdCoords extends FCommand { public class CmdCoords extends FCommand {
/**
* @author Illyria Team
*/
public CmdCoords() { public CmdCoords() {
super(); super();
this.aliases.add("coords"); this.aliases.add("coords");

View File

@ -15,6 +15,10 @@ import java.util.ArrayList;
public class CmdCreate extends FCommand { public class CmdCreate extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdCreate() { public CmdCreate() {
super(); super();
this.aliases.add("create"); this.aliases.add("create");

View File

@ -14,6 +14,10 @@ import org.bukkit.ChatColor;
public class CmdDeinvite extends FCommand { public class CmdDeinvite extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdDeinvite() { public CmdDeinvite() {
super(); super();
this.aliases.add("deinvite"); this.aliases.add("deinvite");

View File

@ -7,6 +7,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdDelFWarp extends FCommand { public class CmdDelFWarp extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdDelFWarp() { public CmdDelFWarp() {
super(); super();
this.aliases.add("delwarp"); this.aliases.add("delwarp");

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TextUtil;
public class CmdDescription extends FCommand { public class CmdDescription extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdDescription() { public CmdDescription() {
super(); super();
this.aliases.add("desc"); this.aliases.add("desc");

View File

@ -16,6 +16,10 @@ import java.util.HashMap;
public class CmdDisband extends FCommand { public class CmdDisband extends FCommand {
/**
* @author FactionsUUID Team
*/
private static HashMap<String, String> disbandMap = new HashMap<>(); private static HashMap<String, String> disbandMap = new HashMap<>();

View File

@ -14,6 +14,10 @@ import java.util.UUID;
public class CmdFWarp extends FCommand { public class CmdFWarp extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdFWarp() { public CmdFWarp() {
super(); super();
this.aliases.add("warp"); this.aliases.add("warp");

View File

@ -19,6 +19,10 @@ import java.util.concurrent.ConcurrentHashMap;
public class CmdFly extends FCommand { public class CmdFly extends FCommand {
/**
* @author FactionsUUID Team
*/
public static ConcurrentHashMap<String, Boolean> flyMap = new ConcurrentHashMap<>(); public static ConcurrentHashMap<String, Boolean> flyMap = new ConcurrentHashMap<>();
public static BukkitTask particleTask = null; public static BukkitTask particleTask = null;

View File

@ -9,6 +9,11 @@ import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
public class CmdGetVault extends FCommand { public class CmdGetVault extends FCommand {
/**
* @author Illyria Team
*/
public CmdGetVault() { public CmdGetVault() {
super(); super();
this.aliases.add("getvault"); this.aliases.add("getvault");

View File

@ -13,6 +13,10 @@ import java.util.List;
public class CmdHelp extends FCommand { public class CmdHelp extends FCommand {
/**
* @author FactionsUUID Team
*/
public ArrayList<ArrayList<String>> helpPages; public ArrayList<ArrayList<String>> helpPages;
public CmdHelp() { public CmdHelp() {

View File

@ -20,6 +20,10 @@ import java.util.List;
public class CmdHome extends FCommand { public class CmdHome extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdHome() { public CmdHome() {
super(); super();
this.aliases.add("home"); this.aliases.add("home");

View File

@ -4,6 +4,11 @@ import com.massivecraft.factions.struct.Permission;
import com.massivecraft.factions.zcore.util.TL; import com.massivecraft.factions.zcore.util.TL;
public class CmdInspect extends FCommand { public class CmdInspect extends FCommand {
/**
* @author Illyria Team
*/
public CmdInspect() { public CmdInspect() {
super(); super();
this.aliases.add("inspect"); this.aliases.add("inspect");

View File

@ -11,6 +11,10 @@ import org.bukkit.ChatColor;
public class CmdInvite extends FCommand { public class CmdInvite extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdInvite() { public CmdInvite() {
super(); super();
this.aliases.add("invite"); this.aliases.add("invite");

View File

@ -9,6 +9,10 @@ import org.bukkit.Bukkit;
public class CmdJoin extends FCommand { public class CmdJoin extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdJoin() { public CmdJoin() {
super(); super();
this.aliases.add("join"); this.aliases.add("join");

View File

@ -16,6 +16,10 @@ import org.bukkit.command.ConsoleCommandSender;
public class CmdKick extends FCommand { public class CmdKick extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdKick() { public CmdKick() {
super(); super();
this.aliases.add("kick"); this.aliases.add("kick");

View File

@ -4,6 +4,11 @@ import com.massivecraft.factions.struct.Permission;
import com.massivecraft.factions.zcore.util.TL; import com.massivecraft.factions.zcore.util.TL;
public class CmdKillHolograms extends FCommand { public class CmdKillHolograms extends FCommand {
/**
* @author Illyria Team
*/
public CmdKillHolograms() { public CmdKillHolograms() {
super(); super();
this.aliases.add("killholos"); this.aliases.add("killholos");

View File

@ -5,6 +5,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdLeave extends FCommand { public class CmdLeave extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdLeave() { public CmdLeave() {
super(); super();
this.aliases.add("leave"); this.aliases.add("leave");

View File

@ -14,6 +14,10 @@ import java.util.List;
public class CmdList extends FCommand { public class CmdList extends FCommand {
/**
* @author FactionsUUID Team
*/
private String[] defaults = new String[3]; private String[] defaults = new String[3];
public CmdList() { public CmdList() {

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdLock extends FCommand { public class CmdLock extends FCommand {
/**
* @author FactionsUUID Team
*/
// TODO: This solution needs refactoring. // TODO: This solution needs refactoring.
/* /*
factions.lock: factions.lock:

View File

@ -5,6 +5,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdLogins extends FCommand { public class CmdLogins extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdLogins() { public CmdLogins() {
super(); super();
this.aliases.add("login"); this.aliases.add("login");

View File

@ -7,6 +7,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdLowPower extends FCommand { public class CmdLowPower extends FCommand {
/**
* @author Illyria Team
*/
public CmdLowPower() { public CmdLowPower() {
super(); super();
this.aliases.add("lowpower"); this.aliases.add("lowpower");

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdMap extends FCommand { public class CmdMap extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdMap() { public CmdMap() {
super(); super();
this.aliases.add("map"); this.aliases.add("map");

View File

@ -5,6 +5,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdMapHeight extends FCommand { public class CmdMapHeight extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdMapHeight() { public CmdMapHeight() {
super(); super();

View File

@ -11,6 +11,10 @@ import org.bukkit.ChatColor;
public class CmdMod extends FCommand { public class CmdMod extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdMod() { public CmdMod() {
super(); super();
this.aliases.add("mod"); this.aliases.add("mod");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdModifyPower extends FCommand { public class CmdModifyPower extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdModifyPower() { public CmdModifyPower() {
super(); super();

View File

@ -9,6 +9,11 @@ import org.bukkit.entity.Entity;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
public class CmdNear extends FCommand { public class CmdNear extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdNear() { public CmdNear() {
super(); super();
this.aliases.add("near"); this.aliases.add("near");

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdOpen extends FCommand { public class CmdOpen extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdOpen() { public CmdOpen() {
super(); super();
this.aliases.add("open"); this.aliases.add("open");

View File

@ -8,6 +8,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdOwner extends FCommand { public class CmdOwner extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdOwner() { public CmdOwner() {
super(); super();
this.aliases.add("owner"); this.aliases.add("owner");

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdOwnerList extends FCommand { public class CmdOwnerList extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdOwnerList() { public CmdOwnerList() {
super(); super();
this.aliases.add("ownerlist"); this.aliases.add("ownerlist");

View File

@ -8,6 +8,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdPeaceful extends FCommand { public class CmdPeaceful extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdPeaceful() { public CmdPeaceful() {
super(); super();
this.aliases.add("peaceful"); this.aliases.add("peaceful");

View File

@ -17,6 +17,10 @@ import java.util.Set;
public class CmdPerm extends FCommand { public class CmdPerm extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdPerm() { public CmdPerm() {
super(); super();
this.aliases.add("perm"); this.aliases.add("perm");

View File

@ -10,6 +10,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdPermanent extends FCommand { public class CmdPermanent extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdPermanent() { public CmdPermanent() {
super(); super();
this.aliases.add("permanent"); this.aliases.add("permanent");

View File

@ -6,6 +6,11 @@ import com.massivecraft.factions.struct.Permission;
import com.massivecraft.factions.zcore.util.TL; import com.massivecraft.factions.zcore.util.TL;
public class CmdPermanentPower extends FCommand { public class CmdPermanentPower extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdPermanentPower() { public CmdPermanentPower() {
super(); super();
this.aliases.add("permanentpower"); this.aliases.add("permanentpower");

View File

@ -7,6 +7,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdPower extends FCommand { public class CmdPower extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdPower() { public CmdPower() {
super(); super();
this.aliases.add("power"); this.aliases.add("power");

View File

@ -9,6 +9,10 @@ import org.bukkit.command.ConsoleCommandSender;
public class CmdPowerBoost extends FCommand { public class CmdPowerBoost extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdPowerBoost() { public CmdPowerBoost() {
super(); super();
this.aliases.add("powerboost"); this.aliases.add("powerboost");

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdReload extends FCommand { public class CmdReload extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdReload() { public CmdReload() {
super(); super();
this.aliases.add("reload"); this.aliases.add("reload");

View File

@ -8,6 +8,11 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
public class CmdRules extends FCommand { public class CmdRules extends FCommand {
/**
* @author Illyria Team
*/
public CmdRules() { public CmdRules() {
super(); super();
aliases.add("r"); aliases.add("r");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdSB extends FCommand { public class CmdSB extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSB() { public CmdSB() {
this.aliases.add("sb"); this.aliases.add("sb");
this.aliases.add("scoreboard"); this.aliases.add("scoreboard");

View File

@ -10,6 +10,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdSaveAll extends FCommand { public class CmdSaveAll extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSaveAll() { public CmdSaveAll() {
super(); super();
this.aliases.add("saveall"); this.aliases.add("saveall");

View File

@ -15,6 +15,10 @@ import java.util.HashMap;
public class CmdSeeChunk extends FCommand { public class CmdSeeChunk extends FCommand {
/**
* @author FactionsUUID Team
*/
//Used a hashmap cuz imma make a particle selection gui later, will store it where the boolean is rn. //Used a hashmap cuz imma make a particle selection gui later, will store it where the boolean is rn.
public static HashMap<String, Boolean> seeChunkMap = new HashMap<>(); public static HashMap<String, Boolean> seeChunkMap = new HashMap<>();
private long interval; private long interval;

View File

@ -5,6 +5,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdSetBanner extends FCommand { public class CmdSetBanner extends FCommand {
/**
* @author Illyria Team
*/
public CmdSetBanner() { public CmdSetBanner() {
super(); super();
aliases.add("setbanner"); aliases.add("setbanner");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdSetDefaultRole extends FCommand { public class CmdSetDefaultRole extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSetDefaultRole() { public CmdSetDefaultRole() {
super(); super();

View File

@ -9,6 +9,11 @@ import com.massivecraft.factions.zcore.fperms.PermissableAction;
import com.massivecraft.factions.zcore.util.TL; import com.massivecraft.factions.zcore.util.TL;
public class CmdSetFWarp extends FCommand { public class CmdSetFWarp extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSetFWarp() { public CmdSetFWarp() {
this.aliases.add("setwarp"); this.aliases.add("setwarp");
this.aliases.add("sw"); this.aliases.add("sw");

View File

@ -7,6 +7,10 @@ import org.bukkit.ChatColor;
public class CmdSetMaxVaults extends FCommand { public class CmdSetMaxVaults extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSetMaxVaults() { public CmdSetMaxVaults() {
this.aliases.add("setmaxvaults"); this.aliases.add("setmaxvaults");
this.aliases.add("smv"); this.aliases.add("smv");

View File

@ -7,6 +7,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdSethome extends FCommand { public class CmdSethome extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSethome() { public CmdSethome() {
this.aliases.add("sethome"); this.aliases.add("sethome");
this.optionalArgs.put("faction tag", "mine"); this.optionalArgs.put("faction tag", "mine");

View File

@ -14,6 +14,10 @@ import java.util.List;
public class CmdShow extends FCommand { public class CmdShow extends FCommand {
/**
* @author FactionsUUID Team
*/
List<String> defaults = new ArrayList<>(); List<String> defaults = new ArrayList<>();
public CmdShow() { public CmdShow() {

View File

@ -8,6 +8,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdShowClaims extends FCommand { public class CmdShowClaims extends FCommand {
/**
* @author Illyria Team
*/
public CmdShowClaims() { public CmdShowClaims() {
this.aliases.add("showclaims"); this.aliases.add("showclaims");
this.aliases.add("showclaim"); this.aliases.add("showclaim");

View File

@ -10,6 +10,10 @@ import org.bukkit.ChatColor;
public class CmdShowInvites extends FCommand { public class CmdShowInvites extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdShowInvites() { public CmdShowInvites() {
super(); super();
aliases.add("showinvites"); aliases.add("showinvites");

View File

@ -7,6 +7,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdSpawnerLock extends FCommand { public class CmdSpawnerLock extends FCommand {
/**
* @author Illyria Team
*/
public CmdSpawnerLock(){ public CmdSpawnerLock(){
super(); super();
this.aliases.add("lockspawners"); this.aliases.add("lockspawners");

View File

@ -10,6 +10,10 @@ import java.util.ArrayList;
public class CmdStatus extends FCommand { public class CmdStatus extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdStatus() { public CmdStatus() {
super(); super();
this.aliases.add("status"); this.aliases.add("status");

View File

@ -13,6 +13,10 @@ import org.bukkit.entity.Player;
public class CmdStuck extends FCommand { public class CmdStuck extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdStuck() { public CmdStuck() {
super(); super();
this.aliases.add("stuck"); this.aliases.add("stuck");

View File

@ -13,6 +13,10 @@ import java.util.ArrayList;
public class CmdTag extends FCommand { public class CmdTag extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdTag() { public CmdTag() {
this.aliases.add("tag"); this.aliases.add("tag");
this.aliases.add("rename"); this.aliases.add("rename");

View File

@ -8,6 +8,10 @@ import com.massivecraft.factions.zcore.util.TextUtil;
public class CmdTitle extends FCommand { public class CmdTitle extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdTitle() { public CmdTitle() {
this.aliases.add("title"); this.aliases.add("title");
this.requiredArgs.add("player name"); this.requiredArgs.add("player name");

View File

@ -6,6 +6,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdToggleAllianceChat extends FCommand { public class CmdToggleAllianceChat extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdToggleAllianceChat() { public CmdToggleAllianceChat() {
super(); super();
this.aliases.add("tac"); this.aliases.add("tac");

View File

@ -12,6 +12,10 @@ import java.util.ArrayList;
public class CmdTop extends FCommand { public class CmdTop extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdTop() { public CmdTop() {
super(); super();
this.aliases.add("top"); this.aliases.add("top");

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdTpBanner extends FCommand { public class CmdTpBanner extends FCommand {
/**
* @author Illyria Team
*/
public CmdTpBanner() { public CmdTpBanner() {
super(); super();
this.aliases.add("tpbanner"); this.aliases.add("tpbanner");

View File

@ -8,6 +8,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdUnban extends FCommand { public class CmdUnban extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdUnban() { public CmdUnban() {
super(); super();
this.aliases.add("unban"); this.aliases.add("unban");

View File

@ -6,6 +6,11 @@ import com.massivecraft.factions.zcore.fupgrades.FUpgradesGUI;
import com.massivecraft.factions.zcore.util.TL; import com.massivecraft.factions.zcore.util.TL;
public class CmdUpgrades extends FCommand { public class CmdUpgrades extends FCommand {
/**
* @author Illyria Team
*/
public CmdUpgrades() { public CmdUpgrades() {
super(); super();
this.aliases.add("upgrades"); this.aliases.add("upgrades");

View File

@ -13,6 +13,10 @@ import org.bukkit.inventory.Inventory;
public class CmdVault extends FCommand { public class CmdVault extends FCommand {
/**
* @author Illyria Team
*/
public CmdVault() { public CmdVault() {
this.aliases.add("vault"); this.aliases.add("vault");

View File

@ -7,6 +7,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdVersion extends FCommand { public class CmdVersion extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdVersion() { public CmdVersion() {
this.aliases.add("version"); this.aliases.add("version");
this.aliases.add("ver"); this.aliases.add("ver");

View File

@ -19,6 +19,10 @@ import java.util.List;
*/ */
public class CommandContext { public class CommandContext {
/**
* @author FactionsUUID Team
*/
public CommandSender sender; public CommandSender sender;
public Player player; public Player player;

View File

@ -9,6 +9,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CommandRequirements { public class CommandRequirements {
/**
* @author FactionsUUID Team
*/
// Permission required to execute command // Permission required to execute command
public Permission permission; public Permission permission;

View File

@ -38,6 +38,10 @@ import java.util.logging.Level;
public class FCmdRoot extends FCommand implements CommandExecutor { public class FCmdRoot extends FCommand implements CommandExecutor {
/**
* @author FactionsUUID Team
*/
public BrigadierManager brigadierManager; public BrigadierManager brigadierManager;
public CmdAdmin cmdAdmin = new CmdAdmin(); public CmdAdmin cmdAdmin = new CmdAdmin();

View File

@ -17,6 +17,10 @@ import java.util.*;
public abstract class FCommand { public abstract class FCommand {
/**
* @author FactionsUUID Team
*/
public SimpleDateFormat sdf = new SimpleDateFormat(TL.DATE_FORMAT.toString()); public SimpleDateFormat sdf = new SimpleDateFormat(TL.DATE_FORMAT.toString());
// Command Aliases // Command Aliases

View File

@ -9,6 +9,9 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdAlts extends FCommand { public class CmdAlts extends FCommand {
/**
* @author Driftay
*/
public CmdInviteAlt cmdInviteAlt = new CmdInviteAlt(); public CmdInviteAlt cmdInviteAlt = new CmdInviteAlt();
public CmdAltsList cmdAltsList = new CmdAltsList(); public CmdAltsList cmdAltsList = new CmdAltsList();

View File

@ -14,6 +14,10 @@ import java.util.stream.Collectors;
public class CmdAltsList extends FCommand { public class CmdAltsList extends FCommand {
/**
* @author Driftay
*/
public CmdAltsList() { public CmdAltsList() {
super(); super();
this.aliases.add("list"); this.aliases.add("list");

View File

@ -16,6 +16,10 @@ import org.bukkit.ChatColor;
public class CmdInviteAlt extends FCommand { public class CmdInviteAlt extends FCommand {
/**
* @author Driftay
*/
public CmdInviteAlt() { public CmdInviteAlt() {
super(); super();
this.aliases.add("invite"); this.aliases.add("invite");

View File

@ -18,6 +18,10 @@ import org.bukkit.command.ConsoleCommandSender;
public class CmdKickAlt extends FCommand { public class CmdKickAlt extends FCommand {
/**
* @author Driftay
*/
public CmdKickAlt(){ public CmdKickAlt(){
super(); super();
this.aliases.add("kick"); this.aliases.add("kick");

View File

@ -18,6 +18,11 @@ import java.text.SimpleDateFormat;
import java.util.*; import java.util.*;
public class CheckHistoryFrame implements FactionGUI { public class CheckHistoryFrame implements FactionGUI {
/**
* @author Driftay
*/
private FactionsPlugin plugin; private FactionsPlugin plugin;
private Faction faction; private Faction faction;
private Inventory inventory; private Inventory inventory;

View File

@ -16,6 +16,11 @@ import org.bukkit.inventory.meta.ItemMeta;
import java.util.Collections; import java.util.Collections;
public class CheckSettingsFrame implements InventoryHolder, FactionGUI { public class CheckSettingsFrame implements InventoryHolder, FactionGUI {
/**
* @author Driftay
*/
private FactionsPlugin plugin; private FactionsPlugin plugin;
private FPlayer fPlayer; private FPlayer fPlayer;
private Inventory inventory; private Inventory inventory;

View File

@ -21,6 +21,11 @@ import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CopyOnWriteArrayList;
public class CheckTask implements Runnable { public class CheckTask implements Runnable {
/**
* @author Driftay
*/
private static List<String> wallChecks = new CopyOnWriteArrayList<>(); private static List<String> wallChecks = new CopyOnWriteArrayList<>();
private static List<String> bufferChecks = new CopyOnWriteArrayList<>(); private static List<String> bufferChecks = new CopyOnWriteArrayList<>();
private SimpleDateFormat simpleDateFormat = new SimpleDateFormat(Conf.dateFormat); private SimpleDateFormat simpleDateFormat = new SimpleDateFormat(Conf.dateFormat);

View File

@ -24,6 +24,11 @@ import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
public class CmdCheck extends FCommand { public class CmdCheck extends FCommand {
/**
* @author Driftay
*/
private SimpleDateFormat simpleDateFormat; private SimpleDateFormat simpleDateFormat;
public CmdCheck() { public CmdCheck() {

View File

@ -11,6 +11,11 @@ import net.dv8tion.jda.core.entities.Channel;
import net.dv8tion.jda.core.entities.TextChannel; import net.dv8tion.jda.core.entities.TextChannel;
public class CmdWeeWoo extends FCommand { public class CmdWeeWoo extends FCommand {
/**
* @author Driftay
*/
public CmdWeeWoo() { public CmdWeeWoo() {
this.aliases.add("weewoo"); this.aliases.add("weewoo");
this.requiredArgs.add("start/stop"); this.requiredArgs.add("start/stop");

View File

@ -12,6 +12,10 @@ import net.dv8tion.jda.core.entities.TextChannel;
public class WeeWooTask implements Runnable { public class WeeWooTask implements Runnable {
/**
* @author Driftay
*/
private FactionsPlugin plugin; private FactionsPlugin plugin;
public WeeWooTask(FactionsPlugin plugin) { public WeeWooTask(FactionsPlugin plugin) {

View File

@ -14,6 +14,9 @@ import org.bukkit.inventory.ItemStack;
public class AntiChestListener implements Listener { public class AntiChestListener implements Listener {
/**
* @author Driftay
*/
@EventHandler @EventHandler
public void onInventoryClick(InventoryClickEvent e) { public void onInventoryClick(InventoryClickEvent e) {

View File

@ -10,6 +10,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdChest extends FCommand { public class CmdChest extends FCommand {
/**
* @author Illyria Team
*/
public CmdChest() { public CmdChest() {
this.aliases.add("chest"); this.aliases.add("chest");
this.aliases.add("pv"); this.aliases.add("pv");

View File

@ -12,6 +12,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdAutoClaim extends FCommand { public class CmdAutoClaim extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdAutoClaim() { public CmdAutoClaim() {
super(); super();
this.aliases.add("autoclaim"); this.aliases.add("autoclaim");

View File

@ -16,6 +16,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdClaim extends FCommand { public class CmdClaim extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdClaim() { public CmdClaim() {
super(); super();
this.aliases.add("claim"); this.aliases.add("claim");

View File

@ -11,6 +11,10 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdClaimAt extends FCommand { public class CmdClaimAt extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdClaimAt() { public CmdClaimAt() {
super(); super();
this.aliases.add("claimat"); this.aliases.add("claimat");

View File

@ -14,6 +14,10 @@ import org.bukkit.block.BlockFace;
public class CmdClaimLine extends FCommand { public class CmdClaimLine extends FCommand {
/**
* @author FactionsUUID Team
*/
public static final BlockFace[] axis = {BlockFace.SOUTH, BlockFace.WEST, BlockFace.NORTH, BlockFace.EAST}; public static final BlockFace[] axis = {BlockFace.SOUTH, BlockFace.WEST, BlockFace.NORTH, BlockFace.EAST};
public CmdClaimLine() { public CmdClaimLine() {

View File

@ -14,6 +14,10 @@ import org.bukkit.World;
public class CmdSafeunclaimall extends FCommand { public class CmdSafeunclaimall extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdSafeunclaimall() { public CmdSafeunclaimall() {
this.aliases.add("safeunclaimall"); this.aliases.add("safeunclaimall");
this.aliases.add("safedeclaimall"); this.aliases.add("safedeclaimall");

View File

@ -16,6 +16,10 @@ import org.bukkit.Bukkit;
public class CmdUnclaim extends FCommand { public class CmdUnclaim extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdUnclaim() { public CmdUnclaim() {
this.aliases.add("unclaim"); this.aliases.add("unclaim");
this.aliases.add("declaim"); this.aliases.add("declaim");

View File

@ -16,6 +16,10 @@ import org.bukkit.Bukkit;
public class CmdUnclaimall extends FCommand { public class CmdUnclaimall extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdUnclaimall() { public CmdUnclaimall() {
this.aliases.add("unclaimall"); this.aliases.add("unclaimall");
this.aliases.add("declaimall"); this.aliases.add("declaimall");

View File

@ -14,6 +14,10 @@ import org.bukkit.World;
public class CmdWarunclaimall extends FCommand { public class CmdWarunclaimall extends FCommand {
/**
* @author FactionsUUID Team
*/
public CmdWarunclaimall() { public CmdWarunclaimall() {
this.aliases.add("warunclaimall"); this.aliases.add("warunclaimall");
this.aliases.add("wardeclaimall"); this.aliases.add("wardeclaimall");

Some files were not shown because too many files have changed in this diff Show More