Comments (4)
Thought of a way to do that (which would be also applicable to #40).
from bentobox.
The condition is interesting. Make sure that if you are going to teach admins a new language, like this condition scripting, that you have room for expansion and that you use it consistently across all similar situations. i.e., this cannot be only for Magic Cobble, but elsewhere another condition system is used. Also, that will help in the programming - just have one parser.
So, one place it could be used is in Challenges for example. Also, consider how to do more complex conditions. Like (level>500 AND level<1000) OR money > 3000;
Maybe the Java ScriptEngine could be used to evaluate the string?
from bentobox.
Sure, this system would be used notably for Magic Cobble Generator, for #40, and maybe for challenges (though i'm not completely sure for this one).
We would also be able to make the more complex conditions you suggested ^^
ScriptEngine looks good. However, i'll have to do some experiments with it ^^
from bentobox.
This issue was moved to BentoBoxWorld/MagicCobblestoneGenerator#3
from bentobox.
Related Issues (20)
- bluprint can't work after updated bentobox version HOT 4
- Placeholder: Island Name HOT 1
- Bentobox Island Reset + Slimefun HOT 7
- Could not load pladdon! HOT 13
- Add BlueMap and SquareMap Hooks
- Server crashes on /[player_command] reset HOT 6
- GUI custumisation
- Admin commands for Multiple islands causing several issues HOT 2
- Bentobox massive lag spike during island removal due to IA custom blocks that do not exist HOT 16
- Ranks reset to default every server restart (MySQL). HOT 4
- Placeholder: Online members of Island
- There are too many islands in this world: there is not enough space to create yours. HOT 4
- Resets all island on /ob reset HOT 1
- Blueprint schematics paste and sand falling HOT 23
- Aidmin SetOwner bug HOT 1
- NPE /island team world.bentobox.bentobox.database.objects.Island.getCenter() HOT 1
- Island team kick requires confirmation when using GUI
- Crafting protection protects guests from using their inventory
- MythicMobs Functionality for Player Islands HOT 2
- Nether Portal flag not working HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bentobox.