[Towny] Always says null

Discussion in 'Spigot Plugin Development' started by GermanElectronix, Jun 1, 2015.

  1. Hello,

    currently I'm working on my own economy plugin. Everything was working fine, until I tested it with Towny. If I try to create a town (/t new town), it only prints "[Towny] null" while the town was created in the database. No error message or something. Does anyone know which Vault method Towny uses if I create a new town?

    Thanks in advance
    GermanElectronix
     
  2. Your question is vague. Please clarify and provide screenshots of whats happening.
     
  3. This is what I am doing:

    1. Command: "/t new testtown"
    Output (Ingame): Screenshot
    Output (Console): "[PLAYER_COMMAND] leNic: /t new testtown"​
    2. Command: "/money"
    Result: Money was withdrawn​
    3. Look into PhpMyAdmin:
    Result: Screenshot
    EconomyService.java:
    http://pastebin.com/x7LZ0geH

    Spigot Log:
    http://pastebin.com/hRsWm8nD

    If I do the same with other economy plugins, everything works fine.