diff options
author | madmaxoft <github@xoft.cz> | 2014-09-29 20:39:09 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-29 20:39:09 +0200 |
commit | 3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9 (patch) | |
tree | 40363ab397bcbd1554accad1a3425eb5f1766a9d /MCServer/Plugins/APIDump/APIDesc.lua | |
parent | Renamed GetAllPlayers() to GetAllPlayerUUIDs() (diff) | |
download | cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.tar cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.tar.gz cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.tar.bz2 cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.tar.lz cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.tar.xz cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.tar.zst cuberite-3c6ce77934c83972a1ea9c6f9e7cf6af0e44d8c9.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 6c13597f4..eace16c96 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -2045,7 +2045,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage); GetPlayerMsgVisuals = { Params = "PlayerUUID", Return = "MsgPrefix, MsgSuffix, MsgNameColorCode", Notes = "Returns the message visuals assigned to the player. If the player is not explicitly assigned a rank, the default rank's visuals are returned. If there is an error, no value is returned at all." }, GetPlayerPermissions = { Params = "PlayerUUID", Return = "array-table of permissions", Notes = "Returns the permissions that the specified player is assigned through their rank. Returns the default rank's permissions if the player has no explicit rank assigned to them. Returns an empty array on error." }, GetPlayerRankName = { Params = "PlayerUUID", Return = "RankName", Notes = "Returns the name of the rank that is assigned to the specified player. An empty string (NOT the default rank) is returned if the player has no rank assigned to them." }, - GetPlayerName = { Params = "PlayerUUID", Return = "PlayerName", Notes = "Returns the last name that the specified player has. If the player isn't in the database, An empty string is returned if the player isn't in the database." }, + GetPlayerName = { Params = "PlayerUUID", Return = "PlayerName", Notes = "Returns the last name that the specified player has, for a player in the ranks database. An empty string is returned if the player isn't in the database." }, GetRankGroups = { Params = "RankName", Return = "array-table of groups' names", Notes = "Returns an array-table of the names of all the groups that are assigned to the specified rank. Returns an empty table if there is no such rank." }, GetRankPermissions = { Params = "RankName", Return = "array-table of permissions", Notes = "Returns an array-table of all the permissions that are assigned to the specified rank through its groups. Returns an empty table if there is no such rank." }, GetRankVisuals = { Params = "RankName", Return = "MsgPrefix, MsgSuffix, MsgNameColorCode", Notes = "Returns the message visuals for the specified rank. Returns no value if the specified rank does not exist." }, |