Custom Ores/Minerals

Discussion in 'Plugin Requests' started by TylerByler, Dec 12, 2014.

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

    TylerByler

    Description: Adds new ores to minecraft so for example it will spawn a world with the classic ores and then the new ores such as ruby(redstainedglass), sapphire(bluestainedglass),topaz(orangestainedglass),amythest(purplestainedglass),tranzanite(darkbluestainedglass) when u mine them u get an item such as when u mine the ruby u get a red dye renamed to ruby etc.

    Config:
    #Percentage of ores in world
    Classic: 30%
    Sapphire: 20%
    Topaz: 20%
    Amethyst: 15%
    Tranzanite: 15%

    #Drops with name
    Sapphire: '&9Sapphire'
    Topaz: '&aTopaz'
    Amethyst: '&5Amethyst'
    Tranzanite: '&2Tranzanite'

    #Enable and Disable
    Sapphire: true
    Topaz: true
    Amethyst: true
    Tranzanite: true


    Commands:
    /spore give <orename>
    /spore reload
    /mv create <name> <type> -t spore

    Permission:
    spore.mine - access to mines and get drops
    spore.reload - access to reload plugin
    spore.give - access to give spores
     
  2. Offline

    TylerByler

  3. Offline

    XvXRainbowzZ3D

    You cant add new items/blocks in a plugin. Thats done with mods.
     
  4. Offline

    pie_flavor

    @XvXRainbowzZ3D @TylerByler Just put in stained glass as the actual ore, maybe retextured to look a bit more like an ore, and add the "gem" item floating inside of it.
     
  5. Offline

    Skionz

    @pie_flavor We can't force the user to download a texture pack.
     
  6. Offline

    pie_flavor

    @Skionz We can ask politely.
    It's an aesthetic thing, really, as the item would still be floating inside the stained glass.
     
    Skionz likes this.
  7. Offline

    JordyPwner

    Actually you can. Just check out hypixel Cops and Crims
     
  8. Offline

    mrCookieSlime

  9. Offline

    Skionz

    @mrCookieSlime Ive seen that before but how would you go about checking if they actually accepted it? Somehow Hypixel does it and I have looked into it before, but came up empty.
     
  10. Offline

    JordyPwner

    Same ;3
     
  11. Offline

    XvXRainbowzZ3D

    I guess ill try and make it (You can do Resource Pack :p or get someone else to do it) also what do you want for the gems?
     
  12. Offline

    TylerByler

    Sapphire (blue stained glass)
    Topaz(green stained bass)
    Amethyst(purple stained glass)
    Tranzanite (darkblue stained glass)
    Ruby (red stained glass)
    Meteorite (black stained glass)
    and u mine the ore it drops a dye according to the glass color so if i mined ruby which is the red stained glass then it would drop red die renamed to ruby
     
  13. Offline

    au2001

    @mrCookieSlime That wouldn't force the player to install it, if he has ressourcepacks enabled, it will, but if he has them disabled, it won't work. And if they're set to prompt, it will ask.
    I think I already saw some servers, like Mariokart or things like that, that really force you, whatever option you chose, to install their ressourcepack, but I might had ressourcepacks enabled at that moment, i dont remember...
     
    Last edited: Dec 17, 2014
  14. Offline

    XvXRainbowzZ3D

    Will start this tomorrow after school, next time please click reply next to my comment, so i get a notification.
     
  15. Offline

    TylerByler

    Sorry, didn't notice that i will definitely use reply < just did it :D And thank you for your help
     
  16. Offline

    au2001

    @XvXRainbowzZ3D Are you planning to spawn a fake item in the satined glass as @pie_flavor proposed ?
    Because if you do that, good luck :p It would be cleared by clearlag/other plugins, it would despawn (there is an event so it's easy to respawn) etc.

    And I would like to know how you're going to know, when they break a stained glass, if it's a normal stained glass or an ore :p Would you save the location to a config or something ? Or would you use block data (deprecated :'() ?

    Well, good luck and I hope to see the result soon ;)
     
  17. Offline

    XvXRainbowzZ3D

    Just thought about that haha. But ill see what i can do. Im not the most experienced Plugin dev so the plugins wont be made for maybe 2-3 days. Main thing im concerned about is randomly generating the blocks as i dont know how :/
     
  18. Offline

    au2001

    @XvXRainbowzZ3D True, it's pretty hard, bug there is an event called ChunkGenerate event or something like that (it might be ChunkLoadEvent, if it is, then check if event.getChunk().isNew() or something like that) and then Provide a random or something like that.
    I don't really remember in fact, but I had look es into that previously and found that it was hard...

    @XvXRainbowzZ3D And for block data, as a famous and new bukkit Moderator would say :p, deprecated doesn't mean you can't use it, so you can still use that solution ;)

    EDIT : Just checked, that's the event : org.bukkit.event.world.ChunkLoadEvent
    And there is a event.isNewChunk() boolean to know if it is being generated.

    EDIT 2 : TheBCBroz did really good videos on world generators and chunk populators : (this is episode 45, on world generators) that could help you. He doesn't you the event though, but his way is probably better ;)
     
    Last edited: Dec 18, 2014
  19. Offline

    XvXRainbowzZ3D

    Thanks, ill watch the video, i learned to code bukkit from his videos but, i swapped to watching PogoStick29Dev
     
  20. I'm just really starting to develop for Bukkit Plugins, but if you had someone just to create a Plugin so that the world was generated and spawned in the stained glass, but then you could use http://dev.bukkit.org/bukkit-plugins/otherdrops/ and disable the crafting of stained glass and dyes. Would that be a simpler solution?
     
  21. Offline

    XvXRainbowzZ3D

    Theres no need now, im currently making the plugin :p Not gunna stop half way though haha
     
  22. You could always just make the world generation plugin, lol. Or implementing both might be cool too ;)
     
  23. Offline

    XvXRainbowzZ3D

    Ive made the ores drop the items so far, and a few commands, currently working on /spore give next doing World Gen and adding the names to the items aswell
     
  24. Offline

    au2001

    @XvXRainbowzZ3D And all this done totally legit, you wouldn't PM desperatly for help, no... Never! ;) xD
     
Thread Status:
Not open for further replies.

Share This Page