Skip to content

Commit

Permalink
minor cleanup (matches methods, comment spam)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 28, 2019
1 parent eb16029 commit 9f1273c
Show file tree
Hide file tree
Showing 33 changed files with 0 additions and 166 deletions.
Expand Up @@ -51,11 +51,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("player completes skyblock challenge");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PlayerCompletesSkyBlockChallenge";
Expand Down
Expand Up @@ -46,11 +46,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("player enters skyblock");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PlayerEntersSkyBlock";
Expand Down
Expand Up @@ -46,11 +46,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("player exits skyblock");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PlayerEntersSkyBlock";
Expand Down
Expand Up @@ -47,11 +47,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("skyblock island created");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "SkyBlockCreated";
Expand Down
Expand Up @@ -44,11 +44,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("skyblock island reset");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "SkyBlockReset";
Expand Down
Expand Up @@ -44,11 +44,6 @@ public boolean couldMatch(ScriptPath path) {
return path.eventLower.startsWith("bungee player joins network");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "BungeePlayerJoins";
Expand Down
Expand Up @@ -44,11 +44,6 @@ public boolean couldMatch(ScriptPath path) {
return path.eventLower.startsWith("bungee player leaves network");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "BungeePlayerQuits";
Expand Down
Expand Up @@ -61,11 +61,6 @@ public boolean couldMatch(ScriptPath path) {
return true;
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public void init() {
BungeeBridge.instance.controlsProxyPing = true;
Expand Down
Expand Up @@ -36,11 +36,6 @@ public boolean couldMatch(ScriptPath path) {
return path.eventLower.startsWith("bungee server connects");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "BungeeServerConnects";
Expand Down
Expand Up @@ -36,11 +36,6 @@ public boolean couldMatch(ScriptPath path) {
return path.eventLower.startsWith("bungee server disconnects");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "BungeeServerDisconnects";
Expand Down
Expand Up @@ -55,11 +55,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return lower.startsWith("magicspells player mana change");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "ManaChangeEvent";
Expand Down
Expand Up @@ -49,11 +49,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return lower.startsWith("magicspells player completes spell");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "SpellCastedEvent";
Expand Down
Expand Up @@ -49,11 +49,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return lower.startsWith("magicspells player learns spell");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "SpellLearnEvent";
Expand Down
Expand Up @@ -47,11 +47,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("pvparena starts");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PVPArenaStarts";
Expand Down
Expand Up @@ -42,11 +42,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("pvparena player exits");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PlayerExitsPVPArena";
Expand Down
Expand Up @@ -44,11 +44,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("pvparena player joins");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PlayerJoinsPVPArena";
Expand Down
Expand Up @@ -42,11 +42,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("pvparena player leaves");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "PlayerLeavesPVPArena";
Expand Down
Expand Up @@ -47,11 +47,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("sentinel npc attacks");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "SentinelAttack";
Expand Down
Expand Up @@ -48,11 +48,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return CoreUtilities.toLowerCase(s).startsWith("shopkeeper trade");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "ShopKeeperTrade";
Expand Down
Expand Up @@ -45,11 +45,6 @@ public boolean couldMatch(ScriptContainer scriptContainer, String s) {
return s.startsWith("votifier vote");
}

@Override
public boolean matches(ScriptPath path) {
return super.matches(path);
}

@Override
public String getName() {
return "VotifierVote";
Expand Down
Expand Up @@ -29,21 +29,12 @@ public static BungeePlayerProperties getFrom(ObjectTag player) {
"send_to"
};


///////////////////
// Instance Fields and Methods
/////////////

private BungeePlayerProperties(PlayerTag plr) {
player = plr;
}

PlayerTag player;

/////////
// Property Methods
///////

@Override
public String getPropertyString() {
return null;
Expand All @@ -54,11 +45,6 @@ public String getPropertyId() {
return "BungeePlayer";
}


///////////
// ObjectTag Attributes
////////

@Override
public String getAttribute(Attribute attribute) {
return null;
Expand Down
Expand Up @@ -38,10 +38,6 @@ public static EssentialsPlayerProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"god_mode", "has_home", "is_afk", "is_muted", "is_vanished", "home_list", "home_location_list",
"ignored_players", "home_name_list", "mail_list", "mute_timout", "socialspy",
Expand Down
Expand Up @@ -38,10 +38,6 @@ public static GriefPreventionLocationProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"griefprevention"
};
Expand Down
Expand Up @@ -40,10 +40,6 @@ public static GriefPreventionPlayerProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"griefprevention"
};
Expand Down
Expand Up @@ -22,20 +22,12 @@ public static JobPlayer getFrom(ObjectTag job) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

JobsJobTag job = null;

private JobPlayer(JobsJobTag job) {
this.job = job;
}

/////////
// Property Methods
///////

@Override
public String getPropertyString() {
if (job.hasOwner()) {
Expand Down
Expand Up @@ -36,10 +36,6 @@ public static LuckPermsPlayerProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"luckperms_tracks"
};
Expand Down
Expand Up @@ -33,10 +33,6 @@ public static NoteBlockAPIPlayerProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"nbs_is_playing"
};
Expand Down
Expand Up @@ -34,10 +34,6 @@ public static PlayerPointsPlayerProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"playerpoints_points"
};
Expand Down
Expand Up @@ -33,10 +33,6 @@ public static PlotSquaredElementProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"as_plotsquared_plot"
};
Expand Down
Expand Up @@ -35,10 +35,6 @@ public static PlotSquaredLocationProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"plotsquared_plot"
};
Expand Down
Expand Up @@ -36,10 +36,6 @@ public static PlotSquaredPlayerProperties getFrom(ObjectTag object) {
}
}

///////////////////
// Instance Fields and Methods
/////////////

public static final String[] handledTags = new String[] {
"plotsquared_plots"
};
Expand Down

0 comments on commit 9f1273c

Please sign in to comment.