πŸ•β€πŸ¦Ί An Ultimate Pets plugin for PocketMine-MP.

Overview

SimplePets


An Ultimate Pets plugin made by broki for PocketMine-MP.
License Star Discord Donate

✨ Features

  • MySQL and SQLite database
  • Anti sql injection
  • All mobs in Minecraft
  • Pets with inventory
  • Pets can be ridden
  • XUID data saving
  • Multi world support
  • Lightweight & Open Source ❀

πŸ’¬ Commands

For more command info, please look directly at /spet help

Command Description Permission Default
/spet SimplePets command list none true
/spet petlist Show all pet list simplepets.petlist op
/spet spawn Spawning a pet simplepets.spawn op
/spet remove Removing a pet simplepets.remove op
/spet inv View pet inventory simplepets.inv true
/spet ride Ride a pet simplepets.ride true

πŸ“ Todo List

  • UI/Form to manage pets
  • Renaming pets

❔ Issues

Did you find a bug or error when using this plugin? feel free to open the issues here

πŸ‘‘ Donation

Paypal - https://www.paypal.me/brokiem
Saweria - https://saweria.co/brokiem

πŸ–Ό Images

Comments
  • Mysterycrate crash with particles and world change with Pets

    Mysterycrate crash with particles and world change with Pets

    Describe the bug If a player tries to teleport to another world and has a pet, the server will internal and restart

    To Reproduce Steps to reproduce the behavior:

    1. Add a pet to yourself
    2. Go to another world
    3. Crash

    Expected behavior That the pets endure the change of world and follow the player

    Screenshots If applicable, add screenshots to help explain your problem.

    SimplePets plugin information

    • Version: 1.0.1-beta
    • Server api: I don't know, it's the latest version of pocketmine and I have php 7.4

    Additional context

    23:52:03] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\Server::pocketmine\{closure}() must be an instance of pocketmine\Player, instance of brokiem\simplepets\pets\CatPet given" (EXCEPTION) in "pmsrc/src/pocketmine/Server" at line 1723
    [23:52:03] [Server thread/CRITICAL]: #0 (): pocketmine\Server->pocketmine\{closure}(object brokiem\simplepets\pets\CatPet)
    [23:52:03] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/Server(1723): array_filter(array[1], object Closure)
    [23:52:03] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/level/Level(538): pocketmine\Server->batchPackets(array[1], array[1], boolean )
    [23:52:03] [Server thread/CRITICAL]: #3 plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/EventListener(239): pocketmine\level\Level->addParticle(object pocketmine\level\particle\FloatingTextParticle, array[1])
    [23:52:03] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): JackMD\MysteryCrate\EventListener->onLevelChange(object pocketmine\event\entity\EntityLevelChangeEvent)
    [23:52:03] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object JackMD\MysteryCrate\EventListener, object pocketmine\event\entity\EntityLevelChangeEvent)
    [23:52:03] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityLevelChangeEvent)
    [23:52:03] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/entity/Entity(1904): pocketmine\event\Event->call()
    [23:52:03] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/entity/Entity(1769): pocketmine\entity\Entity->switchLevel(object pocketmine\level\Level)
    [23:52:03] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/entity/Entity(1794): pocketmine\entity\Entity->setPosition(object pocketmine\level\Position)
    [23:52:03] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/entity/Entity(1885): pocketmine\entity\Entity->setPositionAndRotation(object pocketmine\level\Position, double 145.8123900474, double -1.5042436028662)
    [23:52:03] [Server thread/CRITICAL]: #11 plugins/SimplePets_dev-79.phar/src/brokiem/simplepets/pets/base/BasePet(335): pocketmine\entity\Entity->teleport(object pocketmine\level\Position)
    [23:52:03] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/entity/Entity(1393): brokiem\simplepets\pets\base\BasePet->entityBaseTick(integer 1)
    [23:52:03] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/level/Level(854): pocketmine\entity\Entity->onUpdate(integer 18940)
    [23:52:03] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 18940)
    [23:52:03] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 18940)
    [23:52:03] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 18940, double 1628639523.1728)
    [23:52:03] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
    [23:52:03] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
    [23:52:03] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
    [23:52:03] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/PocketMine(311): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
    [23:52:03] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/PocketMine(341): pocketmine\server()
    [23:52:03] [Server thread/CRITICAL]: #22 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    
    bug unconfirmed 
    opened by MrBlasyMSK 4
  • bug

    bug

    it happened when I had a pet and I left the server
    TypeError: "Argument 2 passed to brokiem\simplepets\manager\PetManager::removeActivePet() must be of the type string, int given, called in /test/server/plugins/Pets/src/brokiem/simplepets/EventListener.php on line 50" (EXCEPTION) in "plugins/Pets/src/brokiem/simplepets/manager/PetManager" at line 307 Add any other context about the problem here.

    opened by ananinys 0
  • Stairseat crash

    Stairseat crash

    Describe the bug If a player sits on a chair, it gives an internal server error to the player

    To Reproduce Steps to reproduce the behavior:

    1. Sit in any stair
    2. See internal server error

    Expected behavior That it did not make any internal server error

    Screenshots If applicable, add screenshots to help explain your problem.

    SimplePets plugin information

    • Version: 1.0.1-beta
    • Server api: I don't know, it's the latest version of pocketmine and I have php 7.4

    Additional context

    [20:27:49] [Server thread/CRITICAL]: ErrorException: "Undefined index: MrBlasyMSK" (EXCEPTION) in "plugins/SimplePets_dev-79.phar/src/brokiem/simplepets/manager/PetManager" at line 296
    [20:27:49] [Server thread/CRITICAL]: #0 plugins/SimplePets_dev-79.phar/src/brokiem/simplepets/manager/PetManager(296): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[27] Undefined index: MrBlasyMSK, string[99] phar:///home/container/plugins/SimplePets_dev-79.phar/src/brokiem/simplepets/man, integer 296, array[1])
    [20:27:49] [Server thread/CRITICAL]: #1 plugins/SimplePets_dev-79.phar/src/brokiem/simplepets/EventListener(71): brokiem\simplepets\manager\PetManager->getRiddenPet(object JackMD\NameSpaceRemover\CustomPlayer)
    [20:27:49] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): brokiem\simplepets\EventListener->onDataPacket(object pocketmine\event\server\DataPacketReceiveEvent)
    [20:27:49] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object brokiem\simplepets\EventListener, object pocketmine\event\server\DataPacketReceiveEvent)
    [20:27:49] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
    [20:27:49] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\event\Event->call()
    [20:27:49] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\PlayerInputPacket)
    [20:27:49] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
    [20:27:49] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Player(3321): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
    [20:27:49] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
    [20:27:49] [Server thread/CRITICAL]: #10 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[16] xx.xx.xx.xxx, object raklib\protocol\EncapsulatedPacket, integer 0)
    [20:27:49] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
    [20:27:49] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
    [20:27:49] [Server thread/CRITICAL]: #13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    [20:27:49] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
    [20:27:49] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1628713669.1276)
    [20:27:49] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
    [20:27:49] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
    [20:27:49] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/PocketMine(311): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
    [20:27:49] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/PocketMine(341): pocketmine\server()
    [20:27:49] [Server thread/CRITICAL]: #20 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    
    bug 
    opened by MrBlasyMSK 0
  • A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: SimplePets  Error: Cannot schedule update on garbage entity brokiem\simplepets\pets\PandaPet File: pmsrc/src/entity/Entity Line: 994 Type: LogicException

    A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: SimplePets Error: Cannot schedule update on garbage entity brokiem\simplepets\pets\PandaPet File: pmsrc/src/entity/Entity Line: 994 Type: LogicException

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    SimplePets plugin information

    • Version: [e.g. 1.0.0]
    • Server api: [e.g. 4.0.1]

    Additional context Add any other context about the problem here.

    opened by omarvvx 0
  • [Suggestion] Inventories & Movement

    [Suggestion] Inventories & Movement

    β€’ Inventories:

    • Give a pet an inventory by tapping them with a chest.
    • View a pet's inventory by tapping them with an empty hand.

    β€’ Movement:

    • Pets can be ridden by tapping them with a saddle.
    • Pets can sit on your head by tapping them while sneaking.
    opened by AIPTU 0
  • [Suggestion] Adding auto-teleportation after going to void

    [Suggestion] Adding auto-teleportation after going to void

    Is your feature request related to a problem? Please describe. Pets working great, it's just that sometimes when playing in a floating island, riding a pet into the void will not follow you back. Only relogin can it be restored.

    Describe the solution you'd like Adding pet teleportation for falling into the void (Especially when a server has AntiVoid that send a player to the lobby)

    Describe alternatives you've considered

    Additional context

    opened by Adam1609 0
