Old pvp?

Discussion in 'Plugin Development' started by TryKimko, Nov 27, 2016.

Thread Status:
Not open for further replies.
  1. Hey Guys, it's me again :)
    I've tryed to refract to old Minecraft pvp in the 1.10.2 on Spigot and i would say i'm fine with it but is ther any way to disable the New PVP System and the Animation?

    I only got this in a PlayerJoinEvent:
    Code:
    p.getAttribute(Attribute.GENERIC_ATTACK_SPEED).setBaseValue(16);
     
  2. Offline

    ArsenArsen

    @bwfcwalshy thanks for making Tapatalk go BEEP


    @TryKimko Hi, that code should work, you're on the right track!

    I would recommend setting it to 1024, which is the max value of it, and on leave setting it back to 4, which is the default value of it. Doing that worked for me.

    Reference: http://minecraft.gamepedia.com/Attribute#Attributes_for_players

    Also, there is no way to make it act exactly as before, because of the huge game changes, but this will minimise the effects of click cooldowns.
     
Thread Status:
Not open for further replies.

Share This Page