[Answered][1.9.41a] Plugin crash (definition.json:104)

Plugin specific problems will be solved here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
1Code
Inhabitant of a Megacity
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

[Answered][1.9.41a] Plugin crash (definition.json:104)

#1

Post by 1Code » 06 Oct 2020, 19:12

Hi, I got the following error with a plugin (definition.json:104):

Code: Select all

In plugins/private director name/definition.json:

java.lang.IllegalArgumentException: May not find a loader for type frames
Device: SM-A217F (samsung)
OS version: 29

Thank you in advance.

Code: Select all

[
	{
		"id":"putYourIDHere",
		"type":"frames",
		"frames":[
			{
				"bmp":"frame here.png"
			}
		]
	},
	{
		"id":"putYourIDHere2",
		"type":"decoration",
		"width":1,
		"height":1,
		"frames":[
			{
				"id":"putYourIDHere"
			}
		]
	}
]
Last edited by 1Code on 21 Jun 2022, 06:01, edited 1 time in total.
User avatar
CommanderABab
AB
Posts: 11263
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

#2

Post by CommanderABab » 06 Oct 2020, 23:04

Yep, there is no type frames.
User avatar
RopaSucia
Metropolitan
Posts: 116
Joined: 06 Dec 2019, 18:13
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

#3

Post by RopaSucia » 06 Oct 2020, 23:25

Code: Select all    Reset

[{ "id":"$sample", "type":"decoration", "height":1, "width":1, "frames":[{"bmp":"image.png"}] }]
JSON checker
Check
User avatar
CommanderABab
AB
Posts: 11263
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

#4

Post by CommanderABab » 07 Oct 2020, 00:46

Code: Select all

 "id":"putYourIDHere",
		"type":"frames", 
is the line that caused the error.
User avatar
michaelbello123
Inhabitant of a Megacity
Posts: 194
Joined: 25 Mar 2018, 12:56
Location: Outside the Universe
Plugins: Showcase Store
Version: Beta

Platform

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

#5

Post by michaelbello123 » 07 Oct 2020, 10:28

I think this is the error

Code: Select all

"type":"frames",
Theres no type such as frames
User avatar
1Code
Inhabitant of a Megacity
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

#6

Post by 1Code » 07 Oct 2020, 16:08

I am trying to save texture space
User avatar
michaelbello123
Inhabitant of a Megacity
Posts: 194
Joined: 25 Mar 2018, 12:56
Location: Outside the Universe
Plugins: Showcase Store
Version: Beta

Platform

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

#7

Post by michaelbello123 » 08 Oct 2020, 07:38

Jeremiah Stephens wrote: 07 Oct 2020, 16:08 I am trying to save texture space
No,
There's a way of saving texture space using animation
Post Reply Previous topicNext topic

Return to “Problems”