Categories

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Categories

Post by sairam » Sun Sep 09, 2018 17:35

Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4567
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: Xperia™ XZ1 SO-01K

Re: Categories

Post by Bearbear65 » Mon Sep 10, 2018 0:19

Show us the json
ImageJust my opinion
Theotown forum authoritarian

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Categories

Post by sairam » Mon Sep 10, 2018 13:42

The JSON code is here!

Code: Select all

[{"category":"$cat_zone00","frames":[{"bmp":"icon.png"}],"id":"$cat_newcat_zone",
    "ordinal":12,"title":" buildings","type":"category"}]
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

User avatar
CommanderABab
AB
Reactions:
Posts: 7026
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Categories

Post by CommanderABab » Mon Sep 10, 2018 17:12

sairam wrote:
Mon Sep 10, 2018 13:42
The JSON code is here!

Code: Select all

[{
 "category":"$cat_zone00",
 "frames":[{"bmp":"icon.png"}],
 "id":"$cat_newcat_zone",
 "ordinal":12,
 "title":" buildings",
 "type":"category"
}]
587587Currently using beta 587. 587 What's new? :)
bus routes are supposed to be fixed!!
:cry:

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Categories

Post by sairam » Mon Sep 10, 2018 18:06

Here is the pic! To know it detail see picture.
113443.png
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Categories

Post by sairam » Tue Oct 30, 2018 17:41

Can anyone help me with this?
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

Shama
Settler
Reactions:
Posts: 7
Joined: Tue May 08, 2018 11:00
Plugins: Show

Re: Categories

Post by Shama » Wed Jan 16, 2019 4:38

Can you put categories within categories?
Shaman - Beneficent Monarch of the city-state of Kektaka
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!

Shama
Settler
Reactions:
Posts: 7
Joined: Tue May 08, 2018 11:00
Plugins: Show

Re: Categories

Post by Shama » Wed Jan 16, 2019 4:42

I guess i should add: I want to make a self created category- would I be able to put another category within that? Making a roads plugin, with various styles and options so this would be helpful, especially if road decos become too tedious or wont do what i want in some cases.
Shaman - Beneficent Monarch of the city-state of Kektaka
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!

User avatar
CommanderABab
AB
Reactions:
Posts: 7026
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Categories

Post by CommanderABab » Wed Jan 16, 2019 5:08

Shama wrote:
Wed Jan 16, 2019 4:38
Can you put categories within categories?
Yes, you can do that.
587587Currently using beta 587. 587 What's new? :)
bus routes are supposed to be fixed!!
:cry:

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Shama
Settler
Reactions:
Posts: 7
Joined: Tue May 08, 2018 11:00
Plugins: Show

Re: Categories

Post by Shama » Wed Jan 16, 2019 6:12

Yay, I got it to work. Seems, at least for me, easier to use separate jsons- as loaded in one json, even with category ids in alphabetical order, i could not get it it work. But with separate jsons for each category in the zip and the main category with file name "acat...." and the categories within "bcat...." and within those (kinda crazy just testing, all 3 within transport category :D) "cat...".
Shaman - Beneficent Monarch of the city-state of Kektaka
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: Telki and 1 guest