Pets+ | Potions, effects & inventory - fully configurable | Optimised/packets based 1.0

A fully customisable pets plugin that allows you to give your players a companion with perks.
Supported software
Supported versions
Tags
Tags
cheap economy effects inventory pets potions
mF9CJvL.png

Pets+ is a fully customisable, completely optimised and packet based pets plugin made for large-scale networks. Allow your players to have a companion while playing your server!

mTfoHAg.png

• The movement is fully configurable, the pet's speed, position around the player, minimum & maximum range, head (if it's looking at the player/pitches up and down) and bobbing (the movement of the pet going up and down) - every pet has it's own configuration.
• The texture of the pets is configurable with MineSkins support.
• There's a permission & economy system built into the plugin with multiple options -TokenManager, EXP or vault's main economy.
• Pets can come with potion effects by default or purchasable/upgradable. The potion effects are fully configurable - the duration (can be set to infinite), delay, level and price.
• Pets can come with particle effects by default or purchasable/upgradable. The potions are fully configurable - the colours, amount, radius, rate, size and price.
• MySQL/SQLite support for data storage.
• Option to right-click on pets to open their individual menu.
• Greatly optimised code using the best standards possible.
• All the messages of the plugin are easily configurable.

hi1E9tY.png

• /pet menu - Opens up the menu of your current activated pet.
• /pet name - Changes the name of your current active pet.
• /pet - Opens up the pets shop.
• /petadmin reload - Reloads the plugin & its configuration options. This will disable all the pets in the server to update their options.
• /petadmin enable {player_name} {pet_name} - If the specified player owns that pet, enable it.
• /petadmin disable {player_name} - Disable's the specified player's current active pet.
• /petadmin name {player_name} - Re-name the specified player's current active pet.
• /petadmin list {player_name} - Lists all the owned pets of the specified player.
• /petadmin give {player_name} {pet_name} - Gives the specified player the specified pet.
• /petadmin remove {player_name} {pet_name} - Removes the specified pet from the specified player.

appiMRs.png


Code:
###############################################################################
# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                               ╔═╗┌─┐┌┬┐┌─┐                              | #
# |                               ╠═╝├┤  │ └─┐                              | #
# |                               ╩  └─┘ ┴ └─┘                              | #
# |                                                                         | #
# |                                                                         | #
# | www.roch-blondiaux.com                                                  | #
# +-------------------------------------------------------------------------+ #
###############################################################################

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                            LANGUAGE SETTINGS                            | #
# |                                                                         | #
# |               Controls which language the plugin will use.              | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
language: "en_US"

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                             STORAGE SETTINGS                            | #
# |                                                                         | #
# |     Controls which storage method the plugin will use to store data.    | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #

#|=> Remote databases - require connection information to be configured below.
#|=> MySQL
#|=> MariaDB
#|=> PostgreSQL
#|=> SQLite
#|=> Flat file/local databases - don't require any 'storage' configuration.
storage-method: "SQLite"

