1. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

New rule added that says macro's and fastplace is bannable.

Discussion in 'MC-WarZ' started by soSTARLY, Apr 5, 2014.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. soSTARLY

    soSTARLY Well-Known Member

    Joined:
    Aug 10, 2013
    Messages:
    411
    Ratings:
    +73
    yeah, can you let chickenputty or some supermod or owner know? i don't think they would come to a normal player's call unfortunately
     
  2. MrCowlick

    MrCowlick Well-Known Member

    Joined:
    Aug 13, 2013
    Messages:
    3,490
    Ratings:
    +1,299
    I am sure that putty or Peas will look at this.
     
  3. AcpSoldier

    AcpSoldier Well-Known Member

    Joined:
    Dec 15, 2013
    Messages:
    263
    Ratings:
    +99
    Apparently not. I'll see if I can bring this to their attention later today on team speak.
     
  4. Cappuccino

    Cappuccino Well-Known Member

    Joined:
    Aug 13, 2013
    Messages:
    1,058
    Ratings:
    +340
    Don't stress, lol. I'm surprised you haven't been banned yet. <3
     
    • Like Like x 3
  5. JDBL

    JDBL Active Member

    Joined:
    Mar 11, 2014
    Messages:
    186
    Ratings:
    +26
    Uh, you should put a space at : pl.sendMessage(ChatColor.RED + player.getName() + "is using fastplace");
    Otherwise its gonna look like this: [Player]is using fastplace. Also, the speed you put could still possibly be met by fast clickers.
     
    • Agree Agree x 1
  6. soSTARLY

    soSTARLY Well-Known Member

    Joined:
    Aug 10, 2013
    Messages:
    411
    Ratings:
    +73
    No it cant... and yes I noticed that while testing, I will make sure to let putty know if he ever decides to even look at this...
     
  7. AcpSoldier

    AcpSoldier Well-Known Member

    Joined:
    Dec 15, 2013
    Messages:
    263
    Ratings:
    +99
    @soSTARLY Are you going to make a warning system to add to this? So in case the fast placers keep hacking, they get kicked and eventually banned.
     
  8. JDBL

    JDBL Active Member

    Joined:
    Mar 11, 2014
    Messages:
    186
    Ratings:
    +26
    Thats a good idea, I like that.
     
  9. iMacro

    iMacro An Essential Meme Maker (^:

    Joined:
    Oct 8, 2013
    Messages:
    2,395
    Ratings:
    +705
    SiveZERO would be devastated that he can't use his macros anymore.
     
    • Like Like x 1
    • Funny Funny x 1
  10. Piky

    Piky Well-Known Member

    Joined:
    Oct 17, 2013
    Messages:
    3,646
    Ratings:
    +1,539
    Please do not mention any names here, we don't want a flame war starting over this...
     
    • Like Like x 1
  11. iMacro

    iMacro An Essential Meme Maker (^:

    Joined:
    Oct 8, 2013
    Messages:
    2,395
    Ratings:
    +705
    I didn't want to start a flame war just by mentioning a name?
     
  12. Piky

    Piky Well-Known Member

    Joined:
    Oct 17, 2013
    Messages:
    3,646
    Ratings:
    +1,539
    People tell like "oh this guy doesn't hack or this guy hacks" and so on, it just causes everyone to get in one big argument.
     
  13. iMacro

    iMacro An Essential Meme Maker (^:

    Joined:
    Oct 8, 2013
    Messages:
    2,395
    Ratings:
    +705
    Chickenputty should read this plugin and say if this is a good idea :grinning:
     
  14. Phanta

    Phanta Well-Known Member

    Joined:
    Jan 1, 2014
    Messages:
    2,555
    Ratings:
    +997
    Actually, it adds them to an ArrayList object that can't be accessed directly.
    And anyways, with each iteration of the event handlers, the ArrayLists are cleared.

    It also doesn't announce hackers to the whole chat, but to people with the permission anticheat.alert.

    Mmhm, so we have another Java programmer eh?
    Nice to meet you, sir.
     
    • Funny Funny x 1
    • Informative Informative x 1
  15. freakiziod123

    freakiziod123 Well-Known Member

    Joined:
    Aug 3, 2013
    Messages:
    1,985
    Ratings:
    +354
    Stamp of fire approval.
     
  16. soSTARLY

    soSTARLY Well-Known Member

    Joined:
    Aug 10, 2013
    Messages:
    411
    Ratings:
    +73
    Very well. I do agree that this code is a bit crude in design, and I didn't spend anymore than 10 minutes on it. But just in the event that @chickenputty or @GreenPeas_ or someone acutally plans on useing it, I will see to it that this thing will be fully operational, and add certain elements suggested on this post.
    *and try to get this out by today, but im not sure if i can get on the pc until tommarow.
    Things I want to add are:
    -Fastplace messages for the public
    -Fastlace logs that admins/owners can check via doing /fp list
     
    #36 soSTARLY, Apr 7, 2014
    Last edited: Apr 7, 2014
  17. AcpSoldier

    AcpSoldier Well-Known Member

    Joined:
    Dec 15, 2013
    Messages:
    263
    Ratings:
    +99
    Awwwww. No warning system? I'll do it if you don't want to. ;-)
     
  18. Phanta

    Phanta Well-Known Member

    Joined:
    Jan 1, 2014
    Messages:
    2,555
    Ratings:
    +997
    Modified it for you. Sorry if it's a bit hasty.
    Code:
    ArrayList<Player> placerRight = new ArrayList<Player>();
    ArrayList<Player> placerLeft = new ArrayList<Player>();
    ArrayList<Player> offenders = new ArrayList<Player>();
    
    
    @EventHandler
    public void blockPlaceLeft(PlayerInteractEvent e){
    final Player player = e.getPlayer();
    if(e.getAction() == Action.LEFT_CLICK_AIR || e.getAction() == Action.LEFT_CLICK_BLOCK)
    if(!placerLeft.contains(player)){
    placerLeft.add(player);
    
    p.getServer().getScheduler().scheduleSyncDelayedTask(p, new Runnable() {
    public void run() {
    placerLeft.remove(player);
    }
    },(long) 0.50);
    
    
    }else{
    e.setCancelled(true);
    broadcastMessage(ChatColor.RED + player.getName() + "is using fastplace");
    offenders.add(player);
    }
    }
    }
    }
    @EventHandler
    public void blockPlace(PlayerInteractEvent e){
    final Player player = e.getPlayer();
    if(e.getAction() == Action.RIGHT_CLICK_AIR || e.getAction() == Action.RIGHT_CLICK_BLOCK)
    if(!placerRight.contains(player)){
    placerRight.add(player);
    
    p.getServer().getScheduler().scheduleSyncDelayedTask(p, new Runnable() {
    public void run() {
    placerRight.remove(player);
    }
    },(long) 0.50);
    
    
    }else{
    e.setCancelled(true);
    broadcastMessage(ChatColor.RED + player.getName() + "is using fastplace");
    offenders.add(player);
    }
    }
    }
    }
    
    @Override
    public boolean onCommand(CommandSender arg1, Command arg2, String arg3, String[] args)
    {
    if (arg2.getName() == "fp")
    {
    if (args.length < 1 || args.length > 1)
    {
    return false;
    }
    else if (args.length == 1)
    {
    if (args[0] == "list" && arg1.hasPermission("anticheat.list"))
    {
    String[offenders.size()] msg;
    Player[] off = offenders.toArray();
    for (int i = 0, i < offenders.size(), i++)
    {
    msg[i] = off[i].getName();
    }
    arg1.sendMessage(msg);
    return true;
    }
    else
    {
    return false;
    }
    }
    }
    }
    
     
    #38 Phanta, Apr 7, 2014
    Last edited: Apr 7, 2014
  19. chikenanater011

    chikenanater011 Well-Known Member

    Joined:
    Aug 7, 2013
    Messages:
    2,262
    Ratings:
    +433
    I do not understand this at all ;_;
    my brain is burning.
     
  20. iMacro

    iMacro An Essential Meme Maker (^:

    Joined:
    Oct 8, 2013
    Messages:
    2,395
    Ratings:
    +705
    It's quite easy really. He just modified the plugin to inform to an admin and it will mention the name of the fastplacer or macroer in the chat so you can screenshot ^.^
     
Loading...
Similar Threads Forum Date
General Rule Updates News & Announcements Jun 5, 2020
Please change the rule. Discussion Apr 29, 2020
Addressing the Continuous Rule Violation (CRV) ban... Discussion Apr 27, 2020
Idea Please update the rules list Capture the Flag Apr 11, 2020
Rules for Responding to Staff Applications Staff Applications Feb 10, 2020
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...