Contains the id of the package. Should be in the format of [username]:[package name]. For instance [i]sleepy:LeetMod[/i] When submitting a mod to the mod site, the username should be your username from www.simplemachines.org

<name></name>

Contains the name of the package.

<type></type>

The type of package - "avatar", "language", or "modification".

<version></version>

The package's current version.

<install></install>, <upgrade></upgrade>, and <uninstall></uninstall>

Actions taken on installation. The elements and their attributes are the same for the install, upgrade, and uninstall elements.

Attributes:

for: What versions to install/upgrade/uninstall for. Comma delimited string with ranges such as "1.0-1.5,2.0"; optional

from: Upgrade Only; What mod versions they are upgrading from. Comma delimited string with ranges such as "1.0-1.5,2.0"; optional[/list]

Elements:

<readme></readme> or <readme /> (for use with type="file" only)

Filename of the readme file

Optional: Yes

Attributes:

lang: which language this readme applies to; optional

parsebbc: whether or not to parse bbcode in the readme; optional; defaults to false

type: "inline" or "file"; defaults to "file"; optional

or <code /> (for use with type="file" only)

Filename of a php file to be executed.

Deprecated use in SMF 2.0, please use <database> in SMF 2.0 or higher

Optional: Yes

Attributes:

type: "inline" or "file"; defaults to "file"; optional

<database></database> or <database /> (for use with type="file" only)

Filename of a database code to be executed.

Only exists in SMF 2.0 or higher

Optional: Yes

Attributes:

type: "inline" or "file"; defaults to "file"; optional

<modification></modification> or <modification /> (for use with type="file" only)

Instructions to take for a modification.

Optional: Yes

Attributes:

type: if "inline", you may use the <file>, <operation>, <search>, and <add> elements listed in the modification.xml documentation."inline" or "file"; defaults to "file"; optional