Comments (4)
Personally I'm against this, however I'd love to hear a further explanation why you'd like this.
from skript.
Лично я против этого, но хотел бы услышать более подробное объяснение, почему вам это нужно.
For example, for a script for registration and authorization, prohibiting all actions, rather than writing them manually and clogging up the script.
Example:
on any event:
if {not_authorized.%uuid of player%} is set:
cancel event
send "Please log in with the command /l [password]" to player
from skript.
This would break so many more things than you'd know.
A good example is:
- events that can't be cancelled, how would that be handled
- what about events that fire that are unrelated to a player?
- how exactly would you handle event-player???
There isn't an easy or plausible way to handle this in Skript.
Something like this is just "syntax sugar" and in my opinion, a little lazy... while also causing more issues that you could imagine.
I personally vote no on this
from skript.
For many of the reasons outlined here, this isn't feasible to add to Skript
from skript.
Related Issues (20)
- Legacy Code Tracker
- unexpected repair/damage behaviour HOT 4
- Add recently added attributes HOT 2
- Searching Feature
- Add experience class into accept change on ExprTotalExperience
- Add skript-reflect (or at least some features) into Skript HOT 1
- Expose required variable changes for save as a config option
- SimpleLiterals pass "constant" backing array to other syntax.
- Stop referencing the old Converter class in PropertyExpression HOT 2
- Wither HOT 2
- Allow `armour stand` as `armor stand` HOT 2
- Entities despawning when target is set HOT 1
- bStats syntax for Skript HOT 14
- Remove skript: from commands created in skript (config option) HOT 8
- New beta: not setting canceled event-block to bedrock
- Error HOT 1
- Tadpoles cannot spawn HOT 6
- Release Channel / Update Checker logic not handling betas properly HOT 1
- Streams HOT 1
- Checking for updates failed. Do you have Internet connection? HOT 1
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 skript.