Coder Social home page Coder Social logo

Comments (5)

TomekkStorm avatar TomekkStorm commented on June 27, 2024

And if i'm not using MySQL and type /pets i've got these output:

[14:17:02 ERROR]: Could not pass event PetInventoryOpenEvent to SimplePets v4.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[minecraft_spigot_server.jar:git-Spigot-7754231-9a1f5ee]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_spigot_server.jar:git-Spigot-7754231-9a1f5ee]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [minecraft_spigot_server.jar:git-Spigot-7754231-9a1f5ee]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [minecraft_spigot_server.jar:git-Spigot-7754231-9a1f5ee]
at simplepets.brainsynder.menu.inventory.list.SelectionMenu.open(SelectionMenu.java:131) [SimplePets.jar:?]
at simplepets.brainsynder.menu.inventory.CustomInventory.open(CustomInventory.java:78) [SimplePets.jar:?]
at simplepets.brainsynder.commands.SPCommand.onCommand(SPCommand.java:100) [SimplePets.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [minecraft_spigot_server.jar:git-Spigot-7754231-9a1f5ee]

from simplepets.

brainsynder-Dev avatar brainsynder-Dev commented on June 27, 2024

Your first error is because you have an invalid config... This is most of the time caused when you use tabs instead of spaces, an easy way to fix it is to reset the config (Stop the server, delete the config, then start server).

As for your second issue that is caused because the values it is looking for in the config can not be found (due to the invalid config)

from simplepets.

TomekkStorm avatar TomekkStorm commented on June 27, 2024

I have deleted the directory Simplepets and have it recreated again.
If I do not adapt anything it works fine.
As soon as I write just after blocking Worlds: -pvp following -pvparena1 appear in the console error.

from simplepets.

brainsynder-Dev avatar brainsynder-Dev commented on June 27, 2024

That's because it is not in the correct format. Here is the correct format for your example:

blocking Worlds: 
- 'pvp'
- 'pvparena1'

from simplepets.

TomekkStorm avatar TomekkStorm commented on June 27, 2024

Hmm, there are no '' characters in my config.yml and they do not exist on the webpage either.
I wrote the following:

  • 'pvparena1'

After a server restart the Config.yml was reset automatically

  • pvp

from simplepets.

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.