[Answered][1.8.06p] Plugin crash military category

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Yoyo
Townsman
Reactions:
Posts: 91
Joined: 07 Jun 2018, 16:58
Location: India
Plugins: Showcase Store
Version: Beta

Platform

[Answered][1.8.06p] Plugin crash military category

#1

Post by Yoyo »

Hi, I got the following error with a plugin (C:\Users\Lenovo\TheoTown\.runtime\plugins\plg_images-removebg-preview.zip\plugin code (1).json:0):

Code: Select all

In C:\Users\Lenovo\TheoTown\.runtime\plugins\plg_images-removebg-preview.zip\plugin code (1).json:

java.lang.IllegalStateException: When loading "$pcw_lgWUaSYyAt00": No category military could be found
Device: ()
OS version: 0

Thank you in advance.
[{
"id": "$pcw_lgWUaSYyAt00",
"type": "military",
"author": "Plugin creator website 0.5 & yoyo",
"width": 5,
"height": 5,
"frames": [
{
"bmp": "images-removebg-preview.png"
}
],
"title": "ship",
"text": "Aircraft carrier on duty\r\n",
"privileged": "100",
"category": "military",
"zone": "#0:$zonemilitary",
"price": 2000,
"monthly price": 10,
"build time": 12,
"draw ground": true,
"final": true,
"needs road": false,
"rotation aware": true
}]

User avatar
Yoyo
Townsman
Reactions:
Posts: 91
Joined: 07 Jun 2018, 16:58
Location: India
Plugins: Showcase Store
Version: Beta

Platform

Re: [Asked][1.8.06p] Plugin crash (C:\Users\Lenovo\TheoTown\.runtime\plugins\plg_images-removebg-preview.zip\plugin code

#2

Post by Yoyo »

please help

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

Plugin Creator

Platform

Re: [Asked][1.8.06p] Plugin crash (C:\Users\Lenovo\TheoTown\.runtime\plugins\plg_images-removebg-preview.zip\plugin code

#3

Post by 1Code »

Did you mean $cat_military00?

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

Plugin Creator

Platform

#4

Post by CommanderABab »

If you want it to be in the main military menu, then there is no need for the "category:" statement anyway. "privileged": "100", will do nothing for you and is ignored. If you need it for some reason, then you should get in touch with Lobby.

Post Reply Previous topicNext topic

Return to “Problems”