How to write a plugin

Learn here how to create and use plugins.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
The user 188
Settler
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
Posts: 1
Joined: 26 Jan 2025, 05:23

Re: How to write a plugin

#122

Post by AdakhamjonAtakhanov. »

With Json

User avatar
Ferbik
Settler
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
Posts: 11240
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.

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”