Source SRC For Minecraft Download| Spammer (Intellij Ready)

CrazyTrap

Newbie
Newbie
Newbie
Newbie
Status
Offline
Joined
Jul 18, 2023
Messages
707
Reaction score
3
Step right in and explore the vast treasure trove of Minecraft resources available to enhance your gaming experience! Our collection, carefully curated from the finest Minecraft sources, offers a wide range of options for you to enjoy. Whether you're seeking new tools, enchantments, skins, or mods, we have it all for free download.

At «Spammer», we prioritize the importance of reliability and trustworthiness in gaming resources. That's why each item in our selection has undergone meticulous testing to ensure optimal performance and compatibility with the latest Minecraft updates.

As passionate gamers ourselves, we understand the desire to take your gaming escapades to new heights. Whether you're a seasoned player looking to experiment with exciting mods or a newcomer wanting to explore fresh textures and worlds, we have something to cater to every Minecraft enthusiast.

i

Spammer (Intelij Ready):​

JavaScript:
package fun.rich.client.feature.impl.misc;

import fun.rich.client.feature.*;
import fun.rich.client.ui.settings.impl.*;
import fun.rich.client.feature.impl.*;
import fun.rich.client.ui.settings.*;
import net.minecraft.entity.player.*;
import fun.rich.client.utils.*;
import net.minecraft.client.network.*;
import java.util.*;
import fun.rich.client.event.events.impl.player.*;
import org.apache.commons.lang3.*;
import java.io.*;
import fun.rich.client.event.*;

public class Spammer extends Feature {
    private final NumberSetting delay;
    private final BooleanSetting randomSymbols;
    private final ListSetting spammerMode;
    private int ticks;
    private int counter;

    public Spammer() {
        super("Spammer", FeatureCategory.Misc);
        this.spammerMode = new ListSetting("Spammer Mode", "Default", () -> true, new String[]{"Default", "HvH?", "Bulling"});
        this.delay = new NumberSetting("Spammer Delay", 100.0f, 10.0f, 500.0f, 10.0f, () -> true);
        this.randomSymbols = new BooleanSetting("Random Symbols", true, () -> this.spammerMode.currentMode.equals("Custom"));
        this.addSettings(new Setting[]{this.spammerMode, this.delay, this.randomSymbols});
    }

    private List<EntityPlayer> getPlayerByTab() {
        final ArrayList<EntityPlayer> list = new ArrayList<EntityPlayer>();
        for (final NetworkPlayerInfo info : Helper.mc.player.connection.getPlayerInfoMap()) {
            if (info == null) {
                continue;
            }
            list.add(Helper.mc.world.getPlayerEntityByName(info.getGameProfile().getName()));
        }
        return list;
    }

    @EventTarget
    public void onUpdate(final EventUpdate event) throws IOException {
        final String mode = this.spammerMode.getOptions();
        this.setSuffix(mode + ", " + (int) this.delay.getNumberValue());
        if (!mode.equalsIgnoreCase("Default")) {
            if (mode.equalsIgnoreCase("HvH?")) {
                    final String str1 = RandomStringUtils.randomAlphabetic(3);
                    final String str2 = RandomStringUtils.randomPrint(5);
                    final String str3 = "";
                    this.setSuffix("" + (int) this.delay.getNumberValue());
                    if (this.ticks++ % (int) this.delay.getNumberValue() == 0) {
                        switch (this.counter) {
                            case 0: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u0422\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0437a\u043b\u0443\u043fa \u0435\u0431a\u043d\u0430\u044f)) \u041a\u0438\u0434@\u0439 \u043c\u043de \u0434y\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".       [" + str1 + "] [" + str2 + "]");
                                ++this.counter;
                                break;
                            }
                            case 1: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u041f\u0440\u0430\u0432\u0434\u0430 \u0434\u0443\u043c\u0430\u0435\u0448\u044c \u0442\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u043b\u0443\u0447\u0448\u0435?) \u041a\u0438\u0434a\u0439 \u043c\u043d\u0435 \u0434\u0443\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".    [" + str1 + "] [" + str2 + "]");
                                ++this.counter;
                                break;
                            }
                            case 2: {
                                Helper.mc.player.sendChatMessage(str3 + "!\u0422\u044b \u043a\u0430\u043a \u0441\u0435\u0431\u044f \u0432\u0435\u0434\u0435\u0448\u044c \u0431\u043b9\u0434\u0438\u043d\u0430 e\u0431a\u043da\u044f? \u041ai\u0434\u0430\u0439 \u043c\u043d\u0435 \u0434\u0443\u044d\u043b\u044c: \"/duel " + Helper.mc.player.getName() + "\".     [" + str1 + "] [" + str2 + "]");
                                this.counter = 0;
                                break;
                            }
                        }
                    }
                }
            } else {
                try {
                    final String str1 = RandomStringUtils.randomAlphabetic(3);
                    final String str2 = RandomStringUtils.randomPrint(5);
                    this.setSuffix("" + (int) this.delay.getNumberValue());
                    if (this.ticks++ % (int) this.delay.getNumberValue() == 0) {
                        Helper.mc.player.sendChatMessage("![" + str1 + "]` твоя вк/дс группа ` [" + str2 + "]");
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        }
    }
}
 
Top