Home›Java›Mods›ExMachina
ExMachina
ModsJava

ExMachina

Java mod listed for Minecraft 1.15. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
ExMachina
Scripting made easy! ​

About

ExMachina is a scripting plugin.

It allows you to create powerful JavaScripts and run them from command line, command block or server console. ​


Usage

Please find the complete user guide here:
https://github.com/wytrem/exmachina/wiki/User-guide ​


Example
​
Code (Text):
scripts/
├── commands
│   ├── runplayer.js
│   └── runscript.js
├── globals
│   ├── exmachina.js
│   └── some_global_script.js
├── example
│   ├── greetings.js
│   ├── some_other_script.js
│   └── some_script.js
└── utils
    └── bukkit.js


Code (Java):

// some_script.js
print ( "Hi there from some_script! " ) ;
print ( "I can call this global fuction:" ) ;
helloGlobal ( ) ;
if ( args != undefined ) {
  print ( "Received arguments: " + java. util . Arrays . toString ( args ) ) ;
}
 
Run `exmachina runscript example/some_script` to execute the script located in `scripts/example/some_script.js` .

Code (Java):
// greetings.js
player. sendMessage ( "Greetings from JavaScript, " + player. getName ( ) + "!" ) ;
 
Run `exmachina runplayer example/greetings` to execute the script located in `scripts/example/greetings.js` with a player as argument .


Permissions
​

Java API

https://github.com/wytrem/exmachina/wiki/For-plugin-developers


Suggestions & issues

Contact me via DM, discord and/or open an issue on github .
​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ExMachina is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 85 times (via Spigot). Download it and open it directly in the game.

Explore more