Code Monkey home page Code Monkey logo

craftitizer's Introduction

#Craftitizer

cri

cri, short for CRaftitizer Installation, is for setting up and running your Minecraft server instance. It is written in Python and uses a package system based in Python modules dynamically loaded at run-time to provide rich control over the server installation.

// TODO Add more here

crsplit

crsplit is another command-line utility for setting up a directory structure on Linux that allows for cri's crsplit server executor to run like things. It uses overlayfs with the following directories:

  • exec : Where runtime and configuration data is stored.

  • data : Where world data stored at runtime is stored.

  • .work : The internal overlayfs "work" directory.

  • live : Mount point for the composited data where the server is run.

It does not persist across reboots, but cri has a mechanism for detecting if crsplit needs to be run again. The executable should be owned by root and be marked as setuid otherwise everything doesn't work. It mounts the "filesystem" with nosetuid so there is not security vulnerability.

kkgenconf

kkgenconf essentially just loads a Bukkit plugin and invokes JavaPlugin:onEnable() on them. But in order to do that it has to pretend to set up a whole server, so this implements a small portion of the Bukkit API. And at that point it was also easy enough to add a "game loop" that you can essentially use as just something to keep simple stuff like VoteSend running without taking up a port or worrying about ticking worlds or handling players or anything.

craftitizer's People

Contributors

treyzania avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

pombredanne

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.