starscript
starscript copied to clipboard
Fast text formatting language for Java.
This commit adds `format` and `formatDateTime` to Starscript. Yes, I know one of the selling points of Starscript is to be faster than `String.format`, but sometimes you do need more...
- These two functions have been added for two reasons: - A) Just some basic cleanup to consolidate some repeat logic - B) By having the ability to raw remove...
Ok, so Starscript can easily contain malicious scripts that are counter to the user's interest: /whisper exploiter My Coords are {player.pos.x + "," + player.pos.z} Such a script may appear...
[starscript](https://github.com/MeteorDevelopment/starscript/tree/master)/[src](https://github.com/MeteorDevelopment/starscript/tree/master/src)/[main](https://github.com/MeteorDevelopment/starscript/tree/master/src/main)/[java](https://github.com/MeteorDevelopment/starscript/tree/master/src/main/java)/[org](https://github.com/MeteorDevelopment/starscript/tree/master/src/main/java/org)/[meteordev](https://github.com/MeteorDevelopment/starscript/tree/master/src/main/java/org/meteordev)/[starscript](https://github.com/MeteorDevelopment/starscript/tree/master/src/main/java/org/meteordev/starscript) /Script.java lines 44-60 ``` public void writeConstant(Value constant) { int constantI = -1; for (int i = 0; i < constants.size(); i++) { if (constants.get(i).equals(constant)) { constantI = i;...
I tried to use a program that uses this syntax, and I can't find, for example, information on how to specify parameter names in funtions. Is it: `function(arg_name="value")`, `function(arg_name:"value")`, or...
Currently float numbers (after conversion to string) are displayed using exponent notation if they are greater than 10^7, which is still within the limits of a normal Minecraft world, making...
Just a website where you can type Starscript and it would show up the result somewhere, maybe just make like, a Minecraft screenshot but a bit blurred, and then you...
I want to have distance to 0 0 in my hud