Mineuniverse
Log in Register
Mods

Cotton Scripting API

JSR-223 compliant scripting in Minecraft 1.14
by LemmaEOF
Claim this project
1,191 downloads
0 likes
Updated Jun 30, 2026
0 hypes

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.

No files available for download.

More from LemmaEOF

Kiln (Fabric)
95,837
Artis
9,355
Aquarius [FABRIC/FORGE]
68,928
Pisces
652
SkillCheck
6,416
Cotton Scripting: Python 2.7
623

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579