My server is still on 1.8.8 and I can't change to 1.9 cause then I would have to be looking for like 40 new plugins (Believe me I tried before, didn't work). So I don't have the 1.9 combat and regen when you eat food, is there any way I can still implement this? Or can someone make a plugin for this? No perms or commands would be needed.

@maks244 I can probably do the health regen easily, for the 1.9 combat, do you know the time required between clicks? that would help me a lot.

Yes, the default is 20 ticks, it depends on the weapon though. The formula to calculate the time in ticks is t=1/AttackSpeed*20. And all of the attack speeds are listed here. TL;DR: Swords = 1.6, so t=12.5 (0.625s) Tridents = 1.1, so t=~18.18 (~0.9s) Shovels = 1, so t=20 (1s) Pickaxes = 1.2, so t=~16.66 (~0.83s) Other = 4, so t=5 (0.25s) With axes it's a bit different: Wooden and stone axe = 0.8, so t=25 (1.25s) Iron axe = 0.9, so t=~22.22 (~1.11s) Golden and diamond axe = 1, so t=20 (1s) With hoes too for some reason: Wooden and golden hoe = 1, so t=20 (1s) Stone hoe = 2, so t=10 (0.5s) Iron hoe = 3, so t=~6.66 (~0.33s) Diamond hoe = 4, so t=5 (0.25s) Then the damage multiplier is 0.2 + ((T + 0.5) / t) ^ 2 * 0.8, restricted to the range 0.2 – 1, where T is the number of ticks since the last attack or item switch. There's also a chart of how much damage you do when you attack too quickly if you don't want to use this formula on the site linked above.

Here's the link: https://www.curseforge.com/minecraft/bukkit-plugins/minecraft-1-9-combat-for-1-8 Don't know when moderator will approve, so it may take a while to be able to download.