storage:
  host: "127.0.0.1"
  #|=> The standard DB engine port is used by default - MySQL: 3306 and PostgreSQL: 5432.
  port: "3306"
  database: "pets"
  tables-prefix: "pets_"
  username: "root"
  password: ""

  pool-settings:
    maximum-pool-size: 10
    minimum-idle: 10
    maximum-lifetime: 1800000
    connection-timeout: 5000

  properties:
    useUnicode: true
    characterEncoding: utf8
    useSSL: false

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                                   PETS                                  | #
# |                                                                         | #
# |                          Customize & add pets.                          | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
pets:
  sheep:
    display-name: "&f&lSheep"
    economy-handler: "vault"
    price: 10
    lore:
      - "&7Permission &f&l%permission%"
      - "&7Price &f&l%price% %currency%"
      - "&r"
      - "&7Perks:"
      - "&f&l%perks%"
      - "&r"
      - "%state%"
      - "&7Change me on &aconfig.yml&7!"
    texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzBlMTVhNmUxYmJjYThiNDhiZmE3NzQ4YjYyY2RkMmVmYmVmYjQ5ZjYxMWEwZjRhM2FhNGZlOTZlYjE3ZCJ9fX0="
    permission: "pets.sheep"
    hide-from-others: false
    inventory:
      economy-handler: vault
      price: 10.0
      title: "%name%"
      size: 54
    auto-collect:
      enabled: true
      radius: 10
    custom-name:
      min: 3
      max: 16
    details:
      head-look:
        enabled: true
        and-pitch: false
      bobbing:
        enabled: true
        range:
          shift: 0.1
          limit: 0.5
        speed: 0.05
    pathing:
      speed: 1.0
      offset:
        x: -2.50
        y: -1.10
        z: -1.25
      range:
        min: 5
        max: 10
    #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html
    potion-effects:
      economy-handler: XP
      default:
        REGENERATION:
          level: 1
          duration: 0
          delay: 0
      buyable:
        FIRE_RESISTANCE:
          price: 10000.0
          level: 1
          duration: 10
          delay: 5
    particles:
      economy-handler: XP
      default:
        - CIRCLE
      buyable:
        CIRCLE: 500.0
        RAINBOW: 500.0
        TORNADO: 500.0
        CLOUD: 250.0

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                            PARTICLES EFFECTS                            | #
# |                                                                         | #
# |                   Customize pet's particles effects.                    | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
#https://github.com/ByteZ1337/ParticleLib/blob/master/src/main/java/xyz/xenondevs/particle/ParticleEffect.java
particles:
  circle:
    particle: REDSTONE
    color: "155, 89, 182"
    amount: 2
    radius: 3.0
    rate: 15
  rainbow:
    particle: REDSTONE
    amount: 2
    radius: 1.5
  cloud:
    particle: CLOUD
    amount: 1
    size: 0.7
    height: 1.25
  donut:
    particle: FLAME
    amount: 1
    radius: 1.2
    radius-tube: 0.7
    circles: 36
  tornado:
    particle: FLAME
    amount: 1
    height: 1.75
    cloud-size: 1.5

version: 1

