How to write a plugin

Learn here how to create and use plugins.

Moderators: Scenario Moderators, Plugin Moderators

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

Plugin Creator

Platform

Re: How to write a plugin

#101

Post by CommanderABab »

It's to find the post again with an answer if I find one.

It might be possible with either the road or road decoration, to remove the road decoration, if a (or more) car(s) is there, but not a certain car to my knowledge as of now.

User avatar
Frodo01
Settler
Posts: 5
Joined: 13 Sep 2020, 21:25

Re: How to write a plugin

#102

Post by Frodo01 »

It’s a pity that I won’t be able to recreate in fun the mechanics of garbage on the road, which is removed when a garbage truck passes, then I’ll have to write code in Lua, thanks for the answer
Last edited by Frodo01 on 05 Oct 2023, 11:48, edited 1 time in total.

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

Plugin Creator

Platform

Re: How to write a plugin

#103

Post by CommanderABab »

Is this a car you have developed? The garbage is not actually implemented as a road decoratipn.

User avatar
Frodo01
Settler
Posts: 5
Joined: 13 Sep 2020, 21:25

Re: How to write a plugin

#104

Post by Frodo01 »

CommanderABab wrote:
06 Oct 2023, 00:34
Is this a car you have developed? The garbage is not actually implemented as a road decoratipn.
I make road decorations that are removed when a certain car arrives, like protesters that are removed when the police arrive, or road debris that is removed when a garbage truck arrives.

User avatar
Rayyan19
Settler
Posts: 2
Joined: 31 Mar 2024, 13:16

Re: How to write a plugin

#105

Post by Rayyan19 »

Excuse me, how to add night frame in plugin

User avatar
toibithieunang123
Settler
Posts: 1
Joined: 07 Apr 2024, 06:01

Re: How to write a plugin

#106

Post by toibithieunang123 »

What app can i
make a plugin in?Where can i download it?can i use it in my computer?

(Sorry about my English,my English is very bad)

User avatar
PBbunnypower
Metropolitan
Posts: 130
Joined: 26 Aug 2022, 11:49
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: How to write a plugin

#107

Post by PBbunnypower »

Hello, to make a plugin on pc, you can use paint.net to draw the graphics. Most creators I know which do use pc uses that. For the json, you have the option of using pca website or using VSC to make your own.
You can navigate this to find all sorts of tutorials: viewtopic.php?f=41&t=2965
This tutorial is useful for details: viewtopic.php?f=41&t=13798
The json depends on what youre specifically making but here you can refer to vanilla jsons viewtopic.php?f=108&t=5661

User avatar
PBbunnypower
Metropolitan
Posts: 130
Joined: 26 Aug 2022, 11:49
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: How to write a plugin

#108

Post by PBbunnypower »

Rayyan19 wrote:
02 Apr 2024, 08:48
Excuse me, how to add night frame in plugin
This should be useful viewtopic.php?f=41&t=10359

User avatar
Iniprowalikota45
Settler
Posts: 1
Joined: 06 Jan 2024, 08:01

Re: How to write a plugin

#109

Post by Iniprowalikota45 »

please help me, how to write code for tornado siren in json :bq

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#110

Post by kenjiLord »

Someone helped me with the plugin app for iphone please…onigaishimais-su

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#111

Post by kenjiLord »

I need pixel art app

User avatar
FVI
Inhabitant of a Galaxy
Posts: 2373
Joined: 22 Feb 2022, 18:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: How to write a plugin

#112

Post by FVI »

kenjiLord wrote:
03 Sep 2024, 15:11
I need pixel art app
Pixly

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#113

Post by kenjiLord »

Does’t have at app store in iphone i currently use pixeable and my image become
Background white with it

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#114

Post by kenjiLord »

Can u give me a link to app

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#115

Post by kenjiLord »

570D6F0C-1846-4150-9707-9D7CBFAD297F.png
Can u tell how to fix my pixel art, i’m just trying to do some plugin

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#116

Post by kenjiLord »

Can give member name that frequently online that can approved my plugin. I feel like dumb to be at this group. If nothing in this group like to reply only a certain thing you all want to reply then this group shoul being closed because not very friendly

User avatar
FVI
Inhabitant of a Galaxy
Posts: 2373
Joined: 22 Feb 2022, 18:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: How to write a plugin

#117

Post by FVI »

kenjiLord wrote:
03 Sep 2024, 16:36
570D6F0C-1846-4150-9707-9D7CBFAD297F.png

Can u tell how to fix my pixel art, i’m just trying to do some plugin
The tutorials are these ones

viewtopic.php?f=41&t=13798

viewtopic.php?t=25943

User avatar
kenjiLord
Villager
Posts: 11
Joined: 12 Jun 2022, 09:30
Location: Malaysia
Plugins: Showcase Store

Platform

Re: How to write a plugin

#118

Post by kenjiLord »

I already do some plugin but not yet approval or maybe not review by any of plugin approval

User avatar
Wrtffvhhgv
Settler
Posts: 2
Joined: 15 Oct 2024, 17:26

Re: How to write a plugin

#119

Post by Wrtffvhhgv »

:mine
CommanderABab wrote:
23 Jul 2017, 17:58
:lol:
Well then, find plugins that you like, download them, unzip them and copy them to the Theotown/plugins folder.

If you are making your own, Pixly and Novix are the two most used pixel apps here.
Quickedit is a great editor for writing the .json files.

User avatar
Wrtffvhhgv
Settler
Posts: 2
Joined: 15 Oct 2024, 17:26

Re: How to write a plugin

#120

Post by Wrtffvhhgv »

Meu primeiro plugin
:bb

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”