Jump to content

2 Screenshots

  • 13.9k
  • 85
  • 11.45 kB

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments

Ambroisie

Posted

Hello, once the item is purchased it does not appear in the inventory, but a sound confirms the creation of the item. I can't find a configuration to solve this.

ninco90

Posted

On 5/24/2024 at 10:38 AM, Ambroisie said:

Hello, once the item is purchased it does not appear in the inventory, but a sound confirms the creation of the item. I can't find a configuration to solve this.

Hello! What item are you crafting? If it is a custom item, do you have the plugin for said item?

Ambroisie

Posted

hello, I solved the problem, I also had to install the Portable Vehicles - extend recycler and Super Card plugins. To be specified in the "Depends on” section.

ninco90

Posted

19 hours ago, Ambroisie said:

hello, I solved the problem, I also had to install the Portable Vehicles - extend recycler and Super Card plugins. To be specified in the "Depends on” section.

Correct. Craft Panel is nothing more than a "direct access" to the creation of items from other plugins. Although you can also give items from the normal game.

You can add as many items as you need. In the plugin I give several options as an example, but you can add more options by configuring the details and command correctly.

oplataru

Posted

Error while compiling CraftPanel: ; expected | Line: 362, Pos: 21

ninco90

Posted

17 hours ago, oplataru said:

Error while compiling CraftPanel: ; expected | Line: 362, Pos: 21

can you confirm if you are using the latest version? 1.5.5 compiles fine for me on my modded server.

f0kus

Posted

Make it so that it is visible which components of the craft are enough, and which are not. As an example, the item that is in abundance is highlighted in green, and the one that is missing is highlighted in red.

pgs.png

oplataru

Posted

On 18.02.2025 at 09:54, f0kus said:

Сделайте так, чтобы было видно, каких компонентов в поделке достаточно, а каких нет. Например, зеленым цветом выделено то, чего в избытке, а красным — то, чего не хватает.

pgs.png

To do this, the developer will need to add a check to the plugin, which will heavily load the server

ninco90

Posted

It would be a bit complicated to check the code. And overload the server a bit.

Currently, when you check if the player has the resources, you do it item by item, and if you don't have one item, you automatically stop checking and return the message that you don't have the necessary items. So the process doesn't know if you really have the rest or not, it only cancels if 1 is missing. You could make them always check and once everything is checked, the ones that you don't have are listed, but I think the current approach is more efficient, even if it doesn't provide as much information.

Once that's done, you could update the view accordingly (which would consume resources) and you could put a red background on the item that you don't have. But you can't make shadows as you propose.

oplataru

Posted

6 hours ago, ninco90 said:

Это было бы немного сложно для проверки кода. И немного перегрузило бы сервер.

В настоящее время, когда вы проверяете, естЬ ли у игрока ресурсы, вы делаете это поэлементно, и если у вас нет одного элемента, вы автоматически прекращаете проверку и возвращаете сообщение о том, что у вас нет необходимых элементов. Таким образом, процесс не знает, естЬ ли у вас на самом деле осталЬное или нет, он отменяется толЬко в случае отсутствия одного. Вы можете сделатЬ так, чтобы они всегда проверялисЬ, и после проверки всего перечислены те, которых у вас нет, но я думаю, что текущий подход более эффективен, даже если он не предоставляет столЬко информации.

После этого вы можете обновитЬ вид соответствующим образом (что потребует ресурсов) и можете поместитЬ красный фон на элемент, которого у вас нет. Но вы не можете сделатЬ тени, как предлагаете.

I also wrote about this above, but you can do a full checking cycle until the last element and place a red background where there are not enough elements and complete the checking cycle, this will waste more server resources, but will not do a constant check. In any case, you will have to exit the crafting menu to take the missing element and go through a new check cycle.

z0z1ch

Posted

