Jump to content

10 Screenshots

  • 6.5k
  • 62
  • 52.25 kB

About Crafting Panel

This plugin provides a beautiful and convenient crafting panel for your server. Its design and mechanics are as similar as possible to the in-game Rust crafting panel. Add crafting of any custom items, commands, permissions and anything else you like.

 

Features

  • The design is ~90% similar to the design of Rust's in-game crafting panel.
  • Support for any custom items and commands.
  • The plugin only registers permissions for items that you have specified to it. Thus, preventing the creation of a large number of permissions.
  • Customizable sound effects, notifications in the status bar on the right, and text notifications in popular plugins.
  • The plugin can take and give out items from inventory, game backpack and Backpacks plugin, depending on the fullness of any of them.
  • Ability to add item variations (just look at the screenshots).
  • Supports work with skill plugins.
  • Supports work with economy plugins. The player can choose whether to craft or buy an item.
  • Add items to favorites, built-in search, fully functional queue and more.

 

Supported plugins:

  • SkillTree - allows you to use bonuses such as: Craft_SpeedCraft_RefundCraft_Duplicate. Also allows you to give bonuses when crafting and take away when crafting is canceled.
  • Backpacks - plugin can take and give items in an additional backpack.
  • ItemRetriever - plugin can take crafting ingredients from all containers that are connected to the player (including inventory, game backpack, Backpacks plugin, and any other plugin that uses ItemRetriever as Suppliers).
  • ZLevelsRemastered - allows you to use the craft speed bonus.
  • EconomicsServerRewardsIQEconomic -  these plugins are used to purchase items with the currency of these plugins.
  • NotifyGUIAnnouncements - these plugins are used to display notifications.
  • SimpleStatusAdvancedStatus - these plugins are used to display notifications in the status bar at the bottom right of the screen.

 

Permissions

The plugin has immutable and generated permissions.

The immutable ones include:

  • craftingpanel._use – is responsible for opening the panel. If there is no permission, the panel will not open.
  • craftingpanel._admin – give this permission only to administrators. It adds an additional "Give yourself" button to get items from the panel for free. This permission is also needed to use the givecraft command (about it below).
  • craftingpanel._instant – all player crafts will be instant.
  • craftingpanel._death – crafting queue will not be reset when the player dies.
  • craftingpanel._disconnect – when a player leaves the server, the craft queue will not be reset.
  • craftingpanel._economics – allows you to purchase items for the currency of the selected economy plugin. If the player does not have permission, the cost panel will still be displayed, but the player will not be able to make a purchase.
  • craftingpanel._workbench - allows you to reduce crafting time by having a workbench of a higher level than necessary for crafting.
  • craftingpanel._bonuses – allows the player to access the crafting bonuses from the "Crafting bonuses" section.

The generated permissions are created by the plugin itself, here's how it works:

  • craftingpanel.section.vehicles- this is permission for the "vehicles" section.
  • craftingpanel.vehicles.minicopter - this is permission for the item "minicopter" in the "vehicles" section.
  • craftingpanel.vehicles.snowmobile.tomaha - this is permission for the item "snowmobile" in the "vehicles" section and in "tomaha" variation.

 

Commands

Only one command is present in the plugin:

givecraft steamid/nickname section item 5 skin

  • steamid/nickname – steamid or nickname of your choice.
  • section – section name from the Section permission [required] field.
  • item – item name from the Item permission [required] field.
  • 5 – how much of the current item to give out (craft multiplier).
  • skin - name of the item from the Ingredients section, Item permission [required] fields.

All arguments of this command are required. If your item has an empty "Variations" section or you want a default item, specify "default" in place of skin.

 

General settings

Enable multilingual mode? – if your server has players from different countries, this mode allows you to customize translation for other languages. When you enable this mode, the plugin will write all the data that needs to be translated to the lang - file. These include: section names, item names, item descriptions, item properties, item variation names, and ingredient names. The lang - file consists of a pair: key - value. The key is a unique name, with the help of which the plugin understands what phrase to use.

      Section translation:

            section.*section permission* –  key template for section name translation. For example: "section.favorite": "Favorite" – Favorite section.

      Translation of item information:

            *section permission*.*item permission*.name – key template for item name translation. For example: "sunburn.innertube.name": "Inner Tube" – item name.

            *section permission*.*item permission*.description – key template for item description translation. For example: "sunburn.innertube.description": " Inflatable lap for water fun." – item description.

            *section permission*.*item permission*.properties – key template for item properties translation. For example: "sunburn.innertube.properties ": "Any properties ..." – item properties.

            *section permission*.*item permission*.variations.*variation permission* – key template for variation name translation. For example: "sunburn.innertube.variations.zebra": "ZEBRA" – variation name.

      Translation of ingredient names:

            *ingredient shortname *.*ingredient skinId* - key template for ingredient name translation. For example: "wood.0": "Wood" – ingredient name.

Allow work with the Backpacks plugin? – plugin can take and give items in an additional backpack (Backpacks by WhiteThunder).

