From c8dc189e92f9bf130d12c9f1a4a9e175ff584fbb Mon Sep 17 00:00:00 2001 From: Basile Date: Wed, 29 Jul 2020 10:48:30 +0000 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4c00012..2928071 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ I strongly recommend reading through the `init.lua` file; the functions at the t ``` - `get_player_faction(player)`: Get a string with the faction a player belongs to, `nil` if they haven't joined a faction. In multi-faction mode, it will return the oldest created faction which player is into. (it's not necessarily the one they joined first. It checks the facts variable from the top) - `get_player_factions(player)`: Get a table with the faction(s) a player belongs to, `nil` if they haven't joined a faction. The structure is: {name_of_faction1, name_of_faction2} +- `get_owned_factions(player)`: Get a table with the faction(s) owned by a player, `nil` if they have the ownership of no faction. The structure is: {name_of_faction1, name_of_faction2} - `get_owner(faction)`: Get the owner of a faction - `chown(fname, owner)`: Change the owner of a faction - `register_faction(faction, player, password)`: Create a new faction