How to write a plugin
Moderators: Scenario Moderators, Plugin Moderators
Re: How to write a plugin
The process went well until I got the JSON file, but I can't figure out how to copy it to the Theotown / plugins folder, so I can't build my own plugins in town at all... By the way, I have an iPhone and an Android.
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- rtobby
- Inhabitant of a Megacity
- Posts: 196
- Joined: 23 May 2018, 22:18
- Location: Lithuania
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Re: How to write a plugin
Hi, I just created my first plugin. Though, it looks nice and functions more like ordinary commercial building but I want it to function like banks to deposit money, take loans and make monthly gains as well but I can't figure it out.
Any help?
Any help?

- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
1. You probably can using Lua
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
Re: How to write a plugin
Thanks.TheFennekin wrote: ↑29 Apr 2022, 02:471. You probably can using Lua
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
Any guide on how to add to missing shadows?
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- DisconnectedSkin12
- Settler
- Posts: 2
- Joined: 15 Jan 2022, 16:01
Re: How to write a plugin
When I tried to download my first plugin from the plugin store on my phone, I got a loading error message saying:
java.lang.IllegalStateException: When loading "Small_Synagogue_DiSk12.h": No value for x
Does anyone know what this means and what I should do to resolve this?
java.lang.IllegalStateException: When loading "Small_Synagogue_DiSk12.h": No value for x
Does anyone know what this means and what I should do to resolve this?
- Mako1137
- Inhabitant of a Megacity
- Posts: 166
- Joined: 05 Dec 2021, 22:31
- Location: Sacramento, CA
- Plugins: Showcase Store
- Contact:
-
Platform
Re: How to write a plugin
What does PPA/PPAPH on the debug mean?
- JustAnyone
- Developer
- Posts: 3581
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
Clearly, it means pen pineapple apple pen H
- JackIscool
- Settler
- Posts: 1
- Joined: 30 Apr 2023, 11:33
Re: How to write a plugin
Yeah I did it wooo
Re: How to write a plugin
I want to make a plugin, but it seems difficult
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: How to write a plugin
Making plugins is quite easy for simple buildings.
You can use websites like https://pca.theotown.com/ to write the code for you. All you have to do now is create
the texture which can be slightly tricky at first but also quite fun if I say so.

- Caistrophytum
- Settler
- Posts: 4
- Joined: 23 Jul 2023, 08:13
Re: How to write a plugin
What do I write when I want to put night animations / rotations of the building for day and night?
Re: How to write a plugin
Hello everyone, I have been struggling with one problem for a long time, is there a way to remove road decorations if there is a certain car at its coordinates?
- CommanderABab
- AB
- Posts: 11241
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Sorry, but I didn’t understand your answer, I clicked on the hashtag, but only one match appeared and is this your comment or do you mean something else?
Last edited by Frodo01 on 29 Sep 2023, 10:19, edited 1 time in total.