Population Density
Automatically places new players where they can find wood, animals, ore, and space to build. Also priority-based login queue, reserved slots for admins, idle boot ONLY when nearly full, entity thinning for lag reduction, and optional limited teleportation. Never again will your players experience a marathon run, spawn room full of portals, or maze of abandoned builds. This is a zero maintenance solution for administrators, and players don't need to learn any commands!
"This is THE plugin for large servers." – Mumblerit of muttsworldmine.com
Looking for a 1.12.2 or earlier-compatible version? Check here.
Got a question, suggestion, or problem? Post it on the issue tracker.
This video explains the region post system to new players.
See below for information on administrative features.
Feature Summary
- Assigns starting points for new players so that they can ALWAYS find space to build and beginner resources nearby. Players may be spawned directly there, or you can tell them about a slash command which will take them there.
- Respawns animals, regrows grass, and replants trees in the new player area to guarantee important new player resources.
- Removes idle players ONLY when the server is nearly full.
- Login queue to ensure fairness when your server is full, can prioritize some players over others if you like.
- Reserved slots for administrators.
- Optional teleportation posts which help players socialize and trade, but aren't abuse-able to escape combat or save a lost or hungry player.
- "Thins" extremely-dense crowds of monsters and animals, preventing ridiculous levels of farming or monster grinding from lagging your server.
Overview
Server owners often underestimate the badness in starting a player in a crowded area. Sure seeing builds makes your server look legitimate, but having to explore a long time just to find space to build and beginner resources is a major turn off for players who want to start playing right away. Even when players do find a place to start playing, they're often alone because other new players wandered into different areas.
PopulationDensity is the low-maintenance, easy-for-players answer to all these problems.
It works by automatically locating a region with lots of wood and ore, and then dropping new players in that region until they collect most of the easily accessible ore, cut down most of the trees, or crowd it with builds. Then PopulationDensity finds a new resource-wealthy region for future newbies and starts dropping new players there. If you have a great spawn area built up, you can instead spawn players there, and later tell them to use /HomeRegion when they're ready to start adventuring (or another command you define in commands.yml).
Additionally, optional teleportation commands help players move around quickly to admire builds and socialize while not compromising the game's integrity - players can only teleport from automatically-placed teleportation posts, so teleportation can't be used as an "easy-out" for players who mine or adventure themselves into trouble. That way, players keep the challenge of single player without the "players are too far apart" multiplayer issue.
Finally, if you have a "my server is always full" problem, then congratulations on your successful server! :) With PopulationDensity, you may optionally boot players who are idling so more players can log in and have fun, increasing your feel-good factor (or fattening your wallet, for some). when the server IS full, a login queue guarantees fairness, and administrative slots are set aside to guarantee administrators can always get in.
You can also assign players a queue priority to help them get on the server faster during peak times, to reward them for contributing to the server monetarily or through your community.
Requirements
- v6.0 and higher require Java 21
Setup, Configuration, and Commands documentation
Metrics: Like most other plugins this plugin collects anonymous metrics to see who's actually using this plugin, and this information is used to determine popularity as well as what features matter or not in the grand scheme of things.
Sponsors:

Got a question, suggestion, or problem? Post it on the issue tracker.