Hi
I've been using your CraftPanel plugin and it's great! I have a feature request that would make it even better.
Request: Add dynamic localization for craft items (Short Name, Full Name, Description) using craft IDs as keys.
Current Issue: Craft names and descriptions are hardcoded in config and can't be translated.
Proposed Solution:
Automatically generate localization keys like "1_ShortName", "1_FullName", "1_Description" for each craft
Use craft ID as prefix for easy management
Allow server admins to translate craft names/descriptions in language files
Benefits:
Multi-language support for craft items
Easy translation management
No need to modify config for translations
Would you consider adding this feature? It would be very useful for international servers.
Thanks for your great plugin!
 

{
  "Close": "CLOSE",
  "Craft": "CRAFT ITEM",
  "VIP": "For being VIP you have a Discount of {0}%",
  "Workbench": "Workbench Level {0}",
  "NoWorkbench": "You need the Level {0} Workbench",
  "NoResources": "You do not have the necessary materials.",
  "NotAllowed": "You do not have permission to use this command.",
  "MessageResponse": "CraftPanel is waiting for ImageLibrary downloads to finish please wait.",
  "WithoutPermission": "NO PERMISSIONS",
  "Back": "BACK",
  "Next": "NEXT",
  "OpenPanel": "OPEN PANEL",
  "OpenPanelDes": "You can use this workbench to make other types of objects in the game thanks to our crafting menu.",
  "1_ShortName": "Recycler",
  "1_FullName": "Recycler at Home",
  "1_Description": "Make your own recycler to install it on your base. You can collect it by hitting with the hammer.5",
  "2_ShortName": "Mini Helicopter",
  "2_FullName": "Mini Helicopter",
  "2_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.",
  "3_ShortName": "Scrap Helicopter",
  "3_FullName": "Scrap Helicopter",
  "3_Description": "Scrap Helicopter is the father of the Minicopter, it has two seats in the front and plenty of room in the rear for gamers to huddle.\n\nIt has 2500 horsepower and consumes more low-grade fuel. I wouldn't recommend putting yourself under one ...",
  "4_ShortName": "Attack Helicopter",
  "4_FullName": "Attack Helicopter",
  "4_Description": "Create your Attack Helicopter to shoot love at your enemies or destroy their belongings.",

 

z0z1ch

Posted (edited)

I have three suggestions to improve its functionality:
1. Item Sorting
Add sorting capabilities:
Sort by workbench level (0, 1, 2, 3)
Sort by categories (vehicles, weapons, tools, etc.)
Add a category field to CraftInfo class
2. UI Layout Improvement
Two options for the right panel:
Move crafting costs to the center with item description block instead of right side, allowing more items per page
OR display unavailable items (due to missing permissions or workbench level) in the right panel instead of crafting costs
3. Spawn Modular Car Integration
Add support for the Spawn Modular Car plugin to craft vehicles with specific configurations instead of random modules.

Edited by z0z1ch
z0z1ch

Posted

Hello! Are there any upcoming updates for this plugin in the near future, or is this the final version and we shouldn't expect further development?

ninco90

Posted

8 hours ago, z0z1ch said:

Hello! Are there any upcoming updates for this plugin in the near future, or is this the final version and we shouldn't expect further development?

Hello! The plugin currently receives bug fix updates when game updates break it. It may also continue to receive some minor improvements; in fact, you can see this if you check the latest updates.

However, the plugin is generally considered finished, so it's just maintenance and perhaps adding something extra that doesn't require much programming time and is of general interest.

I'm currently working on a new plugin in the little free time I have.

Regarding your suggestions:

  • Moving the text to the language to make translations compatible is a good idea, but it would mean much more work for the administrators and for me to adapt all the internal workings. It was never in my plans, even though my native language is different from English, so it would also be interesting to consider my server, for example.
  • I never considered options like categories or similar because I wanted to create a simple interface with simple functionality. Not like a kind of shop with categories. It could be added, but we'd have to see how it would actually work. Because if it's just to separate the vehicles, there's not much need...
  • Perhaps it would be interesting to be able to highlight items the player doesn't have somehow. I'll look into it.
  • I'd have to look into how to support the plugin you mentioned; I haven't checked it, although I imagine you can run a console command with the configuration or something like that?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2

User Feedback

2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

141.7k

Files Sold

Total number of files sold.

3m

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.