benda95280 / myentities Goto Github PK
View Code? Open in Web Editor NEWGives/Spawn Head and Custom entities with skin suppport and Geometry, EASILY !
License: GNU General Public License v3.0
Gives/Spawn Head and Custom entities with skin suppport and Geometry, EASILY !
License: GNU General Public License v3.0
Is your feature request related to a problem? Please describe.
'Skin_empty' should be removed from the entity
Describe the solution you'd like
Get skin from file directly
Should handle error if skin has been removed
Additional context
Must be done if item is used from other plugin, when you save all CustomNBT, you're not going to save skin too ...
[09:39:45] [Server thread/INFO]: GamerDaniel3000 joined the game
[09:40:50] [Server thread/CRITICAL]: TypeError: "imagedestroy() expects parameter 1 to be resource, bool given" (EXCEPTION) in "plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/PlayerHeadObj" at line 309
[09:40:50] [Server thread/DEBUG]: #0 plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/PlayerHeadObj(309): imagedestroy(boolean )
[09:40:50] [Server thread/DEBUG]: #1 plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/PlayerHeadObj(275): Benda95280\PlayerHeadObj\PlayerHeadObj::createSkin(string[6] book_1)
[09:40:50] [Server thread/DEBUG]: #2 plugins/PlayerHeadObj-master/src/Benda95280/PlayerHeadObj/commands/PHCommand(88): Benda95280\PlayerHeadObj\PlayerHeadObj::getPlayerHeadItem(string[6] book_1, string[9] Nice Book, array[4])
[09:40:50] [Server thread/DEBUG]: #3 src/pocketmine/command/SimpleCommandMap(270): Benda95280\PlayerHeadObj\commands\PHCommand->execute(object pocketmine\Player, string[3] pho, array[1])
[09:40:50] [Server thread/DEBUG]: #4 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[17] pho entity book_1)
[09:40:50] [Server thread/DEBUG]: #5 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[17] pho entity book_1)
[09:40:50] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(240): pocketmine\Player->chat(string[18] /pho entity book_1)
[09:40:50] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[09:40:50] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[09:40:50] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[09:40:50] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[09:40:50] [Server thread/DEBUG]: #11 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[09:40:50] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[09:40:50] [Server thread/DEBUG]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 46.80.35.118 62923, object raklib\protocol\EncapsulatedPacket, integer 0)
[09:40:50] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[09:40:50] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[09:40:50] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[09:40:50] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[09:40:50] [Server thread/DEBUG]: #18 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1567928450.7391)
[09:40:50] [Server thread/DEBUG]: #19 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
[09:40:50] [Server thread/DEBUG]: #20 src/pocketmine/Server(1784): pocketmine\Server->start()
[09:40:50] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/minecraft/, string[24] /home/minecraft/plugins/)
[09:40:50] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(299): pocketmine\server()
[09:40:50] [Server thread/DEBUG]: #23 (1): require(string[68] phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php)
[09:40:50] [Server thread/INFO]: GamerDaniel3000 left the game
[09:40:50] [Server thread/INFO]: GamerDaniel3000[/46.80.35.118:62923] logged out due to Internal server error
Describe the bug
when u get close to a player u can't go through him it pushes u away and sometimes pushes him away too
To Reproduce
Steps to reproduce the behavior:
Expected behavior
you go through the player
Screenshots
Additional Infos
We need to add multiple language file support.
Why:
Everything is HardCoded for the language, and some action have default message, because cannot be set by configuration of the entity.
(Like the action to repair an item)
Describe the bug
All ressources are not copied on fist launch, only Config.yml
To Reproduce
Install plugin, and launch server.
Expected behavior
All ressource should be here, but skins are missing.
I'm thinking to separate skins files:
If you add 15 heads, 6 customs, and 3 vehicle, it will have a lot of files inside the folder.
Solution:
@thebigsmileXD What do you think about it ?
Describe the bug
when i do /mye entity it crashed me
[12:24:02] [Server thread/CRITICAL]: ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/MyEntities_dev-46.phar/src/Benda95280/MyEntities/commands/EntityCommand" at line 78
[12:24:02] [Server thread/CRITICAL]: #0 plugins/MyEntities_dev-46.phar/src/Benda95280/MyEntities/commands/EntityCommand(78): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[51] Trying to access array offset on value of type bool, string[106] phar:///home/container/plugins/MyEntities_dev-46.phar/src/Benda95280/MyEntities/, integer 78, array[9])
[Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamager()" (EXCEPTION) in "plugins/MyEntities-master/src/Benda95280/MyEntities/entities/MyCustomEntity" at line 110
Can you release a phar on github?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
The code is getting quite messy since custom entities and head entities share alot of code inside MyCustomEntity.
Describe the solution you'd like
I would like to seperate it into HeadEntity, CustomHeadEntity and CustomEntity. (Vehicles could also extend CustomEntity)
This would make several things easier:
@benda95280 i need your opinion on this
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
can you make it where we can wear the head with skin
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/MyEntities.phar/src/Benda95280/MyEntities/commands/EntityCommand" at line 78
pmmp 3.21.0
php 7.4
Mybe offline players are a problem.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
A command with which you can get a head from a player. for example / head {player name}.
A clear and concise description of what you want to happen.
///
A clear and concise description of any alternative solutions or features you've considered.
///
Add any other context or screenshots about the feature request here.
This prevents Poggit from detecting the command, and hence the plugin cannot be searched at https://poggit.pmmp.io/cmds
This issue has been reported to Commando at CortexPE/Commando#26, but before @CortexPE fixes it (which is most likely impossible without a BC break), it is the responsibility of plugins to make sure they implement this interface.
Would you add support for 128px skin size for custom entitys
Add a give action where you can choose id, meta, and count
Hello, when I write /mye entities "(the name of the entity i added)", the plugin reply with -> Invalid value "(name of the entity)" for argument #1.
It appear when I add an new entity.
PS: I use the penultimate poggit version because the last one don't work on my server
Hi, I have a bug with your plugin, when i try to spawn an entity, the plugin make me crash (internal server error). It make me crash when i write /mye entity [name of the entity].
I have tested the plugin with no other plugins, but it does not change anything.
If it can help, add a screenshot of the console of my server :
Pocketmine version: 3.9.5
Minecraft Bedrock version: v1.12.0
PS : sorry for my bad english, i'm French ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.