Unlimited Rewards

Discussion in 'Spigot Plugin Development' started by NiekGC, Jun 4, 2017.

  1. second time saying this: What doesn't work.
  2. If you chenge things in the config the rewards didn't work
  3. errors
  4. No errors
  5. Are you reloading the config properly? Is it not overridden? Is capitalisation correct?

    Follow your code line by line and don't assume anything. Read it like a computer would.
  6. plugin#saveResource

    Try this (in your onenable) and get back to us.
  7. I reload the whole server
  8. Your code is extremely inefficient. For example, you could have public YamlConfiguration rewardsConfig() and return the YamlConfiguration. You should really only be saving the config when you set something. You are using way too many runnables, I personally barley use them. I also think that the runnables will mess up when another players use them. Also, you don't plan on making an if statement for every number, aka 1-100, please tell me that's not what you have in mind?
  9. It didn't works
  10. Pls guys help nothing works for me :(