Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Update KillMessage.java with cool messages (#724)
Browse files Browse the repository at this point in the history
Co-authored-by: xia__mc <108219418+xia-mc@users.noreply.github.com>
  • Loading branch information
bipasisnotavailable and xia-mc authored Aug 12, 2024
1 parent b5b13e9 commit 231cae0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Raven B4, but not only for Hypixel.

![2024-07-10_14 13 51](https://github.com/xia-mc/Raven-XD/assets/108219418/15470b4f-b29d-49a5-8396-1c1d4bd315a1)

### ***More functionality while staying in sync with upstream branches.***

<a href="https://discord.gg/zSgDKArSH4"><img src="https://invidget.switchblade.xyz/zSgDKArSH4" alt="https://discord.gg/zSgDKArSH4"/></a><br>
</div>

Expand Down
43 changes: 42 additions & 1 deletion src/main/java/keystrokesmod/module/impl/other/KillMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import org.jetbrains.annotations.NotNull;

import java.util.Locale;
import java.util.Random;

public class KillMessage extends Module {
public static String killMessage = "This is a custom killMessage";

Expand All @@ -21,7 +24,7 @@ public class KillMessage extends Module {

public KillMessage() {
super("KillMessage", category.other);
this.registerSetting(mode = new ModeSetting("Mode", new String[]{"yby02", "Custom"}, 0));
this.registerSetting(mode = new ModeSetting("Mode", new String[]{"yby02", "Custom", "Heist"}, 0));
}

@SubscribeEvent
Expand Down Expand Up @@ -56,6 +59,44 @@ private String getKillMessage() {
return "你们好,我叫Esound。你已经被02开发的Neverlose击杀";
case 1:
return killMessage;
case 2:
String[] messages = {
"Mit Icarus wäre das nicht passiert",
"POV: Icarus",
"Nova is 'THE BEST CLIENT 2024', trust, no auto ban",
"Vesper ist kein Exitscam, vertrau",
"Spielst du Fortnite?",
"Welcome to Meist... Meist Hacks?... Was ist den Meist Hacks?",
"POV Icarus... Und jetzt einmal kurz... POV Augustus...",
"Ah... Doof gelaufen für Augustus... Vielleicht nächstes Mal...",
"IQ Zellen",
"Bro paid for a cheat to lose against me",
"It's only cheating when you get caught!",
"I'm on Immaculate rn, btw",
"I'm on AstroWare rn, btw",
"I'm on Wurst rn, btw",
"Klientus ist keine Rat",
"10/10 im HAZE Rating",
"RAT im Clientlauncher / Ich wurde geRATTED!",
"ESound Calling",
"Adapt ist gut",
"Dümmer als Toastbrot",
"Jetzt erstmal 10 Minuten Rage Stream",
"'Nius ist eine neutrale Quelle'~Verschmxtztxcole(geht so leicht in die rechte Richtung)",
"'Alice Weidel ist nicht rechts'~Verschmxtztxcole(geht so leicht in die rechte Richtung)",
"foiled again",
"I love Nekomame",
"slurp",
"Polar is always watching",
"e.setYaw(RotationUtils.serverYaw)",
"Aus Protest Vernunft wählen ~ FDP",
"Unser Client zuerst ~ FDP",
"Piwo",
"Bottom Text"
};
Random random = new Random();
int randomIndex = random.nextInt(messages.length);
return messages[randomIndex];
}
return "";
}
Expand Down

0 comments on commit 231cae0

Please # to comment.