Skip to content

Plugin written for importing data from Inventory Camera to GC

Notifications You must be signed in to change notification settings

Penelopeep/GenshinImporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenshinImporter

Plugin that nobody asked for but many of us needed.
Allows for quickly importing hundreds of your artifacts from official server.

Usage

  1. Get your genshin data from InventoryKamera
  2. Download GenshinImporter from releases or from actions
  3. Launch you server with plugin installed
  4. Now open Grasscutter_Folder/Plugins/CharacterBuilder/Data and paste your data (with .json extension) from InventoryKamera to this folder.
    I recommend renaming it to something like data.json so you can easily type it later.
  5. Use command /import <file name> or !import <file name> to get items (don't add .json extension in command)

Settings

In Grasscutter_Folder/Plugins/GenshinImporter/Settings.json you can change some settings:

  • Artifacts/Weapons/Characters/Materials - if you want to import artifacts/weapons/characters/materials set to true, otherwise false (currently only materials are NOT supported)
  • (Artifacts/Weapons/Characters/Materials)Limit - limit of items to import (if you have 1000 artifacts and you set limit to 100, only 100 artifacts will be imported) (currently not working)
  • (Artifacts/Weapons/Characters)Rarity - list of rarities to import (if you have 5 star artifact and you set rarity to 4, it won't be imported) (currently not working)
  • (artifacts/weapons)Equip - plugin will try to equip artifacts/weapons on character. If anything goes wrong, disable it.
  • rateLimit - true/false, if true, plugin will wait each batch of items to be imported before importing next batch. If false, plugin will import all items at once.
  • rateLimitTime - time in seconds to wait before importing next batch of items.
    Note: Don't set rateLimitTime to low value, otherwise you will get kicked from server. I recommend setting it to 10 seconds.
  • rateLimitItems - number of items to import in one batch.

Helping

This plugin is built for InventoryKamera data, but if you have other data source, you can help me by sending me output from other inventory scanner like:

  • AdeptiScanner (I couldn't get it to work myself).
  • Artiscan (Manual scanner that requires you to manually add video or images of your inventory).
  • Any other scanner that outputs data in (preferably) json format.

FAQ

  1. Why some settings are missing?
    • If you update plugin, settings won't be updated. You have to delete Grasscutter_Folder/Plugins/GenshinImporter/Settings.json and plugin will generate new one with all settings.
  2. Why would you upload plugin in this state?
    • I think that basic functionality is enough for most people, and I want to hear/see feedback on this.
  3. Some 4* are fucked, don't ask for it.
  4. How to install plugin?
    • Add the newest jar file from here, and put it in GrasscutterFolder/Plugins (make this folder if you don't have)
  5. I found a bug, where to report it?
  6. Stats aren't matching official server:
    • This plugin is using Snoo's GiveArtifact code, so it might be not 100% accurate, but it's close enough.
  7. I have other question:

Version

This plugin is WIP, I have plans to add more features. Plugin is built for Grasscutter 1.7.2. I don't know if it will work on other versions, but it should.

About

Plugin written for importing data from Inventory Camera to GC

Resources

Stars

Watchers

Forks

Languages