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

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

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

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

#1

Post by Nifaroux »

I would like to know how do I make a structure unlock in a specific city range
User avatar
ginga3294
Small-town resident
Reactions:
Posts: 41
Joined: 06 Sep 2020, 23:21
Location: 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 »

Hmmm, That is also I want to know, Sire Nifaroux... LOL
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
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 »

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
Reactions:
Posts: 15
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 »

Thanks!
User avatar
ginga3294
Small-town resident
Reactions:
Posts: 41
Joined: 06 Sep 2020, 23:21
Location: 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 »

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
Inhabitant of a Conurbation
Reactions:
Posts: 530
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 »

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
Reactions:
Posts: 11086
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 »

You didn't put a comma after monthly price:"2".
User avatar
PixelDubs
Inhabitant of a Conurbation
Reactions:
Posts: 530
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 »

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
Inhabitant of a Conurbation
Reactions:
Posts: 530
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 »

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
Reactions:
Posts: 1141
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 »

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”