Add more to the first join message

This commit is contained in:
2025-04-06 21:20:42 -07:00
parent 9f7fdb8ee7
commit 659d3364b3

View File

@@ -11,7 +11,7 @@ class PlayerJoinListener(private val plugin: GalaxyCreations) : Listener {
val player = event.getPlayer() val player = event.getPlayer()
if (!event.getPlayer().hasPlayedBefore()) { if (!event.getPlayer().hasPlayedBefore()) {
player.performCommand("p auto") player.performCommand("p auto")
player.sendMessage(plugin.miniMessage.deserialize(plugin.setPrefix("<light_purple>Welcome to Galaxy Network: Creative Server!\nYou have been teleported <rainbow>to your own plot!</rainbow>\nHere, you can build almost anything you want\nIf you need help, run the /discord command and we will help you!</light_purple>"))) player.sendMessage(plugin.miniMessage.deserialize(plugin.setPrefix("<light_purple>Welcome to Galaxy Network: Creative Server!\nYou have been teleported <rainbow>to your own plot!</rainbow>\nHere, you can build almost anything you want\nIf you need help, run the /discord command and we will help you!\nIf you need to, you can go to your plot again by doing the command <u><click:suggest_command:'/p home'>/p home</click></u> to return back\nYou can also do <u><click:suggest_command:'/p claim'>/p claim</click></u> in an empty plot to claim it as your own if you needed more space.</light_purple>")))
} }
} }
} }