Sueta

PetZ

1.1

Happy little Pets jumping around their owners

·Plugin

banner.png

These PetZ will follow you on your journeys and will gain XP and level-up.
Leveling-up will allow your PetZ to gain certain skills and characteristics and at some point you will be even able to ride your PetZ.

2018-06-02_20.45.59.png 2018-06-02_20.54.58.png 2018-06-02_21.53.55.png pebbel.png

Commands:

/PetZ [autospawn]
When first executing the command you will see a menu in which you can
choose your PetZ.

ChooseMenu.png

If you have chosen a PetZ executing the command will either summon
your PetZ or when already summoned it will open an OptionMenu.

Menu.png

Using this menu you can rename your PetZ using the nametag and if its
level is high enough ride it. You can toggle auto-spawning, which if enabled
automatically summons your PetZ when joining the server. Or you can
remove your PetZ. But down worry you can always summon your little
follower using /PetZ.

Permissions:

  • petz.all
    Will allow players to use the "/petz"-command and interact with their PetZ.

Skills and Traits:

When leveling your pet has the chance to gain or lose characteristics.
The probabilities this are adjustable in the config. (See configuration section)
These characteristics change the behavior of your pet around certain blocks.
Available characteristics are:

  • Fear Sand
    Your pet fears sand and tries to avoid it.
  • Fear Snow
    Similar to Fear Sand but with Snow instead of Sand.
  • Fear Wool
    Similar to Fear Sand but with Wool instead of Sand.
  • Greediness
    Your pet sometimes steals food out of your inventory.
  • Like Water
    If your pet sees water it tries to jump into it and swim.

Sometimes your pet will bring you "presents". These presents will be either rotten flesh, dirt, sand, a string, a bone, a stick, a raw fish or even a rose.
This feature can be disabled in the config. (See configuration section)

When your pet levels up to level 5 you will be able to ride your pet.

Everytime your pet levels up it will get a bit faster.

Configuration:

To config this plugin you want to edit the "config.yml"-file inside of the "PetZ"-folder.
After first starting the plugin your "config.yml" will look something like this:

config.PNG

In the following paragraph the different settings will be explained:

  • vaildWorlds
    This is a list of the worldnames you want your players to be able to summon their pet.
  • coolDownTime
    This value is the time in milliseconds that your pet idles between jumping when reacting according to their characteristics.
  • jumpScareMultiplyer
    This value defines the sizes of the jumps your pet does when reacting according to their characteristics.
  • gainCharacteristicChance
    This value is the probability of gaining a new characteristic on leveling-up.
  • loseCharacteristicChance
    This value is the probability of losing a new characteristic on leveling-up.
  • foodGreedyTime
    This value is the expected time in seconds your pet will idle before once again stealing food if it's characteristics tell it to do so. (See Skills and Traits section)
  • particleCount
    This value determines the number of particles that spawn when your pet reacts according to it's characteristics.
  • retrieving
    This either enables or disables the retrieving-feature. (See Skills and Traits section)
  • language
    This value defines the language file. Per default you have the option to choose between "en_US" and "de_DE".

You can edit all messages of the plugin in the language file you choose, either "en_US.json" or "de_DE.json".

If you have questions or problems feel free to ask. And make sure to leave a rating.

Similar projects

Plugin →