Craft Panel

Craft Panel 1.4.0

craftpanel.jpg


I present to you Craft Panel, an elegant and simple custom craft panel.

Before starting:

This mod works mainly with the help of other mods, see the optional dependencies section. Basically the operation consists of configuring the necessary ingredients to obtain an item. Either by command of a third party mod or a game item.


The interface is based on three main blocks:
- List of items to craft. Currently the maximum be recommend that it be 16 items available. Since there is currently no implemented page (it will come in the future).
- Central information panel. You can write a more complete title, assign a header image, set the Workbench requirement (whether it needs it or not), and set a description.
- Ingredients panel. Basically what players will need to craft each item.

Complete Configuration:
- From the configuration you can adjust the name of the Panel, as well as the colors of the buttons and text.
- Effect Sounds. We have 3 sounds for Crafting time, page change, etc. You can choose to disable all sounds or manually change it to another.
- Add new Items easily with the example structure, just duplicate and customize. (Requires a bit of knowledge in mod setup.)
- Discount for VIPS. Set a permission for VIPS to get a discount that you set.

Permissions and Command:
As a general rule, for players to have access to / craft, you must set the following permission: craftpanel.use

Regardless of that general permission, you must assign the use permissions for each item. Example:
craftpanel.rhib.use
craftpanel.boat.use
craftpanel.supercard.use
...

Future improvements:
- Pagination of Items. (Ready)
- Make the interface modular, so that only one part is recharged. (Ready)
- Add Crafting time?
- Leave me your suggestion for improvement.

Finally, as a detail, currently this mod does not use Data file, perhaps in the future with some new feature this will be implemented.

Config Example:
Code:
{
  "Custom": {
    "Title": "Craft Panel",
    "Show even if you don't have permissions (you won't be able to craft)": false,
    "Show button when opening Workbench": true,
    "Sound Effects": true,
    "Sound Prefab 1": "assets/prefabs/tools/keycard/effects/swipe.prefab",
    "Sound Prefab 2": "assets/bundled/prefabs/fx/build/promote_toptier.prefab",
    "Sound Prefab 3": "assets/prefabs/misc/xmas/presents/effects/wrap.prefab",
    "Permission Use /craft": "craftpanel.use",
    "Permission to show the Button in the Workbench": "craftpanel.btnworkbench",
    "Color Title": "1.00 1.00 1.00 0.43",
    "Color Button List": "1.00 1.00 1.00 0.10",
    "Color Button Close": "0.52 0.00 0.00 1.00",
    "Color Button Craft": "0.00 0.50 0.40 1.00",
    "Color Background Panel": "0.2 0.2 0.2 0.95",
    "Color Text VIP": "0.90 0.80 0.04 1.00",
    "Color Text Amount": "1.00 1.00 1.00 1.00",
    "Color Text Amount VIP": "0.90 0.80 0.04 1.00"
  },
  "Craft": [
    {
      "ID": 1,
      "Enabled": true,
      "Short Name": "Recycler",
      "Full Name": "Recycler at Home",
      "Img Full": "https://i.imgur.com/wdVWxDB.jpg",
      "Img Icon": "https://i.imgur.com/Vgcfs3n.png",
      "Description": "Make your own recycler to install it on your base. You can collect it by hitting with the hammer.",
      "Description Font Size": 13,
      "Craft Result": {
        "Command (keep empty to create item)": "recycler.give {steamID}",
        "Shortname": "",
        "Name Default": false,
        "Amount": 0,
        "Skin ID": 0
      },
      "Permission Use": "craftpanel.recycler.use",
      "Permission VIP": "craftpanel.recycler.vip",
      "Permission No Cost": "craftpanel.recycler.nocost",
      "VIP discount: 10 = 10%": 10,
      "Require Workbench? 0 = NOT, 1 = Level 1,...": 2,
      "Items": [
        {
          "Item": "metal.fragments",
          "Amount": 50000,
          "Skin ID": 0
        },
        {
          "Item": "metal.refined",
          "Amount": 300,
          "Skin ID": 0
        },
        {
          "Item": "gears",
          "Amount": 50,
          "Skin ID": 0
        },
        {
          "Item": "fuse",
          "Amount": 10,
          "Skin ID": 0
        },
        {
          "Item": "techparts",
          "Amount": 15,
          "Skin ID": 0
        }
      ]
    },
    {
      "ID": 2,
      "Enabled": true,
      "Short Name": "Mini Helicopter",
      "Full Name": "Mini Helicopter",
      "Img Full": "https://i.imgur.com/vnZND1c.jpg",
      "Img Icon": "https://i.imgur.com/qg9aIGz.png",
      "Description": "Because having your own Helicopters whenever you want is cool too.nCraft your Helis, put them away and take them out when you need them.",
      "Description Font Size": 13,
      "Craft Result": {
        "Command (keep empty to create item)": "portablevehicles.give {steamID} minicopter",
        "Shortname": "",
        "Name Default": false,
        "Amount": 0,
        "Skin ID": 0
      },
      "Permission Use": "craftpanel.miniheli.use",
      "Permission VIP": "craftpanel.miniheli.vip",
      "Permission No Cost": "craftpanel.miniheli.nocost",
      "VIP discount: 10 = 10%": 25,
      "Require Workbench? 0 = NOT, 1 = Level 1,...": 0,
      "Items": [
        {
          "Item": "metal.fragments",
          "Amount": 5000,
          "Skin ID": 0
        },
        {
          "Item": "propanetank",
          "Amount": 10,
          "Skin ID": 0
        },
        {
          "Item": "gears",
          "Amount": 10,
          "Skin ID": 0
        },
        {
          "Item": "roadsigns",
          "Amount": 5,
          "Skin ID": 0
        },
        {
          "Item": "sheetmetal",
          "Amount": 10,
          "Skin ID": 0
        }
      ]
    },
    ...
  ]
}

