Need help with manifest!

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
PixelDubs
TheoTown Veteran in Pension
Reactions:
Posts: 554
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Need help with manifest!

#1

Post by PixelDubs »

I need help with manifest please reply for zip file!

User avatar
Kamikazi
Inhabitant of a Conurbation
Reactions:
Posts: 471
Joined: 27 Jan 2018, 00:58
Location: ESPAÑA
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Need help with manifest!

#2

Post by Kamikazi »

I thought plugin.manifest files are actually easier to code than actual .json files.
I mean, this is an easy to follow and short tutorial on how to code them.
viewtopic.php?f=41&t=10950

User avatar
PixelDubs
TheoTown Veteran in Pension
Reactions:
Posts: 554
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Need help with manifest!

#3

Post by PixelDubs »

Kamikazi wrote:
28 Jan 2021, 20:57
I thought plugin.manifest files are actually easier to code than actual .json files.
I mean, this is an easy to follow and short tutorial on how to code them.
viewtopic.php?f=41&t=10950
I followed it, and now I need help win my JSON because I tried everything to also fix that but It did not work lol.

User avatar
Kamikazi
Inhabitant of a Conurbation
Reactions:
Posts: 471
Joined: 27 Jan 2018, 00:58
Location: ESPAÑA
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Need help with manifest!

#4

Post by Kamikazi »

LZS Gaming wrote:
28 Jan 2021, 21:27
Kamikazi wrote:
28 Jan 2021, 20:57
I thought plugin.manifest files are actually easier to code than actual .json files.
I mean, this is an easy to follow and short tutorial on how to code them.
viewtopic.php?f=41&t=10950
I followed it, and now I need help win my JSON because I tried everything to also fix that but It did not work lol.
So what are you trying to code? Can you send it so i can check it?

User avatar
PixelDubs
TheoTown Veteran in Pension
Reactions:
Posts: 554
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Need help with manifest!

#5

Post by PixelDubs »

diagonal_road.json
(576 Bytes) Downloaded 76 times
Kamikazi wrote:
28 Jan 2021, 22:35
LZS Gaming wrote:
28 Jan 2021, 21:27
Kamikazi wrote:
28 Jan 2021, 20:57
I thought plugin.manifest files are actually easier to code than actual .json files.
I mean, this is an easy to follow and short tutorial on how to code them.
viewtopic.php?f=41&t=10950
I followed it, and now I need help win my JSON because I tried everything to also fix that but It did not work lol.
So what are you trying to code? Can you send it so i can check it?
My JSON has an issue I used JSONlint but I cannot solve it, if possible can you fix it for me and I will give you credit and part of the diamond share.

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

Plugin Creator

Platform

Re: Need help with manifest!

#6

Post by CommanderABab »

Probably should be:

Code: Select all

[{
		"id": "$diagonal_road_template00",
		"type": "template",
		"level": 1,
		"traffic lights": [{
			"bmp": "trafficlights.png",
			"w": 32,
			"count": 4
		}],
		"price": 20,
		"monthly price": 1,
		"title": "Dia road no sidewalks",
		"text": "A country road made in Britain without the sidewalk."
	},

	{
		"hidden": true,
		"level": 2,
		"id": "$diagonal_road_diagonal00",
		"template": "$diagonal_road_template00",
		"type": "road",
		"draw ground": true,
		"speed": 3,
		"frames": [

			{
				"bmp": "diagonal.png",
				"w": 32,
				"count": 16
			}
		],
		"allow diagonal": true
	}

]

User avatar
PixelDubs
TheoTown Veteran in Pension
Reactions:
Posts: 554
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Need help with manifest!

#7

Post by PixelDubs »

CommanderABab wrote:
29 Jan 2021, 01:10
Probably should be:

Code: Select all

[{
		"id": "$diagonal_road_template00",
		"type": "template",
		"level": 1,
		"traffic lights": [{
			"bmp": "trafficlights.png",
			"w": 32,
			"count": 4
		}],
		"price": 20,
		"monthly price": 1,
		"title": "Dia road no sidewalks",
		"text": "A country road made in Britain without the sidewalk."
	},

	{
		"hidden": true,
		"level": 2,
		"id": "$diagonal_road_diagonal00",
		"template": "$diagonal_road_template00",
		"type": "road",
		"draw ground": true,
		"speed": 3,
		"frames": [

			{
				"bmp": "diagonal.png",
				"w": 32,
				"count": 16
			}
		],
		"allow diagonal": true
	}

]
It does not show up in my plugins tab or roads section, but TT does not notice errors and lets me play.

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

Plugin Creator

Platform

Re: Need help with manifest!

#8

Post by CommanderABab »

It does not show up because it has

Code: Select all

"hidden":true
in it.

Post Reply Previous topicNext topic

Return to “Problems”