[Asked][1.10.13a] Plugin crash (code.json:1475)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Wepf
Inhabitant of a Megacity
Reactions:
Posts: 269
Joined: Thu Oct 14, 2021 10:19
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

[Asked][1.10.13a] Plugin crash (code.json:1475)

#1

Post by Wepf »

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

Code: Select all

In plugins/asdf_jkl;/code.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 35, char 1. Excerpt: 
          {"id":"1x1","frames":[{"bmp":"1x1 (1).png"}],"price":100,"title":"nuclear fission","influence radioactive":1,"text":"Produces even more energy from nuclear fission.","build time":20,"power": 150000}
--ERROR->>>]

Full source: [
    {
        "id": "$pcw_803de05faed200",
        "type": "energy",
        "author": "Plugin creator website 3.0 & TobyArch",
        "width": 1,
        "height": 1,
        "frames": [
            {
                "bmp": "1x1 (1).png"
            }
        ],
        "animation":[
          {"id": "$animationblinkingredlight3x3", "x": 14, "y": -11}
          
        ],
        "smoke": [
          {"id": "$smoke01","x": 15,"y": -11}
        ],
        "title": "Generator tower",
        "text": "A 1×1 generator tower that act as power, water generator.",
        "price": 0,
        "power": 150000,
        "water": 250000,
        "burnable": false,
        "destroyable": false,
        "removable": true,
        "pickable": true,
        "needs Water":false,
        "needs road":false,
        "super conductive":true,
        "influence industrial": 1400,
        "upgrades":[
          {"id":"1x1","frames":[{"bmp":"1x1 (1).png"}],"price":100,"title":"nuclear fission","influence radioactive":1,"text":"Produces even more energy from nuclear fission.","build time":20,"power": 150000}
]
Device: SM-A325F (samsung)
OS version: 30

Thank you in advance.
TheoTown memer (Meme Maker)

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

Platform

Plugin Creator

Re: [Asked][1.10.13a] Plugin crash (code.json:1475)

#2

Post by CommanderABab »

You need a }] at the end.

User avatar
Wepf
Inhabitant of a Megacity
Reactions:
Posts: 269
Joined: Thu Oct 14, 2021 10:19
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.10.13a] Plugin crash (code.json:1475)

#3

Post by Wepf »

I knew it now, because I already sucessfuly fix it
TheoTown memer (Meme Maker)

Post Reply Previous topicNext topic

Return to “Problems”