Resonite Database Link: Difference between revisions

A Resonite Database Link is a link that is used to reference an Asset by its Hash.
Create page and describe resdb link's format, usage, and how to get a resdb link
 
m Rewriting for clarity
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A Resonite Database Link is a link that is used to reference a [[Asset]] by its [[Hash]].  
A Resonite Database Link is a link that is used to reference an [[Asset]] by its [[Hash]]. {{SHORTDESC:A Resonite Database Link is a link that is used to reference an Asset by its Hash.}}


== Format ==
== Format ==
Line 5: Line 5:


== Usage ==
== Usage ==
Resdb links can be used in game anywhere where an [[asset]] link is wanted. For example, the URL field of a [[Component:StaticTexture2D|Texture2D]] or for [[Cloud Spawning]].  
Resdb links can be used in game anywhere where an [[asset]] link is wanted. For example, the URL field of a [[Component:StaticTexture2D|Texture2D]] or for [[Cloud Spawning]]. {{Note|Resdb links are '''unauthenticated''' and anyone with a resdb link can access its content|warning}}
 
== Obtaining ==
== Obtaining ==
You can get a resdb link for most [[Asset|Assets]] in their URL field. For inventory objects you can get their [[Resrec]] link and get its resdb link using the [[API]] or the [https://github.com/EIA485/NeosGetItemLink GetItemLink] mod.{{Note|Resdb links are '''unauthenticated''' and anyone with a resdb link can access its content|warning}}
You can get a resdb link for most [[Asset|Assets]] in the URL field for their component (eg. StaticTexture2D for textures). For inventory objects you can get the [[Resrec]] link from where you can get its resdb link using the [[API]] or the [https://github.com/EIA485/NeosGetItemLink GetItemLink] mod will let you get a objects resdb link directly.

Latest revision as of 17:43, 9 February 2025

A Resonite Database Link is a link that is used to reference an Asset by its Hash.

Format

Resonite database links normally start with resdb:/// and are followed by their Hash and file extension. One example is resdb:///c0501cfad9379754866b45bcc74c77c0d01e6fdd017803f59bfca2f59587d5e4.brson

Usage

Resdb links can be used in game anywhere where an asset link is wanted. For example, the URL field of a Texture2D or for Cloud Spawning.

Resdb links are unauthenticated and anyone with a resdb link can access its content

Obtaining

You can get a resdb link for most Assets in the URL field for their component (eg. StaticTexture2D for textures). For inventory objects you can get the Resrec link from where you can get its resdb link using the API or the GetItemLink mod will let you get a objects resdb link directly.