Giter VIP home page Giter VIP logo

bananaimagetomap's Introduction

A bukkit plugin that allows you to turn any image into a minecraft world!

Includes:

  • CavePopulator
  • DesertPopulator
  • DungeonPopulator
  • FlowerPopulator
  • LakePopulator
  • Mushroom Populator
  • QuarryPopulator
  • Ruins Populator - thanks @Nightgunner5
  • Snow Populator
  • SpookyRoomPopulator
  • TorchPopulator - thanks @Nightgunner5
  • Tree Populator - thanks @heldplayer and @SpaceManiac
  • Ores! - thanks @Notch

Usage:

There are 2 ways to use this plugin, either through bukkit.yml or an external world manager, such as MultiVerse 2.0, that supports custom world generation.

Using bukkit.yml:

To set up a world using bukkit.yml, insert the following in your bukkit.yml configuration file:

worlds:
	{worldname}:
		generator: BananaImageToMap:{imagefile}

Make sure to replace {imagefile} with the name of the file excluding the extension (though the file must be a .jpg) that you
put in your plugins/BananaImageToMap/ folder and {worldname} with the name of the world you wish to genenerate.

Using Multiverse 2

Using Multiverse 2, which is to the best of my knowledge the only world management plugin that supports custom generators, the command is

/mvcreate {worldname} NORMAL -g BananaImageToMap:{imagename}

Again, replacing {worldname} and {imagename} with the world and image name respectfully. After that you can use it like any normal MV world.

bananaimagetomap's People

Contributors

codename-b avatar nightpool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bananaimagetomap's Issues

Configuration

More of a feature, but I can't seem to get at the tagging system atm.

Feature request: add the ability to change configuration options on a per-world basis. This would be accomplished by creating multiple yml files, like NotchFace.yml of Test.yml. Then, when you create a world, first it searches if there is a yml file by the name in the id, and if not, falls back on default options and the hmap defined by the id. The config file would look a little something like this:

items:
    torches: yes      # Should we spawn torches?
    torchFactor: 20   # Prob. of spawning torches
image: hmap           # where hmap.jpg is a heightmap
                      # in the BananaImageToMap folder, where this config file resides

Of course, this is just sample code I made off the top of my head, but do you get the idea?

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.