GithubHelp home page GithubHelp logo

crlserver's Introduction

crlserver
=========

crlserver is a roguelike server in the spirit of dgamelaunch, but it
manages users logins and scores for far more than just nethack.

Features
--------

   * It's not GPL'ed
   * Multiple game
   * Simple configuration
   * SQL or LDAP authentification backend
   * Simple and clean UI
   * Easy username filtering

TODO
----

   * Support of ttyrec for games record
   * Support of ttyplay for real time games watching
   * Configurable menus via the configuration file, like dgamelaunch does

Known working plateforms
------------------------

   * OpenBSD i386, amd64 and loongson
   * Ubuntu i386 and amd64

Compilation
-----------

   * Edit 'pathnames.h', to suit your needs (there is documentation inside)
   * Use 'make' or 'gmake' depending on your plateform
  
Installation
------------

   * Put the binary somewhere and the content of 'data' in the directories
     you have specified in 'pathnames.h'.
   * Create the 'playground' and 'userdata' directories.
   * Create a user (eg: 'crlserver')
   * Edit your sshd_config and add those lines:
      Match User crlserver
            ForceCommand /path/to/crlserver
   * Alternatively you can use telnet or put crlserver as a login shell
     but it's not the recommended way.
   * Create a crlserver configuration file and put it in /etc or crlserver's
     home
   * It works (or if not, mail me) !

Configuration
-------------

Grab the sample.conf in 'data' and change the values to what you want.

    game nethack {
	   longname    = "NetHack"
	   version     = "3.4.3"
	   description = "This is the vanilla version of NetHack"
	   key         = "n"
	   path        = "/usr/games/nethack"
	   params      = {"-u","%user%"}
    }

When the string '%user%' is found somewhere in the variables 'env' and 'params',
it is automatically replaced by the username at login-time.

You can do the same thing for text editors.

    editor rledit {
	   longname    = "RogueLike Editor"
	   version     = "?"
	   description = "This is an example"
	   key         = "r"
	   path        = "/usr/local/bin/rledit"
    }

crlserver's People

Watchers

Florent Tribouilloy avatar Raphaël "Arty" Thoulouze avatar Marandon Antoine 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.