how do I get my structure to be enabled at a specific city level?

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
Nifaroux
Villager
Posts: 20
Joined: 10 Jan 2022, 05:07

how do I get my structure to be enabled at a specific city level?

#1

Post by Nifaroux » 18 Jan 2022, 22:38

I would like to know how do I make a structure unlock in a specific city range
User avatar
ginga3294
Townsman
Posts: 43
Joined: 06 Sep 2020, 23:21
Location: Currenty on Indonesia, Asia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#2

Post by ginga3294 » 19 Jan 2022, 18:19

Hmmm, That is also I want to know, Sire Nifaroux... LOL
User avatar
CommanderABab
AB
Posts: 11261
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#3

Post by CommanderABab » 20 Jan 2022, 02:41

Code: Select all

"requirements":[
      {"type":"RANK","lvl":3}
    ],
lvl can be any integer 1-64. No need for zero in this case. :)
User avatar
Nifaroux
Villager
Posts: 20
Joined: 10 Jan 2022, 05:07

Re: how do I get my structure to be enabled at a specific city level?

#4

Post by Nifaroux » 20 Jan 2022, 03:06

Thanks!
User avatar
ginga3294
Townsman
Posts: 43
Joined: 06 Sep 2020, 23:21
Location: Currenty on Indonesia, Asia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#5

Post by ginga3294 » 21 Jan 2022, 18:44

CommanderABab wrote: 20 Jan 2022, 02:41

Code: Select all

"requirements":[
      {"type":"RANK","lvl":3}
    ],
lvl can be any integer 1-64. No need for zero in this case. :)
Thank you, Commander ABab! 8-)
User avatar
PixelDubs
TheoTown Veteran in Pension
Posts: 590
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#6

Post by PixelDubs » 10 Sep 2022, 22:44

CommanderABab wrote: 20 Jan 2022, 02:41

Code: Select all

"requirements":[
      {"type":"RANK","lvl":3}
    ],
lvl can be any integer 1-64. No need for zero in this case. :)
does not work
Screenshot 2022-09-10 21.44.06.png
Oh and if anyone without an account is seeing and knows JSON
how about rather than not creating an account and scrolling
How about make an account be useful
User avatar
CommanderABab
AB
Posts: 11261
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#7

Post by CommanderABab » 11 Sep 2022, 02:28

You didn't put a comma after monthly price:"2".
User avatar
PixelDubs
TheoTown Veteran in Pension
Posts: 590
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#8

Post by PixelDubs » 11 Sep 2022, 11:21

CommanderABab wrote: 11 Sep 2022, 02:28 You didn't put a comma after monthly price:"2".
Screenshot 2022-09-11 10.20.26.png
Still got an issue with the the json but I put comma.
User avatar
PixelDubs
TheoTown Veteran in Pension
Posts: 590
Joined: 02 Nov 2020, 20:14
Location: Telford, England
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#9

Post by PixelDubs » 11 Sep 2022, 11:24

Screenshot 2022-09-11 10.23.35.png
CommanderABab wrote: 11 Sep 2022, 02:28 You didn't put a comma after monthly price:"2".
Fixed above issue,, now it wants an end of line?
what's this IS WRONG WITH JSONLINT
User avatar
Kulche
Pluche
Posts: 1199
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do I get my structure to be enabled at a specific city level?

#10

Post by Kulche » 11 Sep 2022, 11:42

JsonLint works just as fine, you just don't know how to use it. That's not how json works, please just copy what you've been shown.
Post Reply Previous topicNext topic

Return to “Plug-In Discussion”