Citizens2 icon indicating copy to clipboard operation
Citizens2 copied to clipboard

NPCs disappearing | onEnable Problem?

Open Yive opened this issue 12 years ago • 31 comments

After a server reload or restart or even just a normal startup, NPCs appear for around 10 - 30 seconds then disappear. The only way to make them to stay till the next reload or reboot is to do /citizens reload. I do have the plugin called Plugman installed, not sure it that could conflict with this one, but who knows it can be the cause.

Versions: http://i.yive.me/Z780f80 Config: http://i.yive.me/1zc1ZE1

Yive avatar Aug 16 '14 00:08 Yive

Can you try using CraftBukkit or without Plugman installed? There have been issues with Plugman before.

fullwall avatar Aug 24 '14 15:08 fullwall

Same happens to me too. It cannot be the Plugman Plugin because NPC recently started disappearing, Never happened before.

Adzkii avatar Sep 02 '14 16:09 Adzkii

Can you give clear reproduce steps please?

fullwall avatar Sep 15 '14 07:09 fullwall

What you mean? All i know yeah is that this still happening even after removing some plugins.

Adzkii avatar Sep 15 '14 07:09 Adzkii

Can you create a local test server ( https://www.youtube.com/watch?v=I71eMkUZmDY&feature=youtu.be ) and record a video of step-by-step reproduction of the video? Failing a video, a detailed list of steps would do. Basically, this isn't normal behavior and a developer has to replicate it on their server before anything can be done about it.

mcmonkey4eva avatar Sep 16 '14 01:09 mcmonkey4eva

Create a test server? I don't understand? I've got a problem with the Citizens NPC disappearing constantly every 10mins

Adzkii avatar Sep 16 '14 01:09 Adzkii

I linked a video that explains the process.

mcmonkey4eva avatar Sep 16 '14 01:09 mcmonkey4eva

Video that explains how to solve this issue?

Adzkii avatar Sep 16 '14 01:09 Adzkii

... it explains how to set up a local test server, which is what you need to show us how to reproduce the issue, which we can then use to fix the issue.

mcmonkey4eva avatar Sep 16 '14 01:09 mcmonkey4eva

@Adzkii Are you still having issues?

mcmonkey4eva avatar Oct 04 '14 16:10 mcmonkey4eva

@mcmonkey4eva Yeah, Still having this issue where NPCs Disappear, What can i do? Either the admins have to do /citizens reload every 1 hour. Wonder whats causing this issue....

Adzkii avatar Oct 04 '14 17:10 Adzkii

... you could, in theory, write a quick script that will automatically reload for you. but that'd be stupid.

Can you get this replicated on a small local test server, then zip it up and send us the files? (I asked this above)

mcmonkey4eva avatar Oct 04 '14 17:10 mcmonkey4eva

bug Nothing out of the ordinary. http://i.yive.me/Ge1f8n2 saves.yml http://i.yive.me/JL9j434 config.yml I tested both builds 1175 and 1179 of citizens, same results. This time around the citizens never even load nor does the /citizens reload fix it. bug2

Yive avatar Oct 12 '14 14:10 Yive

Are you running Spigot 1.8 (the version string is confusing, but it appears to not be that)? You need that for Citizens 1.8 to work properly. If you're not running 1.8, you need an older version of Citizens available here http://wiki.citizensnpcs.co/Versions

mcmonkey4eva avatar Oct 12 '14 18:10 mcmonkey4eva

Yes I'm on spigot 1.8, it's just a weird build number due to the new patching system. My citizens is build number 1175 right now, I tried 1179, but that didn't work either. Is 1166 the only build that works for 1.8?

Yive avatar Oct 12 '14 21:10 Yive

1166 is for 1.7.10, 1179 is for the 1.8 yeah... so you said it never loaded - are there any errors in console (particularly during startup)?

mcmonkey4eva avatar Oct 12 '14 22:10 mcmonkey4eva

I've said it before, On debug enabled. I get 'Chunks unloaded' Chunks forced' blahblahblah

Adzkii avatar Oct 12 '14 22:10 Adzkii

This is all that appears in the console. Without debug:

[18:08:16] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1178)
[18:08:18] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1178)
[18:08:18] [Server thread/ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes
[18:08:18] [Server thread/INFO]: [Citizens] Unable to use economy handling. Has Vault been enabled?
[18:08:21] [Server thread/INFO]: [Citizens] Loaded 8 NPCs.

With debug:

[18:10:43] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1178)
[18:10:44] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1178)
[18:10:44] [Server thread/ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes
[18:10:44] [Server thread/INFO]: [Citizens] Unable to use economy handling. Has Vault been enabled?
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 0 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 3 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 2 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 8 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 7 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 6 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 5 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Retrying spawn of 4 later due to chunk being unloaded. Util.isLoaded true
[18:10:47] [Server thread/INFO]: [Citizens] Loaded 8 NPCs.

When I type /citizens reload:

[18:13:08 INFO]: Yive issued server command: /citizens reload
[18:13:09 INFO]: [Citizens] Tried to despawn 8 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 7 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 6 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 5 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 4 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 3 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 2 while already despawned.
[18:13:09 INFO]: [Citizens] Tried to despawn 0 while already despawned.
[18:13:09 INFO]: [Citizens] Retrying spawn of 0 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 3 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 2 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 8 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 7 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 6 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 5 later due to chunk being unloaded. Util.isLoaded true
[18:13:09 INFO]: [Citizens] Retrying spawn of 4 later due to chunk being unloaded. Util.isLoaded true

Yive avatar Oct 12 '14 22:10 Yive

We'll yeah, that's exactly what i get too.

Adzkii avatar Oct 12 '14 22:10 Adzkii

@Yive - to quote myself from earlier: Can you create a local test server ( https://www.youtube.com/watch?v=I71eMkUZmDY&feature=youtu.be ) and record a video of step-by-step reproduction of the video? Failing a video, a detailed list of steps would do. Basically, this isn't normal behavior and a developer has to replicate it on their server before anything can be done about it.

-- alternately, instead of reproduction details, you could zip up the local test server and upload it for us to run

mcmonkey4eva avatar Oct 12 '14 22:10 mcmonkey4eva