GetKeyModels
getKeyModels
Available from 0.1.9. Use matching updated server and clients.
Server Lua. Part of custom keys and shared placed doors.
Syntax
models = getKeyModels()
Parameters and behavior
No arguments. Approved model aliases only; arbitrary asset paths are not accepted by registration.
Returns
Fresh 1-based array. Currently contains only cavalorn_key, which supplies the native model/icon without sharing key identity.
Examples and security
See Custom keys for complete registration, copy issuance, placement, persistence and callback examples. These are server functions, not client RPC endpoints. Do not forward untrusted client arguments without gameplay authorization.