Allow work with the ItemRetriever plugin? – this plugin provides advanced functionality for interacting with player containers:

      If the ItemRetriever plugin is enabled, the CraftingPanel will take crafting ingredients from all containers that are connected to the player (including inventory, game backpack, Backpacks plugin, and any other plugin that uses ItemRetriever as Suppliers).

      If the ItemRetriever plugin is disabled, the CraftingPanel will take items with the next priority (if the item is not found, it goes to the next container): Backpacks plugin (if enabled) -> game backpack -> inventory.

      The CraftingPanel plugin is fully in charge of giving out items (since ItemRetriever only allows you to take items from the player), it gives out items with the next priority (if the container is full, it moves on to the next one): inventory -> game backpack -> Backpacks plugin (if enabled) -> drop item.

Delete player data from the Data file if they have not logged into the server for so many days – this setting is added to prevent the plugin from keeping in memory the settings of all players who have ever visited your server.

Effect at the start/end/canceling – game effects that will be played at the start of crafting/completion of crafting/cancellation of crafting (effects list, plugin for playing effects).

Specify a plugin to work with the economy – specify one plugin from the list or leave the field empty to disable work with economy.

 

Crafting bonuses

This section allows you to customize crafting bonuses when using one of the supported plugins. Each of these plugins has its own settings.

Amount of experience will depend on crafting time? – if this setting is disabled, then the given/taken experience will be the same (which are specified in the settings above). If this setting is enabled, the experience will be calculated using the following formula: calculated experience = crafting time * experience from the settings above. It should be taken into account that to calculate the experience for a crafted item, the full crafting time is taken (which is specified in the item's setting), and to calculate the experience for crafting cancellation, the time left to create the item is taken.

The ZLevelsRemastered plugin does not have a full-fledged api for interaction with crafting bonuses, so the work with it is not fully implemented (no rewards are given in economy plugins, permission of this plugin is not taken into account, etc.).

 

Notification settings

Notification type (Chat, GameTips, Notify, GUIAnnouncements) – if this section is enabled, you must specify the type/plugin to notify the player of different warnings.

Just below that are the customization fields for the specific type of notification.

 

Game Status Settings

Game status is a notification that is shown at the bottom right of the screen (like in-game crafting). The plugin can show 3 types of game status:

  • Current craft – it's the blue panel with the gear. It is displayed while the crafting process is in progress.
  • Giving item – it's the green panel with the down arrow. It is displayed when a player is given a craft item.
  • Dropping item – it's the red panel with the cross. It is displayed when the items given by the plugin do not fit in the inventory and drop out near the player.

Crafting Panel working with Rust's in-game status and two plugins (SimpleStatus, AdvancedStatus) that have slightly advanced features.

  • Rust – is the in-game status built into the game. It does not require any additional plugins, but it cannot show the Current craft (blue panel with a gear).
  • SimpleStatus – this plugin displays customizable statuses. It can show Current craft and Giving item. But cannot display Dropping item due to limitations in its operation.
  • AdvancedStatus - this plugin displays customizable statuses. It works with all of the above status types.

 

Section settings

Section name – the displayed section name on the menu button.

Section permission [required] – be sure to fill in these fields and make sure they are all unique. Because it is by this field that the plugin understands which section it is currently working with. If you specify "favorite" here, the plugin will use this section to display the player's favorite items (don't add items to it, the plugin will delete them anyway).

Register this permission? – if enabled, the plugin will register a permission with the above name. In this case this section will be shown only to those players who have this permission.

 

Section item settings

Item name [required] – required field. The name of the item is displayed only in this plugin. If you need to create an item with the same name, you will find this setting below.

Item permission [required] – required field. Make sure that each item in the section has a unique field. Because by this field the plugin understands which item in the current section it is currently working with.

Register this permission? - if enabled, the plugin will register permission with the above name. Keep in mind that the current item will still be shown to all players, but they will not be able to craft it (this is also notified by the icon on the top left of the information section).

Item description – item description, is not passed to the item when crafting, only displayed in the panel of this plugin.

Item properties – if the item has some characteristics (e.g., damage, radiation protection, etc.) you can specify them here. This data is displayed in a separate panel in the information section of the item.

Item shortname – if you are using the command as a craft result, leave this field empty.

Create an item with the default name (true) or the above name (false)? – if true, the plugin will create an item with the default game name (which refers to the current shortname), otherwise it will set the name from the Item name field.

Item skinId – if the item is custom, specify the required skinId, otherwise set it to 0.

Item image [optional] – if as a result of craft, you have to execute some command, you can specify a link to a picture related to this command.

Console commands executed after crafting (%steamid%, %username%, %amount%) [optional] – if you need to execute some commands as a result of crafting, you can list them with commas in this field. In the command you can specify %steamid% and %username%, the plugin will replace them with the data of the current player. The plugin can also replace %amount% with the amount per craft (next setting). If the command gives some custom game item and you know its shortname and skinid you can specify them in the fields above. This way you don't need to additionally save the image of this item to the hosting and specify its link.

Amount per craft – number of items given out per craft.

