• Es freut uns dass du in unser Minecraft Forum gefunden hast. Hier kannst du mit über 130.000 Minecraft Fans über Minecraft diskutieren, Fragen stellen und anderen helfen. In diesem Minecraft Forum kannst du auch nach Teammitgliedern, Administratoren, Moderatoren , Supporter oder Sponsoren suchen. Gerne kannst du im Offtopic Bereich unseres Minecraft Forums auch über nicht Minecraft spezifische Themen reden. Wir hoffen dir gefällt es in unserem Minecraft Forum!

QuickShop

Status
Für weitere Antworten geschlossen.

HardSoul

Ehemaliges Teammitglied
Ehem. Teammitglied
Registriert
2 August 2012
Beiträge
759
Diamanten
251
Minecraft
HardS0ul
Hi Leute,
ich hab ein Problem mit QuickShop, das da wäre:
Ich hab die messages.yml umgeschrieben (alles auf deutsch), doch in der Konsole kommt dieser Fehler:
Code:
2013-06-27 16:30:41 [INFO] [QuickShop] Enabling QuickShop v4.4
2013-06-27 16:30:41 [SEVERE] Cannot load plugins/QuickShop/messages.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
 in "<string>", line 5, column 1:
    not-looking-at-shop: "&4Kein Sho ...
    ^
expected <block end>, but found Anchor
 in "<string>", line 24, column 21:
    shop-out-of-stock: "&4Dein Shop {0}, {1}, {2}, hat { ...
                        ^

        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
        at org.maxgamer.QuickShop.Util.MsgUtil.loadCfgMessages(MsgUtil.java:43)
        at org.maxgamer.QuickShop.QuickShop.reloadConfig(QuickShop.java:344)
        at org.maxgamer.QuickShop.QuickShop.onEnable(QuickShop.java:107)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282)
        at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264)
        at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:304)
        at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:283)
        at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:243)
        at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:151)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: while parsing a block mapping
 in "<string>", line 5, column 1:
    not-looking-at-shop: "&4Kein Sho ...
    ^
expected <block end>, but found Anchor
 in "<string>", line 24, column 21:
    shop-out-of-stock: "&4Dein Shop {0}, {1}, {2}, hat { ...
                        ^

        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
        ... 17 more
2013-06-27 16:30:41 [INFO] [QuickShop] Hooking Vault
2013-06-27 16:30:41 [INFO] [QuickShop] Starting item scheduler
2013-06-27 16:30:41 [INFO] [QuickShop] Limit cfg found...
2013-06-27 16:30:41 [INFO] [QuickShop] Limits.use: false
2013-06-27 16:30:41 [INFO] [QuickShop] {quickshop.vip=20, quickshop=0}
2013-06-27 16:30:41 [INFO] [QuickShop] Loading shops from database...
2013-06-27 16:30:41 [INFO] [QuickShop] Loaded 13 shops.
2013-06-27 16:30:41 [INFO] Cleaning purchase messages from database that are over a week old...
2013-06-27 16:30:41 [INFO] [QuickShop] Registering Listeners
2013-06-27 16:30:41 [INFO] [QuickShop] Found Herochat... Hooking!
2013-06-27 16:30:41 [INFO] [QuickShop] Metrics started.
2013-06-27 16:30:41 [INFO] [QuickShop] QuickShop loaded!
Nun weiss ich nicht was ich falsch gemacht hab:
Code:
# Colors:
# &0-9, &a-f
# {0}, {1}, {2}, etc are variables. You can swap them around, but adding a new variable won't work. Removing them will work