Releases(1.0.0-beta)
Owner
broki
Β―\_(ツ)_/Β―
broki
✨An Ultimate NPC plugin made by brokiem for PocketMine-MP.

SimpleNPC An Ultimate NPC plugin made by brokiem for PocketMine-MP. ✨ Features Migration from Slapper supported! βœ” Right click to interact! βœ” NPC can

broki 53 Jan 1, 2023
This Pocketmine-MP plugin lets you implement the ultimate birthday wishing system on your server.

BirthdaysPE This Pocketmine-MP plugin will let you wish player(s) a happy birthday and notify others to wish them too. Commands /birthday <set/reset>

MCA7 3 Jul 25, 2022
LDFx is the ultimate essentials plugin for PM4!

LDFx LDFx is the ultimate essentials plugin for PM4! Does it work? As it everything on the todo & implemented list is work Todo & Implemented NickName

null 6 Oct 7, 2022
A plugin manager for PocketMine-MP downloads plugin from PocketMine-MP official plugin repository

oh-my-pmmp A plugin manager for PocketMine-MP Getting Started Prerequisites Your server MUST RUN the latest version of PocketMine. Installation From P

thebigcrafter 6 Jan 4, 2023
Ultimate solution to your KopoKopo needs

ultimate-kopokopo Smith Ultimate Kopokopo PHP SDK This is a module to assist php developers in consuming Kopokopo's API Installation You can install t

