Skip to content

OnlyWorlds SDK for Unreal 0.19.0

Latest

Choose a tag to compare

@tmoosting tmoosting released this 03 Dec 00:35
· 1 commit to main since this release

A player can now sign in with their OnlyWorlds account from your game and read their own worlds, and an ow:// link clicked outside the game can reach it while it runs.

  • Sign in with OnlyWorlds, the async Blueprint node SignInWithOnlyWorlds (and UOWClientSignIn in C++): the game opens the player's browser on onlyworlds.com, they approve, and the game gets a token that reads their worlds for 30 days and writes nothing. It listens on 127.0.0.1 only, on a port the system picks; On Success gives the token, its end and the player's username, On Failure a reason to switch on. A token that is not read-only is refused and revoked. Keeping it between runs is the game's to do; the README says where. Proven against onlyworlds.com.
  • The player's worlds: ListAccountWorlds lists them, RevokeAccountToken signs out, and IsSignInExpired and NeedsSignIn tell a game when to offer the sign-in again.
  • The change feed on a signed-in player's token: Changes, ChangesHead and the world cache's sync read a world's changes with that token and the world it names, as with a world key.
  • ow:// links into a running game: UOWLinkListener listens on 127.0.0.1 and hands each link clicked in a browser or a note to OnLink on the game thread; Read Command Line Link reads a link the game was started with. Extras/ow-link holds an opt-in Windows handler for ow:// with a README: nothing is registered until you run its installer.
  • A visit: an invite link that gives an AI a seat for a set number of days says so (VisitDays on FOWJoinPreview), and the seat says when it ends (EndsAt on FOWJoinSeat).
  • Fixed: a world folder write or a pack whose element id holds half of a surrogate pair now refuses it in words, instead of throwing (the folder writer) or writing a name no reader accepts (the packer).

A minor release because it adds public API; nothing is removed or renamed. The module now depends on Sockets, which every game already links through Engine.

onlyworlds-unreal-0.19.0.zip holds the OnlyWorlds/ plugin folder, as source: put it in a C++ project's Plugins/ and build. Built from the tag and proven by building it in an empty Unreal 5.8 C++ project that reads a world through it.

README · CHANGELOG

sha256 45b66e73a2712247ae7d86152e51e7fb538f694986a18556dc18ab47e674e5f5