How to make a custom shopSolved

I'd Like to make a completely custom shop. How can I do this?

Do you mean you would like to add a new vending machine? I suggest using Monument Addons for that. Simply install that plugin, grant the monumentaddons.admin permission, then run /maspawn npcvendingmachine somewhere at a monument. Then customize the vending machine with this plugin.

I mean I want to add a vending machine but not one with a default profile. I want one with custom items that doesnt use another vending machine thats on the maps items

Merged post

Let me reclarify.

 

Im using TalkingNPCVendors. Im trying to get it to call a vending machine on talking to the NPC however I dont know how to use this plugin to create a custom vending profile

The first use case you described in your latest post is achieved by following the exact steps I provided. Those steps allow you to create a new vending machine and make that vending machine sell whatever you want, without affecting other vending machines.

For Talking Npc Vendors setup, see the documentation of that plugin. Its integration with Custom Vending Setup is so seamless that the only thing you need to do is have the customvendingsetup.use permission. That plugin allows you to add a vending machine to an NPC (using commands in that plugin). When you open that vending machine, you will see an option to edit it via Custom Vending Setup plugin. It just works, no tutorial needed, except on how to add that vending machine. If the Talking Npc Vendors documentation does not adequately explain how to add a vending machine, get in touch with Razor and ask him to improve the documentation.

okay one more question

 

https://lone.design/product/vehicle-airdrops/

 

Im trying to use these in a vending machine and its      defaulting back to airdrop and saying its out of stock. am i doing something wrong?

I just looked at the Vehicle Airdrops code and I think I see the issue. It detects when a custom supply signal is added to a vending machine, then it replaces the supply signal with a "fake" signal. The "fake" signal feature was implemented to workaround a vanilla issue where vending machines can only display one skin of a given item in a vending machine, so the plugin author works around that by swapping the supply signals with other items temporarily, such as glue, so that each supply signal can have a separate base item, to cause the client to display each skin correctly.

That logic might be conflicting with Custom Vending Setup. I'll have to test it to confirm, when I have time in a few days. Then I can propose some changes to Nikedemos to prevent that conflict.

Yes please do! I have great ideas for the airdrops

Merged post

ah the console is throwing this error

 

[Custom Vending Setup] Unable to add 1 'supply.signal' because the vending machine container rejected it.


Merged post

I also found out that you cannot use any custom items, such as epicloot as well both for the enhancement item or any of the custom gear

 

https://lone.design/product/epicloot-rust-plugin/

Kendiggity

I also found out that you cannot use any custom items, such as epicloot as well both for the enhancement item or any of the custom gear

 

https://lone.design/product/epicloot-rust-plugin/

EDIT: You can use the custom items from EpicLoot, However the custom names dont pop up, maybe make a sertting to allow you to edit the item name?

Sounds like a list of problems to look into.

As part of looking into Vehicle Airdrops, I will determine why the vending machine is rejecting the supply signal.

The issue with custom display names is that there isn't a way to override the mouse hover popup or make a new mouse hover popup, but we could add a button that the player could click to briefly see more info about the item, such as the custom display name.

What exactly is the issue with the epic loot items? Do they not come out the same when you purchase them, or is it just a display issue before you purchase them?

They come out the same. Just a display name issue.

I reproduced the issue between Custom Vending Setup and Vehicle Airdrops. The issue can be resolved with a minor edit to Vehicle Airdrops, as follows.

Replace this code:

                if (item.info.itemid != 1397052267) return;
                //it's not a real supply signal, no need to go further

with this code (basically you are just adding 2 lines of code):

                if (item.info.itemid != 1397052267) return;
                //it's not a real supply signal, no need to go further

                if (maybeVendingMachine != configData.dedicatedVendingMachine) return;
                //it's not the dedicated vending machine, so allow other plugins to handle it

I've also sent this change to Nikedemos for incorporation into the next release of Vehicle Airdrops, but I don't know when that will be, so I suggest making the above change to your version of the plugin for now.

This is awesome, thank you. theres no way to fix the Epicloot support is there?

There is a path forward to allowing players to see the custom name of the epic loot items by displaying a button that the player can click to view the item name, but this is relatively low priority for me.

Locked automatically