Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Code Dump] Mineplex Type Wars

Very simple to make so I thought I would just dump it. Win every time and don't let any enemy mobs move an inch. I sort of feel bad that the other teammates don't even have a chance of killing them.
Code
        if (!this.isEnabled()) return;

        for(Entity e : mc.theWorld.loadedEntityList)
        {
            if(e instanceof EntityPlayer) continue;
            if(e.hasCustomName())
            {
                //The names used to be color coordinated based off team, not sure if it's coming back
                String name = e.getCustomNameTag().replace("§c", "").replace("§9", "");
                if(!lastMessage.equals(name))
                {
                    if (time.hasReached(1000L / 12L)) {
                        lastMessage = name;
                        mc.thePlayer.sendChatMessage(name);
                        time.reset();
                    }
                }
            }
        }

You will need to store a lastMessage variable in your class to prevent repeating messages.
You will also need the Timer class to prevent chat spam at https://github.com/latematt/timer/blob/m...Timer.java
feed the skids man.
wow this is a spoonfeed
(Jan 24, 2016 07:18 AM)asedwjdawwq Wrote:  feed the skids man.
wow this is a spoonfeed

Its so easy a caveman can think and do this.
(Jan 24, 2016 07:18 AM)asedwjdawwq Wrote:  feed the skids man.
wow this is a spoonfeed

It's not even spoonfeeding, it's just code dumping.
(Jan 24, 2016 12:17 PM)Mitigate Wrote:  It's not even spoonfeeding, it's just code dumping.

It is spoon feeding.... It's not like you need to be a rocket scientist to code this.
Nice dump man, This is not spood feeding. Anyone can dump this, but OP wanted to share. since he is known to share dumps on here. If you don't like it fuck off.
It's a block of code people let's just leave it at that

Nice work OP
(Jan 24, 2016 02:57 PM)annoyingcalc Wrote:  It is spoon feeding.... It's not like you need to be a rocket scientist to code this.

Code dumps aren't spoon feeding.
(Jan 24, 2016 02:57 PM)annoyingcalc Wrote:  It is spoon feeding.... It's not like you need to be a rocket scientist to code this.

This dump is too easy to qualify as spoon feeding though doesn't it? Also spoon feeding is usually considered something people do when a question is asked, like you'll help someone but not spoon feed them. I'm not feeding anyone, I am simply providing the food.

(Jan 24, 2016 02:59 PM)Biker BoyZ Wrote:  Nice dump man, This is not spood feeding. Anyone can dump this, but OP wanted to share. since he is known to share dumps on here. If you don't like it fuck off.

Hey, I wouldn't want to be known as the dump man, I only dump stuff I have made that I haven't seen yet/b4.
(Jan 24, 2016 07:18 AM)asedwjdawwq Wrote:  feed the skids man.
wow this is a spoonfeed

> OP's code immediately goes viral and suddenly every client on HF has this feature
> The code is soon incorporated into almost every mod, including Optifine and ToggleSneak
> Because of OP's code's presence in various mods/clients, Mineplex's "Type Wars" server soon collapses due to all the cheaters
> After losing its Type Wars server, Mineplex is forced to close because it does not receive enough donations to continue running
> In a catastrophic chain of events, other major servers, like Hypixel and Hive, fearing an economic collapse and the presence of cheaters, close down their servers
> After losing the vast majority of its player base, Microsoft is forced to discontinue the game
> Kids everywhere are freaking out, large-scale riots across multiple cities worldwide; Notch and Jeb commit suicide
> To this day, various films, books have been made about OP's code, and how it led to the downfall of one of the world's biggest games; statues are erected of OP in the towns that were burnt down in the ensuing riots caused by his HF thread
> "xblockz" is looked back on to this day as the man who tried to prevent the chaos, but was ultimately unsuccessful
(Jan 24, 2016 04:32 PM)5yberwolf Wrote:  > OP's code immediately goes viral and suddenly every client on HF has this feature
> The code is soon incorporated into almost every mod, including Optifine and ToggleSneak
> Because of OP's code's presence in various mods/clients, Mineplex's "Type Wars" server soon collapses due to all the cheaters
> After losing its Type Wars server, Mineplex is forced to close because it does not receive enough donations to continue running
> In a catastrophic chain of events, other major servers, like Hypixel and Hive, fearing an economic collapse and the presence of cheaters, close down their servers
> After losing the vast majority of its player base, Microsoft is forced to discontinue the game
> Kids everywhere are freaking out, large-scale riots across multiple cities worldwide; Notch and Jeb commit suicide
> To this day, various films, books have been made about OP's code, and how it led to the downfall of one of the world's biggest games; statues are erected of OP in the towns that were burnt down in the ensuing riots caused by his HF thread
> "xblockz" is looked back on to this day as the man who tried to prevent the chaos, but was ultimately unsuccessful

+1 good read
Is there any client that have this mod already?
(Jan 24, 2016 04:32 PM)5yberwolf Wrote:  > OP's code immediately goes viral and suddenly every client on HF has this feature
> The code is soon incorporated into almost every mod, including Optifine and ToggleSneak
> Because of OP's code's presence in various mods/clients, Mineplex's "Type Wars" server soon collapses due to all the cheaters
> After losing its Type Wars server, Mineplex is forced to close because it does not receive enough donations to continue running
> In a catastrophic chain of events, other major servers, like Hypixel and Hive, fearing an economic collapse and the presence of cheaters, close down their servers
> After losing the vast majority of its player base, Microsoft is forced to discontinue the game
> Kids everywhere are freaking out, large-scale riots across multiple cities worldwide; Notch and Jeb commit suicide
> To this day, various films, books have been made about OP's code, and how it led to the downfall of one of the world's biggest games; statues are erected of OP in the towns that were burnt down in the ensuing riots caused by his HF thread
> "xblockz" is looked back on to this day as the man who tried to prevent the chaos, but was ultimately unsuccessful

That gave me a good laugh, but if mineplex really wanted to fix this, they could easily, I haven't played type wars but looking at the code it's literally you have to type in the name of the mobs, they would just implement invisible mobs with randomly generated strings of characters as their username (similar to how people create anti kill-aura plugins) to detect people using this, and they could even check the time between entering the names, there is fast, and impossible fast.
deleted, what i needed...........


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Plugin] by javinzplayerJan 21, 2025 04:56 AM 22 3,516 Jan 21, 2025 04:56 AM
Last Post: Novo
by EnderClanDuckDec 10, 2017 02:52 PM 6 664 Dec 10, 2017 02:52 PM
Last Post: Jacob5263
by SeptoJul 17, 2017 07:53 PM 5 241 Jul 17, 2017 07:53 PM
Last Post: Mom