Jump to content

13 Screenshots

  • 194.4k
  • 3k
  • 443.16 kB

Recommended Comments



imthenewguy

Posted

1 hour ago, Gbutome said:

Hello, would it be possible to add an option to resell in batch?? because selling individually is so long and it doesn't do much good for my fingers.

Will be added to the next update

 

  • Like 1
imthenewguy

Posted

51 minutes ago, MeinRust said:

Hello @ Thanks for the great update and found a bug.
Screenshot_322.png.3f2903c0fc2156f15f369b2fe279a906.png

Updated description

DeutscherRitterPlatz

Posted (edited)

I have a little idea for your plugin, a permission system for the recipes.

In the config under "perms_recipe": null you have the possibility to set the permission.
If it is set to null, the user can create this recipe and it will be visible. However, should an authorization be specified, e.g. cooking.craftbag and the user does not have this permission, he cannot create this recipe and it is no longer visible to him in the cooking system.

Permission can be freely requested. For example. cooking.a, cooking.b
Example for the config.

"ingredient bag": {
      "enabled": true,
      "base_shortname": "halloween.lootbag.medium",
      "imageURL": "https://imgur.com/mTWbETC.png",
      "description": "A bag to hold your ingredients!",
      "skin": 2578002003,
      "ingredients": [
        {
          "displayName": "cloth",
          "quantity": 500
        }
      ],
      "buff_duration": 0,
      "cookTime": 30,
      "buffType": 16,
      "coolDown": 0.0,
      "BuffModifier": 0.0,
      "buff_perms": null,
      "recipe_perms": null,
      "loot_container_drop_weight": 100.0
    },

 

Edited by MeinRust
imthenewguy

Posted

21 hours ago, MeinRust said:

I have a little idea for your plugin, a permission system for the recipes.

In the config under "perms_recipe": null you have the possibility to set the permission.
If it is set to null, the user can create this recipe and it will be visible. However, should an authorization be specified, e.g. cooking.craftbag and the user does not have this permission, he cannot create this recipe and it is no longer visible to him in the cooking system.

Permission can be freely requested. For example. cooking.a, cooking.b
Example for the config.

"ingredient bag": {
      "enabled": true,
      "base_shortname": "halloween.lootbag.medium",
      "imageURL": "https://imgur.com/mTWbETC.png",
      "description": "A bag to hold your ingredients!",
      "skin": 2578002003,
      "ingredients": [
        {
          "displayName": "cloth",
          "quantity": 500
        }
      ],
      "buff_duration": 0,
      "cookTime": 30,
      "buffType": 16,
      "coolDown": 0.0,
      "BuffModifier": 0.0,
      "buff_perms": null,
      "recipe_perms": null,
      "loot_container_drop_weight": 100.0
    },

 

The pages are generate when the plugin loads as opposed to each time it is called for, for optimization purposes. Having a function like this would require the pages to be built each time a player press the next button or opens the menu, as well as the knock on effect for call backs to pages based on their index.

The only thing that would be possible would be preventing a player from crating a meal if there is a permission, but they would still see it as a menu option.

  • Like 1
DeutscherRitterPlatz

Posted

9 hours ago, imthenewguy said:

The pages are generate when the plugin loads as opposed to each time it is called for, for optimization purposes. Having a function like this would require the pages to be built each time a player press the next button or opens the menu, as well as the knock on effect for call backs to pages based on their index.

The only thing that would be possible would be preventing a player from crating a meal if there is a permission, but they would still see it as a menu option.

Then I would prefer your variant, you could do it like with the ingredients if you don't have the permission the recipe a different color "red".

All I write in the future are ideas for your plugin, I'm only saying it because I write quite a bit. These are ideas that come to mind or suggestions from our community that I will pass along to you. Thanks for the beautiful plugin, I can't say enough.

  • Love 1
Geri

Posted

Today I discovered that the plugin Cooking "overrides" (disables) the plugin https://umod.org/plugins/custom-vending-setup, although the Cooking commands do not work, I think this is due to the fact that both there is a virtual button

imthenewguy

Posted

4 hours ago, HELLIG said:

Today I discovered that the plugin Cooking "overrides" (disables) the plugin https://umod.org/plugins/custom-vending-setup, although the Cooking commands do not work, I think this is due to the fact that both there is a virtual button

I dont understand what you mean. I can't see any commands that would overlap.

Geri

Posted

Hello, I poured the plugin, the file config appeared, but when I try to distribute the rights says? that there is no such command...
What could be the problem? Watched the video . Can you send me the configured file, that it would be possible to give rights.

imthenewguy

Posted

25 minutes ago, HELLIG said:

Hello, I poured the plugin, the file config appeared, but when I try to distribute the rights says? that there is no such command...
What could be the problem? Watched the video . Can you send me the configured file, that it would be possible to give rights.

Hey mate, do you have ImageLibrary installed?

If there is nothing inside the cooking config file on your server, delete it and reload the plugin.

Geri

Posted

1 hour ago, imthenewguy said:

Hey mate, do you have ImageLibrary installed?

If there is nothing inside the cooking config file on your server, delete it and reload the plugin.

Yes, I have ImageLibrary installed. The configuration file is created, but the permissions cannot be set.> oxide.grant group default Cooking.gather
Permission 'Cooking.gather' doesn't exist

imthenewguy

Posted

2 minutes ago, HELLIG said:

Yes, I have ImageLibrary installed. The configuration file is created, but the permissions cannot be set.> oxide.grant group default Cooking.gather
Permission 'Cooking.gather' doesn't exist

Try lower case. Failing that, type o.load Cooking and paste the console print out from your server.

Geri

Posted

1 minute ago, imthenewguy said:

