How would I go about not changing an items custom name, but adding a new line to it with \n. Keep in mind, i dont want to change the original line, just add to it.
I think you could use something like this: PHP: /*** @var Item $item ***/ $item->setCustomName($item->getName()\n . /*"Your Text Here"*/);
Yes $item should be an instance of the Item class PHP: $item = Item::get(279,0,1);$item->setCustomName($item->getName()."\n"."New Name");
This is the development section, you should know how to do it on your own before asking others to just give you code.