-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Here you will find a full language reference to the DPScript language, as well as help for the VSCode extension itself.
To get started with DPScript, download VSCode and install the DPScript extension. Once you got that covered, create a new directory somewhere in your PC and give it any name. This will also be the datapack's name.
Right click the new directory and select Open with Code. A new VSCode window should open with the datapack's folder as the root folder.
In that folder, you can create .dps files that will define the namespaces in your datapack.
A dpscript file named main.dps will automatically use the datapack's name (the parent directory's name), but only with alphanumeric characters and underscores.
Now that you have your first DPScript file, you may start developing datapacks!