GithubHelp home page GithubHelp logo

docker-scriptcraft's Introduction

docker-scriptcraft

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.

Run

To run it launch :

docker run -p 25565:25565 -p 22:22 -it tclavier/scriptcraft

Play

To test connect your minecraft client to minecraft.tcweb.org and read https://github.com/walterhiggins/ScriptCraft/blob/master/docs/API-Reference.md

Options

Some options could be pass by environment variables :

  • OPS : Pseudo of first ops
  • INIT_WORLD : if this variable is set, all worlds will be removed at startup
  • ONLINE_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 /tmp/minecraft:/minecraft tclavier/scriptcraft

Classroom plugin

Classroom plugin is enable at startup, you can directly use /js at prompt.

Upload scripts

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.

Deliverous

You can find a file named Deliverous. It must be update with your IP to deploy this container on Deliverous plate-forme.

Build

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.

docker-scriptcraft's People

Contributors

tclavier avatar antoine-aumjaud avatar bcjordan avatar etiennecharignon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.