I need Help with my Plugin Json

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
KentuckyFriedChicken
Townsman
Reactions:
Posts: 99
Joined: 31 Jan 2018, 17:55
Location: Austria, Vienna
Plugins: Showcase Store

Plugin Creator

Platform

I need Help with my Plugin Json

#1

Post by KentuckyFriedChicken »

Code: Select all

[{
	"draw ground": "false",
	"frame": "your friend.png",
	"height": 1,
	"id": "yourfriend00",
	"influence park": 15,
	"monthly price ": 50,
	"needs land": "true",
	"needs road": "true",
	"needs water": "false",
	"power": -5,
	"price": 100,
	"rotation aware": "false",
	"text": "My first plugin building which is park!",
	"type": "park",
	"water": -5,
	"width": "4"
}]
Is there anything wrong?
Screenshot_20180205-075708.png
Screenshot_20180205-075655.png

User avatar
cesareborgia94
Reactions:

Re: I need Help with my Plugin Json

#2

Post by cesareborgia94 »

I don't know whats wrong but height and width needs to have the same value.

Also
Not "width"="4", get rid of "" from 4
Use the value such as "height"=1
Values don't need ""

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: I need Help with my Plugin Json

#3

Post by CommanderABab »

KentuckyFriedChicken wrote:
05 Feb 2018, 09:01

Code: Select all

[{
	"draw ground": "false",
	"frame": "your friend.png",
	"height": 1,
	"id": "yourfriend00",
	"influence park": 15,
	"monthly price ": 50,
	"needs land": "true",
	"needs road": "true",
	"needs water": "false",
	"power": -5,
	"price": 100,
	"rotation aware": "false",
	"text": "My first plugin building which is park!",
	"type": "park",
	"water": -5,
	"width": "4"
}]
Is there anything wrong?

Screenshot_20180205-075708.pngScreenshot_20180205-075655.png
Correct frames line:

Code: Select all

"frames": [{"bmp":"your friend.png"}],
and change the width to 1 as cesar said.

User avatar
KentuckyFriedChicken
Townsman
Reactions:
Posts: 99
Joined: 31 Jan 2018, 17:55
Location: Austria, Vienna
Plugins: Showcase Store

Plugin Creator

Platform

Re: I need Help with my Plugin Json

#4

Post by KentuckyFriedChicken »

CommanderABab wrote:
05 Feb 2018, 09:33
KentuckyFriedChicken wrote:
05 Feb 2018, 09:01

Code: Select all

[{
	"draw ground": "false",
	"frame": "your friend.png",
	"height": 1,
	"id": "yourfriend00",
	"influence park": 15,
	"monthly price ": 50,
	"needs land": "true",
	"needs road": "true",
	"needs water": "false",
	"power": -5,
	"price": 100,
	"rotation aware": "false",
	"text": "My first plugin building which is park!",
	"type": "park",
	"water": -5,
	"width": "4"
}]
Is there anything wrong?

Screenshot_20180205-075708.pngScreenshot_20180205-075655.png
Correct frames line:

Code: Select all

"frames": [{"bmp":"your friend.png"}],
and change the width to 1 as cesar said.

Code: Select all

 [{
	"draw ground": "false",
	"frames": [{"bmp":"your friend.png"}],
	"height": 1,
	"id": "yourfriend00",
	"influence park": 15,
	"monthly price ": 50,
	"needs land": "true",
	"needs road": "true",
	"needs water": "false",
	"power": -5,
	"price": 100,
	"rotation aware": "false",
	"text": "My first plugin building which is park!",
	"type": "park",
	"water": -5,
	"width": 1
}]
Better?

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: I need Help with my Plugin Json

#5

Post by CommanderABab »

Yes

Post Reply Previous topicNext topic

Return to “Problems”