Filled Ore Unlock

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

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

    goldenpie6

    @PenguinOwl can you send me the code if you can? I'm learning how to make plugins and looking at that will really help. I also want to adjust somethings for my liking.
     
    Last edited: Aug 10, 2017
  2. Offline

    PenguinOwl

    I will, but I can't until next Wednesday. In the meantime (incoming shameless plug) you can look at my plugin MIGS, whose source code is up on github. If you really want to learn how to write plugins, check out this amazing tutorial for 1.11, but it still works for 1.12.
     
  3. Offline

    PrinceBunny

    Hey @PenguinOwl, the plugin you created OreUnlock, are you able to make it so you can edit the price of an ore and the messages. Thanks
     
  4. Offline

    goldenpie6

    @PrinceBunny Hes gonna change the config so you can change the message but you can edit the price rn. I dont know how but u can.
     
  5. Offline

    PenguinOwl

    A newer version is up on bukkit dev that fixes the config
     
  6. Offline

    goldenpie6

    @PenguinOwl Can u send the code please and thank you
     
  7. Offline

    PenguinOwl

    Still holds true, if you really want it you can decompile it yourself too.
     
  8. Offline

    goldenpie6

    @PenguinOwl Ill just wait cause i dont know how to decompile the jar file
     
  9. Offline

    PrinceBunny

  10. Offline

    goldenpie6

  11. Offline

    PenguinOwl

    @goldenpie6, remember to mark as filled :)

    @PrinceBunny was spot on for the link, the one posted on the forums is 1.0 and the bukkitdev one is 1.0.1
     
    Last edited: Aug 12, 2017
  12. Offline

    PenguinOwl

  13. Offline

    goldenpie6

    Thx I don't understand most of it but still I'll try to learn GUIs. If you can teach me...??? You don't need to though.
     
  14. Offline

    PenguinOwl

    @goldenpie6
    Maybe, will be gone for eclipse until Wednesday.
     
  15. Offline

    goldenpie6

  16. @PenguinOwl I can't seem to get your plugin to work. Unlocking the ores works fine, but it doesn't cost any money. If I don't have the money I can't unlock the next step, but when I do unlock it, it doesn't change my balance. I tried your stock config, as well as the below and it makes no difference.

    Code:
    players:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
        name: broyuken
        rank: 4
    starting-rank: 2
    prices:
      stone: 0
      coal: 0
      iron: 1000
      gold: 5000
      redstone: 2000
      diamond: 10000
      emerald: 15000
    
    
     
  17. Offline

    PenguinOwl

    Please post your plugin list, would help alot.
     
  18. [12:44:15 INFO]: Plugins (15): OreUnlock, WorldEdit, Essentials, EssentialsChat, EssentialsGeoIP, PermissionsEx, EssentialsAntiBuild, Vault, EssentialsSpawn, ItemRestrict, Citizens, EssentialsProtect, CommandNPC, BossShop, Banknotes

    Nothing special I don't think.
     
  19. Offline

    PenguinOwl

    which plugin is the main currency hook?
     
  20. I use essentials for currency
     
  21. Offline

    PenguinOwl

    Try getting CraftConomy or some other plugin that is specifically designed for economic purposes, Essentials tends to be more subversive.
     
  22. I have essentials working with all of my other plugins with no issue. I found another plugin that lets me add permissions for ores, and I just built it into BossShops. Thanks for trying to help me, but unfortunately I'm going to have to go another route.
     
Thread Status:
Not open for further replies.

Share This Page