-
Notifications
You must be signed in to change notification settings - Fork 260
Common Issues
Important
The Wiki has been moved! You can now find it here: https://wiki.placeholderapi.com
This particulare page can be found here: https://wiki.placeholderapi.com/common-issues/
This page lists common issues you may encounter with PlaceholderAPI and how you can solve them.
If you have more questions, feel free to join the Discord Server.
If you encounter an issue such as
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
does it mean that the Server you're using PlaceholderAPI on does not have Gson included.
This is often the case for servers running 1.8 or older. To fix this, make sure to use at least 1.8.8 as that version does include the required dependency.
If one or multiple expansions don't work, make sure you checked the following:
- You executed
/papi reloadafter downloading the expansion(s). - Any required plugin is installed and enabled.
- The expansion is valid (See next sections).
When this error appears does it mean that either getAuthor(), getIdentifier() or getVersion() in the expansion return null which is not allowed.
In such a case, contact the developer of the expansion and inform them about this issue and that it should be fixed.
This error is given whenever the expansion cannot be loaded, which often happens due to a missing dependency (required plugin) or because creating an expansion instance failed.
The only thing you can do is to provide the full error so that we can check if the issue is caused by PlaceholderAPI (More unlikely) or by the expansion.
© 2015 - 2024 PlaceholderAPI Team
Thanks for using PlaceholderAPI.Plugin-page | Placeholders | Plugins using PlaceholderAPI | Hook into PlaceholderAPI