PHP_EOL is more of a pseudo constant. It's value may not be "\n" based on your OS. Use TextFormat::EOL instead. See: https://github.com/pmmp/PocketMine-MP/commit/4c46087ffccc7f26835a1fc5bbf2ac60397884f9 When in a config, you can't access constants from code directly. Use "\n" as a linebreak like @Levi said. You may want to read this thread btw: https://forums.pmmp.io/threads/adding-multiple-lines-to-floating-text.7251/#post-60367