Fix grammar and add README

This commit is contained in:
Supergoat666 2020-08-23 01:42:08 +02:00 committed by Gitea
parent cc0ae096d8
commit d77af6ecac
2 changed files with 4 additions and 3 deletions

@ -16,6 +16,7 @@ These commands can be used by anyone:
- `/factions create <faction> <password>`: Create a new faction
- `/factions list`: List available factions
- `/factions info <faction>`: 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 <player>` See information on a player : joined, owned and administered factions.
- `/factions join <faction> <password>`: Join an existing faction
- `/factions leave [faction]`: Leave your faction

@ -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