diff --git a/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/TrackManager.java b/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/TrackManager.java index 12c8ff294..ea795bb7f 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/TrackManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/TrackManager.java @@ -28,6 +28,7 @@ import mineplex.core.titles.tracks.award.CCIIPublicTrack; import mineplex.core.titles.tracks.award.CCIITrack; import mineplex.core.titles.tracks.award.CastleSiegeTesterTrack; 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.NewHub2018Track; import mineplex.core.titles.tracks.custom.DongerTrack; @@ -129,6 +130,7 @@ public class TrackManager extends MiniPlugin registerTrack(new CCIIPublicTrack()); registerTrack(new Bridges2017WinterTrack()); registerTrack(new NewHub2018Track()); + registerTrack(new MapSub2018Track()); // Staff tracks registerTrack(new BuilderTrack()); diff --git a/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/award/MapSub2018Track.java b/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/award/MapSub2018Track.java new file mode 100644 index 000000000..36f7f5ad6 --- /dev/null +++ b/Plugins/Mineplex.Core/src/mineplex/core/titles/tracks/award/MapSub2018Track.java @@ -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) + )); + } +}