#(xdcharlie) Cant create an npc

39 messages · Page 1 of 1 (latest)

brave sigil
#

Get this error:
[15:08:31 WARN]: java.lang.NoSuchMethodError: 'net.minecraft.world.entity.ai.attributes.AttributeMapBase net.citizensnpcs.nms.v1_19_R1.entity.EntityHumanNPC.ex()'

void lodgeBOT
#

(xdcharlie) Cant create an npc

void lodgeBOT
#

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>

steady zealot
#

!logs

lyric needleBOT
# steady zealot !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.

wise terraceBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> 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.)

#

@brave sigil

brave sigil
#

okay getting logs now

#

also, i just updated to the newest development build

#

its giving a different error now

#

14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.nms.v1_19_R1.entity.EntityHumanNPC.initialise(EntityHumanNPC.java:339)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.nms.v1_19_R1.entity.EntityHumanNPC.<init>(EntityHumanNPC.java:108)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.nms.v1_19_R1.entity.HumanController.createEntity(HumanController.java:52)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.npc.AbstractEntityController.spawn(AbstractEntityController.java:48)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:275)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.npc.CitizensNPC.load(CitizensNPC.java:169)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto(SimpleNPCDataStore.java:59)
14:55:11 WARN: at Citizens-2.0.30-b2757.jar//net.citizensnpcs.Citizens$CitizensLoadTask.run(Citizens.java:565)
14:55:11 WARN: at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101)
14:55:11 WARN: at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
14:55:11 WARN: at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1135)
14:55:11 WARN: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:303)
14:55:11 WARN: at java.base/java.lang.Thread.run(Thread.java:833)
14:55:11 WARN: [Citizens] Task #39 for Citizens v2.0.30-SNAPSHOT (build 2757) generated an exception
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.ai.attributes.AttributeModifiable.a(double)" because "range" is null
at net.citizensnpcs.nms.v1_19_R1.entity.EntityHumanNPC.initialise(EntityHumanNPC.java:357) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.nms.v1_19_R1.entity.EntityHumanNPC.<init>(EntityHumanNPC.java:108) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.nms.v1_19_R1.entity.HumanController.createEntity(HumanController.java:52) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.npc.AbstractEntityController.spawn(AbstractEntityController.java:48) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:275) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.npc.CitizensNPC.load(CitizensNPC.java:169) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto(SimpleNPCDataStore.java:59) ~[Citizens-2.0.30-b2757.jar:?]
at net.citizensnpcs.Citizens$CitizensLoadTask.run(Citizens.java:565) ~[Citizens-2.0.30-b2757.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.jar:git-Paper-81]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.jar:git-Paper-81]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1135) ~[paper-1.19.jar:git-Paper-81]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:303) ~[paper-1.19.jar:git-Paper-81]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

#

thats the log

chilly marsh
steady zealot
lyric needleBOT
# steady zealot !logcheck https://paste.denizenscript.com/View/103162
Server Version

Paper version git-Paper-81 (MC: 1.19)-- (:warning: Outdated build, behind by 189... Current build is 270)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2757) -- (Current build :white_check_mark:)

Checked For

@steady zealot

Online/Offline

Offline, but proxied.

UUID Version

4 (:white_check_mark: Online)

Java Version

17 or newer (based on stack trace content) :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.8-beta-01+cbb2ba7, ProtocolLib v5.0.0-SNAPSHOT-b602

Possibly Relevant Plugin(s)

TAB v3.1.5 - This plugin adds Below_Name scoreboards to NPCs.
ViaVersion v4.4.2 - Mixed client vs server versions can sometimes cause packet-related issues.

Potentially Bad Line(s)

Starting Minecraft server on 0.0.0.0:25569 - server is offline but has no address bind. This might mean you're using a system level firewall, but if not, it means your proxy is bypassable by hackers. Either enable a system level firewall, or bind your server to localhost in server.properties via server-ip=127.0.0.1.
[14:55:04] [Server thread/ERROR]: [Essentials] You are running an unsupported server version! :warning: Log contains error messages.

steady zealot
#

you need to use 1.19.2

brave sigil
#

i want to use 1.19

#

is there a version for 1.19?\

chilly marsh
lyric needleBOT
# chilly marsh !patchversions
Info: patchversions

We support only the latest patch-version of Minecraft for any recent main version (and Mojang, Spigot, Paper, etc. all generally also follow the same rule).

"Patch version" means the last number in a version label, for example in 1.18.2, the main version is 1.18, and the patch version is .2.
So if 1.18.2 is the latest patch version, then 1.18.1, and 1.18(.0) are all outdated patch versions, and therefore are unsupported.

Note that we do still support recent older main versions (such as 1.17 and 1.16) so long as you are on the latest patch-version of those main versions (like 1.17.1 and 1.16.5).

chilly marsh
#

You shouldn't use outdated versions, 1.19 is completely unsupported pretty much everywhere

#

Is there a reason you can't update?

brave sigil
#

yeah a few plugins i have are unsupported on newer versions

#

but ill try

#

cool!

#

all works!

#

they updated the plugins literally a day ago

#

also can you spawn like an actual zombie npc?

#

not a skin?

patent knoll
#

/npc create Bob —type zombie

#

or /npc type to change the entity type of existing ones