Jump to content

custom items added break

Pending 1.2.2

MelodyZE
MelodyZE

Posted

when adding custom items from like epic loot or other custom plugins that rely on item.text they break.
can you please add item.text "itemtext": to the plugin loot profiles?
i noticed you added item.name aka custom names which is GREAT

  • Administrator
Steenamaroo

Posted

Hi,
What is itemtext used for in the other plugins?
Is it just a clone of the custom name, or does it need to be something you can edit/customise separately?

I'm sure we can sort it out, either way.

  • Love 1
MelodyZE

Posted

thanks for the reply!

its plugins like treasure maps, epic loot, cooking one anda  few other plugins and some custom ones as well that rely on the item item.text

would it be pissible to add that into the plugin / config?

would it be possible to add like this? =0

      },
      "TestSwordDEV": {
        "ItemShortname": "salvaged.sword",
        "probability": 10,
        "minStack": 1,
        "maxStack": 1,
        "skins": [
          2915779588
        ],
        "ItemText": ""
      },

((( item texxt is where the augments for the item would go for such plugins like NewGuys and other custom ones that rely on that )))

MelodyZE

Posted (edited)

24 minutes ago, Steenamaroo said:

@MelodyZEI'm over here... 👋

sorry for belated reply!

omg you had replied long ago and i didnt get a notification 😧 
i feel so bad! im so sorry about that!!

Edited by MelodyZE
  • Administrator
Steenamaroo

Posted

Ha! Don't worry about it. 👍

 

Sure. Shouldn't be a problem.

I think I already added it locally but haven't publicly updated yet.
I'll send it to you tomorrow to confirm it does what you need, if you want.

MelodyZE

Posted

2 minutes ago, Steenamaroo said:

Ha! Don't worry about it. 👍

 

Sure. Shouldn't be a problem.

I think I already added it locally but haven't publicly updated yet.
I'll send it to you tomorrow to confirm it does what you need, if you want.

sorry again steenamaroo! i hadnt realized a reply had been made that long ago.

THANK YOU VERRRYYYYY MUCH!! =D
even if its just config based  where we go into profiles to add whatever augments needed to be added to the ItemText field is a MEGA win, especially since theres alot of server owners that use epic loot, maps and other plugins that use item.text fields.

please yes, that would me A+++ amazing!! 🙇‍♀️

  • Administrator
Steenamaroo

Posted (edited)

Good morning.
Looks like I misremembered.

I added item.name and item.text copying in BotReSpawn, not CustomLoot,
so that these custom values aren't lost when BotReSpawn is moving items (really creating new copies) between npc and corpse.

 

When you create a custom item via chat commands in CustomLoot, CustomLoot stores the ItemShortName, to know what to spawn,
and creates an entry in your loottable(s) under the custom name you specified.

That custom name is applied as item.name.
I've now added an ItemText field, which will be applied to item.text in cases where ItemShortName is not empty - I.E. only for custom items.

 

Would you be willing to test this?

Edited by Steenamaroo
  • Love 1
MelodyZE

Posted

10 hours ago, Steenamaroo said:

Good morning.
Looks like I misremembered.

I added item.name and item.text copying in BotReSpawn, not CustomLoot,
so that these custom values aren't lost when BotReSpawn is moving items (really creating new copies) between npc and corpse.

 

When you create a custom item via chat commands in CustomLoot, CustomLoot stores the ItemShortName, to know what to spawn,
and creates an entry in your loottable(s) under the custom name you specified.

That custom name is applied as item.name.
I've now added an ItemText field, which will be applied to item.text in cases where ItemShortName is not empty - I.E. only for custom items.

 

Would you be willing to test this?

weird, i dont think my reply went through or i didnt click send maybe 0_o

Bom dia Steenamaroo! o/

thank youuuu! thats better than nothing at all!
i had to read it a few times to understand it but 100% better than having no item.text retention at all
but, heck yes id love to test this!!

hopefully CustomLoot gets item.text sometime, id love to ditch the 3 other item injection plugins since yours pretty much does all containers, npc type and everything

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

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.