#(b9b) Plugin not loading

121 messages · Page 1 of 1 (latest)

vernal fable
#

1.21, latest citizens build

dense patrolBOT
#

(b9b) Plugin not loading

dense patrolBOT
#

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.

vernal fable
digital sleetBOT
#
Command Syntax Incorrect

!logcheck <link>

plucky sail
#

!logs

digital sleetBOT
# plucky sail !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.

plucky sail
#

It seems that your saves.yml is broken. Try to open that using certain text editor?

vernal fable
#

can i send the file here?

#

I can't use pastebin its too big

#

it looks fine

plucky sail
#

Do not if possible. But logically can because bot can re-upload it.

#

Just do so.

vernal fable
plucky sail
#

Maybe these spaces at the head of the configuration are the reason why this happens.

#

Try remove them and try again?

vernal fable
#

can i also remove these?

plucky sail
#

Of course you can

#

They are just temporary files

#

Just keep saves.yml

vernal fable
#

kk trying without the spaces at the top now

plucky sail
#

Just upload the logs if issue persists

vernal fable
#

still the issue

plucky sail
#

404 Not Found. Use Citizens&Denizen Pastebin instead.

#

!logs

digital sleetBOT
# plucky sail !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.

vernal fable
plucky sail
runic jackalBOT
digital sleetBOT
# plucky sail !logcheck https://paste.denizenscript.com/View/127344
Server Version

Paper version 1.21.1-123-master@aebbdc9 (2024-10-16T14:15:18Z)

Plugin Version(s)

Citizens v2.0.35-SNAPSHOT (build 3594) -- (Current build :white_check_mark:)
Sentinel v2.8.1-SNAPSHOT (build 513) -- (Outdated build, behind by 12)

Checked For

@plucky sail

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.4 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.10+d9424b1, MythicMobs v5.8.0-SNAPSHOT-7b1a5e36, ProtocolLib v5.3.0-SNAPSHOT-732

Possibly Relevant Plugin(s)

TAB v4.1.9 - This plugin adds Below_Name scoreboards to NPCs.
ModelEngine vR4.0.8 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Multiverse-Core v4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit v2.11.3-SNAPSHOT-937;91bdd15 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.
GSit v1.10.0 - 'Sit on other players' or 'sit on mobs' plugins sometimes allow players to sit on NPCs.

Potentially Bad Line(s)

Caused by: java.lang.ExceptionInInitializerError :warning: Log contains error messages.

plucky sail
#

What's your save.yml look like now

vernal fable
plucky sail
#

Did you edited it with Windows notepad?

vernal fable
#

yeah

plucky sail
#

I remembered that Windows notepad inserts an invisble character to the document head.

#

Try avoid using Windows notepad

vernal fable
#

oh

plucky sail
#

Use something like VSCode and others instead.

#

Windows notepad should not be used to edit YAML files because of this design fault.

vernal fable
#

i'm editing it in visual studio code now and i don't see any characters on top

plucky sail
vernal fable
#

how do i do that?

#

the utf-8 encoding

plucky sail
#

Lower right corner give an area to point out the encoding. Just click on it.

vernal fable
#

i don't see anything

plucky sail
vernal fable
#

ohhh

plucky sail
#

Devs at Microsoft who works on Windows notepad write some strange code to add 0xefbbbf (hexadecimal) characters at the beginning of each file, so that's why

vernal fable
#

i think i did it but i'm not sure

#

testing now

#

after doing that do i press save?

#

or did i just save it with that

plucky sail
#

Both should work

vernal fable
#

same issue

plucky sail
#

May you copy the content of it and re-create a save.yml?

#

Just create the new file using VSCode

vernal fable
#

same issue

#

it still says this too

plucky sail
#

Use UTF-8 without BOM encoding?

vernal fable
#

i did

runic jackalBOT
plucky sail
#

Really strange. I have no idea on this. It maybe just a BOM issue. May you google that?

vernal fable
#

but how would it suddenly break i didn't edit it

#

I just updated to 1.21

plucky sail
#

Maybe you just edited it with Windows notepad

#

That's a notepad fault

vernal fable
#

i only did that today because I had to check for the characters

plucky sail
#

I think it should be resolved if we had BOM removed

vernal fable
#

but before that i didn't

plucky sail
#

So it just breaks even before you edit it?

#

If it breaks after you edit it then we can assume that is a notepad fault

vernal fable
#

yeah i did not edit it before it broke

long pawn
#

There's an invalid character in your saves.yml somewhere

vernal fable
#

Do you know what character?

plucky sail
#

But I remembered the most common situation is a notepad fault

vernal fable
#

there is nothing on the top

plucky sail
#

0x1f chars are not displayed by most editors because they are control characters

#

It is as expected, but only occur issues when programs read it

vernal fable
#

Visual studio code doesn't show anything either

long pawn
#

It's not necessarily at the top

#

But yeah somewhere

plucky sail
#

Yes, but stacktraces said it is at position 0

long pawn
#

I think the yaml loader misreports the position if it's BOM

#

You should be able to force save it as ascii

#

Many editors will do that

plucky sail
#

So let's try to convert it using notepad again but with backups?

#

If there is nothing using non-ASCII characters then it should be safe to convert.

#

I'll have to sleep for now. Hope things work out.

vernal fable
#

using just notepad?

plucky sail
#

See below at filename box

vernal fable
plucky sail
#

Yeah

#

Use ANSI

#

I'm not sure if it could solve this. Really strange if it is not a BOM issue. I think I'll keep using google when I'm dreaming uh

vernal fable
#

trying rn

#

still not working

plucky sail
#

I really have no idea on this. Sorry. I'll think when I'm sleeping uh.

#

Or I'll try to write java program to see if we can solve this, but I'm really tired, it will be scheduled.

vernal fable
#

is §

#

a valid characte?

#

r

long pawn
vernal fable
#

oh it's probably that then

#

does this mean

#

that there's 999+ invalid characters

vernal fable
#

yeah i don't think i can get it fixed

#

Why r these symbols suddenly invalid

#

It worked for so long

#

And i changed nothing

#

I removed the saves file and it still says there's an invalid character..

#

can it also be an invalid character in shops?

#

LOL IVE BEEN LOOKING FOR HOURS

#

AND THE ISSUE WAS JUST SHOPS

white grailBOT
#
Thread Closing Reminder

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

#

@vernal fable