Information

Author
ninco90
First release
Last update
Rating
4.33 star(s) 6 ratings

Latest Release v1.4.0

Released
Dec 9, 2022 at 8:39 PM
Rating
3.50 star(s) 2 ratings


More resources from ninco90

  • BetterTC
    BetterTC
    This plugin automates construction enhancement, skin changes, and base repairs.
  • Tiers Mode
    Tiers Mode
    The most complete system of levels for your server.
  • Furnace Returns
    Furnace Returns
    Do you prefer the old design of ovens? Here you have an adaptation to return to the old format.
  • Quarry Levels
    Quarry Levels
    Implementation of a system of improvements by levels to the quarries
  • Recoil Viewer
    Recoil Viewer
    Displays the players recoil on the screen.

Craft Panel by ninco90
© chaoscode.io Apr 27, 2021

Latest reviews

I have used this plugin on someone elses server and really liked it. I placed it on my server which uses Carbon. I have only gotten the images once. When I tried to make my own recipes the images went missing.I have found no solutions and the support has been null. I can't recommend if it is buggy.
ninco90
ninco90
Has the support been zero? But it hasn't even been 24 hours since you sent me a message! Check your inbox.
A beautiful and colourful GUI for crafting the vehicles in game. My players love using this interface for crafting items more than a shop.
Great work - looking forward to the updates
This is the best crafting plugin that I have found. It will let you use custom items as part of the crafting recipe.
Amazing plugin, I asked if there was a way to edit the custom skin IDs of the crafting materials, and Ninco added that feature in less than 24 hours.

The best Crafting plugin for Rust, literally
ninco90
ninco90
Thank you very much for the review. I will be happy to hear your suggestions for improvement and to implement them as long as they are interesting and I can.
Word of warning to all potential buyers of this plugin. I do not think the plugin for super card works at all, and I would advise you DO NOT use supercards on your server.

When a player uses this on a door, that door will be left permanently open. What I mean by this is, all the next person to that door would have to do is put a fuse in and the door swings wide open. This has been a known fault for months, as reported on uMod, but nothing has been done to even look at, let alone fix it.
ninco90
ninco90
Hi! I was unaware of the problem with the Supercard mod. We use it on my modified server and we never detect or stop to see such a problem. Regarding the compatibility with Craft Panel it is fully supported as it uses a server command to grant the card. Just like you could add it in the Server Rewards commands.
Perfect for crafting items not included in server loot table! Config file easy to work with and dev very helpful.
ninco90
ninco90
Thank you very much for your review! I'm glad it serves your community.