Drinks plugin - Help!

Discussion in 'Spigot Plugin Help' started by Mozzart, Jun 27, 2015.

  1. I found Drinks plugin on dev.bukkit.org/bukkit-plugins/drinks/ and it's really good plugin, everything what I need but that plugin has one greate bug (project is abandoned and because of that I can't write any ticket on dev.bukkit, he doesn't answer. I need your help guys) I tried to fix plugin myself with jd and eclipse but too many errors etc. I can't do this alone, need your help. Error is here:

    Code (Text):
    public DrinksCMD()
        {
            config = new File("plugins/DrinksItem");
            debugging = false;
            logger = Logger.getLogger("Minecraft");
        }
    The config folder is DrinksCMD. But here is folder named DrinksItem. This is cause plugin decided that config.yml is absent and rewrote it time-to-time. And I couldn't edit prices, effects and all other settings, but it's too painfull for me to decompile everything and than edit, a lot of errors is showing up...Can someone modify it or edit and post it please. I would be greatefull.. :)
     
  2. Just change it to
    Code (Text):
    config = new File("plugins/DrinksCMD");
     
  3. I know that I need just to change that name, but there is a lot of other errors when I try to export it in .jar file, I export it and plugin doesn't work... it's so painfull, every time.. xD