Giter Site home page Giter Site logo

Comments (19)

rockyhawk64 avatar rockyhawk64 commented on August 24, 2024

Can you supply more information as that is a very general error. Sometimes doing /cpd it will give a more specific error in the console.
Also, paste in your panel YML file, and that way I can reproduce or tell you how to fix the issue.

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

Yeah please copy the panels in here or use pastebin.com

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

CommandPanels.zip
There are my files

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

Okay, do you have any console errors? and if you don't see any do /cpd and try again.

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

This error comes up
[17:06:41 ERROR]: Cannot load plugins/CommandPanels/panels/.DS_Store org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '�' (0x0) special characters are not allowed in "'string'", position 0 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:183) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at me.rockyhawk.commandPanels.premium.commandpanelrefresher.onInventoryOpen(commandpanelrefresher.java:53) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:1118) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:1104) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.craftbukkit.v1_15_R1.entity.CraftHumanEntity.openCustomInventory(CraftHumanEntity.java:348) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.craftbukkit.v1_15_R1.entity.CraftHumanEntity.openInventory(CraftHumanEntity.java:333) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at com.earth2me.essentials.commands.Commandinvsee.run(Commandinvsee.java:32) ~[?:?] at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:161) ~[?:?] at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:559) ~[?:?] at com.earth2me.essentials.Essentials.onCommand(Essentials.java:470) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:723) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1658) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1498) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:895) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828) [spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at java.lang.Thread.run(Thread.java:830) [?:?] Caused by: org.yaml.snakeyaml.reader.ReaderException: special characters are not allowed at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot-1.15.2.jar:git-Spigot-a99063f-be6aaf0] ... 38 more

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

there is a file in the panels folder named .DS_Store. Try removing it because it seems that is the issue

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

.DS_store files are files that you can't remove and if you remove them a new copy will appear because of MacOS

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

These can be disabled. open up the terminal and execute the following command: defaults write com.apple.desktopservices DSDontWriteNetworkStores true. After you reboot the files will no longer be created.

And if you ever want to enable it again, this is the command for that: defaults write com.apple.desktopservices DSDontWriteNetworkStores false

from commandpanels.

rockyhawk64 avatar rockyhawk64 commented on August 24, 2024

I will be fixing this anyways, the DS_Store files also store file preferences for things like icon sizes in certain folders.

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

This will be closed and once fix is out will be linked with the fix.

from commandpanels.

rockyhawk64 avatar rockyhawk64 commented on August 24, 2024

This has been pushed and a new release is now available:
https://www.spigotmc.org/resources/command-panels-custom-guis.67788/
There should no longer be any issues when the DS_STORE file is there.

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

ehh...
this showed up in console [20:00:40 ERROR]: Cannot load plugins/CommandPanels/panels/.DS_Store
and also i need to go so i wont be able to respond until tomorrow

from commandpanels.

rockyhawk64 avatar rockyhawk64 commented on August 24, 2024

Okay,
could you also supply the rest of the log, that error is not one I have made in CommandPanels so it could for some reason be coming from somewhere else.

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

server_log.txt

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

It still seems like it's trying to load it as a panel

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

Yeah

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

Will leave this open for @rockyhawk64 to look at.

from commandpanels.

maxnyman avatar maxnyman commented on August 24, 2024

Ok i will leave for the day

from commandpanels.

fireFerry avatar fireFerry commented on August 24, 2024

Should be fixed in 3.2.3.

from commandpanels.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.