Tanuki Atlyss
A plugin framework based on BepInEx that simplifies the creation of plugins for the game Atlyss. Supports localization, commands, and more.
模組介紹 作者原文
Tanuki.Atlyss
Tanuki.Atlyss is a plugin framework for.NET based on BepInEx for the game Atlyss.
It offers simple plugin localization, command support, patches, and more.
Features
Commands
Commands for each plugin are configured in JSON files.
BepInEx/config/{Plugin}/default.commands.json
Each command can have multiple names (aliases), the first of which will be the main name of the command.
All names must be in lowercase. If a command name is already in use, it will be automatically removed.
The active command file is automatically cleared and supplemented with commands that exist but have not yet been added.
Commands support arguments that are passed to them as an array of strings.
Example
/example 123 "argument with spaces" 456 'argument with other quotes'
The command will receive the following array:
["123", "argument with spaces", "456", "argument with other quotes"]
If there are no arguments, an empty array will be passed.
Basic bootstrap commands:
- /help [plugin names separated by spaces] - Display a list of plugin commands.
- /reload [plugin names separated by spaces] - Reload the specified plugins.
Translation
Plugin translation using json documents, support for different languages.
BepInEx/config/{Plugin}/default.translations.json - Default translation file.
BepInEx/config/{Plugin}/russian.translations.json - Russian translation file.
Commands are translated in a similar way. You can add or remove command aliases by editing the Names list of commands.
BepInEx/config/{Plugin}/default.commands.json - Default command file.
BepInEx/config/{Plugin}/russian.commands.json - Russian command file.
To change the language of all plugins, you need to replace it in the bootstrap configuration.
BepInEx/config/9c00d52e-10b8-413f-9ee4-bfde81762442.cfg
The specified language will be used in all plugins where it is available, otherwise the first one encountered will be used.
You should use the full names of languages and only lowercase letters. For example: russian, english, spanish.
Other
Patches, accessors, and extensions are located in Tanuki.Atlyss.Game project.
Examples of using this framework can be found in the Tanuki.ExamplePlugin project.
Getting Started
This framework.
Manual installation
- Install BepInEx. It's recommended to use the preconfigured package.
- Install the Tanuki.Atlyss files.
Anything else?
Contacts
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: