Add Map Subs title as well
This commit is contained in:
parent
6a453b296c
commit
b65c248307
@ -28,6 +28,7 @@ import mineplex.core.titles.tracks.award.CCIIPublicTrack;
|
|||||||
import mineplex.core.titles.tracks.award.CCIITrack;
|
import mineplex.core.titles.tracks.award.CCIITrack;
|
||||||
import mineplex.core.titles.tracks.award.CastleSiegeTesterTrack;
|
import mineplex.core.titles.tracks.award.CastleSiegeTesterTrack;
|
||||||
import mineplex.core.titles.tracks.award.ClansRaidTrack;
|
import mineplex.core.titles.tracks.award.ClansRaidTrack;
|
||||||
|
import mineplex.core.titles.tracks.award.MapSub2018Track;
|
||||||
import mineplex.core.titles.tracks.award.Minestrike2017Track;
|
import mineplex.core.titles.tracks.award.Minestrike2017Track;
|
||||||
import mineplex.core.titles.tracks.award.NewHub2018Track;
|
import mineplex.core.titles.tracks.award.NewHub2018Track;
|
||||||
import mineplex.core.titles.tracks.custom.DongerTrack;
|
import mineplex.core.titles.tracks.custom.DongerTrack;
|
||||||
@ -129,6 +130,7 @@ public class TrackManager extends MiniPlugin
|
|||||||
registerTrack(new CCIIPublicTrack());
|
registerTrack(new CCIIPublicTrack());
|
||||||
registerTrack(new Bridges2017WinterTrack());
|
registerTrack(new Bridges2017WinterTrack());
|
||||||
registerTrack(new NewHub2018Track());
|
registerTrack(new NewHub2018Track());
|
||||||
|
registerTrack(new MapSub2018Track());
|
||||||
|
|
||||||
// Staff tracks
|
// Staff tracks
|
||||||
registerTrack(new BuilderTrack());
|
registerTrack(new BuilderTrack());
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
package mineplex.core.titles.tracks.award;
|
||||||
|
|
||||||
|
import net.md_5.bungee.api.ChatColor;
|
||||||
|
|
||||||
|
import mineplex.core.common.util.C;
|
||||||
|
import mineplex.core.titles.tracks.ItemizedTrack;
|
||||||
|
import mineplex.core.titles.tracks.TrackFormat;
|
||||||
|
import mineplex.core.titles.tracks.TrackTier;
|
||||||
|
|
||||||
|
public class MapSub2018Track extends ItemizedTrack
|
||||||
|
{
|
||||||
|
|
||||||
|
private static final String[] LINES =
|
||||||
|
{
|
||||||
|
C.cAquaB + "Master " + C.cWhiteB + "of" + C.cBlueB + " Maps",
|
||||||
|
C.cBlueB + "Master " + C.cWhiteB + "of" + C.cAquaB + " Maps"
|
||||||
|
};
|
||||||
|
|
||||||
|
public MapSub2018Track()
|
||||||
|
{
|
||||||
|
super(
|
||||||
|
"map-sub-2018",
|
||||||
|
ChatColor.AQUA,
|
||||||
|
"Master of Maps",
|
||||||
|
"Master of Maps",
|
||||||
|
"This track is awarded to players who scored highly in the 2018 Map Submission Giveaway.",
|
||||||
|
true);
|
||||||
|
|
||||||
|
getRequirements()
|
||||||
|
.addTier(new TrackTier(
|
||||||
|
"Master of Maps",
|
||||||
|
null,
|
||||||
|
this::owns,
|
||||||
|
new TrackFormat(ChatColor.AQUA, ChatColor.WHITE)
|
||||||
|
.animated(10, LINES)
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user