1.12.2 Simpleclan plugin problem, after making custom placeholderAPI

Discussion in 'Spigot Plugin Development' started by YangJJune, Mar 5, 2020.

  1. I made custom PlaceholderAPI, it worked well. However this clan makes strange problem.

    +) hcGuild.java:339 is "
    Code (Java):
    public String getClanName(Player p) {
            ClanConfiguration clanConfiguration = new ClanConfiguration();
            return clanConfiguration.getClan(p);
  2. drives_a_ford


    The error suggests that messages.yml is not properly formaated.
    Most likely you've got a start quotation (either ' or ") on the line 65 that doesn't have a corresponding end. This can happen when (e.g) when using contractions (i.e I'll do something).
  3. MessageBaseTeleportFailed: '%prefix% &cTeleport cancelled, don''t move!'


    dont''t move!

    should be the cause.
    But I don't know the reason why it happened suddenly.
    Can you expect any reasons?
  4. drives_a_ford


    It's possible the issue is somewhere else. But it definitely is within messages.yml You should check if the YAML file is valid online, e.g here and it'll most likely tell you there's an issue. You can start removing parts of it until you it reports the YAML being fine. Then the last bit you removed contained the issue.