Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated /mwe howplaygame #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/fr/alexdoru/mwe/MWE.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class MWE {

public static final String modid = "mwenhancements";
public static final String modName = "MWE";
public static final String version = "4.0";
public static final String version = "4.1";
public static final Logger logger = LogManager.getLogger(modName);
public static File jarFile;

Expand Down Expand Up @@ -81,4 +81,4 @@ public void init(FMLInitializationEvent event) {

}

}
}
12 changes: 6 additions & 6 deletions src/main/java/fr/alexdoru/mwe/commands/CommandMWE.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ public void processCommand(ICommandSender sender, String[] args) {
} else {
HypixelApiKeyUtil.setApiKey(args[1]);
}
} else if (args.length >= 1 && args[0].equalsIgnoreCase("howplaygame")) {
} else if (args.length >= 1 && (args[0].equalsIgnoreCase("howplaygame") || args[0].equalsIgnoreCase("hpg") || args[0].equalsIgnoreCase("explain"))) {
if (ScoreboardTracker.isMWEnvironement()) {
final String msg1 = "During the first 6 minutes you have to mine iron, make armor and store everything in your enderchest";
final String msg2 = "Once the walls fall down you can go to mid and fight other players, each class has unique abilities";
final String msg3 = "Every team has a wither, you have to protect yours and kill the withers from the other teams";
final String msg4 = "Once a wither is dead the players from that team can't respawn, be the last team standing to win";
final String msg5 = "More informations about the game: https://hypixel.net/threads/the-complete-mega-walls-guide.3489088/";
final String msg1 = "Before the walls fall, mine iron to make armor and store it + food in your enderchest.";
final String msg2 = "When the walls fall, rush mid to fight for the initial diamonds. Each team has a wither.";
final String msg3 = "Protect yours and kill enemy withers to stop player respawns. Win by being the last team alive or by";
final String msg4 = "causing the most player damage during Deathmatch (the last phase). Upgrade your kit in the lobby.";
final String msg5 = "Outdated but more detailed guide: https://hypixel.net/threads/the-complete-mega-walls-guide.3489088/";
sendChatMessage(msg1);
new DelayedTask(() -> sendChatMessage(msg2), 80);
new DelayedTask(() -> sendChatMessage(msg3), 155);
Expand Down