Compatibility
Minecraft: Java Edition
1.21.4–1.21.7
1.20–1.20.4
Platforms
Creators
Details
Licensed MIT
Published 2 years ago
Updated 2 days ago
Changelog
chore: Cleanup scriptmanager.lua
chore: Improve script sandboxing by making standard Lua functions read-only
lua: Add a synchronized
function
This works similar to Java's synchronized keyword and uses it under the hood. You should use this if you are gonna be doing any operations off of the main thread to avoid JVM crashes.