## Commands
Project MMO has many commands that may be of use to players, server ops, and modpack developers. They are listed below.

|Command|Permission| Use                                                                                                                      |
|:---|:---:|:-------------------------------------------------------------------------------------------------------------------------|
|`/pmmo help`| None | Shows places where help can be obtained.                                                                                 |
|`/pmmo party`| None | Features for creating and managing a party. options below                                         |
|`/pmmo debug`| ---- | Not currently implemented.                                                                                               |
|`/pmmo admin`|  OP  | Ability to add/remove XP/levels/bonuses or allow a player to ignore requirements. options below   |
|`/pmmo store`|  OP  | Takes a player and skill name arguments and stores those values onto the Scoreboard.                                     |
|`/pmmo genData`|  OP  | For building datapacks used to configure Project MMO. options below|

-----

## `/pmmo party`

|Option|Use|
|:---|:---|
|`accept`| Accepts an invite to a party.|
|`create`| Create a new party.|
|`decline`| Declines an sent party invite.|
|`invite`| Invite a player to your party.|
|`leave`| Leaves your current party.|
|`list`| Shows the members of your party.|
|`uninvite`| Rescinds a sent invite to a player.|

## `/pmmo admin`
Note: the first argument after `admin` is a target. The following table is the list of actions that can be taken on target(s).

|Option|Use|
|:---|:---|
|`add`| Add XP/levels to the selected target.|
|`adminBonus`| Set a bonus that all XP of the chosen type is multiplied by.|
|`clear`| Resets the target(s) levels and XP.|
|`ignoreReqs`| Allows the target(s) to ignore any requirements for actions.|
|`set`| Sets the XP/level in the chosen skill to an exact amount.|
|`rebuildAttributes`| Rebuilds the target(s) attributes they have gained from `SKILL_UP` perks.|

## `/pmmo genData`
genData is a builder-style command.  `begin` resets everything, `create` actually generates the data, and all other commands "build", or set, the settings you want for pmmo to build your datapack.

| command                                      | purpose                                                                                                        |
|:---------------------------------------------|:---------------------------------------------------------------------------------------------------------------|
| `/pmmo genData begin`                        | resets all settings for a new command sequence                                                                 |
| `/pmmo genData withOverrides`                | makes all generated files override other datapacks, including the default data                                 |
| `/pmmo genData withConfigs`                  | includes server configs in generated data                                                                      |
| `/pmmo genData withoutObjects`               | excludes object config files (items, blocks, entities, etc)                                                    |
| `/pmmo genData withDefaults`                 | generates all files with their current settings, including any AutoValues                                      |
| `/pmmo genData simplified`                   | removes all unused properties (for those familiar with pmmo data)                                              |
| `/pmmo genData modFilter <modid>`            | generates files for only this mod.  may be called multiple times for each mod you want included                |
| `/pmmo genData forPlayers <player selector>` | creates player-specific files for the selected players. maybe called multiple times to add multiple selections |
| `/pmmo genData disabler`                     | adds a pack filter which disables all default data and that of packs loaded before this pack                   |
| `/pmmo genData create`                       | builds the datapack using the settings you have enabled                                                        |