Mineuniverse
Mods
Cotton Scripting API

Cotton Scripting API

MOD
JSR-223 compliant scripting in Minecraft 1.14
by LemmaEOF
Download Claim this project
1,230 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library Server Utility
Advertisement Remove ads with Premium →

This project requires Fabric.

 

Cotton Scripting allows you to run scripting languages from data packs. This means you can use JavaScript, Python, Lua, Ruby, and more to program server-side experiences similar to vanilla functions. 

 

Disclaimer: Currently, the environment for scripting is "bring your own interpreter". Cotton Scripting does not add any interpreters on its own, but JavaScript support is natively included in Java, and support for other languages can be added through add-on mods. Multiple interpreter add-ons are planned for release soon.

 

To add a script, put it in a datapack in the "data/<namespace>/scripts" folder. Run a /reload on the server side and it will be ready to call. Use the /script command as an op or from a command block to run a script.

 

 

For more detailed information, please view the wiki.

1.2.0+1.14
MC 1.14.1, 1.14
Release 2019-05-12 Get
1.1.0+1.14
MC 1.14
Release 2019-05-11 Get
v1.0.0+1.14
MC 1.14
Release 2019-05-09 Get

More from LemmaEOF

Advertisement Remove ads with Premium →

You Might Also Like