JavaExecutor
This modification opens up unique opportunities for you - to execute your own Java code directly while playing Minecraft. No longer do you need to leave the server or restart it to run separate scripts and functions.
How to use
The system offers two main methods for code execution:
Direct code execution
- Command:
/executecode {Code} - Allows you to instantly execute any Java code that you enter directly as a command argument
Launch from file
- Command:
/executefile {Path to file} - Executes the code contained in the specified file. For example, if there is a TestCode.txt file in your server's folder, use the command:
/executefile ./TestCode.txt
Permission system
The following permissions are provided to manage access to the mod's functions:
- JavaExecutor.executecode - access to the
/executecodecommand - JavaExecutor.executefile - access to the
/executefilecommand