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.
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);
}
Okay, I'll try it tomorrow.
Where does the code have to go? Have him in the Main packed but trz comes the error message
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
Now it looks like this: .html
not quite right on my part.
If I did something wrong, would you be so nice and send me the legitimate code? So almost the whole class
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…
No matter where I do it always the () are marked in red
:( I'm not very experienced…
Try jz again to see no error message in the Eclipse.
I give up… Jz does not funzt / playtime anymore and the same mistake is still there…
Do you have discord and teamviewer?
https://discord.gg/...gg/Vf24kc4 or write me there Avankziar # 7545 … Then I look at this personally.
Have sent FA