config.yml
Main Configuration
The config.yml file is the main configfile of MyPet. All pet type related options can be found in the pet-config.yml.
Setting | Type | Description |
MyPet: | | |
Disable-All-Actionbar-Messages | boolean | If true, no actionbar messages will be used. |
OwnerCanAttackPet: | boolean | Enable to allow the owner to hit his own pet. |
DisablePetVersusPlayer: | boolean | Prevents combat between players and pets. |
Make-Pet-Invisible-When-Owner-Is-Invisible: | boolean | Makes the pet invisible when the owner has the Invisible effect. Does not affect vanished players. |
RetainEquipmentOnTame: | boolean | Allows mobs to keep their equipment after leashed (based on the default MC drop chance). |
FollowStartDistance: | double | Sets the distance from the player where the pet starts to follow him. |
Max-Stored-Pet-Count: | integer | Sets the maximum amount of inactive (stored) pets a player can have. |
Throw-PlayerMoveEvent-While-Riding: | boolean | Disable this when other plugins cause bugs because of the thrown events. |
OverwriteLanguages: | string | If you don't want per player language detection you can use this to overwrite the language for all players. Available languages can be found here. Example: pt_br |
Right-Click-Command | string | a command that will be executed when a player rightclicks his own pet. Supports the following placeholders: %pet_owner% %pet_level% %pet_status% %pet_type% %pet_uuid% %pet_world_group% %pet_skilltree_name% %pet_name% |
Leash: | | |
Consume: | boolean | Enable to consume the leash item when a new pet is leashed. |
AllowRanged | boolean | Enable to allow players to catch pets with projectiles when the leash item is a bow |
Log: | | |
Level: | string | Set the level at which the messages will be logged to the file. All possible log levels can be found here. |
Report-Errors | boolean | If enabled all errors that occur are reported automatically |
Unique-ID | string | This is used to identify different users for the error reporter. This will allow the devs to see how many servers have the same problem. ❗ DO NOT CHANGE ❗ |
Info: | | |
Wiki-URL: | string | This can be changed if the server has it's own Wiki for MyPet. |
Update: | | |
Check: | boolean | Sets if the plugin will check for updates when it is loaded. This will not download the new version. |
Download: | boolean | Sets if the plugin will download the update. |