-
View User Profile
-
Send Message
Posted Sep 25, 2012Is this plugin compatiable with servers using WorldBorder? For example, my maps are capped off at 5000x5000 for the time being, will this attempt to place regions outside of the map border?
-
View User Profile
-
Send Message
Posted Sep 24, 2012hi. i had thought about my problem. it would seem that your theory is right. the answer is a time lag.... so, i am very concerned about that whether you can or you can't fix it. how about change the teleport coordinate? like this, on the post > beside the post. i think it would be a solution. how about you?
-
View User Profile
-
Send Message
Posted Sep 22, 2012I just hope this plugin can work with Spigot :/ original craftbukkit's always giving me a hard time since 1.3
-
View User Profile
-
Send Message
Posted Sep 21, 2012@k7iwon
I will keep thinking about it, but I don't know how to fix it. If Bukkit tells me there's two blocks air there with a solid block underneath that, then I don't know if there's anything that can be done on my end.
-
View User Profile
-
Send Message
Posted Sep 20, 2012@bigscary
yes, i have a plugin which can measure my server tps. i guess that server lag is not a problem. measured result is 20 tps most times. so i just remove the each post, and crack the blocks under the posts. when i restart the server, the post is moved down it's position. and then problems are disappear until now. buy i'm not sure that i have solved the problem.
9/21/2012 16:15 (UTC+9:00) it happened again....;_;
-
View User Profile
-
Send Message
Posted Sep 20, 2012@k7iwon
I only teleport players into space where the server tells me there's air. It could be due to server lag, causing your server to tell the plugin that there's air in a spot because the chunk hasn't fully loaded yet. Do you have a plugin which measures your ticks per second (TPS) which you can use to test that theory?
-
View User Profile
-
Send Message
Posted Sep 19, 2012when player visit other region(/visitregion), not rarely(but cant pass over it) they die. two reasons. they are killed with fall or be stifled. when a player teleported at other post, the coordinates is overlaped with post. so they has damages...maybe i think. i dont know. why does it happens correctly.
-
View User Profile
-
Send Message
Posted Sep 19, 2012@sillyrosster
I dunno what to tell you. Maybe log a detailed bug with CraftBukkitPlusPlus? Or you can just leave grass regrowth turned off, so that bit of code won't run.
@Torleik_
Right, teleport from anywhere really means teleport from anywhere. :) Maybe you don't want it in your managed world either, since they're abusing it there as well to escape situations like monster combat, being lost in a mine or even above ground, running low on food, and so on. It's not terribly troublesome to find a region post, since there's one every 400 blocks (think of it as requiring a minimum of navigation skills)?
-
View User Profile
-
Send Message
Posted Sep 19, 2012Just curious, I want people to be able to use any of the teleport commands from any location in the managed world, but currently, when I have:
AllowTeleportation: true TeleportFromAnywhere: true
players can use /homeregion from any of my worlds at any location. Our other world is pvp based meaning they can use that to escape death when all our other teleport commands have a 5 seconds cooldown. The way you described it made it sound like setting teleportfromanywhere to true would restrict it to the managed world, which is exactly what I wanted.
I do not have a city set currently, and so I am curious if that might be part of the issue?
tldr; Players can use /homeregion from any location on any world. I want them to be able to use /homeregion from any location but restricted to the managed world. (so no using /homeregion from another world.)
-
View User Profile
-
Send Message
Posted Sep 18, 2012@bigscary
Nope.
http://paste.royaldev.org/view/189
-
View User Profile
-
Send Message
Posted Sep 18, 2012@VietNg
Spigot.. You are running Spigot.
-
View User Profile
-
Send Message
Posted Sep 18, 2012@bigscary
Hi I'm running Craftbukkit--
-
View User Profile
-
Send Message
Posted Sep 17, 20123.4.1 Updates!
@sillyrosster
I improved the performance of the grass regrowth in hopes that it will solve your problem. It might be that CraftBukkitPlusPlus is calling your server "non responsive" too early (it's getting impatient). Let me know if the situation doesn't improve.
-
View User Profile
-
Send Message
Posted Sep 17, 2012@jimbob926
Use your bukkit.yml to add abbreviation aliases if you want. You can find details on the bukkit wiki. I think you'll find that players use the commands infrequently (much less often than administrators do), and don't really mind the longer forms.
The trouble with very short abbreviations is they tend to conflict with other plugins, so that's why it's better if you decide which abbreviations are appropriate for your server.
@sillyrosster
Just turn off the grass regrow. If you're right and PD is what crashed you, then removing grass regrow will fix it, since that's what PD was doing when your server froze up.
Just because an app is designed to do something simple doesn't mean it couldn't accidentally introduce bugs. Maybe the optimizations make some assumptions that aren't appropriate for all plugins, leading to the issue. It's just a possibility.
-
View User Profile
-
Send Message
Posted Sep 17, 2012@bigscary
I am running it, but it also builds with the regular CB and only adds performance optimizations. I'll play with the configuration, but it's hard to tell when it's going to crash the server :/
-
View User Profile
-
Send Message
Posted Sep 17, 2012You should make shortened versions of all the commands so it is quicker and easier for players to type, such as /wr - /whichregion or /mi - /movein
-
View User Profile
-
Send Message
Posted Sep 17, 2012@sillyrosster
I'll look at the code. I think you're running CB plusplus though right? It could be a bug there, I don't test with CBplusplus because I build for CB. In the short term, try disabling the grass regrowth in your config. :)
Viet are you also running CraftBukkitPlusPlus?
-
View User Profile
-
Send Message
Posted Sep 17, 2012@sillyrosster
Same
-
View User Profile
-
Send Message
Posted Sep 16, 2012Just got this and it crashed the server: http://paste.royaldev.org/view/184
Another one: http://paste.royaldev.org/view/185
-
View User Profile
-
Send Message
Posted Sep 14, 2012@mazter_redz
/homeregion takes you to your personal home region, which you set with /movein. /CityRegion takes you to the spawn of the world you list in config.yml ("city world"). If you type /homeregion and it tells you you're already home, that's because you're already within the bounds of your personal home region. If you want to go to the city, it's /cityregion.
It's possible you might have set your home region to the city region, which is a confusing situation you can get yourself into when the city world and the managed world are the same world.