Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Comments

don't remove players#5

Open
McLive wants to merge 21 commits intoCyprias:masterfrom
McLive:master
Open

don't remove players#5
McLive wants to merge 21 commits intoCyprias:masterfrom
McLive:master

Conversation

@McLive
Copy link

@McLive McLive commented Aug 21, 2015

Don't know if this is still an issue but it caused problems with earlier versions.

Jikoo and others added 21 commits July 28, 2015 09:40
Removed Logger and Config classes
Migrated debug logging and chunk checking to main plugin
Fixed not using features present in BukkitRunnables
TODO: Does ChatUtils offer anything of value? It doesn't appear to.
Running maven install should include resources automatically, and it most definitely did not do that before.
Renamed variables/main class to be more descriptive
Fixed attempting to get chunk task by event, not chunk.
Barely used any new features (avoided try-with-resources) and it does alienate 0.7% of server owners, according to Metrics.
EntityCompare looked to be the start of an API of sorts, but was unused.
No debug messages contain color codes, useless to try to strip them.
@Jikoo
Copy link

Jikoo commented Aug 21, 2015

Copying my writeup for #6 in here so there's a list of changes

  • Config: properties.preserve-named-entities - if true, cull named entities only if all entities are named.
  • Config: properties.prevent-creature-spawns - if true, new spawns are prevented rather than culling existing entities.
  • Fixed central chunk being checked for cull twice on creature spawn if surrounding chunks are checked.
  • Reformatted, reorganized, and cleaned up codebase.
  • Updated Metrics to revision 7.

I did my best to keep all mass formatting on separate commits so you can see the actual diffs when code was changed.

The only thing I did that I would describe as odd is downgrading the Maven compiler version - for whatever reason, I could not get it to properly compile the project with resources without the changes in 944d201.

I would probably add in a warning about the config option properties.prevent-creature-spawns, it has a much higher footprint than scheduled chunk culling. I only added it because it was in earlier CSL versions, it doesn't actually interest me personally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants