Solved Max entities per chunk?

Discussion in 'Spigot Help' started by LinsaFTW, May 22, 2017.

Thread Status:
Not open for further replies.
  1. How do i do that? I want to limit ALL entities per chunk including tile entities to 12 because lot of people is placing lot of paintings , lot of itemframes , lot of armor stands , lot of mobs , etc...

    I tried bunch of plugins none worked for me :/

    EDIT: Easy to code, there are two ways:

    Way 1: Checking on entity spawn the amount of entities that are on the chunk and cancel spawning if theres more than x.

    Way 2: Make a task that runs every x time to check the chunks the entities are on and if theres more than x remove the extra entities. (This one is clunky, not recommended)
     
    #1 LinsaFTW, May 22, 2017
    Last edited: Jul 7, 2019
Thread Status:
Not open for further replies.