varun-balani / spawners Goto Github PK
View Code? Open in Web Editor NEWPocketmine plugin made in PHP implementing stackable spawners
License: GNU Lesser General Public License v3.0
Pocketmine plugin made in PHP implementing stackable spawners
License: GNU Lesser General Public License v3.0
Now, I believe most of you are aware of this issue.
Yes, spawner stacks do reset on every server restart, or everytime you leave, and rejoin.
This has previously been addressed. I can’t speak for the developers of this project, but I can say they’re working their butts off to make this plugin a success. I’m sure they’ll plan on fixing those bugs very soon.
I’m not sure at this point. We’d have to go by every plugin to see if it causes the issue from their side. If not, then we can reproduce their code to this one, which should allow them to see what’s wrong and why the issue is occurring. Again, this is still unconfirmed as of posting this.
Again, I can’t speak for the developers, so I have no clue as to why, how, and when this issue will be reproduced, and fixed. At the moment, it’s a waiting game.
Not at the moment. Except, as always, stick to the latest plugin release on the poggit releases page.
Dev builds are bleeding edge builds, so as stated from many of the websites, dev builds could harm your server. No, I’m not discouraging you to download dev builds. I’m simply saying to check the code before downloading. Anything could occurr, or happen if you don’t read the code.
Enjoy.
PocketMine-MP Crash Dump Mon Apr 6 09:59:27 UTC 2020
Error: Call to a member function getFolderName() on null
File: plugins/BurgerSpawners.phar/src/Heisenburger69/BurgerSpawners/EventListener
Line: 76
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: BurgerSpawners v0.0.8
Code:
[67] */
[68] public function onSpawn(EntitySpawnEvent $event): void
[69] {
[70] $entity = $event->getEntity();
[71] $this->plugin->getScheduler()->scheduleDelayedTask(new ClosureTask(function (int $currentTick) use ($entity): void {
[72] if (in_array($entity->getId(), $this->plugin->exemptedEntities)) return;
[73]
[74] $disabledWorlds = ConfigManager::getArray("mob-stacking-disabled-worlds");
[75] if (is_array($disabledWorlds)) {
[76] if (in_array($entity->getLevel()->getFolderName(), $disabledWorlds)) {
[77] return;
[78] }
[79] }
[80]
[81] if (ConfigManager::getToggle("allow-mob-stacking")) {
[82] if ($entity instanceof Human or !$entity instanceof Living) return;
[83] $mobStacker = new Mobstacker($entity);
[84] $mobStacker->stack();
[85] }
[86] }), 1);
My server crashed and this crash dump was generated, please help me with it thanks
PocketMine-MP Crash Dump Sat Apr 18 13:47:05 WEST 2020
Error: Call to a member function isClosed() on null
File: plugins/BurgerSpawners (1).phar/src/Heisenburger69/BurgerSpawners/EventListener
Line: 74
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: BurgerSpawners v0.1.0
Code:
[65]
[66] /**
[67] * @param EntitySpawnEvent $event
[68] */
[69] public function onSpawn(EntitySpawnEvent $event): void
[70] {
[71] $entity = $event->getEntity();
[72] $this->plugin->getScheduler()->scheduleDelayedTask(new ClosureTask(function (int $currentTick) use ($entity): void {
[73] if (in_array($entity->getId(), $this->plugin->exemptedEntities)) return;
[74] if($entity->getLevel()->isClosed()) return;
[75] $disabledWorlds = ConfigManager::getArray("mob-stacking-disabled-worlds");
[76] if (is_array($disabledWorlds)) {
[77] if (in_array($entity->getLevel()->getFolderName(), $disabledWorlds)) {
[78] return;
[79] }
[80] }
[81]
[82] if (ConfigManager::getToggle("allow-mob-stacking")) {
[83] if ($entity instanceof Human or !$entity instanceof Living) return;
[84] $mobStacker = new Mobstacker($entity);
Backtrace:
#0 src/pocketmine/scheduler/ClosureTask(61): Heisenburger69\BurgerSpawners\EventListener->Heisenburger69\BurgerSpawners{closure}(integer 134686)
#1 src/pocketmine/scheduler/TaskHandler(134): pocketmine\scheduler\ClosureTask->onRun(integer 134686)
#2 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 134686)
#3 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 134686)
#4 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 134686)
#5 src/pocketmine/Server(2143): pocketmine\Server->tick()
#6 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1584): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[26] /home/minecraft-pe/server/, string[34] /home/minecraft-pe/server/plugins/)
#9 src/pocketmine/PocketMine(296): pocketmine\server()
#10 (11): require(string[81] phar:///home/minecraft-pe/server/PocketMine-MP.phar/src/pocketmine/PocketMine.ph)
Is there anyway you add where people can buy spawners using in-game money?
also how can we get silk touch as well?
Mobs are not moving and they dont drop xp they just drop loot
up the radius u have to be in for the mobs to spawn from spawners, u have to be like within 5 blocks for the spawners to work
Even when I do nothing remotely related to spawners such as using a key on a crate, error message comes up
I know I suggested you to make this plugin... but another suggestion ive noticed after you made it is to make it so the prefix is changeable
Can u make : ,,BurgerSpawners" - configurable? Like i want to rename it to some name also , when i type /spawner = BurgerSpawners -.
I want to rename it.
Error: "Class 'JackMD\UpdateNotifier\UpdateNotifier' not found" (EXCEPTION) in "plugins/BurgerSpawners-master/src/Heisenburger69/BurgerSpawners/Main" at line 66
when putting a ravager cause "internal server error" This appears in console
[17:26:17] [Server thread/DEBUG]: #0 src/pocketmine/network/mcpe/protocol/DataPacket(118): pocketmine\network\mcpe\protocol\AddActorPacket->encodePayload() [17:26:17] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/RakLibInterface(240): pocketmine\network\mcpe\protocol\DataPacket->encode() [17:26:17] [Server thread/DEBUG]: #2 src/pocketmine/Player(3142): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\AddActorPacket, boolean , boolean ) [17:26:17] [Server thread/DEBUG]: #3 src/pocketmine/Player(3159): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\AddActorPacket, boolean , boolean ) [17:26:17] [Server thread/DEBUG]: #4 plugins/TwicePet_v1.phar/src/xsoap/Pets(1): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\AddActorPacket) [17:26:17] [Server thread/DEBUG]: #5 src/pocketmine/entity/Entity(1945): xsoap\Pets->spawnTo(object pocketmine\Player) [17:26:17] [Server thread/DEBUG]: #6 plugins/BurgerSpawners (5).phar/src/Heisenburger69/BurgerSpawners/Items/SpawnEgg(34): pocketmine\entity\Entity->spawnToAll() [17:26:17] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(1862): Heisenburger69\BurgerSpawners\Items\SpawnEgg->onActivate(object pocketmine\Player, object pocketmine\block\Air, object pocketmine\block\Bedrock, integer 1, object pocketmine\math\Vector3) [17:26:17] [Server thread/DEBUG]: #8 src/pocketmine/Player(2381): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object Heisenburger69\BurgerSpawners\Items\SpawnEgg, integer 1, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1) [17:26:17] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object CortexPE\network\InventoryTransactionPacket) [17:26:17] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object CortexPE\network\InventoryTransactionPacket) [17:26:17] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [17:26:17] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object CortexPE\network\InventoryTransactionPacket) [17:26:17] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [17:26:17] [Server thread/DEBUG]: #14 src/pocketmine/Player(3094): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [17:26:17] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [17:26:17] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 191.49.29.249 64450, object raklib\protocol\EncapsulatedPacket, integer 0) [17:26:17] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [17:26:17] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [17:26:17] [Server thread/DEBUG]: #19 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [17:26:17] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [17:26:17] [Server thread/DEBUG]: #21 src/pocketmine/Server(2145): pocketmine\snooze\SleeperHandler->sleepUntil(double 1581960377.8984) [17:26:17] [Server thread/DEBUG]: #22 src/pocketmine/Server(1989): pocketmine\Server->tickProcessor() [17:26:17] [Server thread/DEBUG]: #23 src/pocketmine/Server(1583): pocketmine\Server->start() [17:26:17] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41147/, string[23] /home/gs-41147/plugins/)
The plugin messages have a flaw, some blocks that I hit without being op it says "You cannot use Spawners here!" but when I op the account and hit the block nothing pops up. Is there anyway to diasable the plugin messages? or a way to fix it?
Please make sure your issue complies with these guidelines:
When you try and break a spawner,it wouldn't let me break as the ui popped up.
N/A
As well add silktouched spawners and add more entities.
Hi, I have been using this plug-in for a while and it seems that I always have to remove it because whenever its on the server is causes a crash every 10 minutes, I'm not sure why and I thought that the recent update would fix it but if you have a fix for this please reply to this or message my discord at Jacob#6415.
Add a command to kill all entities that include with BurgerSpawners
Entity zombiepigman not registered
Be able to implement a /spawnershop command and you can edit the prices and amount you want to purchase. Basically like a GUI Type shop which you can edit in-game. I know it's been requested before but I just wanted to bring it up again.
spawner stacking resets back to 1 after server restart on build 40
on dev build 42 spawners dont spawn mobs anymore
on line 76 has smth to do with disabled worlds that's causing it to crash please fix soon
Hello, I suggest that you can disable the plugin in certain worlds because currently, every single mob in the server will stack and not attack player, makes it impossible for things such as normal survival or mob arena, it will be great if you can choose to disable mobs stacking or spawners in some worlds
Possible addon with CustomShopUI, AlexPads?
Uses In game currency to purchase spawners instead of being for free! :)
Hi I love this plugin, but I have a issue because every time I restart the server or leave and rejoin the game my spawners went from 13 stacked spawners to 1.. pls fix this thanks.
Since Pocketmine 3.11.5 no Mob Spawning
I use the latest Version of Burger Spawners
Its the best Plugin and i hope you can help me.
I have nothing changed.
Sorry for my bad english.
sometimes the spawner level drops back to 1, how do I fix it? also does not let me put bees or foxes to the spawner
When a magma cube spawns it restarts the server its from spawners but with spawn eggs it kicks the player out
I remove iron golem spawner with forms. But giving named with 'monster spawner' spawner.
So I just set xp to false bc its kinda laggy and if I spawn a zombie or somethings and I kill it I will still get xp
slimes dont get spawned or cleared by autoclearlagg
If players tap a spawner on foreign land or worlds and click on Remove, the spawner drops.
This is very negative for a server's economy.
make spawners have a 50% drop rate from explosions for faction servers
The mobs does not drop a single XP
Add way to disable mob experiences
How would i disable certain entitys from stacking? Say a creeper.
An API like giving spawners etc.
Before you break the mob spanner with a pick that it cant be breaken with a ui should pop up with it saying are you sure you want to destroy this spawner you cant get it back unless you use a silk touch or whatever
make commands work from console with {player} fillins so people can actually put them in shops
When the server resets all stacked spawners go back to 0.
Please delete this stupid Broadcast Message
You cannot use Spawners Here.
Nobody use a Spawner and this Broadcast is very is totally buggy
add the option for autoinv (mob drops go straight to your inventory) you can disable or enable in config
this is mostly to avoid overloading the server etc but also a great way to stop players games lagging
When doing /spawner pigzombie, it gives and empty monster spawner
I want to start this issue by saying, this is a awesome plugin and I am very thankful you have taken the time to create it. I also understand that you are probable being spammed with issues, so this issue isn’t that high on priority’s.
Issue:
Vanilla enchants don’t work on mobs. For example, if you have sharpness on a sword the sword still does the base damage rate.
Suggestion:
When and if you fix this bug, maybe consider adding Custom Enchants (DaPigGuy) support.
Okay, i wrote my issue on here rather than the plugin i meant to so edited it.
To note the issue im using this new boss plugin but with burgerspawners registering mobs which is what i want, the boss plugin doesnt register.
Unless you, Burger, have a boss plugin for sale that works with your spawner system
Add a option where we can set it to automatically add the xp from mobs into a players xp bar.
Make it so that every mob that spawns from a spawner will have half a heart
(you told me to do this on discord btw)
i think it happens when you restart the server but the stacked spawners reset to 1
hello, can you add permission for mining a spawner with silk touch? :D
Maybe you could make it compatible with EconomyAPI?
A feature where players can buy spawners instead of someone having to constantly give them it?
The prices would be configurable and there could be a certain permission node to help people who just want it for certain groups. =D
the spawner no longer loses the levels but no mobs appear
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.