use of gg.projecteden.nexus.features.minigames.mechanics.Mastermind in project Nexus by ProjectEdenGG.
the class MinigamesCommand method mastermindShowAnswer.
@Path("mastermind showAnswer")
@Permission(Group.ADMIN)
void mastermindShowAnswer() {
if (!minigamer.isPlaying(Mastermind.class))
error("You must be playing Mastermind to use this command");
MastermindMatchData matchData = minigamer.getMatch().getMatchData();
send(matchData.getAnswer().toString());
}
use of gg.projecteden.nexus.features.minigames.mechanics.Mastermind in project Nexus by ProjectEdenGG.
the class MinigamesCommand method mastermindPlayAgain.
@HideFromHelp
@TabCompleteIgnore
@Path("mastermind playAgain")
void mastermindPlayAgain() {
if (!minigamer.isPlaying(Mastermind.class))
error("You must be playing Mastermind to use this command");
MastermindMatchData matchData = minigamer.getMatch().getMatchData();
matchData.reset(minigamer);
}
Aggregations