14 lines
1.2 KiB
Lua
14 lines
1.2 KiB
Lua
minetest.register_on_joinplayer(function(player)
|
|
if not minetest.check_player_privs(player:get_player_name(), {interact=true}) then
|
|
local player = player:get_player_name()
|
|
local color = "#52DF55"
|
|
-- How ugly, multible sending instead multiline.
|
|
-- https://github.com/minetest/minetest/pull/4546
|
|
minetest.chat_send_player(player, core.colorize(color, "# Illuna: Hey friend, it looks like you're new here, awesome to meet ya!"))
|
|
minetest.chat_send_player(player, core.colorize(color, "# Illuna: You just joined our VIP world, so you need to do a few steps in order to play here. :-)"))
|
|
minetest.chat_send_player(player, core.colorize(color, "# Illuna: 1. Read our rules (how boring) at https://illuna.rocks/rules"))
|
|
minetest.chat_send_player(player, core.colorize(color, "# Illuna: 2. Join our community at https://meet.illuna.rocks and introduce yourself."))
|
|
minetest.chat_send_player(player, core.colorize(color, "# Illuna: This is our way to protect the players, you'll love how secure this world is. ;-)"))
|
|
minetest.chat_send_player(player, core.colorize("#C3E9FF", "# Illuna: Or you just try our public servers at port 30001 and 30002... ."))
|
|
end
|
|
end)
|