#(shadowsamara) bug with the /npc shop and the <cost> placeholder

61 messages · Page 1 of 1 (latest)

final mulch
#

Hi,
I'm currently creating some shops via npcs using the /npc shop command. Everything is going well so far, but if I use the placeholder <cost> when I ask "Do you really want to buy this for...", it doesn't work anymore. Is this intentional or am I using the placeholder incorrectly?

the Screen shows the Consol after i click the Item

trail pulsarBOT
#

(shadowsamara) bug with the /npc shop and the <cost> placeholder

trail pulsarBOT
#

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.

final mulch
#

Are there other placeholders that can be used for this?

final mulch
#

I'm being ignored... Kappa It's a joke, please don't take it seriously :D I know that support is a hard task

jaunty phoenix
#

!update citizens

crystal adderBOT
cunning stumpBOT
#
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.)

#

@final mulch

final mulch
#

I am on the neues Version

#

Newest *

#

So thats Not the issue

jaunty phoenix
#

No, you’re not

#

But please post. Set of logs then

#

!logs

crystal adderBOT
# jaunty phoenix !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.

final mulch
strange cairn
crystal adderBOT
strange cairn
#

can you restart your server before sending them, please? you hit rollover

final mulch
#

sure, need a sec to tell teh other player this

strange cairn
crystal adderBOT
# strange cairn !logcheck https://paste.denizenscript.com/View/120341
Server Version

Purpur version git-Purpur-2136 (MC: 1.20.4)

Plugin Version(s)

Citizens v2.0.33-SNAPSHOT (build 3311) -- (Outdated build, behind by 9)
Sentinel v2.8.1-SNAPSHOT (build 513) -- (Outdated build, behind by 5)

Checked For

@strange cairn

Java Version

17.0.9 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.9+5934e49

Possibly Relevant Plugin(s)

TAB v4.1.2 - This plugin adds Below_Name scoreboards to NPCs.
HeadDatabase v4.18.4 - HeadDatabase has been known to cause issues with skins.
Multiverse-Core v4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.
GSit v1.7.0 - 'Sit on other players' or 'sit on mobs' plugins sometimes allow players to sit on NPCs.

Potentially Bad Line(s)

[12:05:39] [Server thread/ERROR]: [Essentials] You are running an unsupported server version! :warning: Log contains error messages.

strange cairn
#

behind by 9

final mulch
#

but on spigot is the last version to download

jaunty phoenix
#

!update citizens

crystal adderBOT
jaunty phoenix
#

top link

final mulch
#

okay, then I'm just stupid :,D
I'll download the version and see if the placeholder problem goes away.

#

I still have the same error in the console when I use the placeholder

jaunty phoenix
#

@final mulch what's the shops.yml look like? I can't reproduce this

final mulch
#

i can send it

jaunty phoenix
#

nope, still can't reproduce

final mulch
#

okay... well for me it's just "broken" because as soon as I put <cost> in the messages it doesn't work anymore, I leave the placeholder out and it works

jaunty phoenix
#

@final mulch well I can't see <cost> anywhere in your shops config

#

maybe you could post a set of logs anyway

#

actually no

#

can you post shops.yml where you have the <cost> there

final mulch
#

now it is in the yml ... didnt save befor i downloaded the file

#

is the 3th npc ip

jaunty phoenix
#

@final mulch what if you use an item cost instead of a money cost

final mulch
#

Good question, since everything is supposed to be bought with money, I didn't incur any item costs. But i can test it and let you know if i get the same error

#

same error

jaunty phoenix
#

@final mulch what's the name of your currency

final mulch
#

Essentials default

jaunty phoenix
#

@final mulch ok, I think that must be '$' or something

#

please update to the new build which is being built on the jenkins

#

!update citizens

crystal adderBOT
final mulch
#

you mean update Essentials, right?

jaunty phoenix
#

no, citizens

final mulch
#

ah see the new build loading, okay than i will do it

#

Now its working

#

thanks ^^

cunning stumpBOT
#
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.)

#

@final mulch