Does anyone know another way to go to the next line instead of using \n? I am getting an LF box when I use \n.
Goblom That is definitely not what I needed . I am pretty sure most people who makes plugins knows that. I want to literally just make a new line for a string.
No I am using the iconmenu and I need to make a new line for the lore. I would change it to a list of strings, but I have other menus that don't need a new line and stuff.
Although i am pretty sure i am write and most plugin developers do use that. I have created another way maybe more to your 'liking' Code:java public void newLine(String string) {for (String message : string.split("^^")) {player.sendMessage(message);}} HelGod It would have been nice to have that information before saying i was wrong Code:java ArrayList<String> lore = new ArrayList<String>();lore.add("INeedAnAdult"); meta.setLore(lore); EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Goblom I said I wanted to split a string I would've already done that if I could as I said before I am using the iconmenu so it is different and I really don't want to change it to list<String> because my other menus use that iconmenu class as well
A little rude, in my opinion. Especially considering I don't know what the heck you even want. What Goblom first gave you looks like what you wanted.
HelGod Your pretty rude. What Goblom said is exactly how I would do it. Hes trying to help you, and your telling him he doesn't make plugins and everyone else knows that. Anyways, since you said IconMenu, Im asuming you want the title of the Menu to have 2 lines. Its impossible. (Tell me if I assumed wrong)
I need two lines for the lore, and I am not to sure how I would edit his method. It was not meant to be rude, it was just pointing something out. I apologize that I was sort of rude. Goblom I was making a mini-game and I was very anxious to find an answer to the problem because I was literally on the brink of finishing the game.
Tirelessly It is, but I am using the iconmenu and the lore is a string, I would change it so it would be list string, but my other menus are using the iconmenu class and don't need mutliple lines