diff --git a/README.md b/README.md index 3d9ef9e..1f00879 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ These commands can be used by anyone: - `/factions create `: Create a new faction - `/factions list`: List available factions - `/factions info `: See information on a faction. For faction with lot of member we can choose the length of the member's list that's going to be shown by adding `player_factions.max_members_list = int` to minetest.conf, default is 50. +- `/factions player_info ` See information on a player : joined, owned and administered factions. - `/factions join `: Join an existing faction - `/factions leave [faction]`: Leave your faction diff --git a/init.lua b/init.lua index 09f609f..3ea01da 100644 --- a/init.lua +++ b/init.lua @@ -301,7 +301,7 @@ local function handle_command(name, param) minetest.chat_send_player(name, S("@1 is in the following factions: @2", player_name, str_member, str_owner)) local owned_factions = factions.get_owned_factions(player_name) if not owned_factions then - minetest.chat_send_player(name, S("She/He is the owner of no faction")) + minetest.chat_send_player(name, S("This player is the owner of no faction")) else for _,v in ipairs(owned_factions) do if str_owner == "" then @@ -310,10 +310,10 @@ local function handle_command(name, param) str_owner = str_owner..", "..v end end - minetest.chat_send_player(name, S("She/He is the owner of the following factions: @1", str_owner)) + minetest.chat_send_player(name, S("This player is the owner of the following factions: @1", str_owner)) end if minetest.get_player_privs(player_name).playerfactions_admin then - minetest.chat_send_player(name, S("@1 has the playerfactions_admin privilege so she/he can admin every factions", player_name)) + minetest.chat_send_player(name, S("@1 has the playerfactions_admin privilege so they can admin every faction", player_name)) end end elseif action == "join" then