Try lower case. Failing that, type o.load Cooking and paste the console print out from your server.

Okay, I'll try this.

Wolf

Posted

Hey, why does crafting a bag of ingredients in the skill tree give 5000hp even when I disabled experience gain for the cooking plugin?

imthenewguy

Posted

9 hours ago, Wolf said:

Hey, why does crafting a bag of ingredients in the skill tree give 5000hp even when I disabled experience gain for the cooking plugin?

Unless you set the CookingMealXP value to 0, the bag will award xp for each material used to craft it at the rate specified.

Items like this were an oversight. Have added a blacklist option to SkillTree config in the next release that will let you black list recipes from giving xp.

For now, set CookingMealXP to 0 in your SkillTree config or disable the ability to create the ingredient bag and use the chat command instead.

Wolf

Posted

On 5/13/2022 at 5:04 AM, imthenewguy said:

Unless you set the CookingMealXP value to 0, the bag will award xp for each material used to craft it at the rate specified.

Items like this were an oversight. Have added a blacklist option to SkillTree config in the next release that will let you black list recipes from giving xp.

For now, set CookingMealXP to 0 in your SkillTree config or disable the ability to create the ingredient bag and use the chat command instead.

thanks, I'll try)

Wolf

Posted

6 minutes ago, Wolf said:

thanks, I'll try)

There is one more problem, I have night vision in VIP privileges and after installing the plugin for players it turns off when they die, I have to register the command again, can I fix this?

 

imthenewguy

Posted

14 hours ago, Wolf said:

There is one more problem, I have night vision in VIP privileges and after installing the plugin for players it turns off when they die, I have to register the command again, can I fix this?

 

It won't work if you are assigning perms to an individual player. If you want their perms to persist, create a group with the perms and assign the player to the group.

h4tchery

Posted

Hi! I have encountered an issue with BuffType17. When consuming multiple BuffType17 meals (each requiring a timer), the "RecipeEnded" hook provides only the data for the first consumed meal, not the actual meal for which the hook was called.

Call history:

RecipeConsumed(BasePlayer player = h4tchery, string itemName = Rum, string baseItemShortname = fish.cooked, ulong itemSkinId = 2667117430, int duration = 5)
RecipeConsumed(BasePlayer player = h4tchery, string itemName = Met, string baseItemShortname = fish.cooked, ulong itemSkinId = 2784052514, int duration = 2)
RecipeEnded(BasePlayer player = h4tchery, string itemName = Rum, string baseItemShortname = fish.cooked, ulong itemSkinId = 2667117430)
RecipeEnded(BasePlayer player = h4tchery, string itemName = Rum, string baseItemShortname = fish.cooked, ulong itemSkinId = 2667117430)

One of the "RecipeEnded" calls should have provided the data for "Met".

imthenewguy

Posted

Think I found the issue. Will patch for next release.

  • Like 1
h4tchery

Posted

I found an issue with ingredient bags. Players were able to upgrade them into Halloween Bags. I did some testing and found out that the action string (in OnItemAction) is now "upgrade_item" instead of just "upgrade".
  • Like 1
imthenewguy

Posted

1 hour ago, h4tchery said:

I found an issue with ingredient bags. Players were able to upgrade them into Halloween Bags. I did some testing and found out that the action string (in OnItemAction) is now "upgrade_item" instead of just "upgrade".

Thank you will add to next patch.

  • Like 1
DunceInAwhile

Posted

I have a few questions before I buy this plugin. 

1. Is it possible to change which containers (trees, nodes, etc.) that the obtainable items are collectable from. For example, if x item is collectable from a tree by default, is it possible to change that item to be collected from a node? 

2. Is it possible to lock the market by user? Instead of it being off or on for everyone across the entire server?

Thank you in advance.

imthenewguy

Posted (edited)

1 hour ago, DunceInAwhile said:

I have a few questions before I buy this plugin. 

1. Is it possible to change which containers (trees, nodes, etc.) that the obtainable items are collectable from. For example, if x item is collectable from a tree by default, is it possible to change that item to be collected from a node? 

2. Is it possible to lock the market by user? Instead of it being off or on for everyone across the entire server?

Thank you in advance.

1. Yes, you can set the source that items are dropped from from the list on the main sales page (under "Gathering Sources"). The number represents the drop source.

Here is an example of the config for an Avocado:

    "avocado": {
      "enabled": true,
      "base_shortname": "apple",
      "skin": 2783687116,
      "gathered_from": [
        2
      ],
      "dropWeight": 100,
      "max_count": 2,
      "imageURL": "https://i.imgur.com/OKmLpNk.png",
      "market_enable": true,
      "market_buy_price": 10.0,
      "market_sell_price": 5.0,
      "market_quantity": 0,
      "loot_container_drop_weight": 100.0
    },

Under the option "gathered_from", you can see there is currently a number 2 inside of the array. This represents Arid trees (trees found in the desert).

If you wanted to change its drop source by removing it from arid trees, or adding additional drop sources, you could adjust it like so:

      "gathered_from": [
        2,
        6,
        7
      ],

This would make it so avocados could drop from pumpkin and potato patches.

 

2. If you do not plan on adding NPCs that will be used to access the market, then yes you can prevent certain players from accessing it by only assigning the cooking.market.command permission to certain users/groups. If you have the market accessible via NPCs then any player can speak to the NPC and access it.

Edited by imthenewguy
BoobleJ

Posted

Please implement compatibility with Backpacks. If a player has their Ingredient Bag or ingredient in their backpack, the plugin doesn't see this. Seems that the ingredients don't stack automatically when farming them. The items stack fine manually, though just not automatic upon gather.

Thank you

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 11
  • Love 8

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

Files Sold

Total number of files sold.

2m

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.