imDaniX / Dangerous-Caves-2

Minecraft Bukkit plugin for a new cave experience
MIT License
22 stars 7 forks source link

Extreme mimic spawn #45

Open notsuntm opened 3 years ago

notsuntm commented 3 years ago

Extreme Mimic spawn in caves. Every cave near a players home get absolutely filled with mimics after few hours of gameplay. Also the command "/dangerouscaves kill mimic" doesn't seem to work "There's no mob's type called mimic!" and no error on console.

Screenshot: Mimic spawns: https://ibb.co/rxJPb5d [.] Command not working: https://ibb.co/xMcT20w [.]

Config: https://pastebin.com/MfDRXpbt [.]

Additional information

imDaniX commented 3 years ago

Sorry, as for now Mimic mob is still rather experimental. I'm thinking of ways dealing with it, but as for now it's disabled by default because of this exact reason. I'll eventually fix the issue, but for now, consider disabling this mob by setting its priority to 0.

notsuntm commented 3 years ago

Looking forward to that update. How about setting the priority to 1? Would that minimize the spawn or would that be same? Also how will I de-spawn already spawned mimics since the command is not working?

imDaniX commented 3 years ago

The problem is that mimics are not considered as a mob after transformation. The only solution I can think of right now - just use WorldEdit. I can add a command that will scan loaded chunks and delete Mimics, but it'll take sometime because I'm not able to do so right now. Also, as I said before, it's not recommended to turn mimics on right now. If you really want this mob on your server - go ahead tho.

notsuntm commented 3 years ago

Yes, I already disabled it. And I'll try using world edit. But the command would be handy in the future, yes.

imDaniX commented 3 years ago

Temporarily added a new command /dcaves mimeremove [radius] [me|all]. /dcaves mimeremove 3 all will remove all mimic chests in 3 chunk radius around all the players. Just /dcaves mimeremove removes mimics in 1 chunk radius around executor(around everyone if used from console) - it works like /dcaves mimeremove 1 me I didn't test it - sorry, can't do that rn. At least it will not delete player's chests in any case.

CloudeLecaw commented 3 years ago

is it tab complpeted? :)

imDaniX commented 3 years ago

@CloudeLecaw nah. I could do that if you really want to, but I hope that this command will eventually be deleted...

vdl19 commented 3 years ago

Hello, I put the last version, the command works but it doesn't seem to remove anything even if by doing the command I have according to the chosen radius of deletion infos like "Removing 2560 mimic chests" I don't see anything disappearing around me! it's the horror and I can't remake a world from 0 nor recover an old version there was too much thing built on it since the times when I had activated the minics! What do I have to do?

image

vdl19 commented 3 years ago

Hello, would it be possible to have a permission to authorize my admin moderator and guide to use the command to remove the mimic, all alone I will never get out of it: /dcaves mimeremove 0 all

CloudeLecaw commented 3 years ago

Currently you just have dangerous.caves.command what allows you to use the whole commands of this plugin.

vdl19 commented 3 years ago

Thank you, I will put it in place for all the Staff to try to reduce the mimic as much as possible

vdl19 commented 3 years ago

It didn't work, the other staff accounts with the "dangerous.caves.command" permission can't run the command in OP it's ok without OP there is this line that is written once the command is run "/dcaves mimeremove 0 all"

image

vdl19 commented 3 years ago

Hello, thanks to this update my admin and others can use the command "/dcaves mimeremove 0 all" with the permission "dangerous.caves.command"

CloudeLecaw commented 3 years ago

Still would be nice to have the mimiremove in tabcomplete :)