NPCs being stored in dataNot An Issue

are these npc balances? any fix for it?

often get these after it saves balances

(06:40:34) | NullReferenceException: Object reference not set to an instance of an object

i've edited them out but is there a bug with either scarecrows, murderers, HumanNPC or botspawn plugin?

just tried to edit them out but when i reload the plugin they're back

 

{
  "Balances": {
    "76561198044855702": 6746.0,
    "76561198119092310": 2715.0,
    "76561198137347210": 31600.0,
    "76561198843612842": 9825.5,
    "76561198097268241": 31205.0,
    "4320150": 1025.0,
    "7947130": 1025.0,
    "1382583": 1025.0,
    "1674711": 1025.0,
    "989152": 1050.0,
    "1546004": 1025.0,
    "6705435": 1025.0,
    "2711785": 1025.0,
    "8836689": 1050.0,
    "2569862": 1075.0,
    "2516481": 1075.0,
    "1649363": 1025.0,
    "9991785": 1025.0,
    "3119037": 1025.0,
    "1224774": 1025.0,
    "664268": 1025.0,
    "785730": 1050.0,
    "5799167": 1025.0,
    "5080112": 1025.0,
    "1294920": 1100.0,
    "6631218": 1075.0,
    "2668640": 1025.0,
    "2859817": 1025.0,
    "4840907": 1025.0,
    "5804607": 1025.0,
    "8862100": 1025.0,
    "5102265": 1050.0,
    "4891182": 1025.0,
    "5803124": 1050.0,
    "5659287": 1025.0,
    "76561198068046723": 5590.0,
    "8001975": 1150.0,
    "9361588": 1025.0,
    "4854983": 1050.0,
    "6822275": 1025.0,
    "76561198127176799": 8360.0,
    "2472632": 1050.0,
    "7392793": 1050.0,
    "397219": 1050.0,
    "1825321": 1025.0,
    "4664534": 1025.0,
    "76561198000343595": 39760.0,
    "2948113": 1025.0,
    "9854168": 1025.0,
    "4725952": 1025.0,
    "570661": 1050.0,
    "76561198104083298": 10300.0,
    "4834453": 1025.0,
    "9693700": 1025.0,
    "5215599": 1025.0,
    "7811599": 1050.0,
    "324186": 1025.0,
    "1883697": 1050.0,
    "3086094": 1050.0,
    "1990940": 1025.0,
    "606643": 1025.0,
    "76561198216029368": 15491.0,
    "565420": 1050.0,
    "76561198124221324": 20412.5,
    "599994": 1050.0,
    "3016845": 1025.0,
    "3550949": 1025.0,
    "5961459": 1025.0,
    "6025413": 1100.0,
    "7010558": 1100.0,
    "7832413": 1025.0,
    "6319973": 1075.0,
    "9695526": 1025.0,
    "4665443": 1025.0,
    "7550867": 1075.0,
    "7725463": 1025.0,
    "5573569": 1150.0,
    "6210237": 1075.0,
    "845658": 1025.0,
    "9347593": 1025.0,
    "4497695": 1050.0,
    "7299290": 1025.0,
    "3641061": 1050.0,
    "384925": 1025.0,
    "209361": 1075.0,
    "3264732": 1025.0,
    "7388268": 1025.0,
    "9404111": 1025.0,
    "1601072": 1025.0,
    "4056769": 1075.0,
    "3182514": 1075.0,
    "4121599": 1025.0,
    "3020906": 1025.0,
    "706734": 1025.0,
    "6445863": 1025.0,
    "6115760": 1025.0,
    "9390041": 1025.0,
    "7702223": 1050.0,
    "5317428": 1025.0,
    "2894796": 1025.0,
    "76561198030248105": 1500.0,
    "9226816": 1075.0,
    "1177583": 1025.0,
    "1316246": 1025.0,
    "76561198042299915": 66700.0,
    "5396168": 1025.0,
    "137647": 1025.0,
    "8877072": 1025.0,
    "688286": 1025.0,
    "1266641": 1025.0,
    "3497146": 1025.0,
    "6476337": 1025.0,
    "6165925": 1050.0,
    "7176540": 1075.0,
    "1086423": 1025.0,
    "7453735": 1050.0,
    "219736": 1050.0,
    "5986317": 1025.0,
    "6805557": 1025.0,
    "5872691": 1025.0,
    "23824": 1075.0,
    "6044595": 1075.0,
    "1383736": 1100.0,
    "1469287": 1075.0,
    "6044719": 1025.0,
    "7805498": 1025.0,
    "1503087": 1025.0,
    "6953945": 1025.0,
    "9535573": 1025.0,
    "3548852": 1025.0,
    "2201976": 1025.0,
    "3746077": 1075.0,
    "5399816": 1025.0,
    "3541632": 1025.0,
    "8262678": 1025.0,
    "2556375": 1025.0,
    "9325145": 1025.0,
    "1364824": 1025.0,
    "8500114": 1050.0,
    "2272212": 1025.0,
    "5821577": 1050.0,
    "319139": 1025.0,
    "8232026": 1025.0,
    "9704203": 1025.0,
    "3003022": 1025.0,
    "1618327": 1050.0,
    "4511228": 1025.0,
    "4345508": 1025.0,
    "3372063": 1025.0,
    "8240251": 1025.0,
    "6339412": 1025.0,
    "9602404": 1025.0,
    "7582006": 1050.0,
    "1020915": 1025.0,
    "823878": 1050.0,
    "76561198070968256": 7400.0,
    "4951106": 1050.0,
    "3956450": 1025.0,
    "665747": 1050.0,
    "6828914": 1025.0,
    "6376017": 1025.0,
    "7066943": 1025.0,
    "3004895": 1050.0,
    "1373353": 1050.0,
    "2875622": 1050.0,
    "1309239": 1050.0,
    "1737560": 1050.0,
    "5633215": 1025.0,
    "76561198158122373": 3370.0,
    "4633258": 1025.0,
    "8336964": 1050.0,
    "7784384": 1050.0,
    "2335811": 1025.0,
    "6239023": 1025.0,
    "1385288": 1100.0,
    "2554924": 1025.0,
    "4836143": 1050.0,
    "7506011": 1025.0,
    "904469": 1150.0,
    "9098427": 1125.0,
    "6997439": 1025.0,
    "7511621": 1025.0,
    "9597075": 1050.0,
    "7868989": 1025.0,
    "7301992": 1050.0,
    "5479222": 1050.0,
    "4215930": 1075.0,
    "3156849": 1025.0,
    "3503350": 1050.0,
    "76561198284894669": 3370.0,
    "4728509": 1050.0,
    "8459992": 1025.0,
    "76561198323647154": 1570.0,
    "76561197961738644": 1625.0,
    "46234": 1025.0,
    "1325537": 1025.0,
    "9519067": 1025.0,
    "76561198294273985": 1925.0,
    "76561198099269834": 2130.0,
    "3497952": 1025.0,
    "7413878": 1050.0,
    "76561198145707207": 10502.5,
    "7717716": 1100.0,
    "9856853": 1025.0,
    "5864828": 1050.0,
    "8854173": 1025.0,
    "7056832": 1025.0,
    "8034684": 950.0,
    "795005": 1025.0,
    "9449798": 1025.0,
    "4333582": 1025.0,
    "76561198123452823": 1500.0,
    "76561197977152732": 1500.0,
    "76561198068564419": 7328.75,
    "76561198188903122": 1565.0,
    "76561198133581763": 30827.5,
    "76561197974544714": 1500.0,
    "76561198205182397": 9052.5,
    "76561198267937198": 2000.0,
    "76561198196064223": 4442.5,
    "76561198100012772": 295.0,
    "76561198060421678": 1500.0,
    "76561198132882531": 8260.0,
    "76561198037382656": 7135.0,
    "76561198093060707": 1600.0,
    "76561198127624880": 7472.5,
    "76561198396037295": 1500.0,
    "76561198241044342": 1630.0,
    "76561198415647030": 1500.0,
    "76561198061351755": 2195.0,
    "76561198402736736": 7272.5,
    "76561198824496467": 14905.0,
    "76561198038981008": 2595.0,
    "76561198021007623": 2667.5,
    "76561198094989589": 3385.0,
    "76561198271967130": 5745.0,
    "76561198077119171": 770.0,
    "76561198845257011": 1500.0,
    "76561198305516974": 1500.0,
    "76561198379780428": 1500.0,
    "76561198114764676": 3552.5,
    "76561198017917817": 1500.0,
    "76561198056838777": 1500.0,
    "76561198681220840": 1500.0
  }
}
Editing a data file while the plugin is loaded will not work, as the data is stored in memory and saved when you reload; so make sure to unload the plugin first.

As far as the "bug" goes, this plugin doesn’t actually know what an NPC is, and the storing of data from NPCs is not directly to this plugin as it just creates and stores based on universal player data. So for whatever reason that an NPC May have player data on the server, that would need to be resolved.
oh okay, ty wulf
Locked automatically