Commands

The mod add several commands serving various purposes. Some are related to **Devil Fruits** and their mechanics, others are related to **Haki** and its mechanics.

Each command of the mod start with ***/df***.

## Fruit command

### **Remove an eaten devil fruit:**

In order to remove an eaten devil fruit from a player, the command is as follow : ***/df removeFruit [FRUIT\_NAME] @Optinal:[TARGET]**.* It should be noted that removing a devil fruits doesn't remove the corresponding abilities from the user, though it can break some abilities (for example **Gomu Gomu no mi** abilities doesn't work correctly without the Rubber Body passive given by the fruit).

The fruit name must be the its enumation name of as written in the page of the corresponding **Devil Fruit** though it should be noted that the enumrations "ALL" and "NONE" can also be used resulting in removing every fruit for the first and doing nothing for the last. While the target is an optional parameter meant to choose which player will be affected by this command.

### **See the list of the available devil fruits in the world:**

In order to see the list of available devil fruits in the world, the command is as follow : ***/df fruit available [FRUIT\_NAME] @Optional:[TARGET]***. It should be noted that this command allow to see two information about the choosen fruit : whether the fruit can be generated (is into circulation) and if the fruit can be eaten.

The fruit name must be the its enumation name of as written in the page of the corresponding **Devil Fruit** though it should be noted that the enumrations "ALL" and "NONE" can also be used resulting in seeing every fruit for the first and doing nothing for the last. While the target is an optional parameter meant to choose which player will be affected by this command.

### **Set a player fruit mastery:**

In order to set the fruit mastery of a player, the command is as follow : ***/df fruit setLevel [FRUIT\_NAME] [NEW\_MASTERY\_LEVEL] @Optional:[TARGET]***. It should be noted that the maximul level of a devil fruit change from one fruit to another.

The fruit name must be the its enumation name of as written in the page of the corresponding **Devil Fruit** though it should be noted that the enumrations "ALL" and "NONE" can also be used resulting in setting every fruit mastery level for the first and doing nothing for the last. The new mastery level is always capped by whatever is the maximum level of the choosen fruit, meaning that setting the mastery level of a devil fruit whose maximum level is 15 to 30 will set the fruit mastery to 15. The target is an optional parameter meant to choose which player will be affected by this command.

### **Change the list of the available fruits in the world:**

#### Add a devil fruit to the list:

In order to add a devil fruit into the list of available fruit (meaning that the fruit will become generable and eatable even if the fruit was already eaten by a player), the command is as follow : ***/df fruit fruitsList add [FRUIT\_NAME]***. It should be noted that generating a devil fruit through the ***/give*** command will set the devil fruit as generable and eatable without having to use this command.

The fruit name must be the its enumation name of as written in the page of the corresponding **Devil Fruit,** though it should be noted that the enumerations "ALL" and "NONE" can also be used resulting in adding every fruit for the first and doing nothing for the last.

#### Remove a devil fruit from the list:

