Edit:
I recommend using DNC's updated files it contains more actionType ID codes than mine meaning most or all the stun skills would work while my code is outdated.
I got some PM's regarding the original topic being blocked and not being able to view it, this also happens to me so i decided to create a new thread and this time release the code as a download instead of the code.
If you download the file note that you do have to compile it, and the compile tutorial is in the guide section of BDO.
Directions: Download the file replace or backup the original ActionRestrictionController.java at "gameserver/model/creature/player/controllers/", compile the files and you should be good to go.
Download:
You must be registered to see links
i did request a moderator for the old thread to be edited or re-created and not getting a response i decided to re-create the thread.