Skip to content

Commit

Permalink
update regexes and descriptions (#23)
Browse files Browse the repository at this point in the history
* new stuff

* double ||

* looks better
  • Loading branch information
xthe-dev authored May 5, 2022
1 parent 76c0e25 commit f145f56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/cc/woverflow/hytils/config/HytilsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ public class HytilsConfig extends Vigilant {
public static boolean duelsBlockTrail;

@Property(
type = PropertyType.SWITCH, name = "Remove the SkyBlock Welcome Message",
description = "Hides the \"§eWelcome to §aHypixel SkyBlock§e!§r\" from chat.",
type = PropertyType.SWITCH, name = "Remove SkyBlock Welcome Messages",
description = "Removes \"§eWelcome to §aHypixel SkyBlock§e!§r\" messages from chat.",
category = "Chat", subcategory = "Toggles"
)
public static boolean skyblockWelcome;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public class LanguageData {
public String chatCleanerReplayRecorded = "This game has been recorded. Click here to watch the Replay!";
private String chatCleanerTip = "(?:You tipped \\d+ (?:player|players) in \\d+ (?:game|different games)!|You already tipped everyone that has boosters active, so there isn't anybody to be tipped right now!)";
private String chatCleanerOnlineStatus = "REMINDER: Your Online Status is currently set to (?:Appear Offline|Busy|Away)";
private String chatCleanerGameTips = "^(?:If you get disconnected use /rejoin to join back in the game\\.|You may use /mmreport <skin name> to chat report in this mode!|Teaming with the .+ is not allowed!|Teaming is not allowed.+|Cross Teaming / Teaming with other teams is not allowed!|Cross-teaming is not allowed! Report cross-teamers using /report.|Cages opened! FIGHT!|Queued! Use the bed to return to lobby!|Queued! Use the bed to cancel!|You can use /ic <message> to communicate with your fellow infected!)";
private String chatCleanerGameTips = "^(?:If you get disconnected use /rejoin to join back in the game\\.|You may use /mmreport <skin name> to chat report in this mode!|Teaming with the .+ is not allowed!|Teaming is not allowed.+|Cross Teaming / Teaming with other teams is not allowed!|Cross-teaming is not allowed! Report cross-teamers using /report.|Cages opened! FIGHT!|Queued! Use the bed to return to lobby!|Queued! Use the bed to cancel!|You can use /ic <message> to communicate with your fellow infected!|To leave .+, type /lobby)";
private String chatCleanerStats = "Click to view the stats of your .* game!";

private String connectedServerConnectMessage = "^(You are currently connected to server \\S+)|(Sending you to \\S+.{3}!)|(Sending to server \\S+.{3})|(Warping you to your SkyBlock island...)|(Warping...)|(Sending a visit request...)|(Finding player...)|(Request join for (?:Hub|Dungeon Hub) .{2,4} \\S+.{3})$";
private String connectedServerConnectMessage = "^(You are currently connected to server \\S+)|(Sending you to \\S+.{3}!)|(Sending to server \\S+.{3})|(Warping you to your SkyBlock island...)|(Warping...)|(Sending a visit request...)|(Finding player...)|(Request join for (?:Hub|Dungeon Hub) .{2,4} \\S+.{3})|(Found an in-progress .+ game! Teleporting you to \\S+.{3}...)$";

private String achievementPattern = "a>> {3}Achievement Unlocked: (?<achievement>.+) {3}<<a";
private String levelUpPattern = "You are now Hypixel Level (?<level>\\d+)!";
Expand Down

0 comments on commit f145f56

Please sign in to comment.