- Description
- Reviews (3)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
Craft Panel
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. 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.
Example Optional Dependencies:
- https://umod.org/plugins/extended-recycler
- https://umod.org/plugins/portable-vehicles
- https://umod.org/plugins/super-card
- Sentry Turrets,…
Dependencia requerida:
The interface is based on three main blocks:
- List of items to craft. Currently, the maximum be recommended 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 And craftpanel.btnworkbench to generate a button in the Workbench.
Regardless of that general permission, you must assign the user permissions for each item. Example:
craftpanel.rhib.use craftpanel.boat.use craftpanel.supercard.use ... https://www.youtube.com/watch?v=5DgOH0yiI9M
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:
{ "Custom": { "Title": "Craft Panel", "ID Item Default": 1, "Show even if you don't have permissions (you won't be able to craft)": true, "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": "0.3 0.40 0.3 0.60", "Color Title Item": "0.2 0.30 0.2 0.60", "Color Scrollbar": "0.15 0.25 0.15 0.8", "Color Button Craft": "0.80 1.00 0.50 0.10", "Color Background Panel": "0.2 0.23 0.2 0.40", "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", "GUI Button Close - Color": "0.90 0.20 0.20 0.50", "GUI Button Close - Font Size": 20, "GUI Button Close - AnchorMin": "0.45 0.7", "GUI Button Close - AnchorMax": "0.55 0.725", "Img Block Item": "https://img.rustspain.com/craftpanel/block.png" }, "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 } ] }, ... ] }
Check out more of my work here! https://lone.design/ninco90/
Join the Lone.Design Discord Here! https://discord.gg/VEesZs9
Reviews (3)
3 reviews for Craft Panel
Only logged in customers who have purchased this product may leave a review.
Version History
- Added IMPORTANT! Do NOT UPDATE before the October update. Otherwise, it will not work.
- Added Patched with Facepunch's internal changes.
- Added Icons for the resources needed for crafting now load directly from the game, thus optimizing the display.
- Fixed I have had to disable the button that appears from being picked up. Because if you don't pick up the button with the hammer, it won't let you pick up the workbench.
- Fixed Edit 1.5.2: I had to move the button to the right to allow an industrial processor to be placed.
- Updated With the June Update Facepunch has eliminated the intermediate screen that appeared when opening a workbench. This screen showed a button to open the Craft Panel menu. This button now becomes a reality in the Workbench itself. Since in the Workbench that is placed, if the player has the permission of: craftpanel.btnworkbench An interactive button will be placed on the workbench. I think it's the best way to solve this problem and at the same time make it more visual and interactive for players. https://www.youtube.com/watch?v=5DgOH0yiI9M
- Added DO NOT UPDATE BEFORE FACEPUNCH UPDATE After more than a year without updates in Craft Panel, I have improved several important points, I hope you like the changes. https://www.youtube.com/watch?v=nyO2FXJ7YZE
- Added Added scroll bar to the crafting item menu. Eliminating traditional pagination.
- Updated It is now easier to click on menu items.
- Updated Interface loading has been optimized. Now when an item is selected, the entire screen is not refreshed, only the item information.
- Fixed The images of the default items are now hosted on my own server and not on imgur which sometimes causes problems. The current size of header images is 900x400 pixels.
- Updated The close button has been removed from the error message, it really didn't make much sense since it disappears after a few seconds.
- Fixed Fixed duplicate permission messages in case you use the same permissions for multiple items.
- Updated The interface will now always remain at the same size even if the player changes its scale.
- Updated Some color and design touch-ups have been made. Now it is more in line with the style of BetterTC and some of the game's menus.
- Added The following items are added to the default configuration: Tugboat, Attack Helicopter and Pump Jack.
- Added A new field [ID Item Default] has been added to the config to set the default Item, before it was always item with ID 1, now you can set the id of the item that you want to show when opening /craft.
- Added A new field has been added to the config to activate or deactivate the display of items without permissions.
- Updated IMPORTANT: The configuration has changed. If you are going to apply this update you must delete the previous configuration (save it before in another place). Then update the plugin, it will generate a new configuration file similar to the previous one but with some changes.
- Added IMPORTANT 2: A new field has been added in the configuration called ID, this must ALWAYS be a numeric and incremental value. In addition, it must not be repeated and must be the same as the order shown on the screen. If this is not respected you may have errors in the plugin.
- Added A new field (Enabled) has also been added to enable or disable an article in the plugin. If it is disabled it will not be displayed at all.
- Added Now you can change the font size of each description from the config.
- Added Added a boolean to allow or disallow the custom article name. If it is false it will use the name Vanilla. (This is for those articles that are native to the game, that is, they are found on the F1 console)
- Updated A hint has been applied that will allow items with skins to be used as specific ingredients.
- Updated Now the label that appears on the screen that notifies that Workbench is required will appear in different colors depending on the level required: Green - Workbench 1. Blue - Workbench 2. Red - Workbench 3.
- Updated Now if the player does not have the use permission to craft an item it will not appear in the list, no more locked padlock icon.
- Updated CONFIG UPDATE It is recommended to save backup of the config, delete the plugin config and reinstall the plugin from scratch. Only a few fields at the beginning of the config change, so the settings for what can be crafted have not changed.
- Added New configuration option has been added to show a button to open the panel when opening a workbench.
- Added New permission so that players can see the button in the workbench (if the previous config is false, even if it has the permission it is not shown).
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Melody (verified owner) –
Honestly, hands down one of the best crafting plugins out there!
dominik.berssen (verified owner) –
very good plugin. Can just say its awesome
Dr. Ortiga (verified owner) –
Despues de estar configurando y usarlo durante unos dias, tengo que decir que estoy muy sastifecho con la compra de este complemento. Buen trabajo @ninco90