Inactive [EDIT/MECH/WGEN] WorldFeatures v2.0 - Randomly Generate .Schematics [1337]

Discussion in 'Inactive/Unsupported Plugins' started by dkramer, Sep 3, 2011.

  1. Offline

    dkramer

    Here is the Bukkit-Dev link.
    WorldFeatures, A Plugin Inspired by this Reddit post.
    Version: 2.0
    Plugin name by tmcaffeine :D
    (Please donate here if you like what I do. This is my only job.)

    Description:
    You will need WorldEdit.jar in your plugins folder for this to work. Save .schematics to your Created folder in-game or download someone else's .schematics to be generated randomly when new chunks are formed. Each has its own customizable chance to spawn.​
    Permissions:
    • WorldFeatures.commands
    This permission allows the player to use every command. Use this wisely.

    Commands:
    /wf <name>​
    Creates a schematic named <name> of the selected cuboid. A cuboid can be selected by holding seeds or a customized item.​
    /wf copy <name>​
    Copies and pastes this created schematic from your Created folder into the ToUse world folder of the world you are in. Your world will automatically start generating this structure without needing a reset.​
    Download:
    Static link for bukkituptodate: http://dl.dropbox.com/u/36326695/WorldFeatures.jar
    Show Spoiler

    Installation:
    Insert WorldFeatures.jar into your plugins folder.

    Customizing:
    After starting up the server for the first time, a WorldFeatures folder will be made. Inside this will be three things:​
    • The "Created" folder - this is where the schematics you create in-game will go to.
    • The "ToUse" folder - this is where you can place yours or someone else's created schematics. Inside, you will need to create folders that have names of the worlds you want schematics to spawn in. Every .schematic needs a matching .yml. This is explained below.
    • "Settings.yml" This is explained below.
    The Settings.yml has 2 things right now:
    • wandID - number - what should be held when selecting a cuboid for a schematic?
    • chunkchance - number between 1 and 100 - chance is explained below.

    Individual .ymls for schematics
    Show Spoiler

    Each schematic needs its own .yml in the ToUse folder (it should be named <schematicname>.yml). If you are loading a .schematic from elsewhere, copy and paste any .yml and change its name. In each .yml should be these things:
    • min/max - the minimum and maximum height the structure can spawn at if "place" is set to "anywhere"
    • chance - When a chunk is loaded, it checks the chance of the chunk to generate something (by chunkchance in the Settings.yml). If it can, it runs through all the schematics and checks this number for each one. If multiple structures are chosen to generate on one chunk, it will randomly choose one of them to be generated. This means that this "chance" is relative and not an exact amount.
    • maxspawns - the maximum amount of times this .schematic can spawn
    • basement - if you have blocks that should be below-ground, this is the number of vertical blocks you want underground, so if I had a building of 30 blocks high, and I only wanted 10 to be above-ground, I would put '20' as the "basement".
    • biome - can be "none" or any of these values:
      • DESERT
      • EXTREME_HILLS
      • FOREST
      • OCEAN
      • PLAINS
      • RAINFOREST
      • RIVER
      • SAVANNA
      • SEASONAL_FOREST
      • SHRUBLAND
      • SWAMPLAND
      • TAIGA
      • TUNDRA
    • randomrotate - should this schematic randomly rotate? Default is true.
    • place can be set to any of these values:
    1. ground - the schematic will stick to the ground and not spawn over water
    2. anywhere - it can spawn anywhere within the .yml range of min and max
    3. air - it will only spawn in the air
    4. underground - it can only spawn underground
    ToDo:
    • Find bugs
    Changelog:
    2.0:​
    • biome options: see above for details
    • Multiworld support: a different folder with names of the worlds you want schematics to spawn in should be in your ToUse folder now, and the schematics and their .ymls will go in this folder, example: plugins/WorldFeatures/ToUse/WORLD_NAME/
    • rewrote a lot of code for readability and efficiency
    • more information is put in the .yml
    1.82: added the permissions to the plugin.yml​
    1.81: added in the "basement" feature​
    Show Spoiler
    Show Spoiler

    1.8:​
    • can't spawn on leaves
    • adding in rotation screwed up the spawning, but don't worry, I fixed it now!
    • option for limited number of spawns for each schematic
    • more error checks
    • more efficient code
    1.7:​
    • Performance improvements
    • added "underground" to the place list
    • The schematics now randomly rotate when being placed!
    1.6:​
    • Fixed it so that structures cannot spawn if they are too high up
    • Removed the accidental debugging code that spammed the output *oops*
    • added "air" to the place list - if a schematic's appropriate .yml is set to this, it will only spawn in the air
    1.5:​
    • .schematic files are now fully supported and are the only means of saving and loading structures
    • the file system is different. Read above for information^
    • it performs a lot better now
    1.1:​
    • Loading a schematic not from RAM is now a lot faster.
    • Schematics set to "ground" can no longer spawn over water
    1.05: Fixed an error where a chunk decided not to generate a structure and throw an exception
    1.0: Release


    Supports .schematics now!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  2. Offline

    unicornsrock

    i get this error when ever it tries to put things into the world
    10:56 AM [SEVERE] Could not pass event CHUNK_POPULATED to WorldFeatures
    Any Help?
     
  3. Offline

    Royalgamer06

    Can I set in worldedit.jar in the plugin.yml everything to false?
     
  4. Offline

    cooly1414

    can u make a tutorial? i don't noe how to use it
     
  5. Offline

    FatMiners

    cant wait for an update of this. Know when it will be out?
     
  6. Offline

    ThePC007

    All I ever wanted!
     
  7. Offline

    ThePC007

    Does this work with 1.2.5?
     
  8. Offline

    IsaiahRobichaud

    1. Is it possible to make completely underwater spawns?
    2. Is it possible that this plugin will ever update?
    3. Is there anything else like this while I'm waiting?
     
  9. Offline

    robotnikthingy

    bumping to see if anyone would be willing to fix this wonderful plugin
     
  10. Offline

    darkscissors00

    this plugin is not working on my server i run on cb 1.2.5 R4 but i cant get it to work plz help

    this plugin is sooooooo cool iv always wanted to beable to us schematics in a generation but sadly its not up to date in cb 1.2.5 R4
    plz notify me when its updated... thank you

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  11. Offline

    darkscissors00

    cant wait for this plugin to update:D
     
  12. Offline

    Jorn818

    Update to 1.3 please :()
     

Share This Page