Filled Ore Unlock

Discussion in 'Plugin Requests' started by goldenpie6, Jul 13, 2017.

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

    goldenpie6

    Plugin category: Misc

    Minecraft version: 1.11.2 - 1.12

    Suggested name: Ore Unlock

    What I want: I want a command where you use /oreunlock and it opens a GUI. The GUI is a double chest's GUI with all of the ores in order. You have to buy the ores using essentials money. To unlock the ores you click them and you cannot unlock an ore without unlocking the previous one. The ore has its name and the lore is the price. If you try to mine the ore without it unlocked, it will say, "You have not unlocked this ore!" The ore will be back where it was. The price will be changed in the config.

    Ideas for commands: /oreunlock


    Ideas for permissions: none

    When I'd like it by: ASAP
     
    Last edited: Jul 23, 2017
  2. Offline

    termanator1128

    @goldenpie6 Please see the post from your warzone thread.
     
  3. Offline

    goldenpie6

    Bump

    Is anyone going to work on this plugin?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 26, 2017
  4. Offline

    goldenpie6

    I edited the post.
     
  5. Offline

    goldenpie6

  6. Offline

    PenguinOwl

    I'll start work on this plugin, but three things:
    1. Does it really have to be a entire double chest for all 7ish ores?
    2. Where should emerald and quartz go?
    3. This plugin would probably be a lot more useful if it used Vault (Vault is a plugin that adds compatibility features between different economy plugins)
     
  7. Offline

    goldenpie6

    @PenguinOwl
    1. You dont hve to do the double chest a normal chest GUI is fine.
    2. Quartz should be auto unlocked and emerald at the very end.
    3. I already hve Vault.
     
  8. Offline

    PenguinOwl

    Bukkit supports GUIs of multiples of nine, so I will probably make it nine slots.
    By adding vault, I ment including it in the plugin

    Also, what should be the default prices?
    Should obsidian be an ore?
     
    Last edited: Aug 6, 2017
  9. Offline

    goldenpie6

    @PenguinOwl
    Default prices: redstone,$50;gold,$100;diamond,$300;emerald,$500;
    Obsidian should not be an ore.
     
  10. Offline

    PenguinOwl

    Your list lacks Iron and Coal

    BTW here's a screen cap of so far
    http://imgur.com/pL3Ti3w
     
    Last edited: Aug 6, 2017
  11. Offline

    goldenpie6

    @PenguinOwl Sorry I forgot to put in the post that coal and iron are free automatically.
     
  12. Offline

    PenguinOwl

    k im too lazy to take them out so ill just set starting-rank in the config to 2

    EDIT: Will work on tomorrow, should be done by then
     
  13. Offline

    goldenpie6

  14. Offline

    PenguinOwl

    @goldenpie6
    Plugin is pretty much done, here it is:

    Some things you aught to know:
    Commands:
    /oreunlock - opens menu
    /oreunlock set [player] [ore#] - sets a player's current mining level
    /oreunlock get [player] - gets a player's mining level
    Permissions:
    oreunlock.use - for main command, default
    oreunlock.admin - for set/get commands
    oreunlock.override - for bypassing mining level check, default for ops

    Remember to mark this as filled if you are satisfied with it.
     

    Attached Files:

    Last edited: Aug 7, 2017
  15. Offline

    goldenpie6

    @PenguinOwl I was testing this plugin and even tho I didnt hve the ore unlocked, I could still mine it.
     
  16. Offline

    PenguinOwl

    @goldenpie6
    Were you opped?
     
  17. Offline

    goldenpie6

    @PenguinOwl I unopped myself to try it. It still didnt work.
     
  18. Offline

    PenguinOwl

    What permission plugin, if any, are you running?
    Also, make sure you are in survival to test it.
     
  19. Offline

    goldenpie6

    @PenguinOwl does groupmanager or essentials count sorry dont know any except permissions and dont hve that.
     
  20. Offline

    PenguinOwl

    group manager is a permissions plugin. are you in any groups that have *?
     
  21. Offline

    goldenpie6

    @PenguinOwl I put myself in the lowest possible group i hve to test it as well.

    @PenguinOwl r u trying to fix it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Aug 7, 2017
  22. Offline

    PenguinOwl

    @goldenpie6
    Sorry, the double post didn't set off my notifications
    Did you test it? Also, make sure you are in survival.
     
  23. Offline

    goldenpie6

    @PenguinOwl Yes i did test it, also i was in survival and mined diamond ore. It let me get it just ifne.
     
  24. Offline

    PenguinOwl

    Were you able to do /ou?
     
  25. Offline

    goldenpie6

  26. Offline

    PenguinOwl

    an alias for /oreunlock
     
  27. Offline

    goldenpie6

  28. Offline

    PenguinOwl

    Does it show diamond ore as enchanted in the menu?
     
  29. Offline

    goldenpie6

    @PenguinOwl It worked but can you edit the plugin so that you can change what it says when you dont hve the ore unlocked and mine it in config? Btw thx for making the plugin.
     
    Last edited: Aug 8, 2017
  30. Offline

    PenguinOwl

    I'm away from home for next week or so but I'll put out an update ASAP. Btw did you get the plugin from curse? It is slightly more updated than the one above.

    Remember to mark as filled!
     
    Last edited: Aug 8, 2017
Thread Status:
Not open for further replies.

Share This Page