CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
579 stars 308 forks source link

NPC Skin Unloading (Fixed in Technik Launcher) #93

Closed TheMaddog closed 9 years ago

TheMaddog commented 9 years ago

EDIT: I fixed this by dumping the Minecraft Launcher and using the Technic Launcher. All NPCs show their skins after reloading the chunks and restarting the client.

Hi there,

Loving the Citizens2 plugin, no point in carrying on without the plugin.

The problem is that NPCs often lose their skin and randomly get their skin back .. I've been monitoring the servers resource usage and it appears normal. CPU usage at a stable 10-25% and mem usage at 10-20%

chunks: always-keep-loaded: false

Set to True the problem still persists.. I'm stuck .. How do I fix this without having to resort to possibly downgrading the server to a lower version or completely removing the plugin ?

Thanks for reading, I've attached my server log and the screenshot of the problem below.

skarmdump 2014-10-12 21 10 52

[22:12:50] [Server thread/INFO]: Starting minecraft server version 1.7.10 [22:12:50] [Server thread/INFO]: Loading properties [22:12:50] [Server thread/INFO]: Default game type: SURVIVAL [22:12:50] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-1.7.9-R0.2-207-g03373bb (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT) [22:12:50] [Server thread/INFO]: Server Ping Player Sample Count: 12 [22:12:50] [Server thread/INFO]: Using 4 threads for Netty based IO [22:12:50] [Server thread/INFO]: Debug logging is disabled [22:12:51] [Server thread/INFO]: Generating keypair [22:12:51] [Server thread/INFO]: Starting Minecraft server on :25565 [22:12:52] [Server thread/INFO]: Set PluginClassLoader as parallel capable [22:12:52] [Server thread/INFO]: [CraftControl] Loading CraftControl v0.0.2 [22:12:52] [Server thread/INFO]: [WorldEdit] Loading WorldEdit v5.6.3 [22:12:52] [Server thread/INFO]: [SQLibrary] Loading SQLibrary v7.1 [22:12:52] [Server thread/INFO]: [PorteCoulissante] Loading PorteCoulissante v1.4.3 [22:12:52] [Server thread/INFO]: [Quests] Loading Quests v1.9.0 [22:12:52] [Server thread/INFO]: [Vault] Loading Vault v1.4.1-b436 [22:12:52] [Server thread/INFO]: [Modifyworld] Loading Modifyworld v1.19.7 [22:12:52] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.22.5 [22:12:52] [Server thread/INFO]: [mcMMO] Loading mcMMO v1.5.00-b3547 [22:12:52] [Server thread/INFO]: [WorldGuard] Loading WorldGuard v6.0.0-beta-02 [22:12:52] [Server thread/INFO]: [Essentials] Loading Essentials vPre2.14.1.3 [22:12:52] [Server thread/INFO]: [dynmap] Loading dynmap v2.0.0-SNAPSHOT-1047 [22:12:52] [Server thread/INFO]: [dynmap] version=git-Spigot-1.7.9-R0.2-207-g03373bb (MC: 1.7.10) [22:12:53] [Server thread/INFO]: [dynmap] Mod Support API available [22:12:53] [Server thread/INFO]: [ItemRules] Loading ItemRules v1.0.10 [22:12:53] [Server thread/INFO]: [GoldToCash] Loading GoldToCash v2.3 [22:12:53] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1178) [22:12:53] [Server thread/INFO]: [EssentialsProtect] Loading EssentialsProtect vPre2.14.1.3 [22:12:53] [Server thread/INFO]: [EssentialsSpawn] Loading EssentialsSpawn vPre2.14.1.3 [22:12:53] [Server thread/INFO]: [Sentry] Loading Sentry v1.8.2 [22:12:53] [Server thread/INFO]: [Scavenger] Loading Scavenger v1.6-23 [22:12:53] [Server thread/INFO]: [EssentialsChat] Loading EssentialsChat vPre2.14.1.3 [22:12:53] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v3.4.0 [22:12:53] [Server thread/WARN]: [ProtocolLib] Version (MC: 1.7.10) has not yet been tested! Proceed with caution. [22:12:53] [Server thread/INFO]: [dtlTraders] Loading dtlTraders v3.1.0-snapshot [22:12:53] [Server thread/INFO]: [Vault] Enabling Vault v1.4.1-b436 [22:12:53] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting [22:12:53] [Server thread/INFO]: [Vault] [Permission] PermissionsEx found: Waiting [22:12:53] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system. [22:12:53] [Server thread/INFO]: [Vault] [Chat] PermissionsEx found: Waiting [22:12:53] [Server thread/INFO]: [Vault] Enabled Version 1.4.1-b436 [22:12:53] [Server thread/INFO]: [mcMMO] Enabling mcMMO v1.5.00-b3547 [22:12:56] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v3.4.0 [22:12:56] [Server thread/INFO]: [ProtocolLib] Started structure compiler thread. [22:12:56] [Server thread/INFO]: *\ Beginning UUID conversion, this may take A LONG time **** [22:12:56] [Server thread/INFO]: Preparing level "world" [22:12:56] [Server thread/INFO]: -------- World Settings For [world] -------- [22:12:56] [Server thread/INFO]: Cactus Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Cane Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Melon Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Mushroom Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Pumpkin Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Sapling Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Wheat Growth Modifier: 100% [22:12:56] [Server thread/INFO]: Mob Spawn Range: 4 [22:12:56] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 [22:12:56] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [22:12:56] [Server thread/INFO]: Alternative Hopper Ticking: false [22:12:56] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1 [22:12:56] [Server thread/INFO]: Random Lighting Updates: false [22:12:56] [Server thread/INFO]: Structure Info Saving: true [22:12:56] [Server thread/INFO]: Anti X-Ray: true [22:12:56] [Server thread/INFO]: Engine Mode: 1 [22:12:56] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130] [22:12:56] [Server thread/INFO]: Replace Blocks: [1, 5] [22:12:56] [Server thread/INFO]: Nerfing mobs spawned from spawners: false [22:12:56] [Server thread/INFO]: Sending up to 5 chunks per packet [22:12:56] [Server thread/INFO]: Max Entity Collisions: 8 [22:12:56] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617 [22:12:56] [Server thread/INFO]: Max TNT Explosions: 100 [22:12:56] [Server thread/INFO]: View Distance: 6 [22:12:56] [Server thread/INFO]: Chunks to Grow per Tick: 650 [22:12:56] [Server thread/INFO]: Clear tick list: false [22:12:56] [Server thread/INFO]: Experience Merge Radius: 3.0 [22:12:56] [Server thread/INFO]: Zombie Aggressive Towards Villager: true [22:12:56] [Server thread/INFO]: Item Despawn Rate: 6000 [22:12:56] [Server thread/INFO]: Item Merge Radius: 2.5 [22:12:56] [Server thread/INFO]: Arrow Despawn Rate: 1200 [22:12:56] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [22:12:56] [Server thread/INFO]: Preparing start region for level 0 (Seed: -42494964244591) [22:12:57] [Server thread/INFO]: Preparing spawn area: 42% [22:12:58] [Server thread/INFO]: [CraftControl] Enabling CraftControl v0.0.2 [22:12:58] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v5.6.3 [22:12:58] [Server thread/INFO]: WEPIF: Using the Bukkit Permissions API. [22:12:58] [Server thread/INFO]: [SQLibrary] Enabling SQLibrary v7.1 [22:12:58] [Server thread/INFO]: SQLibrary loaded. [22:12:58] [Server thread/INFO]: [PorteCoulissante] Enabling PorteCoulissante v1.4.3 [22:12:58] [Server thread/INFO]: [PorteCoulissante] SpoutPlugin not available; disabling sound effects [22:12:58] [Server thread/INFO]: [PorteCoulissante] Plugin version 1.4.3 by Captain_Chaos enabled [22:12:58] [Server thread/INFO]: [Quests] Enabling Quests v1.9.0 [22:12:58] [Server thread/INFO]: [Quests] Enabled. [22:12:58] [Server thread/INFO]: [Modifyworld] Enabling Modifyworld v1.19.7 [22:12:58] [Server thread/INFO]: [Modifyworld] Modifyworld enabled! [22:12:58] [Server thread/INFO]: [PermissionsEx] Enabling PermissionsEx v1.22.5 [22:12:58] [Server thread/INFO]: [PermissionsEx] Initializing file backend [22:12:58] [Server thread/INFO]: [PermissionsEx] Permissions file successfully reloaded [22:12:58] [Server thread/INFO]: WEPIF: PermissionsEx detected! Using PermissionsEx for permissions. [22:12:58] [Server thread/INFO]: [Vault][Permission] PermissionsEx hooked. [22:12:58] [Server thread/INFO]: [Vault][Chat] PermissionsEx_Chat hooked. [22:12:58] [Server thread/INFO]: [WorldGuard] Enabling WorldGuard v6.0.0-beta-02 [22:12:59] [Server thread/INFO]: WorldGuard TNT ignition is blocked. [22:12:59] [Server thread/INFO]: WorldGuard Lighters are PERMITTED. [22:12:59] [Server thread/INFO]: WorldGuard Lava fire is blocked. [22:12:59] [Server thread/INFO]: WorldGuard All fire spread is disabled. [22:12:59] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world' [22:12:59] [Server thread/INFO]: [WorldGuard] Loading region data... [22:12:59] [Server thread/INFO]: [Essentials] Enabling Essentials vPre2.14.1.3 [22:12:59] [Server thread/INFO]: Bukkit version format changed. Version not checked.