Heinrich Smith Ondeyo 2 Nov 9, 2021
New Ultimate Module Creator for Magento 1.7 +

Ultimate Module Creator 1.9.6.0 Notice Because of lack of time, motivation and because Magento2 is already a mature platform, I'm deciding to pull the

Marius Strajeru 247 Nov 22, 2022
This Pocketmine-MP plugin is a plugin including a complete faction system.

SimpleFaction Simple faction plugin replacing FactionsPro which is no longer updated. Commands Command Name Command Description Available for /f help

Ayzrix 33 Dec 19, 2022
SpawnInLobby Pocketmine-MP plugin. With this plugin the player will always join the game at the default world spawn point

SpawnInLobby Pocketmine-MP plugin. With this plugin the player will always join the game at the default world spawn point

null 1 Jan 7, 2022
Integrates the ClassicPress Plugin Directory and any plugin stored in GitHub (tagged with classicpress-plugin) in the ClassicPress Admin

ClassicPress Plugin Directory Adds a new screen in a ClassicPress Install where you can browse, install, activate, deactivate, update, delete and pagi

TukuToi 3 Dec 27, 2022
A PocketMine/Altay Plugin to morph yourself into a block

BlockMorph A PocketMine/Altay Plugin to morph yourself into a block Command To morph yourself into a block use this command: /blockmorph [BlockID|Bloc

Matze 7 Mar 22, 2022
A useful PocketMine-MP plugin that allows you to create crates in-game!

ComplexCrates A useful PocketMine-MP plugin that allows you to create crates in-game! Commands Main command: /crate Sub commands: create

Oğuzhan 8 Aug 26, 2021
A plugin to add more blocks to PocketMine

This plugin aims to add all blocks not included in PocketMine. As of right now the ExtendedBlocks plugin is required to add blocks with IDs above 255.

xSuper 26 Dec 19, 2022
Plot and protection plugin for PocketMine-MP

MyPlot Create, manage, and build in protected plots. Keep your builds safe from griefers! Official MyPlot precompiled builds can be found on Poggit at

Jason 101 Oct 28, 2022
A Pocketmine-MP (PMMP) plugin to help staff members enforce the rules of the server.

StaffMode is an all-in-one Pocketmine-MP (PMMP) moderation plugin made to simplify the life of staff members.

ItsMax123 9 Sep 17, 2022
A Pocketmine-MP (PMMP) plugin to prevent players from doing most glitches.

AntiGlitch AntiGlitch is an all-in-one Pocketmine-MP (PMMP) plugin made to prevent as many known glitches. Setup Guide To start using the plugin, down

ItsMax123 12 Sep 17, 2022
CrateKeyShopGUI Pocketmine-MP plugin which can be set in Config.yml file

CrateKeyShopGUI CrateKeyShopGUI Pocketmine-MP plugin which can be set in Config.yml file Depend FormAPI EconomyAPI PiggyCrate InvCrashFix Download Dow

null 4 Jan 7, 2022
Custom boss plugin for PocketMine-MP.

Bosses Custom boss plugin for PocketMine-MP. What is this plugin? This plugin adds entities that they have so much things to configure! How to create

Oğuzhan 7 Feb 8, 2022
Casino plugin for Pocketmine-MP

Casino A simple Casino plugin for Pocketmine-MP. Usage You can make people bet for in-game money and in return either they win the money or loose. Cha

DeadBush 0 Jan 12, 2022
A PocketMine-MP plugin that replaces a block to another block when breaks, then back to the original block after a certain time

BlockReplacer A PocketMine-MP plugin that replaces a block to another block when breaks, then back to the original block after a certain time How to I

AIPTU 11 Sep 2, 2022