Resonite-Issues icon indicating copy to clipboard operation
Resonite-Issues copied to clipboard

Add a Method to Update World Name via ProtoFlux

Open RyuviTheViali opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently, in a couple of cases, I've needed to update the name of a session (it's World Name) dynamically based on certain conditions. Currently, there is no method to update the world name dynamically outside of changing it manually in the Session Settings tab.

Describe the solution you'd like

I would like some method to change the name of a world dynamically via ProtoFlux.

Some things could be considered for some minor added security:

  • The node could only function off of pulses/contexts from the world authority (World Host).
  • The node wouldn't necessarily need to be rate-limited, since rate limiting is already handled by SignalR.

An couple of ideas regarding this:

  • Be able to Source the "World Name" ProtoFlux node, i.e. allowing a Write node to write to the World Name node (and by proxy, the actual world name).
  • A separate "Set World Name" node under the World/Info node category which takes a pulse and a string and returns on done or on fail - in the case a non-authority user attempts to change the world name.

Describe alternatives you've considered

There are currently no other methods to solving this issue, aside from manually changing the world name in one's Session Settings Dashboard tab.

Additional Context

A particular use case for this is my Workshop world - it uses a join verifier to control what users can join the world based on certain conditions - I want to be able to dynamically adjust the world's name to reflect it's joinable state without users necessarily needing to attempt join and subsequently fail.

Requesters

Ryuvi (Discord: ryuvi)

RyuviTheViali avatar May 30 '25 02:05 RyuviTheViali

duplicate of https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/3172

Redd56 avatar May 30 '25 03:05 Redd56