Closed 007Gh7 closed 4 years ago
Please double check for any errors in the console, and send them here.
Could not load 'plugins\ProtectionStones-2.7.3.jar' in folder 'plugins'
Something I broke and nwm what :( now something like this is displayed and this is the only message I get and I just wanted to translate from English to Polish :(. Can I find out why I can't load the file into the plugins folder?
Uhhh that is not the full error...
Do you have worldguard and worldedit, and are using spigot or paper?
Yes, I have WorldGuard. But it's a slightly different worldguard because it's in gui, not like the basic one
uhh what, where did you get it from
also there has to be the full error in the console, do you actually have access to it?
okay but that's not worldguard you must have worldguard
ah okey
There is one thing that works, but English to Polish translation does not currently work. When I add a changed language, the server automatically changes the language to the basic one, which is English.
how so, is the messages.yml reset? are there errors in the console?
yes messages.yml resets itself :(
[ProtectionStones] Enabling ProtectionStones v2.7.3 [21:45:59] [Server thread/INFO]: [WorldGuard] Registering session handler dev.espi.protectionstones.flags.GreetingFlagHandler [21:45:59] [Server thread/INFO]: [WorldGuard] Registering session handler dev.espi.protectionstones.flags.FarewellFlagHandler [21:45:59] [Server thread/INFO]: [ProtectionStones] PlaceholderAPI support enabled! [21:45:59] [Server thread/WARN]: [ProtectionStones] Loaded class org.apache.commons.io.IOUtils from CraftserveAgent v20200313-1954 which is not a depend, softdepend or loadbefore of this plugin. [21:45:59] [Server thread/INFO]: [ProtectionStones] Protection Stone Blocks: [21:45:59] [Server thread/INFO]: [ProtectionStones] - EMERALD_ORE (64) [21:45:59] [Server thread/INFO]: [ProtectionStones] Building region cache... [21:45:59] [Server thread/INFO]: [ProtectionStones] Building UUID cache... (if slow change async-load-uuid-cache in the config to true) [21:45:59] [Server thread/INFO]: [ProtectionStones] Checking if PS regions have been updated to UUIDs... [21:45:59] [Server thread/INFO]: [ProtectionStones] žfProtectionStones has successfully started!
Looks fine, is that from loading it with the messages.yml?
yes
try loading it in with /ps reload
[21:49:59] [Server thread/INFO]: Reloading config...
[21:49:59] [Server thread/INFO]: [ProtectionStones] Protection Stone Blocks:
[21:49:59] [Server thread/INFO]: [ProtectionStones] - EMERALD_ORE (64)
[21:49:59] [Server thread/ERROR]: Cannot load plugins\ProtectionStones\messages.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 219, column 3:
help: '&b> &7/ps region [list|re ...
^
expected
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:183) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at dev.espi.protectionstones.PSL.loadConfig(PSL.java:399) [ProtectionStones-2.7.3.jar:?]
at dev.espi.protectionstones.ProtectionStones.loadConfig(ProtectionStones.java:408) [ProtectionStones-2.7.3.jar:?]
at dev.espi.protectionstones.commands.ArgReload.executeArgument(ArgReload.java:58) [ProtectionStones-2.7.3.jar:?]
at dev.espi.protectionstones.PSCommand.execute(PSCommand.java:127) [ProtectionStones-2.7.3.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:723) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchServerCommand(CraftServer.java:708) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at net.minecraft.server.v1_15_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:443) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:407) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:984) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:824) [paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
in 'string', line 219, column 3:
help: '&b> &7/ps region [list|re ...
^
expected
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:217) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[paperspigot-1.15.2.jar:git-Spigot-ae72bf4-183139d]
... 15 more
[21:49:59] [Server thread/INFO]: Completed config reload! [21:50:03] [User Authenticator #2/INFO]: UUID of player Gh05tt77 is 0bf0b91f-5ec0-4d54-8614-8da0534a159e [21:50:05] [Server thread/INFO]: [ReflectionHelper] I am loaded from package org.inventivetalent.glow.reflection.minecraft [21:50:05] [Server thread/INFO]: [ReflectionHelper] Version is v1_15_R1 (11501) [21:50:05] [Server thread/INFO]: Gh05tt77[/127.0.0.1:60347] logged in with entity id 221 at ([world]-250.83343755367696, 80.04372277152795, 100.82083612284788)
well there are the issues
Gdy wpisałem /ps reload pojawił się błąd ale gdy konsola załadowała wszystko od nowa nie było błędu
When I entered / ps reload an error occurred but when the console loaded everything again there was no error
send me your messages.yml
something is wrong with the configuration here
lastlogons_line: '&e%player% %time% days' lastlogons_footer: |- &e================ %count% Total Players Shown %checked% Total Players Checked reload: help: '&b> &7/ps reload' help_desc: Reload settings from the config. start: '&bReloading config...' complete: '&bCompleted config reload!' addremove: help: '&b> &7/ps add|remove [playername]' help_desc: Użyj tej komendy aby usunąć lub dodac gracza do działki! owner_help: '&b> &7/ps addowner|removeowner [playername]' owner_help_desc: Użyj tej komendy aby nadać lub usunąć właściciela działki! get: help: '&b> &7/ps get [block]' help_desc: Użyj tej komendy aby dostać lub zakupić blok ochronny(cuboide) gotten: '&bBlok ochronny znajduje się w twoim ekwipunku!' no_permission_block: '&cNie masz permisji aby użyc tej komendy!' header: '&8&m=====&r Protect Blocks (click to get) &8&m=====' gui_block: '&7> &b%alias% &7- %description% (&f$%price%&7)' gui_hover: Naciśnij aby zakupić: &b%alias% give: help: '&b> &7/ps give [block] [player]' help_desc: Użyj tej komendy aby nadać komuś blok ochronny! given: '&7Nadano &b%block% &7graczowi &b%player%' no_inventory_room: '&cGracz nie ma miejsca w ekwipunku!' sethome: help: '&b> &7/ps sethome' help_desc: Użyj tej komendy aby ustawić spawn na twojej działce! set: '&Dom dla &b%psid% &7został ustawiony w tym miejscu!' list: help: '&b> &7/ps list [player (optional)]' help_desc: Use this command to list the regions you, or another player owns. header: '&8&m=====&r %player%''s Regions &8&m=====' owner: '&7Owner of:' member: '&7Member of:' name: help: '&b> &7/ps name [name|none]' help_desc: Use this command to give a nickname to your region, to make identifying your region easier. removed: '&7Removed the name for %id%.' set_name: '&7Set the name of %id% to &b%name%&7.' taken: '&7The region name &b%name%&7 has already been taken! Try another one.' setparent: help: '&b> &7/ps setparent [region|none]' help_desc: Use this command to allow this region to inherit properties from another region (owners, members, flags, etc.). success: '&7Successfully set the parent of &b%id%&7 to &b%parent%&7.' success_remove: '&7Successfully removed the parent of &b%id%&7.' circular_inheritance: '&cDetected circular inheritance (the parent already inherits from this region?). Parent not set.' merge: help: '&b> &7/ps merge' help_desc: Użyj tej komendy aby scalić region z innymi regionami! disabled: Łączenie regionów jest wyłączone! merged: '&bRegiony zostały pomyślnie scalone!' header: '&8&m=====&r Merge %region% (Kliknij aby scalić)&8&m=====' warning: '&7Uwaga!: Scalenie usunie wszystkie ustawienia obecnego regionu!' not_allowed: '&cNie możesz scalić tego regionu!' into: '&bTen region przylega do innego! Nie możesz go scalić!' no_region: '&7Nie znaleziono przylegającego regionu!' click_to_merge: Naciśnij aby scalić z %region%! auto_merged: '&7Region automatycznie scalony z &b%region%&7.'
umm send it on https://pastebin.com
Okay, on line 222, you have an extra . at the end
other than that it looks okay
Wait there is more
still the messages file changes by itself
line 293, you should have wrapped it in '' since there is a colon
gui_hover: 'Naciśnij aby zakupić: &b%alias%'
Okey works thank you :) And I have a question is there a chance that someday there will be gui?
It is in the works for 2.8.0 but it will take some time
ah okey :) thanks again
np
Hello. I have the following problem after translating the messages plugin file has stopped working and it is 100% well translated. My question is this, can anything be done about it?