Can someone help me on doing this?

Discussion in 'Plugin Requests' started by Joserex65, Jul 19, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Joserex65

    Hi,

    I'm actually in the need of creating an EggWars like plugin, I do have all needed code, except the generators.

    Could someone make me a generator class that actually get's config file generators in this format:
    Code:
    Generators:
    Iron:
      Level: 1
      Location:
       X: 0
       Y: 1
       Z: 0
    Gold:
      Level: 2
      Location:
       X: 0
       Y: 1
       Z: 0
    Diamond:
      Level: 0
      Location:
       X: 0
       Y: 1
       Z: 0
    
    So, 0 means broken. I'll give the finished plugin and also setup with a map to you if you help me. I just need help with this, the rest of the plugin is almost done. Also, display signs like cubecraft and change them when someones upgrades it.

    Thanks in advance,
    Joserex65.
     
  2. Offline

    mine-care

    generally speaking we need to know the code of your plugin or at least the related parts with the request above. We are not aware of how you have implemented it so far and although we can provide the code to load the config, we have to know what to do with the data after they are loaded.
    What i can recomend is reading FileConfiguration docs by bukkit that explain clearly what you can do to get all configuration sections from the config. after you have that it is prety easy to develop a loop and process information in it per configuration section.
     
    shades161 likes this.
  3. Offline

    Joserex65

    I already now how to use config files.
     
Thread Status:
Not open for further replies.

Share This Page