Code:
###############################################################################
# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                               ╔═╗┌─┐┌┬┐┌─┐                              | #
# |                               ╠═╝├┤  │ └─┐                              | #
# |                               ╩  └─┘ ┴ └─┘                              | #
# |                                                                         | #
# |   Developed by Sharkz                                                   | #
# |   www.roch-blondiaux.com                                                | #
# +-------------------------------------------------------------------------+ #
###############################################################################

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                                SHOP MENU                                | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
shop:
  title: "&b&lPets"
  size: 54
  content:
    pets:
      slot:
        - 10
        - 11
        - 12
        - 13
        - 14
        - 15
        - 16
        - 19
        - 20
        - 21
        - 22
        - 23
        - 24
        - 25
        - 28
        - 29
        - 30
        - 31
        - 32
        - 33
        - 34
        - 37
        - 38
        - 39
        - 40
        - 41
        - 42
        - 43
        - 44
      material: "STONE"
    fillers:
      slot:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 45
        - 46
        - 47
        - 48
        - 49
        - 50
        - 51
        - 52
        - 53
      material: "WHITE_STAINED_GLASS_PANE"
      name: "&r"

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                                PET'S MENU                               | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
personal:
  title: "%name%&f&l's Control Panel"
  size: 54
  content:
    call:
      slot: 22
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzQ0MmMyMjhmMDk5ZmRmYzFjNmI0NmRmYzgwYjI1MmQ4MWY3ZmIxNzM5ZGViMTZlZTdhNTk3YzE3ZjdjOSJ9fX0="
      name: "&a&lCall"
      lore:
        - "&r"
        - "&bClick&7 to call your pet"
    equip:
      slot: 20
      material: "LEATHER_CHESTPLATE"
      color: "52, 152, 219"
      name: "&b&lEquip"
      lore:
        - "&r"
        - "&bClick&7 to equip your pet"
        - "&7on the top of your head."
    cannon:
      slot: 24
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjI1MjNlMTVlOTk4NjM1NWExZjg1MWY0M2Y3NTBlZTNmMjNjODlhZTEyMzYzMWRhMjQxZjg3MmJhN2E3ODEifX19"
      name: "&c&lCannon"
      lore:
        - "&r"
        - "&bClick&7 to shoot your pet far way."
    potions:
      slot: 29
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzJhN2RjYmY3ZWNhNmI2ZjYzODY1OTFkMjM3OTkxY2ExYjg4OGE0ZjBjNzUzZmY5YTMyMDJjZjBlOTIyMjllMyJ9fX0="
      name: "&d&lPotions"
      lore:
        - "&r"
        - "&bClick&7 to open potions effects menu."
    inventory:
      slot: 31
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWM5NmJlNzg4NmViN2RmNzU1MjVhMzYzZTVmNTQ5NjI2YzIxMzg4ZjBmZGE5ODhhNmU4YmY0ODdhNTMifX19"
      name: "&f&lInventory"
      lore:
        - "&r"
        - "&bClick&7 to open pet's inventory."
    particles:
      slot: 33
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDQzZGM1NDEzMDI2YzJlYmNjOWFlNmFh"
      name: "&9&lParticles"
      lore:
        - "&r"
        - "&bClick&7 to open particles menu."
    back:
      slot: 49
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RjOWU0ZGNmYTQyMjFhMWZhZGMxYjViMmIxMWQ4YmVlYjU3ODc5YWYxYzQyMzYyMTQyYmFlMWVkZDUifX19"
      name: "&b&lBack"
    fillers:
      slot:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 45
        - 46
        - 47
        - 48
        - 50
        - 51
        - 52
        - 53
      material: "WHITE_STAINED_GLASS_PANE"
      name: "&r"

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                               POTIONS MENU                              | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
potions:
  title: "&d&lPotions &f&lEffects"
  size: 54
  content:
    potions:
      material: "STONE"
      name: "&f&l%effectName%"
      lore:
        - "&r"
        - "&f&lPrice"
        - "&d%price% %currency%"
        - "&r"
        - "&f&lLevel"
        - "%level%"
        - "&r"
        - "&bClick&7 to upgrade"
      slot:
        - 10
        - 11
        - 12
        - 13
        - 14
        - 15
        - 16
        - 19
        - 20
        - 21
        - 22
        - 23
        - 24
        - 25
        - 28
        - 29
        - 30
        - 31
        - 32
        - 33
        - 34
        - 37
        - 38
        - 39
        - 40
        - 41
        - 42
        - 43
        - 44
    back:
      slot: 49
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RjOWU0ZGNmYTQyMjFhMWZhZGMxYjViMmIxMWQ4YmVlYjU3ODc5YWYxYzQyMzYyMTQyYmFlMWVkZDUifX19"
      name: "&b&lBack"
    fillers:
      slot:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 45
        - 46
        - 47
        - 48
        - 50
        - 51
        - 52
        - 53
      material: "WHITE_STAINED_GLASS_PANE"
      name: "&r"

# +-------------------------------------------------------------------------+ #
# |                                                                         | #
# |                             PARTICLES MENU                              | #
# |                                                                         | #
# +-------------------------------------------------------------------------+ #
particles:
  title: "&9&lParticles &f&lEffects"
  size: 45
  content:
    back:
      slot: 40
      material: "head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RjOWU0ZGNmYTQyMjFhMWZhZGMxYjViMmIxMWQ4YmVlYjU3ODc5YWYxYzQyMzYyMTQyYmFlMWVkZDUifX19"
      name: "&b&lBack"
    particles:
      material: "STONE"
      name: "&f&l%name%"
      lore:
        - "&r"
        - "&f&lPrice"
        - "&d%price% %currency%"
        - "&r"
        - "&r"
        - "&bClick&7 to buy"
      slot:
        - 20
        - 21
        - 22
        - 23
        - 24
    fillers:
      slot:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 37
        - 38
        - 39
        - 41
        - 42
        - 43
        - 44
      material: "WHITE_STAINED_GLASS_PANE"
      name: "&r"

hCy77aS.png

Discord - flamelier#7880
Crediting original
This was originally a collaboration project between Trovie and a developer named Roch, who doesn't have McMarket.

Author

flamelier

Owner
Author
flamelier
Downloads
4
Type
Digital product
License duration
Unlimited
Price
10.00 USD
Views
667
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.