It's a Docker container for minecraft with SigotMC and ScriptCraft installed and ready to run.
ScriptCraft is a Minecraft Mod that lets you extend Minecraft using the Javascript Programming Language. ScriptCraft makes modding Minecraft easier. It includes a logo-like "Drone" object that can be used to build complex buildings, roads, villages, even entire cities. It also includes many other features that make modding Minecraft easier.
To run it launch :
docker run -p 25565:25565 -p 22:22 -it tclavier/scriptcraft
To test connect your minecraft client to minecraft.tcweb.org
and read https://github.com/walterhiggins/ScriptCraft/blob/master/docs/API-Reference.md
Some options could be pass by environment variables :
OPS
: Pseudo of first opsINIT_WORLD
: if this variable is set, all worlds will be removed at startupONLINE_MODE
: true or false, option to enable account verification
I have enabled a volume: /minecraft, to persist world
For exemple :
docker run -p 25565:25565 -it -e OPS=FooBar -e ONLINE_MODE=false -v minecraft:/minecraft tclavier/scriptcraft
Classroom plugin is enable at startup, you can directly use /js
at prompt.
The ssh port is available to upload scripts in players directories only in
sftp, the default credentials are : login root
and password minecraft
.
Details about this functionality are available on classroom-plugin
documentation.
You can find a file named Deliverous. It must be update with your IP to deploy this container on Deliverous plate-forme.
If you whant to build it, for exemple to tune your world, clone it :
git clone https://github.com/tclavier/docker-scriptcraft.git
Make sure you can run docker
and build
docker build -t tclavier/scriptcraft .
That will download all require files and build container tclavier/scriptcraft for you.