[Asked][1.11.82a] Plugin crash (code.json:955)

Plugin specific problems will be solved here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
BrenbuildXD
Settler
Posts: 1
Joined: 06 Sep 2024, 08:51

Plugin Creator

Platform

[Asked][1.11.82a] Plugin crash (code.json:955)

#1

Post by BrenbuildXD »

Hi, I got the following error with a plugin (code.json:955):

Code: Select all

In plugins/shop12345/code.json:

info.flowersoft.theotown.util.json.JSONException: Unterminated object at line 29, char 1. Excerpt: 
  }
--ERROR->>>]

Full source: [
	{
      "id":"shop.building.night",
		"type":"animation",
		"frames":[{"bmp":"sample_shopnight_bmp.png"}],
		"light":true,
		"light switching":true
	},
	{
		"id":"shop.building",
      "author": "brenbuildph ",
      "meta": {
      "pca": {
      "version": "4.4.1",
		"type":"commercial",
		"width":1,
		"height":1,
      "draw ground":"true",
      "level":"1",
		"frames":[{"bmp":"shop_12456_bmp.png"}],
		"text":"A new shop building create by brenbuildXD commend for more plugin please support all my creative creator plugin and this plugin made in ♥️.",
		"price":1000,
		"monthly price":13",
      "animation":[{"id": "shop.building.night", "x": 25, "y": -11},
{"id": "shop.building.night", "x": 25, "y": -11}],
	    "frames winter":[{"bmp": "sho12345_winter_bmp.png"}
     ]
  }
]
Device: Infinix X6831 (INFINIX)
OS version: 33

Thank you in advance.

User avatar
Maxi06
Townsman
Posts: 49
Joined: 23 Mar 2021, 21:28
Location: Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.11.82a] Plugin crash (code.json:955)

#2

Post by Maxi06 »

I think the solution is deleting "Meta", "pca" and "version" that worked for me.
:mine

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 248
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.11.82a] Plugin crash (code.json:955)

#3

Post by dnswodn »

I think there are a bit many errors, I fixed them. :bf

Code: Select all    Reset

[ { "id":"shop.building.night", "type":"animation", "frames":[{"bmp":"sample_shopnight_bmp.png"}], "light":true, "light switching":true }, { "id":"shop.building", "author": "brenbuildph ", "type":"commercial", "width":1, "height":1, "draw ground":true, "level": 1, "frames":[{"bmp":"shop_12456_bmp.png"}], "text":"A new shop building create by brenbuildXD commend for more plugin please support all my creative creator plugin and this plugin made in ♥️.", "price":1000, "monthly price":13, "animation":[{"id": "shop.building.night", "x": 25, "y": -11}], "frames winter":[{"bmp": "sho12345_winter_bmp.png"}] } ]
JSON checker
Check

Post Reply Previous topicNext topic

Return to “Problems”