How to write a plugin

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
The user 188
Settler
Reactions:
Posts: 6
Joined: 25 Dec 2024, 02:02

Re: How to write a plugin

#121

Post by The user 188 »

Ok i need to make the people props as fence plugin

User avatar
AdakhamjonAtakhanov.
Settler
Reactions:
Posts: 1
Joined: 26 Jan 2025, 05:23

Re: How to write a plugin

#122

Post by AdakhamjonAtakhanov. »

With Json

User avatar
Ferbik
Settler
Reactions:
Posts: 1
Joined: 05 Mar 2025, 20:57

Re: How to write a plugin

#123

Post by Ferbik »

returns an error for this code
[
{
"id": "$worldbox.plugin.barracks"
"type": "military"
"title": "The barracks"
"text": "It is adored by the military"
"width": 2
"height": 2
"frames": [
{"bmp": "barracks.png"}
],
"needs road": false
"needs water": false
}
]
:json

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

Plugin Creator

Platform

Re: How to write a plugin

#124

Post by CommanderABab »

Ferbik wrote:
05 Mar 2025, 21:01
returns an error for this code
[
{
"id": "$worldbox.plugin.barracks"
"type": "military"
"title": "The barracks"
"text": "It is adored by the military"
"width": 2
"height": 2
"frames": [
{"bmp": "barracks.png"}
],
"needs road": false
"needs water": false
}
]
:json
You need some commas.

User avatar
Mudflesh
Townsman
Reactions:
Posts: 57
Joined: 06 Jul 2022, 15:54

Re: How to write a plugin

#125

Post by Mudflesh »

Code for spawning dumpsters

User avatar
Mudflesh
Townsman
Reactions:
Posts: 57
Joined: 06 Jul 2022, 15:54

Re: How to write a plugin

#126

Post by Mudflesh »

I make plugin for personal use because I'm not familiar with rules and regulations.And how to use in games assessories like images.I hope when I master how to make my plugins legitimate.I will start uploading it on Theotown page.
I encountered an error while trying to use a plugin I made.Here is the error log:

In mudflesh funeral home.zip:

java.lang.IllegalStateException: When loading "$mudfleshfunerals": No value for x

User avatar
Kreitik
Settler
Reactions:
Posts: 1
Joined: 14 Sep 2025, 12:36

Re: How to write a plugin

#127

Post by Kreitik »

А можно как-то сделать свой элемент парка?
Is it possible to somehow make my own park element?
:android

User avatar
Peter bum
Settler
Reactions:
Posts: 1
Joined: 04 Nov 2024, 15:42

Re: How to write a plugin

#128

Post by Peter bum »

How to make a plugin that will create sound due to a disaster?

User avatar
Shahid22
Settler
Reactions:
Posts: 1
Joined: 22 Jan 2026, 08:10

Re: How to write a plugin

#129

Post by Shahid22 »

How to make smoke in pca.svetikas?

User avatar
JustAnyone
Honorary Contributor
Reactions:
Posts: 3688
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: How to write a plugin

#130

Post by JustAnyone »

I'm afraid PCA does not support adding smokes to your buildings.

User avatar
Soorena
Settler
Reactions:
Posts: 3
Joined: 26 Nov 2025, 18:16

Re: How to write a plugin

#131

Post by Soorena »

Lobby you don't know I'm using Android and how am I supposed use it's so hard

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”