changed description to be more readable.
This commit is contained in:
parent
e5873d4e89
commit
24275e058b
@ -17,9 +17,8 @@ return
|
|||||||
{ Name = "Favicon", Type = "string", Notes = "The base64 encoded favicon to be displayed in the server list for compatible clients" },
|
{ Name = "Favicon", Type = "string", Notes = "The base64 encoded favicon to be displayed in the server list for compatible clients" },
|
||||||
},
|
},
|
||||||
Returns = [[
|
Returns = [[
|
||||||
The plugin returns <code>res, ServerDescription, OnlinePlayersCount, MaxPlayersCount, Favicon</code>.
|
The plugin can return whether to continue processing of the hook with other plugins, the server description to
|
||||||
res is a boolean which stops other plugins being notified of the ping if it's set to true, and the others
|
be displayed to the client, the currently online players, the player cap and the base64/png favicon data, in that order.
|
||||||
are the same as the arguments, and if emitted change the values transmitted to the client.
|
|
||||||
]],
|
]],
|
||||||
}, -- HOOK_SERVER_PING
|
}, -- HOOK_SERVER_PING
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user