GithubHelp home page GithubHelp logo

cyberflamego / bravo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bravoserver/bravo

0.0 2.0 0.0 2.32 MB

UNMAINTAINED: Reverse-engineered Minecraft stuff. Worked with 1.4.x protocol

Home Page: http://bravoserver.org/

License: Other

Python 99.67% CSS 0.33%

bravo's Introduction

Bravo

Bravo is a elegant, speedy, and extensible implementation of the Minecraft Alpha/Beta/"Modern" protocol. Only the server side is implemented. Bravo also has a few tools useful for examining the wire protocols and disk formats in Minecraft.

Features

Standard Features

  • Console
  • Login and handshake
  • Geometry ("chunk") transfer
  • Location updates
  • Passage of time (day/night)
  • Block construction and deconstruction
  • Entities
    • Players
    • Pickups
    • Tiles
      • Chests
      • Furnaces
      • Signs
  • Lighting
  • Save controls
  • Server-side inventories

Extended Features

  • Pluggable architecture
    • Commands
      • Inventory control
      • Teleports
      • Time of day
    • Terrain generation
      • Erosion
      • Simplex noise, 2D and 3D
      • Water table
    • Seasons
      • Spring
      • Winter
    • Physics
      • Sand, gravel
      • Water, lava
      • Redstone
  • Chat commands
  • IP ban list

Installing

Bravo currently requires Python 2.6 or any newer Python 2.x. It is known to work on CPython and PyPy.

Bravo ships with a standard setup.py. You will need setuptools/distribute, but most distributions already provide it for you. Bravo depends on the following external libraries from PyPI:

  • construct, version 2.03 or later
  • Twisted, version 11.0 or later

If installing modular Twisted, Twisted Conch is required.

For IRC support, Twisted Words is required; it is usually called python-twisted-words or twisted-words in package managers.

For web service support, Twisted Web must be installed; it is generally called python-twisted-web or twisted-web.

Windows

Windows is no longer directly supported. Though if python and dependencies are installed, it should work just fine. Due note, as of this writing, Twisted only supports Win32 so make sure to only use Win32 python packages.

Debian & Ubuntu

Debian and its derivatives, like Ubuntu, have Twisted in their package managers.

$ sudo aptitude install python-twisted

If you are tight on space, you can install only part of Twisted.

$ sudo aptitude install python-twisted-core python-twisted-bin python-twisted-conch

A Note about Ubuntu

If you are using Ubuntu 10.04 LTS, you will need a more recent Twisted than Ubuntu provides. There is a PPA at http://launchpad.net/~twisted-dev/+archive/ppa which provides recent versions of all Twisted packages.

Fedora

Twisted can be installed from the standard Fedora repository.

$ sudo yum install python-twisted python-twisted-conch

Gentoo

Gentoo does carry a Construct new enough for Bravo, but it does have to be unmasked.

# emerge twisted twisted-conch

LFS/Virtualenv/Standalone

If, for some reason, you are installing to a very raw or unmanaged place, and you want to ensure that everything is built from the latest source available on PyPI, we highly recommend pip for installing Bravo, since it handles all dependencies for you.

$ pip install Bravo

Bravo can also optionally use Ampoule to offload some of its inner calculations to a separate process, improving server response times. Ampoule will be automatically detected and is completely optional.

$ pip install ampoule

Running

Bravo includes a twistd plugin, so it's quite easy to run. Just copy bravo.ini.example to bravo.ini, and put it in one of these locations:

  • /etc/bravo/
  • ~/.bravo/
  • Your working directory

And then run the Twisted plugin:

$ twistd -n bravo

Contributing

Contributing is easy! Just send me your code. Diffs are appreciated, in git format; Github pull requests are excellent.

Things to consider:

  • I will be rather merciless about your code during review, especially if it adds lots of new features.
  • Some things are better off outside of the main tree, especially if they are moving very fast compared to Bravo itself.
  • Unit tests are necessary for new code, especially feature-laden code. If your code is absolutely not testable, it's not really going to be very fun to maintain. See the above point.
  • Bravo is MIT/X11. Your contributions will be under that same license. If this isn't acceptable, then your code cannot be merged. This is really the only hard condition.

FAQ

The FAQ moved to readthedocs; see http://bravo.readthedocs.org/en/latest/introduction.html#q-a.

License

Bravo is MIT/X11-licensed. See the LICENSE file for the actual text of the license.

bravo's People

Contributors

actown avatar alucas avatar barsch avatar ceymard avatar d4l3k avatar dequis avatar dliverman avatar entityreborn avatar espes avatar gwylim avatar hikari-no-yume avatar jdshu avatar jeppeklitgaard avatar justinnoah avatar lucianu avatar mariusschiffer avatar masterofjokers avatar matejcik avatar mathuin avatar mcsakoff avatar mostawesomedude avatar mythmon avatar oal avatar ryaned avatar squiddy avatar tktech avatar

Watchers

 avatar  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.