-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom filtering rules to be configured #5
Comments
Maybe just require BMAreaControl to use the area config from it? Oh, and also add an option to use BMAreaControl area settings into config. |
I am leaning towards integrating LuaJ for this, to allow users to script exactly which signs they want to keep and which ones they want to remove. |
Regarding your suggestion of using BlueMap Area Control areas, I don't think I would be doing exactly that, due to wanting to keep my add-ons as independent of each other as possible. I may have to make this add-on |
In Overviewer there was an option to filter signs via a python function added to the config or so.
|
Yeah I also just checked the Overviewer docs, to see what they used, and indeed, they use Python. |
I've been experimenting with Jython a bit, and from my first tests, it seems pretty cool, but it does inflate the size of the plugin to like 50 megabytes, from the half a megabyte that it currently is... |
And it also doesn't seem to want to properly compile. It runs fine in IntelliJ, but when I package up the plugin as a .jar, and try to run it, it doesn't work; it can't find the Jython Script Engine. |
I've found an alternative Python runtime for Java: https://github.com/oracle/graalpython However, this comes at the cost of a ridiculous jar size of 124.4 megabytes... 😱 |
I am considering using Groovy instead of Python. All these giant jar sizes are making me depressed. Groovy should be a LOT more reasonable. |
I've never heard of Groovy before (okay, maybe 1 time or 2, sounds familiar). |
But as a "half-programmer", I really like the way you try to make the implementation as good as possible |
I'd like all the things I make to be as simple as possible for people to use, while still allowing advanced users the power they need, as well :) I've been playing around with Jython again this evening, without much success, sadly. |
Oh my goodness, I have finally got it to work!!! With a million thanks to Blue for sending how he does it! We are back in business! 😎 |
Perhaps through some sort of scripting?
That seems awfully complicated, though...
Perhaps just a black/white-list, like BMAreaControl has is already enough..?
Please feel free to comment on this issue with your own thoughts on this!
The text was updated successfully, but these errors were encountered: