Right click with a sword to parry. After right clicking, any attack that hits you within the next 0.5 seconds will be negated. There is a 1 second cooldown before you can parry again.
I will probably add a config file in the future to customize the timings, but as of now, there isn't one.
Also, let me know if there are any problems with the plugin.