#(Zushee) Trouble Setting npc skin
95 messages · Page 1 of 1 (latest)
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>
i added the dev api tag to your thread for when someone is familiar with how to answer best, until there, here's this for reference if you havent had it already for using skintrait via the api:
!skins
NPC skins are controlled in-game via the /npc skin command, or from Java API via the SkinTrait.
For more information, refer to this wiki page:
https://wiki.citizensnpcs.co/Skins
this does still mean that you have to be patient for a response
Can you try removing one of the spawn calls?
maybe try enabling citizens debug and sending a log
in your /plugins/Citizens/config.yml, enable the line that has debug on it
after doing that, restarting the server, and replicating the issue, you can afterwards paste your log with these instructions:
!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 #108390: npc skin... pasted 2023/04/04 13:07:12 UTC-07:00, Paste length: 6047 characters across 66 lines, Content: [22:03:52] [main/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=https://ap...
Paper version git-Paper-794 (MC: 1.16.5)-- (Current build :white_check_mark:)
Citizens v2.0.31-SNAPSHOT (build 2981) -- (:warning:Outdated build, behind by 34)
@azure hemlock
4 (:white_check_mark: Online)
17 or newer (based on stack trace content) :white_check_mark:
ViaVersion v4.6.2 - Mixed client vs server versions can sometimes cause packet-related issues.
did you execute the command this startup sequence?
your logs show you logged in but you never ran any commands
can you share the log with the debug enabled as you have done, but replicate the problem?
you may have failed to read my message though
can you share the log with the debug enabled as you have done, but replicate the problem
as in, now that you have enabled the debug
you've enabled more text for us to read to determine the problem
can you now run the commands that cause the problem
and then share that
!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.
you logged in and did nothing, correct?
do something, not nothing
make the error again
you dont want to ping me
!rule 3
Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).
If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.
If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.
🤦♂️🤦♂️🤦♂️⁉️
Content of Server Log Paste #108416: .... pasted 2023/04/05 01:52:19 UTC-07:00, Paste length: 5989 characters across 66 lines, Content: [10:51:28] [main/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=https://ap...
Paper version git-Paper-794 (MC: 1.16.5)-- (Current build :white_check_mark:)
Citizens v2.0.31-SNAPSHOT (build 2981) -- (:warning:Outdated build, behind by 34)
@azure hemlock
4 (:white_check_mark: Online)
17 or newer (based on stack trace content) :white_check_mark:
ViaVersion v4.6.2 - Mixed client vs server versions can sometimes cause packet-related issues.
you logged in and did nothing
what did you do when you logged in
correct
what can we see from nothing?
if you do nothing, what do we see?
how did you run this
the code is fine, but how did you run the code
how does this run
do you do nothing and it runs?
or what do you do that runs this
how do you execute
can you elaborate
how do you execute this code
it appears you do nothing and do not run the code
what executes onEnable() method
you place a skin on an NPC when players do not simulate the NPC?
your logs indicate you don't
you're being vague and you need to provide evidence of your code running and failing to execute
if your code is causing errors and you're unsure but confident it's right, i'd erase it completely and start over; your original consensus isn't working and it's not clear why
try reviewing the skin information:
!skins
NPC skins are controlled in-game via the /npc skin command, or from Java API via the SkinTrait.
For more information, refer to this wiki page:
https://wiki.citizensnpcs.co/Skins
an MCVE would help us explicitly understand how to both replicate the issue and fix the problem if there is one
!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.
with what youve provided, you log in and nothing happens because you arent doing anything but logging in to execute code
the code also doesnt run on login
take your time
@
@mild edge there's destroyAll I think for this reason
deregisterAll()
but yeah, I'm confused what issue you're having now
need to clarify
Why not just use a temporary npc registry?
It doesn’t save at all
Try using CitizensAPI.createAnonymousNPCRegistry(new MemoryNPCDataStore());
yes
yes, although maybe keep the anonymous registry somewhere else
well, somewhere in local (world?) state
also, please stop tagging me
!rule 3
Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).
If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.
If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.
/npc remove all or /npc remove --world
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.)
@mild edge
You need to enable it, there's a method on the LookClose trait - iirc it's called lookClose
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.)
@mild edge
Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).
If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.
If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.
@mild edge
Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.
Thread closed as resolved.
Thread was manually reopened by @glad night.