Plugin (Minecraft) error in the config (self-written)?

Ly
- in Plugins
12

Hi have a question: And although I have written a plugin. However, there was a problem with the test and an error message appeared in the config.yml. Just send the code and can someone tell me where the error is.

main:

datecommand:

onlinetime:

listeners:

info:

plugin.yml:

config.yml:

Screen ingame: .html

Screen console: .html

The problem that arises is on the screen.

Ma

After no error cut is too judgmental is your plugin written for an older version of Spigot right? (So 1.8.8 rum)

Therefore you get because of the character § in your config.yml an error. I would recommend you to use a translator to then use & instead of §.

public String tl (String msg) {
return ChatColor.translateAlternateColorCodes ('&', msg);
}

Ly

Okay, I'll try it tomorrow.

Ly

Where does the code have to go? Have him in the Main packed but trz comes the error message

Ma

The code you can theoretically install anywhere.
=> https://hastebin.com/...zamoti.cpp
so you use the method. This "tl (" // here your message ")", you can refer also to your Config eg So => https://hastebin.com/...hefecit.js

Ly

Now it looks like this: .html

not quite right on my part.

Ly

If I did something wrong, would you be so nice and send me the legitimate code? So almost the whole class

Ma

https://hastebin.com/...afeqa.java

This is, for example, your DataCommand class. Since I have just written the method underneath and made in your string the § with the & exchange and a tl () drann front…

Ly

No matter where I do it always the () are marked in red
:( I'm not very experienced…

Ly

Try jz again to see no error message in the Eclipse.

Ly

I give up… Jz does not funzt / playtime anymore and the same mistake is still there…

Ma

Do you have discord and teamviewer?

https://discord.gg/...gg/Vf24kc4 or write me there Avankziar # 7545 … Then I look at this personally.

Ly

Have sent FA