Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insane high cpu usage when blocking mob spawning #68

Open
Tencao opened this issue Jan 1, 2017 · 6 comments
Open

Insane high cpu usage when blocking mob spawning #68

Tencao opened this issue Jan 1, 2017 · 6 comments

Comments

@Tencao
Copy link

Tencao commented Jan 1, 2017

It seems that rather than disabling it attempting to spawn mobs, it instead just keeps blocking every single attempt, which when covering a large area, causes massive lag and cpu usage.

@gravityfox
Copy link
Member

There's really not a good way to block mob spawning, as minecraft and mods will just haphazardly try to spawn them if they feel like it.

If you think there's a much better method, please let me know.

@Inscrutable
Copy link

Inscrutable commented Jan 1, 2017

This sort of thing usually needs forge-level tinkering to accomplish. CustomMobSpawner and JustAnotherSpawner handle mob spawning (and denial thereof), but don't involve regions or permissions. This seems to be uncharted territory for Sponge.
WorldGuard (for Bukkit) has the customisable flag block-creature-spawn: under mobs.

@gravityfox
Copy link
Member

I'll keep this open, but i don't think there's a good solution any time soon.

@Tencao
Copy link
Author

Tencao commented Jan 1, 2017

Where's the code for denying mob spawns, so I can also help find a solution?

@d4rkfly3r
Copy link
Collaborator

Hello!

Please be aware that many of the open issues may be closed soon, in preparation of the beta release of FoxGuard 2.0. We have not yet determined if we are going to create a new repo, or use the current one, however, if we use the current one, this issue will be closed.

If the issue occurs again at a later date in FoxGuard 2.0, please make a new issue and reference this one.

Thank you!
Joshua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants