Repository navigation
Releases
OnlyWorlds SDK for Unreal 0.19.0
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
UOWClientSignInin 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
NeedsSignIntell a game when to offer the sign-in again. - The change feed on a signed-in player's token:
Changes,ChangesHeadand 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:UOWLinkListenerlistens on 127.0.0.1 and hands each link clicked in a browser or a note toOnLinkon the game thread; Read Command Line Link reads a link the game was started with.Extras/ow-linkholds an opt-in Windows handler forow://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 (
VisitDaysonFOWJoinPreview), and the seat says when it ends (EndsAtonFOWJoinSeat). - 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.
sha256 45b66e73a2712247ae7d86152e51e7fb538f694986a18556dc18ab47e674e5f5
OnlyWorlds SDK for Unreal 0.18.0
The world folder writer follows the folder format's 0.3.26 rules.
- A new element's id is checked as
<id>.json, whatever the element's name. Before, an element named Bob with the idconwas written asbob--con.json, thoughcon.jsonis a Windows device name. Such an id is now refused, named or not, byOWWorld::WriteRefusal, and so byWriteFolder,PackandOWFolderExport::Export. No other id changes outcome. - Refusals from the archive's name check now read in the TypeScript SDK's words, as in
character element id "con" cannot be a file name: as "con.json" it is a Windows device name. - A world folder is stamped
format_version0.3.26. A folder stamped 0.3.25 is read as before. - New:
OnlyWorlds::OWWorldArchive::SegmentFault, the archive's name check for one name.
A minor release because it adds public API.
onlyworlds-unreal-0.18.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.
sha256 077355d057d2fceb201130ba5168aebbe99c83d8266d4cedfb297b28860a3709
OnlyWorlds SDK for Unreal 0.17.0
A world on onlyworlds.com can now be written as a world folder, and two fixes to the file names a folder write gives.
- Export a world as a folder: the ExportWorldToFolder Blueprint node, and
OnlyWorlds::OWFolderExport::Exportin C++. It reads the world the key reaches, with GET requests only, and writes it as the folder the Python package'sexport_worldwould write. A game can ship that offline copy, or open it later with Open World Folder. The folder'sworld.jsonsays where the copy came from. - Ids that differ only in case are refused rather than written over one another.
Ä1andä1, orΣ1andσ1, became two file names that Windows and macOS take as one file. The write now refuses such a pair before anything is written, in the same words as the TypeScript and Python packages. - An id ending in a character outside ASCII is named as the other packages name it: the file name takes the id's last eight characters, counted in code points, where it counted UTF-8 bytes.
A minor release: public API was added, and nothing was removed.
onlyworlds-unreal-0.17.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.
sha256 6359915a882eeb34fbf61967706f7dc332afae2903a8d7715c9479136858ee5d
OnlyWorlds SDK for Unreal 0.16.1
A refused element id now says why in the same words as the TypeScript and Python packages.
- An id holding a colon or a control character (U+0000 to U+001F) is refused by the folder writer's own check, in the packages' order and words (
it holds a colon.,it holds a control character.), where it used to be refused in the archive name check's words. The archive's wider checks still follow (U+007F and U+0080 to U+009F, a character Windows does not allow in a file name, a reserved device name), so nothing refused before is written now. - The packages' 24 shared cases are held as a test.
A patch release: no API changed.
onlyworlds-unreal-0.16.1.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.
sha256 762e2636af18af71d52fe90fe707b5fb313a1ce17dae34679ad28875352e3ee7
OnlyWorlds SDK for Unreal 0.16.0
A game opens the world file onlyworlds.com hands a world's owner, and a world folder write refuses an element id that cannot be one file name inside the folder.
- The one-file world export opens. The Export world button on a world's page on onlyworlds.com downloads the whole world as one JSON file. A game now opens it as it opens a world folder:
OWWorldExport::ReadFile(path)in C++, Open World Export on Blueprints, which answers aUOWWorldthe struct reads (GetAllCharactersand the rest) work on unchanged. A file that is not such an export is refused with one reason, andWriteFolderwrites the opened world as a world folder. - A folder write refuses an unsafe element id. An id that is empty, holds a path separator, a colon or a control character, or is
.or.., is refused before anything is written, naming the type, the id and why; every resolved path is held inside the folder. A UUID and an id such asc-1are written as before.
A minor release: it adds public API.
onlyworlds-unreal-0.16.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.
sha256 ec88d6ce9c23587384b1463c2d4be8c9afe6ffbdd81c9df1782a4c0f6f2ed762
OnlyWorlds SDK for Unreal 0.15.0
A Blueprint game can let a player join a world by an invite link.
- Parse Join Link reads a pasted invite link (or a bare code) with no server call. PreviewJoin shows what the link opens: the world, the role joining gives, and on a table's link the Characters a player may pick. RedeemJoin spends the code for a key of the player's own. AcceptJoin seats a signed-in account. Nine Blueprint structs carry what a widget binds; an empty string means none.
- The key goes to your graph and nowhere else: an error from a redeem or an accept withholds the answer's body, since it may hold the key, and no log line holds it, measured at Display, Verbose and VeryVerbose. The joined answer's raw copy and its
envstay in C++. - The README now names the client's async nodes as a graph shows them: ReadWorld, ReadElement, ListElements.
A minor release: it adds public API.
onlyworlds-unreal-0.15.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.
sha256 e449d4c70fecef6b90152aa631a2fb15f453f3b0c295c7c778f00894115c9ee9
OnlyWorlds SDK for Unreal 0.14.0
A game can set an element's image and attach files to it: a portrait, a screenshot, a save.
- In C++: the ten image and file calls on
OWClient, as the TypeScript SDK has them:UploadImage,RemoveImage,UploadFile,ListFiles,WorldFiles,FileDownloadLink,RemoveFile, and the three tickets (CreateMediaTicket,CreateRemovalTicket,CreateFileTicket) for a game that sends the bytes itself. Their types are inOWMedia.h. - On Blueprints: six node classes. An upload takes an array of bytes or a file's path, since a screenshot or a render is written to disk:
UploadImageandUploadImageFromDisk,UploadElementFileandUploadElementFileFromDisk,RemoveImage,ListElementFilesandListWorldFiles,ReadFileDownloadLink,RemoveElementFile. - Errors a game branches on:
IsNotAuthor,IsQuotaExceeded,IsFileTooLargeandIsFilesFullon the client's error. - A body with no media type now goes as
application/octet-stream: Unreal's HTTP requires a type on a POST whose bytes are not URL-safe. - A Blueprint node gives up after 30 seconds, which a large upload on a slow connection can pass; a C++ caller sets its own timeout (the reference says how).
A minor release: it adds public API.
onlyworlds-unreal-0.14.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.
sha256 d84c75c5f762fb194e23e5e222abe664c88cce7bcc1309572b40fef8be6ee27d
OnlyWorlds SDK for Unreal 0.13.1
An answer cut off in transit says what happened.
- A connection that drops while an answer's body comes in was already a transport failure, but in the engine's words only (
no answer: Other). It now readsthe answer was lost while it was read (status 200, Other)when a status had been read; a request that got no answer keeps its words. - Tests with a local listener on 127.0.0.1 hold it: a body short of its length, a chunked body cut before its last chunk, and a DELETE whose body never came are each a transport failure, never a value.
A patch release, nothing in the API changed.
onlyworlds-unreal-0.13.1.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.
sha256 4a0d404b13dc6f74ab7c6e6097e8564557d7354b6c95ef5fab8df8ba1b54c048
OnlyWorlds SDK for Unreal 0.13.0
What's new
- Proposed changes in a game, from C++ and on Blueprints. A player's write that becomes a proposal can be listed and withdrawn; the world's owner can list the queue, accept or decline a proposal, and accept or decline a new element a player made. In the core:
OWClient::Propose,ListProposals,WorldProposals,AcceptProposal,DeclineProposal,WithdrawProposalandReviewNewElement, withOWProposal,OWProposalPage,OWProposalAcceptedandOWReviewedin the newOWProposal.h, and the proposal refusals onOWApiError(Conflicts()for a stale accept). On Blueprints:UOWClientProposal(propose, accept, decline, withdraw),UOWClientProposals(one element's proposals and the world's queue), andAcceptNewElementandDeclineNewElementonUOWClientWrite. - The queue polled cheaply. Both lists take a tag from an earlier page (
if_none_match,IfNoneMatchon Blueprints); while nothing moved, onlyworlds.com answers 304, refunded against the request budget, and the page comes backunchangedwith no rows. The game holds the tag; the client keeps none. - The wrong-kind refusal names a NaN or an infinity by its own name, never the
nullJSON would write in its place, and now covers a proposal's fields too.
Parity with the TypeScript SDK 4.221.0 and 4.220.2.
The zip
onlyworlds-unreal-0.13.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.
sha256 8ec2baea84678f4edcf8b1dc922ea81d9967c60f4466006524f20c52e1843d39
OnlyWorlds SDK for Unreal 0.12.1
What's new
- A standard field's value of the wrong kind is refused before sending, naming the field.
Create,Upsert,PatchandBulkanswer kindRefusedfor2.5,"7"ortruein an integer field (patch: character.height is an integer field; 2.5 would be stored as another value. Nothing was sent.) and for a number or a list in a text field. Before, onlyworlds.com took the value and stored another (2.5as2,"7"as7, a list as its text). An integer field takes a whole number (2.0and1e3are), a text field a string, each ornull; extensions, link fields and types outside the standard are not checked. The Blueprint write nodes meet the same check. No public name changed.
Parity with the TypeScript SDK 4.220.0.
The zip
onlyworlds-unreal-0.12.1.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.
sha256 4c73ac890c6874cd1d2476d08caf90c083c09d1e7b1863b040d959ce5604fef7