LauraRozier / ItemSkinSetter

Sets the default skin ID for newly crafted items.

Home Page:https://umod.org/plugins/item-skin-setter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Item Skin Setter Sets the default skin ID for newly crafted items.

This plugin was written after a suggestion by TFNBlackMarket

Console Commands

These commands only work from the server-side console and RCON. Usage from the client-side console is blocked.

  • iss_get -- Retrieve the current custom default skin ID for an item.
  • iss_getskins -- Retrieve the available skins for an item.

Configuration

You can remove entries you don't use. If you prefer to keep them in the config, setting the Skin Id to 0 (zero) will apply the default skin.

{
  "Bindings": [
    {
      "Item Shortname": "door.double.hinged.metal",
      "Skin Id": 1904509199
    },
    {
      "Item Shortname": "door.double.hinged.toptier",
      "Skin Id": 2318482252
    },
    {
      "Item Shortname": "door.double.hinged.wood",
      "Skin Id": 0
    },
    {
      "Item Shortname": "door.hinged.metal",
      "Skin Id": 0
    },
    {
      "Item Shortname": "door.hinged.toptier",
      "Skin Id": 0
    },
    // etc..
  ]
}

Localization

{
  "Err Invalid Args": "Invalid argument (count), please try again.",
  "Err Invalid Permission": "You do not have permission to use this command.",
  "Err Item Does Not Exist": "Item \"{0}\" does not exist.",
  "Err Skin Does Not Exist": "Skin with ID \"{0}\" does not exist.",
  "Msg Item Skin Default": "The skin of item \"{0}\" ({1}) is default.",
  "Msg Item Skin": "The skin of item \"{0}\" ({1}) is \"{2}\" ( Name = \"{3}\" )."
}

About

Sets the default skin ID for newly crafted items.

https://umod.org/plugins/item-skin-setter

License:MIT License


Languages

Language:C# 100.0%