How to write a plugin
Moderators: Scenario Moderators, Plugin Moderators
- The user 188
- Settler
- Posts: 6
- Joined: 25 Dec 2024, 02:02
Re: How to write a plugin
Ok i need to make the people props as fence plugin
- AdakhamjonAtakhanov.
- Settler
- Posts: 1
- Joined: 26 Jan 2025, 05:23
Re: How to write a plugin
With Json
Re: How to write a plugin
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
}
]

[
{
"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
}
]

- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
You need some commas.