Max craft multiplier - maximum allowable craft multiplier. The craft multiplier (selected by the player in the Ingredients section) is how many times an item will be dispensed or how many times commands will be executed. If Amount per craft = 3, and the player chose multiplier = 2, he will receive 2 * 3 = 6 items.

Crafting time [sec] – time to craft the item. It can be set to 0, then the item will be crafted instantly.

Show notification in game status (if they are enabled)? – if a command from another plugin is used to give a custom item and that plugin displays game status, duplication of game statuses may occur. Therefore, it is possible to disable the display of game status for a particular item. Keep in mind that this only disables the Giving item status.

Apply craft bonuses (if they are enabled)? – allows you to apply craft bonuses (from the "Crafting bonuses" section) to this item.

Crafting cost in the economy plugin [0 - disable] – the value of the current item in your economy server currency. The customization works if you specified one of the supported economy plugins at the beginning.

 

Item Variation settings

In the in-game Rust crafting panel this section is called Skins, here it is called Variations. This is done because here it can include not only skins, but any items or commands related to the parent item. For example, you have several modular car presets, with different types of modules, but they are all related to modular cars. Therefore, you can specify them in one item - "Modular car". The settings in this section are similar to the parent item, except for the crafting ingredients. They will be the same as the parent item.

 

Item Ingredient settings

Resource name [required] – required field. Is used to display the name of the ingredient in the plugin panel (it is not taken into account when taking ingredients from the player). When canceling the craft, the plugin can set this ingredient to the specified name, you will find this setting below.

Use this resource in ingredients? – enables or disables this resource for use in ingredients.

Resource shortname [required] – required field. Shortname of the item that the plugin will look for from the player for crafting.

Resource skinId – if it's a custom item, give its skinId, otherwise set it to 0.

Return an item with the default name (true) or the above name (false)? – when the craft is canceled, if true, the plugin will create an ingredient with the default game name (which refers to the current shortname), otherwise it will set the name from the Resource name field.

 

Plugin Config

Example of plugin configuration in English:

