Posted May 25, 2024 by WinterDream Games Creator
Today I worked on some bugfix / new features for this plugin after a report from alistor1213 who discovered that negative numbers wouldn't work.
Instead of doing a bugfix on that single problem I decided to step the game up and recreated the whole rules validator process, going from a string analyser method to a RegEx method.
Oddly enough I also found that the check on the "armors" data wasn't working in the old version, I guess it's not a fan favourite as I never got a complaint about it!
So here is the bugfix for both the problems, a newer version of the validator plus a missing feature of 2.0 (now you can use item quantities as second operator)
I also decided to add HOW you want to handle errors in the plugin (for now it applies only to single rules), you want to ignore the error and get a semi-silent warn? You want to fail the rule check to be sure no erroneous True comes out? Or you want an hard error that stops the game and slaps you in the face? Your choice!
VERSION 2.1: