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 » 25 Dec 2024, 02:05

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. » 26 Jan 2025, 09:57

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

Re: How to write a plugin

#123

Post by Ferbik » 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
User avatar
CommanderABab
AB
Posts: 11260
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: How to write a plugin

#124

Post by CommanderABab » 06 Mar 2025, 10:28

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
Posts: 42
Joined: 06 Jul 2022, 15:54

Re: How to write a plugin

#125

Post by Mudflesh » 22 May 2025, 08:34

Code for spawning dumpsters
Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”