not-looking-at-shop: "&4Kein Shop gefunden."
no-permission: "&4Du darfst das nicht."
no-creative-break: "&4Du kannst im Kreative-Mode keine Shops von anderen vernichten."
no-double-chests: "&4Du darfst das nicht."
shop-already-owned: "&4Das ist schon ein Shop."
chest-was-removed: "&4Kiste vernichtet."
price-too-cheap: "&4Der Preis mus hoeher sein als &e0.01 Goldtaler"
no-price-change: "&4Der Preis wurde nicht veraendert!"
you-cant-afford-a-new-shop: "&4Es kostet {0} um einen neuen Shop zu erstellen."
you-cant-afford-to-change-price: "&4Es kostet {0} um den Preis zu aendern."
success-created-shop: "&2Shop erstellt."
success-removed-shop: "&2Shop vernichtet."
shops-arent-locked: "&4Shops ist nicht abgeschlossen! Mach /cprivate!"
shop-creation-cancelled: "&4Shoperstellung abgebrochen."
shop-purchase-cancelled: "&4Kauf abgebrochen."
shop-stock-too-low: "&4Der Shop hat nur noch {0} {1}"
you-cant-afford-to-buy: "&4Das kostet {0}, aber du hast nur {1}"
negative-amount: "&4Geht nicht"
player-bought-from-your-store: "&4{0} kauft {1} {2} von deinem Shop.
shop-out-of-stock: "&4Dein Shop {0}, {1}, {2}, hat {3} nicht mehr"
shop-has-no-space: "&4Der Shop {0} hat nur nocht Platz fuer {1} mehr."
you-dont-have-that-many-items: "&4Du hast nur {0} {1}."
the-owner-cant-afford-to-buy-from-you: "&4Das kostet {0} aber der Besitzer hat nur {1}"
player-sold-to-your-store: "&4{0} vrkauft {1} {2} in deinen Shop."
shop-out-of-space: "&4Dein Shop {0}, {1}, {2}, ist voll."
fee-charged-for-price-change: "&2Du hast &c{0}&2 gezahlt um den Preis zu aendern." 
price-is-now: "&2Der neue Preis ist nun &e{0}"
thats-not-a-number: "&4Falsche Zahl"
no-price-given: "&4Bitte Preis angeben."
average-price-nearby: "&2Der Durschnitt ist: &e{0}"
shop-has-changed: "&4Der Preis wurde geaendert!"
nearby-shop-this-way: "&aDer Shop ist {0} Bloecke von der weg."
no-nearby-shop: "&4Keine Shops in deiner Naehe gefunden."
buying-more-than-selling: "&4Achtung: Du verkauft Items geringer als das du sie ankaufst!"
not-enough-space: "&4Du hast nur  {0} Platz fuer noch mehr!"
refill-success: "&2Erfolgreich aufgefuellt"
empty-success: "&2Leerung erfolgreich"

menu:
    successful-purchase: "&2Erfolgreich gekauft:"
    successfully-sold: "&2Erfolgreich verkauft:"
    item-name-and-price: "&e{0} {1} &afuer &e{2}"
    enchants: "&2Verzauberungen"
    stored-enchants: "&2Verstaute Verzauberungen"
    
    shop-information: "&aShop Informationen:"
    owner: "&2Besitzer: {0}"
    item: "&2Item: &e{0}"
    space: "&2Platz: &e{0}"
    stock: "&2Inhalt: &e{0}"
    price-per: "&2Preis pro &e{0} &2- &e{1}"
    total-value-of-chest: "&2Alle Kisten: &e{0}"
    damage-percent-remaining: "&e{0}% &2sind noch drin."
    this-shop-is-buying: "&2Dieser Shop &dKAUFT&2 Items."
    this-shop-is-selling: "&2Der Shop &bVERKAUFT&2 Items."
    
    
bypassing-lock: "&4Schloss umgangen!"
that-is-locked: "&4Dieser Shop ist verschlossen."

how-many-buy: "&2Gib im Chat ein, wieviel du &bKAUFEN&2 willst."
how-many-sell: "&2Gib im Chat ein, wieviel du &dVERKAUFEN&2 willst."

not-allowed-to-create: "&4Du darfst das hier nicht."
blacklisted-item: "&4Dieses Item ist nicht verkaeuflich"
how-much-to-trade-for: "&4Gib im Chat ein, fuer wieviel du &e{0}&a handeln willst."

command:
   #success-created-unlimited: "&aUnlimited QuickShop created."
   toggle-unlimited: "&2Der Shop ist nun {0}"
   no-owner-given: "&4Kein Besitzer. Mach &a/qs setowner <Spieler>&c"
   new-owner: "&2Neuer Besitzer: &e{0}"
   now-buying: "&dKAUFT&2 nun &e{0}"
   now-selling: "&bVERKAUFT&2 nun &e{0}"
   cleaning: "&2Raeumt alle Shops ohne Inhalt auf..."
   reloading: "&2Reloading..."
   cleaned: "&2Loescht &e{0}&a Shops"
   no-type-given: "&4Mach: /qs find <item>"
   description:
       title: "&2Shop-Hilfe"
       unlimited: "&eMach einen Shop unendlich"
       setowner: "&ewechselt den Besitzer"
       buy: "&eWechselt den Shop zum &dKauf&e Modus"
       sell: "&eWechselt den Shop zum &bVerkaufs&e Modus"
       clean: "&eLoescht alle leeren Shops"
       price: "&eWechselt den Kauf/Verkaufs Preis"
       find: "&eLokalisiert den naechsten Shop von einem bestimmten item."
       reload: "&eReloaded das Plugin"
       refill: "&eFuegt eine bestimmte Anzahl an Items hinzu"
       empty: "&eLeert den Shop"
       
signs:
    #Line 1 is used as an identifier at the moment, so I kind of need it to work, thats why I won't let you change it
    #Line 3 is the item name... There really isnt anything to change.
    selling: "Verkauft {0}"
    buying: "Kauft {0}"
    price: "fuer {0}"
Kann mir jemand sagen, wo ich was Falsch gemacht hab und wie ich es beheben kann?
 
Status
Für weitere Antworten geschlossen.
Oben