Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Debugging Issues

Connor Linfoot edited this page Mar 27, 2017 · 9 revisions

Below are some pointers that should help debugging issues with the configuration file and other aspects of the plugin. If you're still having issues with your config you can open an issue on the Github issues page and send us a copy of your config.yml and other information about your server.

Config file keeps resetting

If your config.yml keeps getting reset to no crates and all default settings it's likely that your YAML file either isn't valid or that you have some sort of weird character. For example, the § character can cause issues if it's not within quotes to make sure Bukkit knows it is a string. If you want to also check your file is a valid YAML, you can do so using a YAML Parser

Items/Winnings aren't showing in my crate

This could be because the items showing are either invalid, or they add up to more than 100% in your crate and therefore it will ignore all remaining winnings.

Players can't open crates

By default, CratesPlus does not feature a permission for opening crates. As long as you don't have the "Permission" option set everyone should be able to open the crate. If players can not open crates it will likely be because of another plugin, usually it's caused by WorldGuard. In which case you would need to make sure you have the interact and chest-allow flags enabled in your region for the crates. Sometimes this can also be caused by spawn-protection enabled in the server.properties file. It's recommended to turn this off and use a region plugin for handling spawns.

The commands aren't working

Check that you're using valid placeholders, these are listed at the top of the config.yml. If you're still having issues check the console as you should see messages when commands are ran and it may help debug the issue. If you can't work it out post an issue with your config etc.

Holograms are still showing after removing a crate

If the hologram is still showing after a restart open your data.yml and find the line matching your location. The data.yml stores locations in lists per crate as the following format: "world|xCord|yCord|zCord"

CratesPlus does not support my version

If you receive a warning saying CratesPlus hasn't been "officially tested" with your version this means you're running a new version of Bukkit that CratesPlus does not yet recognize. The plugin should still work but may have bugs. If you get an error stating CratesPlus does not support your version then you're either running an older version than 1.7 or there's an issue with it getting your version. If you wish to continue you can add "Ignore Version" to your config.yml and set it to true and it will run using 1.7 compatible code.

Still having issues?

If you're still having issues that you can't work out you can open an issue request here make sure to let me know what you've tried so far to fix your issue.