Quote
{
  "Command to open the craft panel": "craft",
  "Close the panel after starting craft?": false,
  "Enable multilingual mode?": false,
  "Allow work with the Backpacks plugin?": true,
  "Allow work with the ItemRetriever plugin?": true,
  "Delete player data from the Data file if they have not logged into the server for so many days": 182,
  "Effect at the start of crafting [empty - nothing]": "assets/prefabs/misc/xmas/snowballgun/effects/reload_start.prefab",
  "Effect at the end of crafting [empty - nothing]": "assets/prefabs/misc/xmas/presents/effects/wrap.prefab",
  "Effect of canceling the craft [empty - nothing]": "assets/prefabs/instruments/xylophone/effects/xylophone-deploy.prefab",
  "Specify a plugin to work with the economy (ServerRewards, Economics, IQEconomic) [empty - disable]": "",
  "Crafting bonuses": {
    "Enable crafting bonuses?": false,
    "Specify a plugin to work with bonuses (SkillTree, ZLevelsRemastered)": "SkillTree",
    "Amount of experience given for crafting": 0.25,
    "Amount of experience taken away for canceling the craft": 0.05,
    "Amount of experience will depend on crafting time?": true,
    "Icon for chat messages (from config of plugin used) [0 - default]": 76561199514393612,
    "SkillTree: use Craft_Speed buff?": true,
    "SkillTree: use Craft_Refund buff?": true,
    "SkillTree: use Craft_Duplicate buff?": true,
    "ZLevelsRemastered: use the crafting speed buff?": true,
    "ZLevelsRemastered: config value - Plugin Prefix": "<color=orange>ZLevels</color>: ",
    "ZLevelsRemastered: config value - Skill Colors -> CRAFTING": "#00FF00",
    "ZLevelsRemastered: config value - Crafting Details -> Percent Faster Per Level": 5.0,
    "ZLevelsRemastered: config value - Level Caps -> CRAFTING": 20.0,
    "ZLevelsRemastered: config value - Starting Stats -> Crafting Points": 10.0
  },
  "Plugin notifications": {
    "Enable plugin notifications?": true,
    "Notification type (Chat, GameTips, Notify, GUIAnnouncements)": "GameTips",
    "Close the panel to show a notification?": true,
    "GameTips: notification type (info, warning)": "warning",
    "Notify: notification type": 0,
    "GUIAnnouncements: banner color": "Grey",
    "GUIAnnouncements: text color": "White",
    "GUIAnnouncements: vertical position": 0.03
  },
  "Game status": {
    "Enable game status?": true,
    "Type of game status (Rust, SimpleStatus, AdvancedStatus)": "Rust"
  },
  "Sections": [
    {
      "Section name": "Favorite",
      "Enable this section?": true,
      "Section permission [required]": "favorite",
      "Register this permission?": true,
      "Section icon": "https://i.postimg.cc/43jc0tWp/favorite.png",
      "Section items": []
    },
    {
      "Section name": "Items",
      "Enable this section?": true,
      "Section permission [required]": "items",
      "Register this permission?": false,
      "Section icon": "https://i.postimg.cc/kGbJ85TZ/items.png",
      "Section items": [
        {
          "Item name [required]": "Skinning Knife",
          "Enable crafting of this item?": true,
          "Item permission [required]": "skinningknife",
          "Register this permission?": false,
          "Item description": "A sharp skinning knife. Extremely good at harvesting flesh and can produce trophies that can be mounted on Hunting Trophies.",
          "Item properties": "Damage   20\nAttack Speed   86\nAttack Size   0.3\nRange   1.5\nFlesh Gather   18",
          "Item shortname": "knife.skinning",
          "Item skinId": 0,
          "Is this a blueprint? ": false,
          "Create an item with the default name (true) or the above name (false)?": true,
          "Item image [optional]": "",
          "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "",
          "Amount per craft": 1,
          "Max craft multiplier": 1,
          "Crafting time [sec]": 5.2,
          "Show notification in game status (if they are enabled)?": true,
          "Apply craft bonuses (if they are enabled)?": true,
          "Workbench level [0 - not needed]": 0,
          "Crafting cost in the economy plugin [0 - disable]": 0,
          "Item variations": [],
          "Crafting ingredients": [
            {
              "Resource name [required]": "Metal fragments",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "metal.fragments",
              "Resource skinId": 0,
              "Required quantity for crafting": 75,
              "Return an item with the default name (true) or the above name (false)?": true
            }
          ]
        },
        {
          "Item name [required]": "Abyss Diver Suit",
          "Enable crafting of this item?": true,
          "Item permission [required]": "hazmatdiver",
          "Register this permission?": false,
          "Item description": "A divers suit found in the abyss, doubles as a reliable hazmat suit.",
          "Item properties": "Projectile   +30 %\nMelee   +30 %\nBite   +8 %\nRadiation   +50 %\nCold   +8 %\nExplosion   +5 %",
          "Item shortname": "hazmatsuit.diver",
          "Item skinId": 0,
          "Is this a blueprint? ": false,
          "Create an item with the default name (true) or the above name (false)?": true,
          "Item image [optional]": "",
          "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "",
          "Amount per craft": 1,
          "Max craft multiplier": 1,
          "Crafting time [sec]": 0.0,
          "Show notification in game status (if they are enabled)?": true,
          "Apply craft bonuses (if they are enabled)?": true,
          "Workbench level [0 - not needed]": 2,
          "Crafting cost in the economy plugin [0 - disable]": 0,
          "Item variations": [],
          "Crafting ingredients": [
            {
              "Resource name [required]": "Cloth",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "cloth",
              "Resource skinId": 0,
              "Required quantity for crafting": 20,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Low Grade Fuel",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "lowgradefuel",
              "Resource skinId": 0,
              "Required quantity for crafting": 5,
              "Return an item with the default name (true) or the above name (false)?": true
            }
          ]
        }
      ]
    },
    {
      "Section name": "Vehicles",
      "Enable this section?": true,
      "Section permission [required]": "vehicles",
      "Register this permission?": false,
      "Section icon": "https://i.postimg.cc/HsrtYbkp/vehicles.png",
      "Section items": [
        {
          "Item name [required]": "Minicopter",
          "Enable crafting of this item?": true,
          "Item permission [required]": "minicopter",
          "Register this permission?": true,
          "Item description": "The Minicopter is a small helicopter made from scrapped parts.",
          "Item properties": "",
          "Item shortname": "box.wooden.large",
          "Item skinId": 2663605922,
          "Is this a blueprint? ": false,
          "Create an item with the default name (true) or the above name (false)?": false,
          "Item image [optional]": "",
          "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "",
          "Amount per craft": 1,
          "Max craft multiplier": 1,
          "Crafting time [sec]": 30.0,
          "Show notification in game status (if they are enabled)?": true,
          "Apply craft bonuses (if they are enabled)?": true,
          "Workbench level [0 - not needed]": 3,
          "Crafting cost in the economy plugin [0 - disable]": 500,
          "Item variations": [],
          "Crafting ingredients": [
            {
              "Resource name [required]": "Scrap",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "scrap",
              "Resource skinId": 0,
              "Required quantity for crafting": 300,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Metal fragments",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "metal.fragments",
              "Resource skinId": 0,
              "Required quantity for crafting": 450,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Low Grade Fuel",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "lowgradefuel",
              "Resource skinId": 0,
              "Required quantity for crafting": 50,
              "Return an item with the default name (true) or the above name (false)?": true
            }
          ]
        },
        {
          "Item name [required]": "Snowmobile",
          "Enable crafting of this item?": true,
          "Item permission [required]": "snowmobile",
          "Register this permission?": false,
          "Item description": "The snowmobile is a two-seat vehicle that spawns at the Arctic Research Base.",
          "Item properties": "",
          "Item shortname": "",
          "Item skinId": 0,
          "Is this a blueprint? ": false,
          "Create an item with the default name (true) or the above name (false)?": true,
          "Item image [optional]": "https://i.postimg.cc/VvVjGQVy/snowmobile.png",
          "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "givesnowmobile %steamid% %amount%",
          "Amount per craft": 1,
          "Max craft multiplier": 1,
          "Crafting time [sec]": 12.0,
          "Show notification in game status (if they are enabled)?": true,
          "Apply craft bonuses (if they are enabled)?": true,
          "Workbench level [0 - not needed]": 3,
          "Crafting cost in the economy plugin [0 - disable]": 0,
          "Item variations": [],
          "Crafting ingredients": [
            {
              "Resource name [required]": "Scrap",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "scrap",
              "Resource skinId": 0,
              "Required quantity for crafting": 300,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Metal fragments",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "metal.fragments",
              "Resource skinId": 0,
              "Required quantity for crafting": 450,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Low Grade Fuel",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "lowgradefuel",
              "Resource skinId": 0,
              "Required quantity for crafting": 50,
              "Return an item with the default name (true) or the above name (false)?": true
            }
          ]
        }
      ]
    },
    {
      "Section name": "Lunar NY",
      "Enable this section?": true,
      "Section permission [required]": "lunar",
      "Register this permission?": false,
      "Section icon": "https://i.postimg.cc/Fz1hz3G4/lunarNY.png",
      "Section items": [
        {
          "Item name [required]": "Sky Lantern",
          "Enable crafting of this item?": true,
          "Item permission [required]": "skylantern",
          "Register this permission?": false,
          "Item description": "A beautiful sky lantern. Can be launched in any direction. Has one inventory slot. Can be Ignited with a lit torch.",
          "Item properties": "",
          "Item shortname": "skylantern",
          "Item skinId": 0,
          "Is this a blueprint? ": false,
          "Create an item with the default name (true) or the above name (false)?": true,
          "Item image [optional]": "",
          "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "",
          "Amount per craft": 2,
          "Max craft multiplier": 5,
          "Crafting time [sec]": 5.0,
          "Show notification in game status (if they are enabled)?": true,
          "Apply craft bonuses (if they are enabled)?": true,
          "Workbench level [0 - not needed]": 0,
          "Crafting cost in the economy plugin [0 - disable]": 0,
          "Item variations": [
            {
              "Item name [required]": "GREEN",
              "Enable crafting of this item?": true,
              "Item permission [required]": "green",
              "Register this permission?": false,
              "Item shortname": "skylantern.skylantern.green",
              "Item skinId": 0,
              "Is this a blueprint? ": false,
              "Create an item with the default name (true) or the above name (false)?": true,
              "Item image [optional]": "",
              "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": ""
            },
            {
              "Item name [required]": "ORANGE",
              "Enable crafting of this item?": true,
              "Item permission [required]": "orange",
              "Register this permission?": false,
              "Item shortname": "skylantern.skylantern.orange",
              "Item skinId": 0,
              "Is this a blueprint? ": false,
              "Create an item with the default name (true) or the above name (false)?": true,
              "Item image [optional]": "",
              "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": ""
            },
            {
              "Item name [required]": "PURPLE",
              "Enable crafting of this item?": true,
              "Item permission [required]": "purple",
              "Register this permission?": true,
              "Item shortname": "skylantern.skylantern.purple",
              "Item skinId": 0,
              "Is this a blueprint? ": false,
              "Create an item with the default name (true) or the above name (false)?": true,
              "Item image [optional]": "",
              "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": ""
            },
            {
              "Item name [required]": "RED",
              "Enable crafting of this item?": true,
              "Item permission [required]": "red",
              "Register this permission?": false,
              "Item shortname": "skylantern.skylantern.red",
              "Item skinId": 0,
              "Is this a blueprint? ": false,
              "Create an item with the default name (true) or the above name (false)?": true,
              "Item image [optional]": "",
              "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": ""
            }
          ],
          "Crafting ingredients": [
            {
              "Resource name [required]": "Cloth",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "cloth",
              "Resource skinId": 0,
              "Required quantity for crafting": 10,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Low Grade Fuel",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "lowgradefuel",
              "Resource skinId": 0,
              "Required quantity for crafting": 5,
              "Return an item with the default name (true) or the above name (false)?": true
            }
          ]
        },
        {
          "Item name [required]": "New Year Gong",
          "Enable crafting of this item?": true,
          "Item permission [required]": "newyeargong",
          "Register this permission?": true,
          "Item description": "Ring in the Lunar new year with a massive gong!",
          "Item properties": "",
          "Item shortname": "newyeargong",
          "Item skinId": 0,
          "Is this a blueprint? ": false,
          "Create an item with the default name (true) or the above name (false)?": true,
          "Item image [optional]": "",
          "Console commands executed after crafting (%steamid%, %username%, %amount%) [optional]": "",
          "Amount per craft": 1,
          "Max craft multiplier": 3,
          "Crafting time [sec]": 5.0,
          "Show notification in game status (if they are enabled)?": true,
          "Apply craft bonuses (if they are enabled)?": true,
          "Workbench level [0 - not needed]": 1,
          "Crafting cost in the economy plugin [0 - disable]": 0,
          "Item variations": [],
          "Crafting ingredients": [
            {
              "Resource name [required]": "Wood",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "wood",
              "Resource skinId": 0,
              "Required quantity for crafting": 100,
              "Return an item with the default name (true) or the above name (false)?": true
            },
            {
              "Resource name [required]": "Metal fragments",
              "Use this resource in ingredients?": true,
              "Resource shortname [required]": "metal.fragments",
              "Resource skinId": 0,
              "Required quantity for crafting": 50,
              "Return an item with the default name (true) or the above name (false)?": true
            }
          ]
        }
      ]
    }
  ]
}

 

