This is not a bribe

This commit is contained in:
samczsun 2016-12-15 17:54:49 -05:00 committed by cnr
parent de3eef462a
commit 54f59c6a4d
2 changed files with 29 additions and 0 deletions

View File

@ -23,6 +23,7 @@ public class TrackManager extends MiniPlugin
registerTrack(new EarlyBirdTrack()); registerTrack(new EarlyBirdTrack());
registerTrack(new SnekTrack()); registerTrack(new SnekTrack());
registerTrack(new DongerTrack()); registerTrack(new DongerTrack());
registerTrack(new WizardTrack());
registerTrack(new PowerPlayTrack()); registerTrack(new PowerPlayTrack());
registerTrack(new MineplexMasteryTrack()); registerTrack(new MineplexMasteryTrack());

View File

@ -0,0 +1,28 @@
package mineplex.core.titles.tracks;
import java.util.Set;
import net.md_5.bungee.api.ChatColor;
import com.google.common.collect.Sets;
// hmu t3
public class WizardTrack extends Track
{
private static final Set<String> OWNERS = Sets.newHashSet(
"2016b565-0a63-4a2d-800b-b786ac256288"
);
protected WizardTrack()
{
super("wizard", ChatColor.DARK_PURPLE, "Wizard", "Wizard", "(ノ◕ヮ◕)ノ*:・゚✧", true);
special();
getRequirements()
.addTier(new TrackTier(
"(ノ◕ヮ◕)ノ*:・゚✧",
null,
player -> OWNERS.contains(player.getUniqueId().toString().toLowerCase()),
new TrackFormat(ChatColor.DARK_PURPLE, ChatColor.DARK_PURPLE)
));
}
}