#(Ayano) Citizens shop Reset after some time
1 messages · Page 1 of 1 (latest)
(Ayano) Citizens shop Reset after some time
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
!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.
Content of Server Log Paste #105514: Unnamed Server Log Paste... pasted 2023/01/19 06:13:46 UTC-08:00, Paste length: 120337 characters across 1116 lines, Content: [00:00:00] [pool-32-thread-1/INFO]: [VotingPlugin] Detected day changed, processing...[00:00:00] [po...
Its always in like intervals they work perfect for 1 week and then randomly They empty their shops
(possible problem could be that we are using items from other plugins and putting them into the shops, maybe that confuses the plugin because its not a base minecraft item)
Is there any error
Not sure what this is
This is the latest log
There is no visible error in the logs
The npc shops just keep resetting
If you save with citizens save?
What exactly is a citizens save ?
saves.yml in plugins/citizens/ folder
thanks looking it up
i uhh
don't think this is the right answer contextually
fullwall was referring to /citizens save
Whats the difference between a filezilla save and a citizens save ?
oh, sorry
I just want to know if there’s an error when you use /citizens save which results in shops.yml being empty
E.g after you put a custom item in the shop
Shops cleared again.
Created a new npc and filled his shop, used /citizens save
Content of Server Log Paste #105805: Unnamed Server Log Paste... pasted 2023/01/28 14:13:00 UTC-08:00, Paste length: 157166 characters across 1587 lines, Content: [21:49:49] [ServerMain/INFO]: Building unoptimized datafixer[21:49:50] [ServerMain/INFO]: Environmen...
2 days since he is up and his shop didnt clear
@ashen wind so is it a specific item that causes it?
i dont think so
because we set up multiple shops
and shops with player heads always corrupted first
but after that every shop slowly cleared itself
we tried not using player heads and reinstalling the plugin
but once we use more than one shop
the npcs just clear the shops
still unable to replicate
@ashen wind can you please elaborate a step-by-step method of replicating this issue? an MCVE if you will:
!mcve
Please create a Minimal, Complete, and Verifiable Example of the problem you're reporting.
Minimal: contains nothing other than the part that's broken (and bare minimum structure).
Complete: contains everything needed to demonstrate the issue.
Verifiable: Anybody should be able to throw it on their own server and see the problem happen for themselves, without any needed tinkering.
Will do. but please keep in mind, The shops reset randomly
sometimes it took us 2 days
sometimes 2 weeks
sometimes mere minutes
https://www.youtube.com/watch?v=qBvc24YsuLQ
Got a clip were we recreated the problem directly after a restart if you need i can add the config.yml and an instruction step by step
- Create a NPC
- Select and Edit the Shop
/Citizens Save- Server Restart
- Empty Shop
Content of Server Log Paste #105805: Unnamed Server Log Paste... pasted 2023/01/28 14:13:00 UTC-08:00, Paste length: 157166 characters across 1587 lines, Content: [21:49:49] [ServerMain/INFO]: Building unoptimized datafixer[21:49:50] [ServerMain/INFO]: Environmen...
Paper version git-Paper-279 (MC: 1.19.2)-- (:warning: Outdated build, behind by 107... Current build is 386)
Citizens v2.0.30-SNAPSHOT (build 2793) -- (:warning:Outdated build, behind by 108)
@covert pawn
4 (:white_check_mark: Online)
17 or newer (based on stack trace content) :white_check_mark:
WorldGuard v7.0.8-beta-01+cbb2ba7, MythicMobs v5.2.1-fd1d0777, ProtocolLib v5.0.0-SNAPSHOT-b607
TAB v3.1.5 - This plugin adds Below_Name scoreboards to NPCs.
ViaVersion v4.5.1 - Mixed client vs server versions can sometimes cause packet-related issues.
ModelEngine vR3.1.3 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
[21:50:27] [Craft Scheduler Thread - 11 - DecentHolograms/WARN]: Caused by: while scanning a simple key :warning: Log contains error messages.
@ashen wind You're 100~ builds behind, should update and see if you still encounter this issue
!update Citizens
Latest Citizens dev builds are at https://ci.citizensnpcs.co/job/Citizens2/.
Spigot releases of Citizens are available at https://www.spigotmc.org/resources/citizens.13811/.
Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.
Latest Paper builds are at https://papermc.io/downloads.
(If you would prefer to use a Spigot build, refer to !update spigot).
Well thanks will do.
!log
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.
Content of Server Log Paste #105981: Unnamed Server Log Paste... pasted 2023/02/04 12:08:01 UTC-08:00, Paste length: 145593 characters across 1456 lines, Content: [20:58:14] [ServerMain/INFO]: Building unoptimized datafixer[20:58:15] [ServerMain/INFO]: Environmen...
Content of Server Log Paste #105981: Unnamed Server Log Paste... pasted 2023/02/04 12:08:01 UTC-08:00, Paste length: 145593 characters across 1456 lines, Content: [20:58:14] [ServerMain/INFO]: Building unoptimized datafixer[20:58:15] [ServerMain/INFO]: Environmen...
Paper version git-Paper-386 (MC: 1.19.3)-- (Current build :white_check_mark:)
Citizens v2.0.30-SNAPSHOT (build 2901) -- (Current build :white_check_mark:)
@jolly swallow
4 (:white_check_mark: Online)
17 or newer (based on stack trace content) :white_check_mark:
MythicMobs v5.2.1-fd1d0777, ProtocolLib v5.0.0-SNAPSHOT-b607
TAB v3.2.4 - This plugin adds Below_Name scoreboards to NPCs.
ViaVersion v4.5.1 - Mixed client vs server versions can sometimes cause packet-related issues.
ModelEngine vR3.1.4 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Caused by: java.util.zip.ZipException: zip END header not found :warning: Log contains error messages.
The shops still reset after a restart
so I followed the steps in your video exactly but I could not replicate the error
perhaps you could include the stopping part of your server log?
Sorry, where do i find the stopping part in my server log ?
Stop the server before posting the latest.log file
Ah okay, thanks
The reproduce the bug i have to restart the server
should i stop the server send you the first log
then join on the server (probably) see the bug
and then stop the server and send you the second log ?
!log
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.
Content of Server Log Paste #106015: Unnamed Server Log Paste... pasted 2023/02/05 13:41:54 UTC-08:00, Paste length: 163546 characters across 1647 lines, Content: [22:32:52] [ServerMain/INFO]: Building unoptimized datafixer[22:32:53] [ServerMain/INFO]: Environmen...
- Shops have been created
Content of Server Log Paste #106016: Unnamed Server Log Paste... pasted 2023/02/05 13:42:32 UTC-08:00, Paste length: 163435 characters across 1646 lines, Content: [22:38:37] [ServerMain/INFO]: Building unoptimized datafixer[22:38:38] [ServerMain/INFO]: Environmen...
- Shops are empty after restart (stop/start)
hmm, can anyone else reproduce this? I still can't.
not sure if it's related to a plugin conflict or error or something
If it helps I can send the config.yml
Because there is a limit for NPC I remember
And might have a conflict with that
Yes.
Looking through this channel here to find a solution, I don't think it's something due to the plugin itself upon researching a bit and looking into configs/whatnot.
it would help if we could establish a step-by-step guide on how to replicate it exactly, but it's vague as to when it resets
what happens inbetween that time?
Ok, so, I JUST restart my server and here's how it goes:
1.) Create NPC Shop
2.) Populate shop
3.) Save citizens
4.) Restart server
5.) NPC shop isn't populated, BUT, the NPC still has the shop trait + its requisite values (open shop on right click, 'players buy items' etc) but no items
Which plugins are you using?
Do you think it’d be possible to cut down plugins?
I do wonder if it’s vault/essentialsx related
Even if we don’t use balance/economy as currency for the shops and as an example use iron ingots the shops still reset
So prolly not vault but could be essentialsX
Sadly not, all of them serve a very specific purpose and all are used in day-to-day operations.
@young prism do your logs maybe provide more information on that topic?
I have this problem too, if it can help find a solution ask me anything
@ashen wind @young prism @limber shore
What's your host?
You can download your server locally and run it from there, so you can do the troubleshooting
I run my server on my pc, i use paper version 1.19.3
Help us help you by pasting your full server log directly to https://paste.denizenscript.com/New/Log (and not any other pastebin service) and linking it back here.
I'll do it as soon as i have time !
I think in a few hours
cool
Content of Server Log Paste #106156: Unnamed Server Log Paste... pasted 2023/02/11 09:47:45 UTC-08:00, Paste length: 62853 characters across 679 lines, Content: [16:00:25] [ServerMain/INFO]: Building unoptimized datafixer[16:00:26] [ServerMain/WARN]: You specif...
Content of Server Log Paste #106156: Unnamed Server Log Paste... pasted 2023/02/11 09:47:45 UTC-08:00, Paste length: 62853 characters across 679 lines, Content: [16:00:25] [ServerMain/INFO]: Building unoptimized datafixer[16:00:26] [ServerMain/WARN]: You specif...
Paper version git-Paper-388 (MC: 1.19.3)-- (Outdated build, behind by 5... Current build is 393)
Citizens v2.0.30-SNAPSHOT (build 2875) -- (:warning:Outdated build, behind by 38)
Denizen v1.2.5-SNAPSHOT (build 1775-REL) -- (:warning:Outdated build, behind by 8)
@covert pawn
17.0.5 :white_check_mark:
WorldGuard v7.0.7+216b061, ProtocolLib v5.0.0-SNAPSHOT-b602, Quests v3.13.2-d709ab4
Geyser-Spigot v2.1.0-SNAPSHOT - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.
floodgate v2.2.0-SNAPSHOT (b74-4f36112)
TAB v3.2.1 - This plugin adds Below_Name scoreboards to NPCs.
GriefDefender v2.3.2 - GriefDefender v2.2.2 has been seen to mistake NPCs for players in some cases, and may interfere with NPC teleporting.
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_19_R1.inventory.CraftItemStack :warning: Log contains error messages.
@young prism your denizen is heavily outdated , but you're also using essentials as economy?
(Vault is the link between plugins and the economy)
[16:00:40] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
essentials provides the money
Oh, right, yes, is that a problem?
no, just a question
G.Portal
Help us help you by pasting your YAML config file to https://paste.denizenscript.com/New/Other?selected=other-yaml and linking it back here.
Content of YAML Paste #106159: Saves... pasted 2023/02/11 11:44:47 UTC-08:00, Paste length: 68933 characters across 1216 lines, Content: # Citizens NPC Storage
Shops is empty due to the reset/clear
Content of YAML Paste #106160: Config... pasted 2023/02/11 11:45:35 UTC-08:00, Paste length: 3947 characters across 150 lines, Content: # Citizens Configuration
to double check thats the config
Ok here i am sorry to be late. I updated citizens since i still had an old version and tried to do a test shop for the logs but now, when i restarted the server, the shop was still there and it wasn't emptied. I think i will wait a little before saying that this is resolved since sometimes it takes more time but i'll let you know that maybe updating has worked for me
What plugins are you using?
Hey, sorry for the late response again but in my timezone it was night.
I’m using a lot of plugins since I play with my friends in a big server and I don’t have my pc on now so I can’t tell you all of them. Btw I’m going to play in about 1 hour so when I turn on again i’ll tell you I’d the problem is still there or if I fixed
I tried again now and my shops aren't resetting anymore (as for now).
@ashen wind i've seen someone was talking about essentials might be the problem, i am using it in my world so i don't think it is the problem
Thanks
no problem, if u need anything else just tell me
So,
Any fixes?
Still don’t have replication steps
Maybe I can add a build with debug for you tomorrow
@ashen wind can you update to the new build and enable citizens debug and send the output please
For now, my shops aren't resetting anymore, if it will happen again i am gonna try to replicate it
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.)
@ashen wind
Thread closed as resolved.
@ashen wind is it resolved or not?
ok thanks