CodeDSL 2.3.1 (Archived)

CodeDSL - Latest Release

Latest Experimental
Download
Download Addon

Automatically installs selected version, edition.

Download .jar
View Repository

View the repository of this addon on github.

View Repo
System Requirements
  • Java: OpenJDK or JDK not JRE, 21~25.
  • Version: 1.21.x ~ 26.2 or newer
  • Coder Plugin: v1.4.2 or newer
  • Server: Paper/Bukkit compatible
JRE Problem: You can run the plugin in a JRE environment but it cannot compile scripts into java bytecode.
What's New
Core Features
  • Easy-to-Learn Syntax: Write scripts without any Java knowledge using the custom .cd DSL
  • Secure Variables: Store secrets and API keys with obfuscated variable storage (.obf)
  • Async Support: Run tasks on separate threads using import async
  • File Operations: Read, write, and delete files directly from scripts
  • Bukkit Integration: Full access to the Bukkit API via import bukkit
  • Inter-Script Communication: Scripts can connect and talk to each other using import Connection
  • Task Scheduling: Delayed and repeating tasks with delay, wait, and every keywords
  • Custom Command Definitions: Define Minecraft commands with permissions directly in your scripts
Improvements
  • YAML-backed configuration for reliable plugin settings
  • Variable persistence with configurable auto-save interval
  • Support for both .cd and legacy .code file extensions
  • Alias commands: /cdsl and /code-dsl supported alongside /codedsl
Quick Start
Installation

Place the .jar in your plugins/ folder. The server will automatically create:

plugins/Coder/CodeDSL/
├── scripts/          (Your .cd scripts)
├── examples/         (Example scripts)
├── variables/
│   ├── variables.storage      (Plain text variables)
│   └── variables.obf          (Obfuscated variables)
└── config.yml
Create & Run a Script

Create plugins/Coder/CodeDSL/scripts/hello.cd:

broadcast "Hello, World!"
send "Welcome!" to player_name
console.log "Script executed!"

Then run it in-game:

/codedsl run hello.cd
Plugin Commands
Command Purpose
/codedsl run <filename>Execute a CodeDSL script
/codedsl reload <filename>Reload a script
/codedsl load <filename>Load script to memory
/codedsl unload <filename>Unload script from memory
/codedsl listList all available scripts
/cdslAlias for /codedsl
/code-dslAlias for /codedsl
All commands are also available via /coder run, /coder reload, etc. through the Coder plugin integration.
Release Info
Version

2.3.1

Publisher

firesmasher-c6

Status

Stable

Built for

Coder API 2.3-stable ~ newer

License

MIT


Features
  • Easy-to-Learn Syntax
  • Secure / Obfuscated Variables
  • Async Support
  • File Operations
  • Bukkit Integration
  • Inter-Script Communication
  • Task Scheduling
  • Custom Command Definitions