Just like that, custom spawns cannot be implemented on v2. Because there is no check in the usual oxide if you use a spawn on the bed or a random spawn. Therefore, you need to use a modified kernel. If someone needs it in the future, then here is the plugin and here is a link to the updated oxide.
Plugin - https://oxide-russia.ru/resources/1552/
Update Oxide - https://oxide-russia.ru/resources/1547/