Allow VRC Triggers and/or Playmaker to Make Web Requests
closed
owlboy
Please provide a method for VRC to request and share data with the web.
Be it JSON API requests, or some other sort of method that allows a room to contact an arbitrary web server.
Example uses:
– Request real world weather status from an API to update the room's weather
– Creating sophisticated video/audio playback/queuing systems
– Remote control for the room's functions
– State stored outside of VRC
– More dynamic worlds
– Process requests that would not be feasible with built in tools.
Log In
I
Ind3x
For people still wanting this feature: This is probably the modern Udon-version of this feature request: https://feedback.vrchat.com/vrchat-udon-closed-alpha-feedback/p/vrchat-udon-web-api
Tupper - VRChat Head of Community
closed
Closing due to age, please make a new post if it is still relevant.
Ryuyan
I'm a web developer and I'd love to see this, can be used to do all sorts of things, like creating a saving system for games.
․Lexicon
as a JSON-RPC Node.js developer amongst the many other languages i code in i can see this bringing vrchat to the next level. this would allow the more advanced content creators to create much more rich content. it would allow them to save data externally which would give map makers the ability to create their own analytics along with the possibility of creating games within maps that persist across maps. a user could create a role playing game where levels and stats save and load across worlds. amongst a whole range of other things made possible from an update like this. please consider this functionality
Vargink
Would really like to see this down the pipeline, have had a bunch of random ideas that would need a bit of external access to get working.
B
Beanow
tupper I've been trying to achieve something similar using the VRC_WebPanel as an interactive terminal that can make web requests as needed.
What I'd hope to do is interact with scripts / world objects. Using RPC for example.
I noticed inside the web panel you have access to
engine.call
from what seems to be Coherent GT. However I've not been able to figure out how to make any calls that involve serialized .NET arguments.Things like
engine.call("ListBindings")
work fine because there's no arguments involved. Trying something likeengine.call("VRCSDK2.VRC_EventDispatcherLocal.FindGameObjectFallback", "/some/path")
though never completes.Is this system actually usable and if so, can we have a few examples?
hakanai
Beanow: I have just noticed that VRC_Trigger can be fired from a VRC_WebPanel, provided I can get a reference to a GameObject in the first place, but this problem appears to be in my way. Is it considered part of this ticket, or is there another ticket covering this issue?
B
Beanow
hakanai: Probably doesn't belong in this ticket. Not sure if there is one covering the poor WebPanel state of affairs. I would try to avoid the need to have a WebPanel interact with the world if at all possible. But do let me know if you find a solution, I would love to use responses from browser scripts.
L
Lewin
Opt out should be an option in the menu
tupper
I'd like to suggest an amendment to the original post, just for clarification:
s/contact an arbitrary web server/contact an arbitrary web server and process any response/
owlboy
tupper: 👆👆👆
Snep
I want this so much for web-based games, and to see some of the awesome things people could do with their webservers (we already see that, but it would add a whole new layer).
tupper
Big upvotes here. This would allow a TON of cool stuff.
Load More
→