In order to remove a devil fruit into the list of available fruit (meaning that the fruit will not be generable and eatable anymore, even if the fruit hadn't been generated or eaten yet), the command is as follow : ***/df fruit fruitsList remove [FRUIT\_NAME]***. It should be noted that this command make the both not eatable and not generable.

The fruit name must be the its enumation name of as written in the page of the corresponding **Devil Fruit,** though it should be noted that the enumerations "ALL" and "NONE" can also be used resulting in removing every fruit for the first and doing nothing for the last.

### **Affect the energy of a player:**

#### See the information about the energy of a player:

In order to see the information about the energy of a player, the command is as follow : ***/df fruit energy amount @Optional:[TARGET]***. The given informations are the player energy level, the amount of energy experience they possess and the amount of energy he have.

The target is an optional parameter meant to choose which player will be affected by this command.

#### Recover the energy of a player:

In order to recover the energy of a player, the command is as follow : ***/df fruit energy recover [AMOUNT] @Optional:[TARGET]***. It should be noted that trying to recover an amount of energy bigger than the maximum amount of energy of the targeted player will only result in setting to its maximum value their energy amount.

The amount passed as parameter is how much energy the one using the command want the targeted player to recover. The target is an optional parameter meant to choose which player will be affected by this command.

#### Set the energy level of a player:

In order to set the energy level of a player, the command is as follow : ***/df fruit energy setLevel [NEW\_LEVEL] @Optional:[TARGET]***. It should be noted that using this command doesn't increase the current amount of energy of the targeted player, only their maximum amount. An additional information is that each level add 100 points of energy to a player.

The amount passed as parameter is the new energy level that the one using the command want the targeted player to have. The target is an optional parameter meant to choose which player will be affected by this command.

## Ability command

### **Add an ability:**

In order to add an ability to a player, the command is as follow : ***/df ability add [ABILITY\_NAME] @Optional:[TARGET]***. It should be noted that some abilities don't work well if the user doesn't have the corresponding devil fruit (for example **Gomu Gomu no mi** abilities doesn't work correctly without the Rubber Body passive given by the fruit).

The ability name can be choosen from the list shown when trying to use the command. The target is an optional parameter meant to choose which player will be affected by this command.

### **Remove an ability:**

In order to remove an ability from a player, the command is as follow : ***/df ability add [ABILITY\_NAME] @Optional:[TARGET]***.

The ability name can be choosen from the list shown when trying to use the command. The target is an optional parameter meant to choose which player will be affected by this command.

### **Remove every ability:**

In order to remove every ability from a player, the command is as follow : ***/df ability removeAll @Optional:[TARGET]***.

The target is an optional parameter meant to choose which player will be affected by this command.

## Willpower command

### **Increase the amount of willpower of a player:**

In order to increase the current amount of willpower of a player, the command is as follow : ***/df willpower add [AMOUNT] @Optional:[TARGET]***. It should be noted that this command purpose is to recover the player willpower.

The chosen amount is capped to the maximum amount of willpower of the targeted player, meaning that this command cannot be used to increase willpower over the targeted player maximum amount. The target is an optional parameter meant to choose which player will be affected by this command.

### **Decrease the amount of willpower of a player:**

In order to decrease the current amount of willpower of a player, the command is as follow : ***/df willpower remove [AMOUNT] @Optional:[TARGET]***. It should be noted that this command purpose is to deplete the player willpower, meaning that this command cannot be used to decrease the maximum amount of willpower of the targeted player.

The chosen amount is capped so the targeted player minimum willpower is 0. The target is an optional parameter meant to choose which player will be affected by this command.

### **Increase the maximum amount of willpower of player:**

In order to increase the maximum amount of willpower of a player, the command is as follow : ***/df willpower addMax [AMOUNT] @Optional:[TARGET]***. It should be noted that this command doesn't increase the amount of willpower of the targeted power, only their maximum amount, meaning that if this command is used to increase by 100 a player with their willpower full, they'll now be lacking 100 points of willpower.

The target is an optional parameter meant to choose which player will be affected by this command.

## Haki command

### **Increase the Haki experience of a player:**

In order to increase the Haki experience of a player, the command is as follow : ***/df haki addExp [HAKI\_CATEGORY] [AMOUNT] @Optional:[TARGET]***.

The Haki category used as parameter is the name of the category as listed in the **Haki** page content table (these categories are also listed when trying to use this command). The target is an optional parameter meant to choose which player will be affected by this command.

### **Decrease the Haki experience of a player:**

In order to decrease the Haki experience of a player, the command is as follow : ***/df haki removeExp [HAKI\_CATEGORY] [AMOUNT] @Optional:[TARGET]***.

The Haki category used as parameter is the name of the category as listed in the **Haki** page content table (these categories are also listed when trying to use this command). The target is an optional parameter meant to choose which player will be affected by this command.

### **Set the Haki level of a player:**

In order to set the Haki level of a player, the command is as follow : ***/df haki setLevel [HAKI\_CATEGORY] [NEW\_LEVEL] @Optional:[TARGET]***. It should be noted that the choosen level is capped to the maximum level of the choosen Haki category, meaning that trying to set the Coating category to level 30, will result to setting it to its maximum level, being 10.

The Haki category used as parameter is the name of the category as listed in the **Haki** page content table (these categories are also listed when trying to use this command). The target is an optional parameter meant to choose which player will be affected by this command.

### **Set the Haki variant of a player:**

In order to set the Advanced Armament Haki variant (color) of a player, the command is as follow : **/df haki setVariant [VARIANT] *@Optional:[TARGET]***. It should be noted that setting a player Advanced Armament Haki variant doesn't give them Advanced Armament Haki.

The VARIANT used as parameter is the name of the color as listed in the **Emission** section of the **Haki** page (these possible colors are also listed when trying to use this command). The target is an optional parameter meant to choose which player will be affected by this command.

### **See the Haki informations of a player:**

In order to see the Haki informations about a player, the command is as follow : ***/df haki info @Optional:[TARGET]***.

The target is an optional parameter meant to choose which player will be affected by this command.

### Summoning an entity using Armament Haki

In order to summon an entity using Armament Haki (an entity able to hurt **Logia** fruit users with physical attacks), the command is the vanilla **/summon** command, it's used as follow : ***/summon [ENTITY\_TYPE] [X] [Y] [Z] {Tags:["armament\_aura"]}***

The entity type argument is the entity that should be summon. The "x", "y" and "z" parameters are the 3-dimensional coordinates where the entity should be summoned.