plugin error help #59


  • New
  • Other
Open
Assigned to lorenzo_p
  • madtomic created this issue Jul 15, 2014

    7:28:10 PM [19:28:09 INFO]: [WebAuctionPlus] Enabling WebAuctionPlus v1.1.14
    7:28:10 PM [19:28:09 INFO]: [WebAuction+] MySQL Initializing.
    7:28:10 PM [19:28:09 INFO]: [WebAuction+] Loaded 12 settings from db
    7:28:10 PM [19:28:09 INFO]: [WebAuction+] Loaded language file en.yml
    7:28:10 PM [19:28:09 WARN]: java.lang.NullPointerException
    7:28:10 PM [19:28:09 WARN]:     at me.lorenzop.webauctionplus.WebAuctionPlus.onLoadConfig(WebAuctionPlus.java:254)
    7:28:10 PM [19:28:09 WARN]:     at me.lorenzop.webauctionplus.WebAuctionPlus.onEnable(WebAuctionPlus.java:124)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375)
    7:28:10 PM [19:28:09 WARN]:     at net.citizensnpcs.util.NMS.loadPlugins(NMS.java:270)
    7:28:10 PM [19:28:09 WARN]:     at net.citizensnpcs.Citizens.enableSubPlugins(Citizens.java:142)
    7:28:10 PM [19:28:09 WARN]:     at net.citizensnpcs.Citizens.onEnable(Citizens.java:288)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439)
    7:28:10 PM [19:28:09 WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375)
    7:28:10 PM [19:28:09 WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342)
    7:28:10 PM [19:28:09 WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319)
    7:28:10 PM [19:28:09 WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275)
    7:28:10 PM [19:28:09 WARN]:     at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175)
    7:28:10 PM [19:28:09 WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424)
    7:28:10 PM [19:28:09 WARN]:     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
    7:28:10 PM [19:28:09 ERROR]: [WebAuction+] Failed loading the config.
    7:28:10 PM [19:28:09 INFO]: [WebAuction+] Disabled, bye for now :-)

  • madtomic added the tags New Other Jul 15, 2014
  • TheNytangel posted a comment Jul 15, 2014

    Do you have Vault installed?

  • madtomic posted a comment Jul 15, 2014

    I do have vault in stalled but now I don't have money now. I use BOSEconomy and no money shows up. I also use MoneyDrop

  • TheNytangel posted a comment Jul 15, 2014

    You need to use the "Deposit" and "Withdraw" signs to add money to the website since you don't have iConomy.

     [WA+]
    Deposit
    
    
     [WA+]
    Withdraw
    
  • madtomic posted a comment Jul 15, 2014

    So with iConomy. It will automatic link the two?

  • madtomic posted a comment Jul 15, 2014

    iConomy seems to be outdated? Which version I should try to use with cb1.7.2-r0.3?

  • TheNytangel posted a comment Jul 15, 2014

    Yes, because iConomy automatically puts the money into the database.

    I don't know which you should try. They might work with previous versions of Minecraft, but you should back up your server before you try that. Actually, now that I think about it, it just wouldn't load the plugin :P

    I would try the latest version, and if it doesn't work, wait for a new version to come out.

  • madtomic posted a comment Jul 15, 2014

    iconomy uses it's own table for money. label is balance. it's money in wa_. I think rename the table prefix wouldn't work?

  • TheNytangel posted a comment Jul 15, 2014

    In the config file for WA+, you specify what the iConomy table is called

  • madtomic posted a comment Jul 15, 2014

    Will this method work with other economy plugins as well?

  • TheNytangel posted a comment Jul 15, 2014

    Currently WebAuction+ only has support for iConomy, but lorenzo_p plans on adding support for all Vault economy plugins

  • madtomic posted a comment Jul 15, 2014

    Will this mess up the database for wa with the auction items or this will combine the two tables but still functional?

  • TheNytangel posted a comment Jul 15, 2014

    WebAuction+ reads from the table that iConomy creates

  • madtomic posted a comment Jul 15, 2014

    I see, is a new update in the works? Can we rename [WebAuction+] to custom name? Can a npc be used for the auction sigh? Like an Auctioneer ?

  • TheNytangel posted a comment Jul 15, 2014

    It seems like lorenzo_p is producing an update, but is only working on it in his spare time, and we have no idea when he will release it.

    [WebAuction+] as in on the sign? No, I don't think you can do that.

    I don't think there are any NPCs like that in the game. If there are, WebAuction+ doesn't use them. Maybe if you had a plugin where, if you right click on the villager, it "right clicks" on a sign that says "[WebAuction+] MailBox"? I don't know, I'm not sure if that plugin exists or not, but it would be cool :)

  • madtomic posted a comment Jul 16, 2014

    @TheNytangel: Go

    In the config file for WA+, you specify what the iConomy table is called

    I tried this. I changed the table to iConomy. I use only one database for everything. only thing is different is the table prefix. it don't seem to work. sigh... you sure wa reads from iConomy? which release I should use for cb1.7.2-r0.3?

  • madtomic posted a comment Jul 16, 2014

    or maybe the webpage needs to change?

  • madtomic posted a comment Jul 16, 2014

    I found this in config.php

    iConomy config $config['iConomy']['use'] = 'auto'; ( true / false / 'auto' ) you you have iConomy data in another table in the same database? $config['iConomy']['table'] = 'iConomy'; 'iConomy' is the default table name when using MySQL with iConomy

    Is this where I need to change or like you said in WA+? I'm trying to get the money part work. This is such a nice plugin shame it don't work at least with the economy.

  • madtomic posted a comment Jul 16, 2014

    I just realize that once the items are put into mailbox chest. There is no way to get it back or how?

  • TheNytangel posted a comment Jul 16, 2014

    @madtomic: Go

    Open the MailBox again.

  • madtomic posted a comment Jul 16, 2014

    <<reply 2270

    I will double check. Is the config file I need to edit is the one in config.php ?

    iConomy config

    $config['iConomy']['use'] = 'auto'; ( true / false / 'auto' ) you you have iConomy data in another table in the same database?

    $config['iConomy']['table'] = 'iConomy'; 'iConomy' is the default table name when using MySQL with iConomy

    It's already with default settings or another config I need to edit is the one in folder in plugins?

  • TheNytangel posted a comment Jul 16, 2014

    @madtomic: Go

    That looks fine as it is. It should just automatically detect when you have iConomy installed and it is using MySQL.

  • madtomic posted a comment Jul 16, 2014

    @TheNytangel: Go

    Well, I guess it don't work because the money is not read by the web part of the plugin. On another note, "Percent of Market Price" why it always shows nothing? What is this use for? Do you have an example?

  • TheNytangel posted a comment Jul 16, 2014

    @madtomic: Go

    I don't think that has been implemented into WebAuction+ yet. lorenzo_p got permission from the developer of WebAuction to use his code and continue the development of the plugin. He took out some things that he didn't have time to put in, or wanted to re-code, and hasn't put them back in yet.

  • madtomic posted a comment Jul 16, 2014

    @TheNytangel: Go

    I see, thank you for your time. I hope lorenzo_p will have time to put another awesome release in future! This is such a great plugin!


To post a comment, please login or register a new account.