#(stargamers) custom item for itemcost

20 messages · Page 1 of 1 (latest)

pseudo jay
#

Hello I am trying to set up a NPC that will run some commands when given a custom item from itemedit. I am asking for 128 of these items but when a player has more than 128 of them it takes all of them and still says the message missing items. I am not sure what is causing this.

zenith fulcrumBOT
#

(stargamers) custom item for itemcost

zenith fulcrumBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

next drum
#

!logs

celest orchidBOT
# next drum !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

next drum
#

Can you reproduce the issue with non custom items

pseudo jay
#

let me try

#

ahh I see what is happening it is requiring the needed material per command like say I require 5 stone it wants 5stone per command not just to run the list of commands so I can adjust that.

#

but yes it does the same thing custom or non custom

#

but there is an issue with it working like this because the NPC will then run as many commands it can collect enough items for and take players items but not perform the full task needed. Am I missing something that can change this so it will not run any commands unless it has the full amount of items needed to run them all at once?

pseudo jay
#

here is my configs I was trying to have it say something to inform players what they need and then to also have a message that lets them know their purchase has gone through when they do come back with items needed.

#

I do not see where to do this without it wanting to charge the player 5stone to get the message then 5more to get the perm and then another 5 to activate the command. I know I can probably bypass the perm one and just have it run as console but not sure about the message part.

#

right now yes I have it set at 64warped_buttons but it did the same with non-custom stone item as a cost item.

next drum
#

@pseudo jay I have updated in the new build (not for 1.20.4, only 1.20.6)

pseudo jay
#

So you made some changes but have to have server on 1.20.6 for it to work ?

#

Or since I just updated to 1.20.4 this weekend and not all plugins are ready for 1.20.6 if I stay 1.20.4 I need to go back to an older jar. Then wait until I can update to 1.20.6 to get updates you did and things to work as I need?

fathom emberBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@pseudo jay