Server volume access

Hello, greetings to each and every one. What I want is to associate a server with a volume, so that when a player enters the volume it is equivalent to accessing the server. That is, the access trigger for the server is a volume within the scene, instead of a button in the menu. Only players within the volume remain connected on the server and when a player leaves the volume he also leaves the server. If the server reaches its player limit, it crashes and enables a collision mesh that prevents another player from accessing the volume. The volume is represented by a block within the map and occupies a specific area within the map. I would like to know how I can implement that access feature. Greetings and thank you.