Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSC] Feature request : world info read / send #24

Open
NovaVoidHowl opened this issue Mar 29, 2023 · 0 comments
Open

[OSC] Feature request : world info read / send #24

NovaVoidHowl opened this issue Mar 29, 2023 · 0 comments
Labels
enhancement New feature or request OSC

Comments

@NovaVoidHowl
Copy link
Contributor

NovaVoidHowl commented Mar 29, 2023

It would be good to have a world endpoint set like the following

world:
    id: read to get the current guid of the world, write to switch world
    status: (all are readonly)
      - flying_allowed: (bool)
      - noclip_allowed: (bool)
      - props_allowed: (bool)
      - portals_allowed: (bool)
      - number_of_users: (int)
      - number_of_props: (int) 
      - instance_id: (string)
      - instance_region: (string) EU/US/JP
      - instance_type: (string) private/public/invite etc.

The reason for this is to allow OSC apps to behave differently depending on world conditions.

Example 1, have a contact on the arm of your avatar, and in worlds that allow props have it spawn in a prop menu for avatar config, but in world that does not allow props the same contact would cause a smaller less feature rich on avatar menu to become active.

Example 2, have a contact on the arm of your avatar which would in worlds that permit it toggle flight mode, and in worlds that don't would cause a warning message to be shown (or indeed disable the contact and provide visual representation on the avatar ie. change a texture)

@kafeijao kafeijao added enhancement New feature or request OSC labels Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OSC
Projects
None yet
Development

No branches or pull requests

2 participants