Tabletop Simulator

Tabletop Simulator

评价数不足
Link Manager
   
奖励
收藏
已收藏
取消收藏
Type: Game
Complexity: Low Complexity
文件大小
发表于
更新日期
55.181 KB
6 月 3 日 下午 12:56
6 月 4 日 上午 5:01
2 项改动说明 ( 查看 )

订阅以下载
Link Manager

描述
In-game utility for managing and revisioning links in your mods/saves.

Link Manager finds all gameobjects with the tag linkmanager and replaces previous links/paths according to the provided JSON array, allowing you to keep mods up to date with your most recent files without having to manually replace links and paths in a save.

The tool expects a link to a JSON array formatted as follows:

target - The path/link to replace
link - The path/link replacing target

Use the in-game command !lm f link_to_file.json or call lm.call("fetchAssets", "link_to_file.json") to run the fetch and replace function (i.e if you want to bundle Link Manager with your save and fetch new assets on load).

It is recommended that you host the JSON file on Github or a filehost that allows you to update the file and provide a direct link to it's contents.

Example: https://raw.githubusercontent.com/cgulia/tts-dynamic-links/refs/heads/main/example/example_assets.json

https://github.com/cgulia/tts-dynamic-links
3 条留言
ulia  [作者] 7 月 21 日 上午 1:43 
doesn't matter who uses it if it does what you want it to do
passeurdemonde 7 月 20 日 下午 2:35 
Is it a tool for modders or players to keep their games up to date ?
Adil3tr 6 月 7 日 下午 9:05 
Damn