What’s Josn?

Here we talk about TheoTown in general.
User avatar
Mr.spock
Metropolitan
Reactions:
Posts: 108
Joined: 20 Sep 2018, 22:59
Location: Somewhere in Wisconsin
Plugins: Showcase Store

Platform

What’s Josn?

#1

Post by Mr.spock »

I was wondering how to make a plugin. Someone mentioned josn. Is it a coding language? How do you even get to the thing that allows you to create plugins? PLEASE HELP ME!

User avatar
Mr.spock
Metropolitan
Reactions:
Posts: 108
Joined: 20 Sep 2018, 22:59
Location: Somewhere in Wisconsin
Plugins: Showcase Store

Platform

Re: What’s Josn?

#2

Post by Mr.spock »

Could you possibly give me a step by step how to?

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

Plugin Creator

Platform

Re: What’s Josn?

#3

Post by CommanderABab »


User avatar
Mr.spock
Metropolitan
Reactions:
Posts: 108
Joined: 20 Sep 2018, 22:59
Location: Somewhere in Wisconsin
Plugins: Showcase Store

Platform

Re: What’s Josn?

#4

Post by Mr.spock »

Is there an app for mobile devices? Or is it for PC?

User avatar
Mr.spock
Metropolitan
Reactions:
Posts: 108
Joined: 20 Sep 2018, 22:59
Location: Somewhere in Wisconsin
Plugins: Showcase Store

Platform

Re: What’s Josn?

#5

Post by Mr.spock »

I read bits and pieces of it but it doesn’t make sense at all to me :?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: What’s Josn?

#6

Post by Bearbear76 »

You can edit jdon using text editors that support json
for example "droidedit" (which I'm a pretty big fan of)
And json is like a set of codes that tell what to do
It's very simple trust me (except functions)
you just add lines which you think match the plugin you will make.
There are some compulsory lines you must add
Which are :

Code: Select all

[{
"id":"The ID of the building (name it what ever you want ",
"width":size of the building (add number)
"height":should be the same as the width (add number)
"frames":[{"bmp":"The name of the image for the plugin"}],
"type":"the type of the building (e.g. residential commercial industrial)
}]
I think that's it but I may be missing some
Also don't add a comma to the last line of your code
(spoiler alert you'll get an error!)

User avatar
Tina
Settler
Reactions:
Posts: 1
Joined: 17 Oct 2018, 10:07
Plugins: Showcase Store

Re: What’s Josn?

#7

Post by Tina »

Thanks for the clarification!

Post Reply Previous topicNext topic

Return to “Game Discussion”