Writing plugin.manifest files

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
totoeboy123
Settler
Reactions:
Posts: 1
Joined: 26 Sep 2020, 02:33

Re: Writing plugin.manifest files

#21

Post by totoeboy123 »

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
User avatar
princepalom
Settler
Reactions:
Posts: 2
Joined: 01 Mar 2022, 19:04

Re: Writing plugin.manifest files

#22

Post by princepalom »

 ! Message from: princepalom
:lol: :fire

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
}
User avatar
Matt_ds_lasar
Inhabitant of a Megacity
Reactions:
Posts: 246
Joined: 29 Jul 2017, 19:27
Location: Waiting just around the bend.
Plugins: Showcase Store

Platform

Re: Writing plugin.manifest files

#23

Post by Matt_ds_lasar »

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
Check
the game is saying it "may not find a loader for type not defined"
what?
User avatar
Kulche
Pluche
Reactions:
Posts: 1141
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Writing plugin.manifest files

#24

Post by Kulche »

Make sure it's not saved as a json file.
User avatar
Thiên Ân
Villager
Reactions:
Posts: 16
Joined: 07 Jul 2022, 21:23

Re: Writing plugin.manifest files

#25

Post by Thiên Ân »

Lobby wrote: 30 Nov 2021, 17:28 It's a file that you place alongside the json file.
Can you explain what do we need to do to make the manifest file work in the game?
User avatar
Thiên Ân
Villager
Reactions:
Posts: 16
Joined: 07 Jul 2022, 21:23

Re: Writing plugin.manifest files

#26

Post by Thiên Ân »

Kamikazi wrote: 29 Jan 2020, 15:50 What 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:

Code: 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+)
}
Thanks to JA for giving the manifest file with some handy comments

NOTE: This tutorial is subject to change, since this is quite brand new.
Can you tell me more detail about manifest? I can not use my personal plugin in online region
User avatar
Kamikazi
Inhabitant of a Conurbation
Reactions:
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

#27

Post by Kamikazi »

Thiên Ân wrote: 07 Aug 2022, 00:57
Kamikazi wrote: 29 Jan 2020, 15:50 Long quote
Can you tell me more detail about manifest? I can not use my personal plugin in online region
Please, read the tutorial carefully
User avatar
Thiên Ân
Villager
Reactions:
Posts: 16
Joined: 07 Jul 2022, 21:23

Re: Writing plugin.manifest files

#28

Post by Thiên Ân »

Kamikazi wrote: 07 Aug 2022, 11:02
Thiên Ân wrote: 07 Aug 2022, 00:57
Kamikazi wrote: 29 Jan 2020, 15:50 Long quote
Can you tell me more detail about manifest? I can not use my personal plugin in online region
Please, read the tutorial carefully
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?
User avatar
Kamikazi
Inhabitant of a Conurbation
Reactions:
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

#29

Post by Kamikazi »

Thiên Ân wrote: 07 Aug 2022, 13:08
Kamikazi wrote: 07 Aug 2022, 11:02
Thiên Ân wrote: 07 Aug 2022, 00:57
Can you tell me more detail about manifest? I can not use my personal plugin in online region
Please, read the tutorial carefully
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?
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
User avatar
Mako1137
Inhabitant of a Megacity
Reactions:
Posts: 164
Joined: 05 Dec 2021, 22:31
Location: Sacramento, CA
Plugins: Showcase Store
Contact:

Platform

Re: Writing plugin.manifest files

#30

Post by Mako1137 »

This won't open with my JSON editor. How do I create it?
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Writing plugin.manifest files

#31

Post by CommanderABab »

Use a text editor like QuickEdit.
User avatar
Guest
Reactions:

Re: Writing plugin.manifest files

#32

Post by Guest »

Kamikazi wrote: 29 Jan 2020, 15:50..., since this is quite brand new.
This makes some people think that the manifest is a new feature unless they look when this thopic was created
Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”