Skip to content

Instantly share code, notes, and snippets.

@znepb
Last active November 11, 2023 02:17
Show Gist options
  • Save znepb/acd8a546c55bed8a1bea97ecea535b95 to your computer and use it in GitHub Desktop.
Save znepb/acd8a546c55bed8a1bea97ecea535b95 to your computer and use it in GitHub Desktop.

Deprecation Notice

CommonShopInfo is now deprecated in favor of ShopSync. Please use that instead.

CommonShopInfo 1.0.0

CommonShopInfo (CSI) is a method of storing name information within a Krist domain's A record. It can be used to storage data regarding shop info.

Basic information

A CommonShopInfo string follows the same standards as Krist Common Meta (see here), with the only notable difference being spaces replaced with + signs. CSI information should always contain the field csi=1; which marks the metadata as CSI metadata. A list of standardized fields is shown below.

Fields

  • csi: The CommonShopInfo identifier and version number. This should always be 1.
  • name: A short string representing what the name is used for
  • owner: The owner of the shop
  • x, y, and z: SwitchCraft world coordinates representing the location of the shop
  • info: A string representing some basic info on shops.
  • items: A short list of notable items in the shop. Items are separated via commas, and are shown as their lowercase displaynames in en-GB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment