My Discord groups:https://discord.gg/rSaFbj89Te
CNPC Scripts Engine Plus provides a modernized scripting engine and extended scripting capabilities for Custom NPCs (CNPC).
It aims to make CNPC script development easier and more flexible by introducing support for multiple scripting languages and allowing each script tab to maintain its own independent script.
Supported Minecraft Versions and Scripting Languages
Minecraft 1.20.1 / 1.21.1:
- JavaScript (ES2024)
- Java
- Lua (LuaJ)
- Python 3.15
- Groovy
- Zergatul
Minecraft 1.12.2:
- JavaScript (ES2021)
- Java
- Lua (LuaJ)
- Python 3.15
- Groovy
Features
- Multiple scripting languages, allowing developers to use their preferred programming languages.
- Independent scripts for each script tab.
- Extended scripting capabilities beyond the original CNPC scripting system.
- Modern scripting environments for a more flexible development experience.
IMPORTANT: SECURITY WARNING
Please be extremely careful when using scripts obtained from other people, especially scripts from unknown or untrusted sources.
The original CNPC scripting system provides virtually no meaningful sandboxing or security isolation. Scripts should NOT be assumed to run in a restricted or safe environment.
This mod introduces some additional security mechanisms, but their capabilities are extremely limited. They do NOT provide a reliable security boundary, and they cannot guarantee complete isolation from the Minecraft game environment or the underlying system.
This mod does NOT provide a secure sandbox for executing untrusted code.
Java, Python, and other supported scripting environments should be treated as potentially unrestricted code execution environments.
Only run scripts that you have written yourself or obtained from sources you fully trust.

