What’s Josn?
- Mr.spock
- Metropolitan
- Posts: 108
- Joined: 20 Sep 2018, 22:59
- Location: Somewhere in Wisconsin
- Plugins: Showcase Store
-
Platform
What’s Josn?
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!
- CommanderABab
- AB
- Posts: 11241
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: What’s Josn?
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 :
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!)
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)
}]
Also don't add a comma to the last line of your code
(spoiler alert you'll get an error!)