Example of plugin configuration in Russian. If you need Russian config, open it (CraftingPanel.cs) before loading the plugin, and at the top set the variable "isRus = true". Then save and upload this file to your server.

Quote
{
  "Команда для открытия панели": "craft",
  "Закрывать панель после начала крафта?": false,
  "Включить многоязычный режим?": false,
  "Разрешить работать с плагином Backpacks?": true,
  "Разрешить работать с плагином ItemRetriever?": true,
  "Удалять данные игроков из Data, если они не заходили на сервер столько дней": 182,
  "Эффект при начале крафта [пусто - ничего]": "assets/prefabs/misc/xmas/snowballgun/effects/reload_start.prefab",
  "Эффект при выдаче предмета [пусто - ничего]": "assets/prefabs/misc/xmas/presents/effects/wrap.prefab",
  "Эффект при отмене крафта [пусто - ничего]": "assets/prefabs/instruments/xylophone/effects/xylophone-deploy.prefab",
  "Укажите плагин для работы с экономикой (ServerRewards, Economics, IQEconomic) [пусто - отключить]": "",
  "Настройка бонусов крафта": {
    "Включить бонусы крафта?": false,
    "Укажите плагин для работы с бонусами (SkillTree, ZLevelsRemastered)": "SkillTree",
    "Сколько выдавать опыта за крафт": 0.25,
    "Сколько забирать опыта за отмену крафта": 0.05,
    "Размер опыта будет зависеть от времени крафта?": true,
    "Иконка для сообщений в чате (из конфига используемого плагина) [0 - стандартная]": 76561199514393612,
    "SkillTree: использовать бафф Craft_Speed?": true,
    "SkillTree: использовать бафф Craft_Refund?": true,
    "SkillTree: использовать бафф Craft_Duplicate?": true,
    "ZLevelsRemastered: использовать бафф к скорости крафта?": true,
    "ZLevelsRemastered: значение из конфига - Plugin Prefix": "<color=orange>ZLevels</color>: ",
    "ZLevelsRemastered: значение из конфига - Skill Colors -> CRAFTING": "#00FF00",
    "ZLevelsRemastered: значение из конфига - Crafting Details -> Percent Faster Per Level": 5.0,
    "ZLevelsRemastered: значение из конфига - Level Caps -> CRAFTING": 20.0,
    "ZLevelsRemastered: значение из конфига - Starting Stats -> Crafting Points": 10.0
  },
  "Настройка уведомлений плагина": {
    "Включить уведомления?": true,
    "Тип уведомления (Chat, GameTips, Notify, GUIAnnouncements)": "GameTips",
    "Закрывать панель, чтобы показать уведомление?": true,
    "GameTips: тип уведомления (info, warning)": "warning",
    "Notify: тип уведомления": 0,
    "GUIAnnouncements: цвет банера": "Grey",
    "GUIAnnouncements: цвет текста": "White",
    "GUIAnnouncements: отступ сверху": 0.03
  },
  "Настройка игрового статуса": {
    "Включить отображение игрового статуса?": true,
    "Тип игрового статуса (Rust, SimpleStatus, AdvancedStatus)": "Rust"
  },
  "Разделы": [
    {
      "Название раздела": "Избранное",
      "Включить раздел?": true,
      "Permission раздела [обязательно]": "favorite",
      "Регистрировать эту permission?": true,
      "Иконка раздела": "https://i.postimg.cc/43jc0tWp/favorite.png",
      "Предметы раздела": []
    },
    {
      "Название раздела": "Предметы",
      "Включить раздел?": true,
      "Permission раздела [обязательно]": "items",
      "Регистрировать эту permission?": false,
      "Иконка раздела": "https://i.postimg.cc/kGbJ85TZ/items.png",
      "Предметы раздела": [
        {
          "Название предмета [обязательно]": "Нож для трофеев",
          "Включить крафт этого предмета?": true,
          "Permission предмета [обязательно]": "skinningknife",
          "Регистрировать эту permission?": false,
          "Описание предмета": "Острый нож для снятия шкур. Чрезвычайно хорош в добыче мяса и может производить трофеи, которые можно установить на охотничьи трофеи.",
          "Параметры предмета": "Урон   20\nСкорость   86\nРадиус атаки   0.3\nДальность   1.5\nДобыча мяса   18",
          "Shortname предмета": "knife.skinning",
          "SkinID предмета": 0,
          "Это чертеж?": false,
          "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
          "Изображение предмета [необязательно]": "",
          "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": "",
          "Выдаваемое количество при крафте": 1,
          "Максимальный множитель крафта": 1,
          "Время крафта [сек]": 5.2,
          "Показывать уведомление в статус баре (если они включены)?": true,
          "Применять бонусы крафта (если они включены)?": true,
          "Уровень верстака [0 - не нужен]": 0,
          "Стоимость крафта в плагине экономики [0 - отключено]": 0,
          "Исполнения предмета": [],
          "Ингредиенты для крафта": [
            {
              "Название ресурса [обязательно]": "Фрагменты металла",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "metal.fragments",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 75,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            }
          ]
        },
        {
          "Название предмета [обязательно]": "Водолазный костюм бездны",
          "Включить крафт этого предмета?": true,
          "Permission предмета [обязательно]": "hazmatdiver",
          "Регистрировать эту permission?": false,
          "Описание предмета": "Водолазный костюм, найденный в бездне, также служит надежным антирадиационным костюмом.",
          "Параметры предмета": "Огнестрел   +30 %\nБлижний бой   +30 %\nУкус   +8 %\nРадиация   +50 %\nХолод   +8 %\nВзрыв   +5 %",
          "Shortname предмета": "hazmatsuit.diver",
          "SkinID предмета": 0,
          "Это чертеж?": false,
          "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
          "Изображение предмета [необязательно]": "",
          "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": "",
          "Выдаваемое количество при крафте": 1,
          "Максимальный множитель крафта": 1,
          "Время крафта [сек]": 0.0,
          "Показывать уведомление в статус баре (если они включены)?": true,
          "Применять бонусы крафта (если они включены)?": true,
          "Уровень верстака [0 - не нужен]": 2,
          "Стоимость крафта в плагине экономики [0 - отключено]": 0,
          "Исполнения предмета": [],
          "Ингредиенты для крафта": [
            {
              "Название ресурса [обязательно]": "Ткань",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "cloth",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 20,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Топливо низкого качества",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "lowgradefuel",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 5,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            }
          ]
        }
      ]
    },
    {
      "Название раздела": "Трансопрт",
      "Включить раздел?": true,
      "Permission раздела [обязательно]": "vehicles",
      "Регистрировать эту permission?": false,
      "Иконка раздела": "https://i.postimg.cc/HsrtYbkp/vehicles.png",
      "Предметы раздела": [
        {
          "Название предмета [обязательно]": "Миникоптер",
          "Включить крафт этого предмета?": true,
          "Permission предмета [обязательно]": "minicopter",
          "Регистрировать эту permission?": true,
          "Описание предмета": "Миникоптер представляет собой небольшой вертолет, изготовленный из сломанных деталей.",
          "Параметры предмета": "",
          "Shortname предмета": "box.wooden.large",
          "SkinID предмета": 2663605922,
          "Это чертеж?": false,
          "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": false,
          "Изображение предмета [необязательно]": "",
          "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": "",
          "Выдаваемое количество при крафте": 1,
          "Максимальный множитель крафта": 1,
          "Время крафта [сек]": 30.0,
          "Показывать уведомление в статус баре (если они включены)?": true,
          "Применять бонусы крафта (если они включены)?": true,
          "Уровень верстака [0 - не нужен]": 3,
          "Стоимость крафта в плагине экономики [0 - отключено]": 500,
          "Исполнения предмета": [],
          "Ингредиенты для крафта": [
            {
              "Название ресурса [обязательно]": "Металлолом",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "scrap",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 300,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Фрагменты металла",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "metal.fragments",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 450,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Топливо низкого качества",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "lowgradefuel",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 50,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            }
          ]
        },
        {
          "Название предмета [обязательно]": "Снегоход",
          "Включить крафт этого предмета?": true,
          "Permission предмета [обязательно]": "snowmobile",
          "Регистрировать эту permission?": false,
          "Описание предмета": "Наземное транспортное средство, быстро передвигается по песку и снегу. Появляется на арктической лаборатории. Имеет небольшой инвентарь сзади.",
          "Параметры предмета": "",
          "Shortname предмета": "",
          "SkinID предмета": 0,
          "Это чертеж?": false,
          "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
          "Изображение предмета [необязательно]": "https://i.postimg.cc/VvVjGQVy/snowmobile.png",
          "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": "givesnowmobile %steamid% %amount%",
          "Выдаваемое количество при крафте": 1,
          "Максимальный множитель крафта": 1,
          "Время крафта [сек]": 12.0,
          "Показывать уведомление в статус баре (если они включены)?": true,
          "Применять бонусы крафта (если они включены)?": true,
          "Уровень верстака [0 - не нужен]": 3,
          "Стоимость крафта в плагине экономики [0 - отключено]": 0,
          "Исполнения предмета": [],
          "Ингредиенты для крафта": [
            {
              "Название ресурса [обязательно]": "Металлолом",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "scrap",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 300,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Фрагменты металла",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "metal.fragments",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 450,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Топливо низкого качества",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "lowgradefuel",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 50,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            }
          ]
        }
      ]
    },
    {
      "Название раздела": "Лунный НГ",
      "Включить раздел?": true,
      "Permission раздела [обязательно]": "lunar",
      "Регистрировать эту permission?": false,
      "Иконка раздела": "https://i.postimg.cc/Fz1hz3G4/lunarNY.png",
      "Предметы раздела": [
        {
          "Название предмета [обязательно]": "Небесный фонарик",
          "Включить крафт этого предмета?": true,
          "Permission предмета [обязательно]": "skylantern",
          "Регистрировать эту permission?": false,
          "Описание предмета": "Красивый небесный фонарь. Может быть запущен в любом направлении. Содержит один слот. Может быть зажжен с помощью факела.",
          "Параметры предмета": "",
          "Shortname предмета": "skylantern",
          "SkinID предмета": 0,
          "Это чертеж?": false,
          "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
          "Изображение предмета [необязательно]": "",
          "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": "",
          "Выдаваемое количество при крафте": 2,
          "Максимальный множитель крафта": 5,
          "Время крафта [сек]": 5.0,
          "Показывать уведомление в статус баре (если они включены)?": true,
          "Применять бонусы крафта (если они включены)?": true,
          "Уровень верстака [0 - не нужен]": 0,
          "Стоимость крафта в плагине экономики [0 - отключено]": 0,
          "Исполнения предмета": [
            {
              "Название предмета [обязательно]": "ЗЕЛЕНЫЙ",
              "Включить крафт этого предмета?": true,
              "Permission предмета [обязательно]": "green",
              "Регистрировать эту permission?": false,
              "Shortname предмета": "skylantern.skylantern.green",
              "SkinID предмета": 0,
              "Это чертеж?": false,
              "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
              "Изображение предмета [необязательно]": "",
              "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": ""
            },
            {
              "Название предмета [обязательно]": "ОРАНЖЕВЫЙ",
              "Включить крафт этого предмета?": true,
              "Permission предмета [обязательно]": "orange",
              "Регистрировать эту permission?": false,
              "Shortname предмета": "skylantern.skylantern.orange",
              "SkinID предмета": 0,
              "Это чертеж?": false,
              "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
              "Изображение предмета [необязательно]": "",
              "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": ""
            },
            {
              "Название предмета [обязательно]": "ФИОЛЕТОВЫЙ",
              "Включить крафт этого предмета?": true,
              "Permission предмета [обязательно]": "purple",
              "Регистрировать эту permission?": true,
              "Shortname предмета": "skylantern.skylantern.purple",
              "SkinID предмета": 0,
              "Это чертеж?": false,
              "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
              "Изображение предмета [необязательно]": "",
              "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": ""
            },
            {
              "Название предмета [обязательно]": "КРАСНЫЙ",
              "Включить крафт этого предмета?": true,
              "Permission предмета [обязательно]": "red",
              "Регистрировать эту permission?": false,
              "Shortname предмета": "skylantern.skylantern.red",
              "SkinID предмета": 0,
              "Это чертеж?": false,
              "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
              "Изображение предмета [необязательно]": "",
              "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": ""
            }
          ],
          "Ингредиенты для крафта": [
            {
              "Название ресурса [обязательно]": "Ткань",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "cloth",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 10,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Топливо низкого качества",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "lowgradefuel",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 5,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            }
          ]
        },
        {
          "Название предмета [обязательно]": "Новогодний гонг",
          "Включить крафт этого предмета?": true,
          "Permission предмета [обязательно]": "newyeargong",
          "Регистрировать эту permission?": true,
          "Описание предмета": "Встречайте Лунный Новый Год с массивным гонгом!",
          "Параметры предмета": "",
          "Shortname предмета": "newyeargong",
          "SkinID предмета": 0,
          "Это чертеж?": false,
          "Создавать предмет со стандартным названием (true) или указанным сверху (false)?": true,
          "Изображение предмета [необязательно]": "",
          "Консольные команды выполняемые после крафта (%steamid%, %username%, %amount%) [необязательно]": "",
          "Выдаваемое количество при крафте": 1,
          "Максимальный множитель крафта": 3,
          "Время крафта [сек]": 5.0,
          "Показывать уведомление в статус баре (если они включены)?": true,
          "Применять бонусы крафта (если они включены)?": true,
          "Уровень верстака [0 - не нужен]": 1,
          "Стоимость крафта в плагине экономики [0 - отключено]": 0,
          "Исполнения предмета": [],
          "Ингредиенты для крафта": [
            {
              "Название ресурса [обязательно]": "Дерево",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "wood",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 100,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            },
            {
              "Название ресурса [обязательно]": "Фрагменты металла",
              "Использовать этот ресурс в ингредиентах?": true,
              "Shortname ресурса [обязательно]": "metal.fragments",
              "SkinID ресурса": 0,
              "Необходимое количество для крафта": 50,
              "Возвращать предмет со стандартным названием (true) или указанным сверху (false)?": true
            }
          ]
        }
      ]
    }
  ]
}

 

 

  • Like 3
  • Love 3

MTriper's Collection

User Feedback

1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.8k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.