PreventActionCrimes (1.0)
Description
Had you ever the Problem pressing a Skill, which is flagged as “Criminal Act” and got chased by the Guards?
(“Criminal Act” = A Skill, which activated around NPCs will give you a Bounty. For Example the “Werewolf Transformation” )
This Plugin prevents pressing any “Criminal Act” Skill, while in Open World. If you are in a PVP Zone or PVE Content like (Trail, Delve, Dungeons, Public Dungeons, .. ) the skill can be pressed again.
This Plugin DOES NOT PREVENT ALL CRIMINAL ACTS, like stealing, using Blade of Woe. Its is only meant to prevent SKILLS to be pressed, which would cause a bounty.
Also, when entering Combat, this Rule gets deactivate that it will not hinder you in any way.
THIS PLUGIN WORKS CURRENTLY ONLY IN GERMAN OR ENGLISH
LIST of SKILLS which get Blocked (Also all Morphs Included)
— Necromancer
– Spirit Guardian
– Sacrificial Bones
– Frozen Colossus
– Skeletal Mage
– Bone Goliath Transformation
— Werewolf Transformation (Only Ulti)
— Vampire
– Blood Scion
– Blood Frenzy
– Vampiric Drain
– Mist Form
You will get Informed on the Screen, that the Feature disabled a Skill “Criminal Skill prevented”.
Also, when changing to a criminal Skill, bevore the Player got initialized, you have to reload again or use the command /pcarefreshbar (Maybe Changes in the future, that it will trigger automatically)
Slash Commands
– pcadeactivate = Deactivates the Plugin
– pcaactivate = Enables the Plugin
– pcarefreshbar = Refreshes the Bar, when something did not load right
Dependencies
## LibZone >=8.98
## LibSkillBlocker >= 1.10
How It Works
The bad News is there is no LIB who has all abilities listed and ready for use, also the public API from ESO is not having a Methode like “IsSkillCriminalAct”, which means, this Plugin runs on a Hard coded List of the Names of the Abilites, which are flagged Criminal Act. The List is above in the description.
Ability IDs are not used, because from my research, they can change, when they get nerved or buffed and get a total different ID, which makes it impossible to keep up with the changes, therefore I decided to use Names.
The problem is, that not all languages are supported in my Hard coded List, because methods which retrieve the name of the ability only get the Client Language name.
For Example using the German Language, you will get not the English names and therefore the German Abilities Names have to be inserted into my hard coded list.
I did not all the work, because its not easy to retrieve all morphs Names in a different Language, you dont understand and did not want to put the work into it. But every developer is welcome to use my code to add his language to the support.
Developing Extra Languages
This is a guide for a developer, which is allowed to use my code to add his language to the plugin. I am not sure, if performance will decrease significantly if using to many Ability namens, but this has to tested.
If you want to add a other language, PLS use following structure to keep the plugin clean.
Use the file “PreventCrimeActions.lua” , Line 30, PCA.blockedAbilites {}
Use this attribute to add more Abilities. The strucure is as follows
–Class
–Language Name (Short Form)
= {blocked = true, werewolf =true/false} ,
(Keep in mind, if the last Row of Abilite Name, do NOT place a “,” !!!!)
Additional Information. I discovered, that ESO in the German Languages Adds ^P/S at the end of the name, which stands for Plural or Singular, but this can change per Language. I created therefore the Methode CleanAbilityName(name) .

