Writing plugin.manifest files
Moderators: Scenario Moderators, Plugin Moderators
- totoeboy123
- Settler
- Posts: 3
- Joined: 26 Sep 2020, 02:33
Re: Writing plugin.manifest files
Theotown is popular now, especially in the community that creates new plug-ins everyday. Please do a thorough explanation and tutorial on how to code JSON Programming and Lua. Make a Tutorial video on YT on how to do it, so everybody knows how to do it because we are creative and we are an artist in our way. TY
- princepalom
- Settler
- Posts: 2
- Joined: 01 Mar 2022, 19:04
Re: Writing plugin.manifest files
Code: Select all
{
"id": "c19df6782f7d4cf888969bde40a7fb60", // Unique id for the plugin, you can put anything here, as always it doesn't repeat with other ones
"version": 1, // Plugin version code, you can put any number here
"title": "Queen store", // Title for the plugin, pretty self-explanatory
"text": "I work is so hard this is a store", //Description of the Plugin. Optional
"author": "princepalom", //The maker of the plugin (Yourself, basically)
"thumbnail": "preview.png", // Thumbnail image file, like in the plugin store. Optional
"category": false, // Specify whether to show a category for the plugin. Optional
"url": "https://forum.theotown.com/", //Specify where the plugin can be downloaded from. Optional
"multiplayer": true, //Specify whether the plugin can be used in online mode. True by default
"min version": 9 // Minimum required version of the game to run the plugin. Optional
}
- Matt_ds_lasar
- Inhabitant of a Megacity
- Posts: 246
- Joined: 29 Jul 2017, 19:27
- Location: Waiting just around the bend.
- Plugins: Showcase Store
-
Platform
Re: Writing plugin.manifest files
Code: Select all Reset
{ "id": "a99426b63998ed06beb9ea8730e7bba1", "version": 1, "title": "Small Football Field", "text": "Hey hi how 's it going? Shown here is a new football (or soccar) field that can be made from combining 3x3 frames. It can be colored by adding terrains under it. These attributes make the plugin very moduble, arguably more so than the in-game football field. It can be put anywhere, in schools, neighborhoods, parks. So everyone in your community can have a friendly football bout!", "author": "Matt_ds_lasar", "thumbnail": "preview.png ", "category": false, "url": "viewtopic.php?f=63&t=16128", "multiplayer": true, "min version": 0 }
JSON checker
what?
Re: Writing plugin.manifest files
Can you tell me more detail about manifest? I can not use my personal plugin in online regionKamikazi wrote: ↑29 Jan 2020, 15:50What is plugin.manifest
The new manifest file is a new addition in 815 where it is needed for plugins to work in the Online regions multiplayer that aren't from the Plugin Store. It's not obligatory to upload your plugins in the forums with the file but it is highly appreciated if you make or update your plugins with the manifest file.It also allows the plugin to be managed with plugin store.
The file itself
The file MUST be called plugin.manifest so it can be properly recognised by the game. It MUST also be in the folder where the plugin is.
How to code plugin.manifest files
It follows the same structure you use for json, so there isn't anything new to learn.
Here is an example:
Thanks to JA for giving the manifest file with some handy commentsCode: Select all
{ "id":"Test_kami", // Unique id for the plugin, you can put anything here, as always it doesn't repeat with other ones "version":69, // Plugin version code, you can put any number here "title":"Test", // Title for the plugin, pretty self-explanatory "text":"Testy test.", //Description of the Plugin. Optional "author":"Kamikazi", //The maker of the plugin (Yourself, basically) "thumbnail":"Something.png", // Thumbnail image file, like in the plugin store. Optional "category":false, // Specify whether to show a category for the plugin. Optional "url":"https://forum.theotown.com/", //Specify where the plugin can be downloaded from. Optional (816+) "multiplayer":true //Specify whether the plugin can be used in online mode. True by default (833+) }
NOTE: This tutorial is subject to change, since this is quite brand new.
Re: Writing plugin.manifest files
I have read it but i can't imagine ít. The tail of manifest file is .manifest? Writing manifest is separate to writing json? I have to put the manifest file in the same folder with the zip file of the plugin?
- Kamikazi
- Inhabitant of a Conurbation
- Posts: 471
- Joined: 27 Jan 2018, 00:58
- Location: ESPAÑA
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Writing plugin.manifest files
These are quotes taken form it
The file MUST be called plugin.manifest so it can be properly recognised by the game. It MUST also be in the folder where the plugin is.
It follows the same structure you use for json
- Mako1137
- Inhabitant of a Megacity
- Posts: 166
- Joined: 05 Dec 2021, 22:31
- Location: Sacramento, CA
- Plugins: Showcase Store
- Contact:
-
Platform
Re: Writing plugin.manifest files
This won't open with my JSON editor. How do I create it?
- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Writing plugin.manifest files
Use a text editor like QuickEdit.
- Enigma code
- Settler
- Posts: 2
- Joined: 29 Jun 2024, 01:03
Re: Writing plugin.manifest files
Lobby should make a tutorial on YouTube for us to create our plugins