It's a Docker container for minecraft with CanaryMod and ScriptCraft installed and ready to run.
To run it launch :
docker run -p 25565:25565 -p 22:22 -it tclavier/scriptcraft
Some options could be pass by environment variables :
INIT_WORLD
: if this variable is set, all worlds will be removed at startupOPS
: Pseudo of first opsONLINE_MODE
: true or false, option to enable account verificationWORLD_TYPE
: FLAT by defaultGENERATE_STRUCTURES
: true or false, not used in FLAT world
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 /tmp/minecraft:/minecraft tclavier/scriptcraft
First ops can activate scripting in online console with
/jsp classroom on
or directly in server console by
jsp classroom on
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
Install dependencies
cd docker-scriptcraft
bundle install
And build
rake build
That will download all require files and build container tclavier/scriptcraft for you.