How to write a plugin
Moderator: Plugin Moderators
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11106
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
In the console, type
It will be placed in the Theotown folder.
Code: Select all
export:"directory name of plugin"
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
- JustAnyone
- Developer
- Reactions:
- Posts: 3479
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
Read above
- KentuckyFriedChicken
- Townsman
- Reactions:
- Posts: 99
- Joined: 31 Jan 2018, 17:55
- Location: Austria, Vienna
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: How to write a plugin
Hi Lobby!
I think there are alot more Json codes.
like sounds when click or sounds.
May you post that in the forums or PM?
I think there are alot more Json codes.
like sounds when click or sounds.
May you post that in the forums or PM?
- JustAnyone
- Developer
- Reactions:
- Posts: 3479
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
- Caliber
- Metropolitan
- Reactions:
- Posts: 128
- Joined: 24 Jan 2018, 03:48
- Location: Somewhere in the Philippines
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How to write a plugin
Give me example of making .plugin files I don't get it
- Caliber
- Metropolitan
- Reactions:
- Posts: 128
- Joined: 24 Jan 2018, 03:48
- Location: Somewhere in the Philippines
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How to write a plugin
its not work, the directory is on my Phone Storageformer member wrote: ↑14 Jun 2018, 10:18Open experimental features using settings.
Then in the menu a new console option will appear.
Write to the consolereplacing x with the directory of the plugin you want to encrypt to plugin file. Then confirm the command and the plugin file will appear in the main TheoTown directory. I hope I helpedCode: Select all
export:"x"
Whats wrong in this code
maybe you can share your exact example.
Code: Select all
export:"storage/emulated/0/Boundary by Caliber v1.2.zip"
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11106
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
And you use the folder name, not the name of the json file.
- ChocolateGuerreiroBr
- Villager
- Reactions:
- Posts: 22
- Joined: 16 Jun 2018, 16:24
- Location: Brasil
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: CommanderABab
How do I put 36x16 on Pixly?
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11106
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
A 1x1 tile would be 32x16 pixels.
- ChocolateGuerreiroBr
- Villager
- Reactions:
- Posts: 22
- Joined: 16 Jun 2018, 16:24
- Location: Brasil
- Plugins: Showcase Store
- Version: Beta
-
Platform
Online
Why should the texture be 32x16 when only 32x15 are used? Because, 15 as an odd number doesn't scale up well.
The colored pixels of this road texture section are the normal base of a 1x1 tile, 32 pixel wide x 16 pixel high. Only 15 pixels of the height should be used as the base, because the center of the height is only one pixel high. The center of the width is 4 pixels, two pixels each side of the center line.
- CommanderABab
- AB
- Reactions:
- Posts: 11106
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Why should the texture be 32x16 when only 32x15 are used? Because, 15 as an odd number doesn't scale up well.
- Chinasapling
- Townsman
- Reactions:
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
How do I add naming to unnamed plug-ins?
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11106
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Code: Select all
"title":"name",
- Chinasapling
- Townsman
- Reactions:
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
why?CommanderABab wrote: ↑16 Nov 2018, 19:30Don't use the comma , if adding as the last line.Code: Select all
"title":"name",
- Chinasapling
- Townsman
- Reactions:
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
CommanderABab wrote: ↑17 Nov 2018, 04:17What's going on here?Chinasapling wrote: ↑17 Nov 2018, 03:54why?CommanderABab wrote: ↑16 Nov 2018, 19:30
Don't use the comma afterward , if adding as the last line.Code: Select all
"title":"name",
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11106
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
show quotes
you do use a comma here :)