[22:12:59] [Server thread/INFO]: Using locale en_US [22:12:59] [Server thread/INFO]: Using locale en_US [22:12:59] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked. [22:12:59] [Server thread/INFO]: Essentials: Using PermissionsEx based permissions. [22:12:59] [Server thread/INFO]: [dynmap] Enabling dynmap v2.0.0-SNAPSHOT-1047 [22:12:59] [Server thread/INFO]: [dynmap] Using PermissionsEx 1.22.5 for access control [22:13:00] [Server thread/INFO]: [dynmap] Mod Support processing completed [22:13:01] [Server thread/INFO]: [dynmap] Loaded 23 shaders. [22:13:01] [Server thread/INFO]: [dynmap] Loaded 82 perspectives. [22:13:01] [Server thread/INFO]: [dynmap] Loaded 12 lightings. [22:13:01] [Server thread/INFO]: [dynmap] Web server started on address 0.0.0.0:8123 [22:13:01] [Server thread/INFO]: [dynmap] version 2.0.0-SNAPSHOT-1047 is enabled - core version 2.0.0-SNAPSHOT-1992 [22:13:01] [Server thread/INFO]: [dynmap] Loaded 3 maps of world 'world'. [22:13:01] [Server thread/INFO]: [dynmap] Loaded 18 pending tile renders for world 'world' [22:13:01] [Server thread/INFO]: [dynmap] Enabled [22:13:02] [Server thread/INFO]: [ItemRules] Enabling ItemRules v1.0.10 [22:13:02] [Server thread/INFO]: Vault integration for [ItemRules] is enabled [22:13:02] [Server thread/INFO]: Factions integration for [ItemRules] not enabled [22:13:02] [Server thread/INFO]: mcMMO integration for [ItemRules] is enabled [22:13:02] [Server thread/INFO]: ItemRules loaded 5 rules total. [22:13:02] [Server thread/INFO]: [GoldToCash] Enabling GoldToCash v2.3 [22:13:02] [Server thread/INFO]: [GoldToCash] Vault Economy loaded with success ! [22:13:02] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1178) [22:13:02] [Server thread/ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes [22:13:02] [Server thread/INFO]: [EssentialsProtect] Enabling EssentialsProtect vPre2.14.1.3 [22:13:02] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn vPre2.14.1.3 [22:13:02] [Server thread/INFO]: [Sentry] Enabling Sentry v1.8.2 [22:13:02] [Server thread/INFO]: [Sentry] Could not register with Denizen [22:13:02] [Server thread/INFO]: [Sentry] Could not find or register with Towny [22:13:02] [Server thread/INFO]: [Sentry] Could not find or register with Factions. [22:13:02] [Server thread/INFO]: [Sentry] Could not find or register with War. [22:13:02] [Server thread/INFO]: [Sentry] Could not find or register with SimpleClans. [22:13:02] [Server thread/INFO]: [Scavenger] Enabling Scavenger v1.6-23 [22:13:02] [Server thread/INFO]: [Scavenger] Configuration loaded. [22:13:02] [Server thread/INFO]: [Scavenger] Economy disabled. Item recovery will be free. [22:13:02] [Server thread/INFO]: [Scavenger] Loaded ignore list. (Count = 0) [22:13:02] [Server thread/INFO]: [Scavenger] Offline-mode is set to false, no Authenticator Hook [22:13:02] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat vPre2.14.1.3 [22:13:02] [Server thread/INFO]: [dtlTraders] Enabling dtlTraders v3.1.0-snapshot [22:13:02] [Server thread/INFO]: [dtlTraders][INFO] Economy plugin: Essentials Economy [22:13:02] [Server thread/INFO]: [dtlTraders][INFO] Loading config files [22:13:02] [Server thread/INFO]: [dtlTraders][INFO] Registered core attributes: [GenericDamage ,PatternItem ,Limit ,Name ,Book ,Amount ,Skull ,Slot ,StoredEnchants ,GenericKnockback ,Potion ,Multiplier ,Enchants ,Durability ,GenericSpeed ,GenericHealth ,Price ,Leather color ,Tier ,Firework] [22:13:02] [Server thread/INFO]: [dtlTraders][INFO] Registered core flags: [Lore ,NoStack ,Abstract ,Anylore ,SplashPotion ,DataCheck ,Regex ,StackPrice] [22:13:02] [Server thread/INFO]: [dtlTraders][INFO] Registered types: [server] [22:13:02] [Server thread/INFO]: [dtlTraders][INFO] Permission plugin: PermissionsEx [22:13:03] [Server thread/INFO]: [dtlTraders][INFO] Accounts loaded: 0 [22:13:03] [Server thread/INFO]: [dtlTraders][INFO] Enabled [22:13:03] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it

[22:13:03] [Craft Scheduler Thread - 1/INFO]: [mcMMO] Cleaned backup files. Deleted 1 of 15 files. [22:13:03] [Server thread/INFO]: [Sentry] Registered sucessfully with Vault: 9 groups found. The GROUP: target will function [22:13:07] [Server thread/INFO]: [Citizens] Loaded 27 NPCs. [22:13:07] [Dynmap Render Thread/INFO]: [dynmap] Loading default resource pack [22:13:07] [Server thread/INFO]: [Quests] 3 Quest(s) loaded. [22:13:07] [Server thread/INFO]: [Quests] 5 Event(s) loaded. [22:13:07] [Server thread/INFO]: [Quests] 813 Phrase(s) loaded.

mcmonkey4eva commented 9 years ago
EDIT: I fixed this by dumping the Minecraft Launcher and using the Technic Launcher. All NPCs show their skins after reloading the chunks and restarting the client.

Closing. Please reply if you want to see this issue reopened!