diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..726c80f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/playerlist.iml b/.idea/playerlist.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/playerlist.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/init.lua b/init.lua index 1c2f6fa..1c9b435 100644 --- a/init.lua +++ b/init.lua @@ -59,3 +59,6 @@ controls.register_on_release(function(user, key) end end) +if minetest.get_modpath("random_messages") then + random_messages.add_message({"", "Use your " .. playerlist_key .. " key to show a list of all online players."}) +end \ No newline at end of file diff --git a/mod.conf b/mod.conf index 646f1f2..7d70274 100644 --- a/mod.conf +++ b/mod.conf @@ -1,3 +1,4 @@ name = playerlist description = The playerlist feature (extracted from the elidragon mod) depends = controls, ctf, ctf_colors +optional_depends = random_messages \ No newline at end of file