#Console spammed with message
55 messages · Page 1 of 1 (latest)
No fix because it is giving off an NRE.
Would have to look at the actual code to figure out the issue.
Perhaps you have something misconfigured in the plugin config?
Otherwise the plugin developer has to fix it.
turning the safezone unlock timer up to an insanely high number seemed to work
that wont really fix it
the plugin itself is broken somewhere, whoever made it has to check/fix that
as jdance mentioned lol
Yeah you will actually need to go into the code
And then look at what's causing it
Idk if you are the dev or someone else though
any idea on what this means?
there's an unexpected character somewhere
a . or , that doesn't belong in there
at line 1, position 329
at least i think that's what the error means
Are your plugins and rocketmod up to date?
The only way to fix this is by modifying the code of the plugin.
Either by the developer or you if you have access to it.
I don't think op is the owner of the plugin
Don't need to be, as long as they have the code, always can edit the code if it's open source.
oh interesting, i'm still learning everything on the many technical issues this game can have
trying to become a supporter lmao
Keep at it, sure you will get there.
That's very kind of you, thank you 🙂
Buy yea, as Jdance said, the developer would need to fix it.
Fyi this error is caused by the ItemRestrictions plugin
ahh
Is the plugin broken?
Nah the plugins restrictions.json file can't be parsed because it has an error and the plugin doesnt have proper error handling for that which I believe is this Plugin
https://github.com/Akulation/ItemRestrictions/blob/main/ItemRestrictions.cs#L68
Unturned Rocketmod Plugin that lets you restrict items - Akulation/ItemRestrictions
@delicate kraken This is how youd read that exception btw, might be good to know
The actual error that was thrown is at the top in red
then its a bunch of Json stuff because it cant be parsed
then the Plugin shows up for like one line
and finally its Rocket because the plugin uses a Rocket event called OnPlayerInventoryAdded
So what would the fix to this be? because I'm still as clueless as ever
to fix this?
wait i think i found it
is it the little }{ part?
use a json linter
i added a comma between it and now it doesnt spam the console anymore
cool
https://jsonlint.com/ is pretty good
JSONLint is the free online validator, json formatter, and json beautifier tool for JSON, a lightweight data-interchange format. You can format json, validate json, with a quick and easy copy+paste.
I will add that figuring out that it's json or xml or whatever is usually a pretty good first step, since that way you can diagnose it as likely being a formatting error in a config file
yeah, [{"thing" : "thing1"}, {"thing2" : 3}] would be correct formatting for this
that is funny asf