Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Welcome to the Custom Pets yml.
- #Here you can create as many pets as your heart desires.
- #
- #Placeholders:
- # - {player}
- # - %min-max% (Example: %1-10%) This generates a random number from 1-10. Useful for many things.
- #
- #What happens when the pet activates:
- #
- # Different activation events determine when the pet activates.
- # Here is the list:
- #
- # PlayerInteractEvent - Whenever a player right-clicks the pet.
- # PetTimerEvent - Every (timer-length) seconds, the skills for the pet's level runs.
- # EntityDamageEvent - When you take any form of damage.
- # EntityDamageByEntityEvent - When you deal damage to another entity.
- # EntityDeathEvent - When you kill another entity.
- # BlockBreakEvent - When you break blocks.
- #
- # There are conditions that you can specify AFTER the arguments for each command that must be met in order for it to be ran.
- # Each event has it's own set of conditions.
- # Each command can have unlimited conditions as long as they are availiable in the event.
- #
- # PlayerInteractEvent - No conditions.
- #
- # PetTimerEvent - No conditions.
- #
- # EntityDamageEvent:
- #
- # - DamageCause:(cause) - The victim's cause must be this cause.
- # Ex: DamageCause:FALL
- #
- # EntityDamageByEntityEvent - When you deal damage to another entity.
- #
- # - Material:(material) - The damager's item used must be this material.
- # Ex: Material:DIAMOND_SWORD
- #
- # - EntityType:(entityType) - The victim must be of this specific entity type for the skill to run.
- # Ex: EntityType:PIG
- #
- # EntityDeathEvent - When you kill another entity.
- #
- # - Material:(material) - The damager's item used must be this material.
- # Ex: Material:DIAMOND_SWORD
- #
- # - EntityType:(entityType) - The victim must be of this specific entity type for the skill to run.
- # Ex: EntityType:PIG
- #
- # BlockBreakEvent - When you break blocks.
- #
- # - Material:(material) - The breaker's item used must be this material.
- # Ex: Material:DIAMOND_PICKAXE
- #
- # - BlockType:(blockType) - The block that must be broken.
- # Ex: BlockType:STONE
- #
- #
- #To decide what a pet does, a pre determined list of commands has been made
- #To make the configuration easy enough for anyone to do.
- #The current list is:
- #"[command]" - Run a command through console - Example use: "[command] eco give {player} 100"
- #"[potion]" - Give the pet owner a potion - Example use: "[potion] POTION_NAME DURATION LEVEL" ("[potion] SPEED 1 3") = Speed potion for 1 second at level 3. For this one specifically, you can also do ("[potion] SPEED infinite 3") = The same effect, but with infinite duration as long as the pet remains in their inventory. Lastly, if you type for example ("[potion] POISON 10 3 5") = Poison for 10 seconds at level 3 for all players in a radius of 5.
- #"[remove-potion]" - Remove a potion from the pet owner - Example use "[remove-potion] POTION_NAME" ("[potion] SPEED") - Remove the SPEED potion.
- #"[cooldown]" - Cooldown of the pet - Example use: "[cooldown] 5" - Pet cannot be used for 5 seconds after activation.
- #"[gamemode]" - Change the gamemode of the player - Example use: "[gamemode] 1" - Sets the gamemode of the player to creative. (0 = Survival, 1 = Creative, 2 = SPEC, 3 = Adventure
- #"[replace-item] - Replace a certain amount of one item with a certain amount of another. - Example use: "[replace-item] BUCKET LAVA_BUCKET 32" - Replaces 32 buckets with lava ones. If you put 0 you can replace all items.
- #"[give-item]" - Give the player an item - Example use: "[give-item] ITEM_NAME AMOUNT" ("[item] DIRT 1") Gives the player one dirt.
- #"[particle]" - Players a particle effect around the player - Example use: "[particle] PARTICLE_NAME DURATION" - "[particle] BLOCK_DUST 20" - Plays Block Dust for 1 second
- #"[sound]" - Plays sound around the player - Example use: "[sound] SOUND_NAME DURATION PITCH" ("[sound] ANVIL_DROP 3 2) - Plays the sound anvil drop for 3 seconds at a pitch of 2
- #"[teleport]" - TP a player to a set location - Example use: "[teleport] 66 80 90"
- #"[max-health-change]") - Change the max health of the player - Example use: "[max-health-change] 30" - Player will have a max health of 15 hearts
- #"[heal]" - Health the player, will not exceed the max health - Example use "[heal] 10" - Heals the player by 5 hearts
- #"[break-blocks]" - Naturally break the blocks around the player - Example use "[break-blocks] 3" Breaks all the blocks within a range of 3
- #"[message]" - Message the player - Example use "[message] &aYour pet has found 100 tokens."
- #"[timed-command]" - Run a command that runs again when the time is up. - Example use "[timed-command] 5 fly {player}" - Runs the fly command for 5 seconds on the player.
- #"[damage-boost]" - Boosts the damage on a specified entity or for a certain weapon. Example use "[damage-boost] 10000.0 EntityType:PIG" or "[damage-boost] 1.0 Material:DIAMOND_AXE" The number is how much damage is added.
- #"[damage-near]" - Damages players in the specified radius. Example use "[damage-near] 1 5" - Damages the players in a radius of 5 by 1 damage.
- #"[explosion]" - Creates an explosion. Example use "[explosion] 1" - Creates an explosion of power 1.
- #"[fire]" - Sets players on fire in the specified radius. Example use "[fire] 3 5" - Sets the players in a radius of 5 on fire for 3 seconds.
- #"[freeze]" - Cauldron freeze players in the specified radius. Example use "[freeze] 3 5 CAULDRON" - Sets the players in a radius of 5 as frozen in a cauldron for 3 seconds.
- #"[inflict-potion-effect]" When damaging a player, inflict a potion effect as well. Example use "[inflict-potion-effect] POTION_NAME DURATION LEVEL" ("[inflict-potion-effect] POISON 1 3") = Poison potion for 1 second at level 3.
- #"[reduce-damage]" Reduce the damage of a certain damage cause by a divisor. Example use "[reduce-damage] 2 DamageCause:FALL" - Divides all fall damage by 2.
- #"[throw]" - Throws players in the specified radius. Example use "[throw] 3 5" - Damages the players in a radius of 5 with 3 power.
- #"[exp]" - Adds exp to a player's exp. Example use "[exp] 10" - Adds 10 exp to the player's exp.
- #"[exp-boost] - Adds an exp booster to a player of a certain multiplier for a certain amount of time. Example use "[exp-boost] 2 30" - Adds a 2x exp boost to the player for 30 seconds.
- #"[money-boost]" - Adds a money booster to a player of a certain multiplier for a certain amount of time on a certain action. Example use "[money-boost] 1.1 60 COMMAND_SELL" - Adds a 10% money boost to the player for 60 seconds on the /sell hand command in EssentialsX.
- #"[cage]" - Wraps yourself around in an unbreakable cage so that you can be safe or so you can trap enemy players. Example use "[cage] OBSIDIAN IRON_FENCE IRON_BLOCK 5 5 5 10" - Wraps yourself in a cage with the roof being obsidian, walls being iron fence, floor being iron block, dimensions (length, width, height), and for a time of 10 seconds before it despawns. To trap other players in a radius, simply add the radius to the end of the command.
- cp:
- Chewbacca-Pet:
- values:
- displayName: '&6&lChewbacca Pet &7[LVL %level%]'
- skin: zomfgpanic
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Deal more axe damage.'
- - '&7It gets better the higher the level.'
- - ' '
- - '&c&lAGGRESSIVE'
- - ' '
- - '&7Right-Click to activate.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- activationEvent: "EntityDamageByEntityEvent"
- onActivation:
- EntityDamageByEntityEvent:
- 1:
- - "[damage-boost] 1.0 Material:WOOD_AXE Material:WOODEN_AXE Material:IRON_AXE Material:GOLD_AXE Material:DIAMOND_AXE"
- 2:
- - "[damage-boost] 2.0 Material:WOOD_AXE Material:WOODEN_AXE Material:IRON_AXE Material:GOLD_AXE Material:DIAMOND_AXE"
- 3:
- - "[damage-boost] 4.0 Material:WOOD_AXE Material:WOODEN_AXE Material:IRON_AXE Material:GOLD_AXE Material:DIAMOND_AXE"
- Chicken-Pet:
- values:
- displayName: '&6&lChicken Pet &7[LVL %level%]'
- skin: MHF_Chicken
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Grants the ability of speed to quickly flee,'
- - '&7flee, like a chicken, in the face of danger.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7Unlimited speed when in your inventory.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- timer-length: 1
- onActivation:
- PetTimerEvent:
- 1:
- - "[potion] SPEED infinite 1"
- 2:
- - "[potion] SPEED infinite 2"
- 3:
- - "[potion] SPEED infinite 3"
- Cow-Pet:
- values:
- displayName: '&6&lCow Pet &7[LVL %level%]'
- skin: MHF_Cow
- tier: 1
- maxLevel: 1
- enabled: true
- lore:
- 1:
- - '&7Shake off any negative potion effects with the tenacity'
- - '&7and endurance similar to that of a cow.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7No negative potion effects while in your inventory.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- timer-length: 1
- onActivation:
- PetTimerEvent:
- 1:
- - "[remove-potion] WITHER"
- - "[remove-potion] BLINDNESS"
- - "[remove-potion] CONFUSION"
- - "[remove-potion] HUNGER"
- - "[remove-potion] POISON"
- - "[remove-potion] SLOW"
- - "[remove-potion] WEAKNESS"
- Creeper-Pet:
- values:
- displayName: '&6&lCreeper Pet &7[LVL %level%]'
- skin: MHF_Creeper
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Gain the explosive defense capabilities of a'
- - '&7creeper to ward off incoming attackers.'
- - ' '
- - '&c&lAGGRESSIVE'
- - ' '
- - '&7Right-Click to create an explosion.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- PlayerInteractEvent:
- 1:
- # - "[explosion] 1"
- - "[cooldown] 120"
- 2:
- # - "[explosion] 2"
- - "[cooldown] 120"
- 3:
- # - "[explosion] 3"
- - "[cooldown] 120"
- Iron-Golem-Pet:
- values:
- displayName: '&6&lIron Golem Pet &7[LVL %level%]'
- skin: MHF_Golem
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Hold your ground and absorb incoming attack damage'
- - '&7with a temporary shield as strong as iron.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7Right-Click to obtain absorption.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- PlayerInteractEvent:
- 1:
- - "[potion] ABSORPTION 10 1"
- - "[cooldown] 120"
- 2:
- - "[potion] ABSORPTION 10 2"
- - "[cooldown] 120"
- 3:
- - "[potion] ABSORPTION 10 3"
- - "[cooldown] 120"
- Pig-Pet:
- values:
- displayName: '&6&lPig Pet &7[LVL %level%]'
- skin: MHF_Pig
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Eat your fill and maintain food saturation just'
- - '&7like a plump, satisfied pig.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7Unlimited saturation while in your inventory.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- timer-length: 1
- onActivation:
- PetTimerEvent:
- 1:
- - "[potion] SATURATION infinite 1"
- 2:
- - "[potion] SATURATION infinite 2"
- 3:
- - "[potion] SATURATION infinite 3"
- Sheep-Pet:
- values:
- displayName: '&6&lSheep Pet &7[LVL %level%]'
- skin: MHF_Sheep
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Reduce the damage of your fall'
- - '&7with a thick layer of fluffy wool.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7Place in your hotbar to activate.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: true
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- EntityDamageEvent:
- 1:
- - "[reduce-damage] 2 DamageCause:FALL"
- 2:
- - "[reduce-damage] 3 DamageCause:FALL"
- 3:
- - "[reduce-damage] 10 DamageCause:FALL"
- Spider-Pet:
- values:
- displayName: '&6&lSpider Pet &7[LVL %level%]'
- skin: MHF_Spider
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Skulk around and pounce on a passer-by with'
- - '&7your new found jumping abilities.'
- - ' '
- - '&c&lAGGRESSIVE'
- - ' '
- - '&7Get jumpboost while in your inventory.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- timer-length: 1
- onActivation:
- PetTimerEvent:
- 1:
- - "[potion] JUMP infinite 1"
- 2:
- - "[potion] JUMP infinite 2"
- 3:
- - "[potion] JUMP infinite 3"
- Squid-Pet:
- values:
- displayName: '&6&lSquid Pet &7[LVL %level%]'
- skin: MHF_Squid
- tier: 1
- maxLevel: 1
- enabled: true
- lore:
- 1:
- - '&7Lurk through the depths of the ocean with the'
- - '&7eyesight of a squid and no fear of drowning.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7Place in your hotbar for water breathing.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: true
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- timer-length: 1
- onActivation:
- PetTimerEvent:
- 1:
- - "[potion] WATER_BREATHING infinite 1"
- Wolf-Pet:
- values:
- displayName: '&6&lWolf Pet &7[LVL %level%]'
- skin: MHF_Wolf
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Use your killer instincts to slay'
- - '&7passive mobs in a single hit.'
- - ' '
- - '&c&lAGGRESSIVE'
- - ' '
- - '&71 hit all passive mobs.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- EntityDamageByEntityEvent:
- 1:
- - "[damage-boost] 10000.0 EntityType:PIG EntityType:COW EntityType:SHEEP EntityType:CHICKEN EntityType:SQUID EntityType:MUSHROOM_COW EntityType:VILLAGER"
- Zombie-Pet:
- values:
- displayName: '&6&lZombie Pet &7[LVL %level%]'
- skin: MHF_Zombie
- tier: 1
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Satisfy your appetite like the undead'
- - '&7by attacking other players.'
- - ' '
- - '&c&lAGGRESSIVE'
- - ' '
- - '&7Get saturation by hitting others.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- EntityDamageByEntityEvent:
- 1:
- - "[potion] SATURATION 5 1"
- 2:
- - "[potion] SATURATION 5 2"
- 3:
- - "[potion] SATURATION 5 3"
- Leprechaun-Pet:
- values:
- displayName: '&6&lLeprechaun Pet &7[LVL %level%]'
- skin: crunch2845
- tier: 2
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7Right-Click to become a Leprechaun and trap enemies in a,'
- - '&7radius of 5 blocks in a Pot o'' Gold for 3-12 seconds.'
- - ' '
- - '&c&lAGGRESSIVE'
- - ' '
- - '&7Right-Click to trap enemies in a radius of 5 blocks.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- PlayerInteractEvent:
- 1:
- - "[freeze] 3 5 CAULDRON"
- - "[cooldown] 120"
- 2:
- - "[freeze] 7 5 CAULDRON"
- - "[cooldown] 120"
- 3:
- - "[freeze] 12 5 CAULDRON"
- - "[cooldown] 120"
- Goblin-Pet:
- values:
- displayName: '&6&lGoblin Pet &7[LVL %level%]'
- skin: Goblin
- tier: 2
- maxLevel: 10
- enabled: true
- lore:
- 1:
- - '&7Every 5 minutes your pet will come across'
- - '&7treasure! Treasure gets better as level increases.'
- - ' '
- - '&e&lPASSIVE'
- - ' '
- - '&7Keep in inventory to activate.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- timer-length: 300
- onActivation:
- PetTimerEvent:
- 1:
- - "[command] eco give {player} 1000"
- - "[message] &a&l+$1000 &7(Goblin Pet)"
- 2:
- - "[command] eco give {player} 1500"
- - "[message] &a&l+$1500 &7(Goblin Pet)"
- 3:
- - "[command] eco give {player} 2000"
- - "[message] &a&l+$2000 &7(Goblin Pet)"
- 4:
- - "[command] eco give {player} 3000"
- - "[message] &a&l+$3000 &7(Goblin Pet)"
- 5:
- - "[command] eco give {player} 3250"
- - "[message] &a&l+$3250 &7(Goblin Pet)"
- 6:
- - "[command] eco give {player} 3500"
- - "[message] &a&l+$3500 &7(Goblin Pet)"
- 7:
- - "[command] eco give {player} 4000"
- - "[message] &a&l+$4000 &7(Goblin Pet)"
- 8:
- - "[command] eco give {player} 5000"
- - "[message] &a&l+$5000 &7(Goblin Pet)"
- 9:
- - "[command] eco give {player} 5500"
- - "[message] &a&l+$5500 &7(Goblin Pet)"
- 10:
- - "[command] eco give {player} 6000"
- - "[message] &a&l+$6000 &7(Goblin Pet)"
- Exp-Pet:
- values:
- displayName: '&6&lExperience Pet &7[LVL %level%]'
- skin: Edna_I
- tier: 2
- maxLevel: 3
- enabled: true
- lore:
- 1:
- - '&7When right clicked the experience pet will give'
- - '&7you an experience multiplier for a short amount of time.'
- - ' '
- - '&e&lACTIVE'
- - ' '
- - '&7When right-clicked, it gives an exp booster starting at 2x.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- PlayerInteractEvent:
- 1:
- - "[exp-boost] 2 30"
- - "[message] &aExp Boost of 2x has been activated!"
- - "[cooldown] 420"
- 2:
- - "[exp-boost] 3 30"
- - "[message] &aExp Boost of 3x has been activated!"
- - "[cooldown] 420"
- 3:
- - "[exp-boost] 4 30"
- - "[message] &aExp Boost of 4x has been activated!"
- - "[cooldown] 420"
- Ore-Pet:
- values:
- displayName: '&6&lOre Pet &4&lOP &7[LVL %level%]'
- skin: ZiO
- tier: 3
- maxLevel: 1
- enabled: true
- lore:
- 1:
- - '&7Chance to get extra ores while mining,'
- - ' '
- - '&E&lPASSIVE'
- - ' '
- - '&7Keep in inventory to activate.'
- - ' '
- - '&e&lLevel:&e %level%'
- - '&e&lEXP:&e %exp% / %maxexp%'
- - '&c%progressmap%'
- hotbarActivationOnly: false
- disabledInOtherFactionLand: false
- addedExpMessage: true
- disabledWorlds:
- - ''
- onActivation:
- PlayerInteractEvent:
- 1:
- - "[freeze] 3 5 CAULDRON"
- - "[cooldown] 120"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement