-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with MySQL #24
Comments
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 |
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) |
I have deleted the directory Simplepets and have it recreated again. |
That's because it is not in the correct format. Here is the correct format for your example:
|
Hmm, there are no '' characters in my config.yml and they do not exist on the webpage either.
After a server restart the Config.yml was reset automatically
|
Hello i've changed my MySQL variables:
MySQL:
Enabled: true
Host: 123.456.789.123
Port: '3306'
DatabaseName: secret
Login:
Username: secret_user
Password: secret
Options:
UseSSL: true
AutoReconnect: true
I don't know where the problem is and this is the output from the console:
[13:53:04 INFO]: [SimplePets Debug] Loading Config.yml...
[13:53:04 ERROR]: Cannot load plugins/SimplePets/Config.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 51, column 3:
Enabled: true
^
expected , but found BlockMappingStart
in 'string', line 57, column 4:
Password: secret
^
The text was updated successfully, but these errors were encountered: