ChestShop bug I guess ?

Discussion in 'Bukkit Help' started by Zratey, Apr 3, 2020.

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

    Zratey

    Hi, I'm Zratey
    I've a problem when I reload the plugins sytem in my server. I use WorldEdit, Vault, TheNewEconomy and ChestShop plugins ( +GroupManager) in my Spigot server with 1.15.2 version. I was searching for fixing a bug : when someone want to buy into a adminshop, it's worked but when someone want to sell, it's work but the guy didn't receive the monney. With someone with admin permissions do that, it's the opposite effect. So I search a lot in the yml files and I find this in the server execution command when I reload :
    Code:
    [09:17:01 INFO]: [ChestShop] Enabling ChestShop v3.10.1 (build 174)
    [09:17:01 ERROR]: Cannot load plugins\ChestShop\local.yml
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
     in 'string', line 1, column 1:
        PREFIX: "&a[Shop] &r"
        ^
    expected <block end>, but found '<scalar>'
     in 'string', line 13, column 18:
        NO_BUYING_HERE: "vous ne pouvez pas acheter ici !"
                         ^
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:183) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at com.Acrobot.Breeze.Configuration.Configuration.pairFileAndClass(Configuration.java:47) [ChestShop.jar:?]
        at com.Acrobot.ChestShop.ChestShop.loadConfig(ChestShop.java:157) [ChestShop.jar:?]
        at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:117) [ChestShop.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.reload(CraftServer.java:811) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.Bukkit.reload(Bukkit.java:576) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:711) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchServerCommand(CraftServer.java:696) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at net.minecraft.server.v1_15_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:436) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:400) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:984) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:824) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at java.lang.Thread.run(Thread.java:835) [?:?]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
     in 'string', line 1, column 1:
        PREFIX: "&a[Shop] &r"
        ^
    expected <block end>, but found '<scalar>'
     in 'string', line 13, column 18:
        NO_BUYING_HERE: "vous ne pouvez pas acheter ici !"
                         ^
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:217) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
        ... 22 more
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - creating table 'accounts'
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - creating index 'accounts_uuid_idx' for table 'accounts
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - creating index 'accounts_shortName_idx' for table 'accounts
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - creating index 'accounts_name_idx' for table 'accounts
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - executed create table statement changed 0 rows: CREATE TABLE IF NOT EXISTS `accounts` (`name` VARCHAR NOT NULL , `shortName` VARCHAR NOT NULL , `uuid` VARCHAR NOT NULL , `lastSeen` BIGINT DEFAULT 0 NOT NULL , PRIMARY KEY (`shortName`) , UNIQUE (`name`,`uuid`) ) 
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - executed create table statement changed 0 rows: CREATE INDEX IF NOT EXISTS `accounts_uuid_idx` ON `accounts` ( `uuid` )
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - executed create table statement changed 0 rows: CREATE INDEX IF NOT EXISTS `accounts_shortName_idx` ON `accounts` ( `shortName` )
    [09:17:01 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - executed create table statement changed 0 rows: CREATE INDEX IF NOT EXISTS `accounts_name_idx` ON `accounts` ( `name` )
    [09:17:02 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - creating table 'items'
    [09:17:02 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - creating index 'items_code_idx' for table 'items
    [09:17:02 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - executed create table statement changed 0 rows: CREATE TABLE IF NOT EXISTS `items` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `code` VARCHAR NOT NULL ) 
    [09:17:02 WARN]: [Server thread] INFO com.Acrobot.ChestShop.ORMlite.table.TableUtils - executed create table statement changed 0 rows: CREATE INDEX IF NOT EXISTS `items_code_idx` ON `items` ( `code` )
    [09:17:02 INFO]: [ChestShop] Using TheNewEconomy as the Economy provider now.
    
    SomeOne know exactly what does it mean and someone know how I fix the problem with ChestShop ?
     
    Last edited by a moderator: Apr 3, 2020
  2. Offline

    KarimAKL

  3. Offline

    Zratey

  4. Offline

    KarimAKL

    @Zratey Why is it copy and pasted several times?

    Anyway, the error happens because you're missing a quote at the end of the NO_ECONOMY_ACCOUNT string.
     
Thread Status:
Not open for further replies.

Share This Page