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.
Got a question, suggestion, or problem? Post it on the issue tracker.
@The_PC_Tech_Guy
If they don't have a nametag, yes. If you have an idea for determining pet status, let me know. Minecraft doesn't keep tamer information in this case, unlike other horses.
"Unless they have a rider or a nametag, skeletal horses are now removed when the chunk unloads (because they never despawn otherwise, and threaten to lag your server as their population grows uncontrolled)."
So, this includes those that players keep as pets?
Does anyone know how to add population density to the main world and a second world ? im using multiverse
@mohawkguy360
You can't entirely disable any region post, but there's only one region post where new players are automatically placed (/newestregion). You can force PD to move that new player post by using /addregion.
@mrelfire
Use the "files" link to see all the old versions.
@Vitalbra
Sorry no, posts land based on math alone and can't be moved. You could either move your spawn (world edit?), or adjust your spawn design to integrate the post. I know it sucks, hence the warning in the setup/config page about posts not being removable.
@Orniej
Pets which belong to you and are near the post will teleport with you. It's how I make sure you can take your cats/dogs/horses with you even when you're not riding them. Similarly with animals on leads or being baited with food. If you take a horse by accident, then teleport back through and move him farther away from the post before you teleport again.
@pooroo
Nope, those are 'natural' blocks to PD. They don't count toward region "crowding", and they aren't required by the resource finder either because they're not critical to new player happiness. :)
I think populationdensity count ice block as player created block. That will make some wilderness region will be skipped.
@JonyPooh
No, I asked if you ran out of space at some other point in time. Anyways...
This seems to indicate that either a) part of your world is corrupt, and thus hanging when PopulationDensity goes and loads up chunks to scan, b) your hard drive is on its last legs, causing I/O problems as chunks are loaded when it scans chunks, or (unlikely) c) your CPU is too slow, since it's likely the watchdog killing your server.
I'm venturing to guess it's one of the two above. I'd run the world via a region fixer such as this one: https://github.com/Fenixin/Minecraft-Region-Fixer as well as running hard disk utilities such as whatever Linux' chkdsk equivalent and SMART test utilities.
@The_PC_Tech_Guy
I just double checked. Not close to running out of space;
Also, I tried resetting the population density data and now the server becomes unresponsive after is see this... [18:20:12 INFO]: PopDensity: Examining available resources in region "0 0"... And then the server restarts. Population Density isn't working at all.
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 98588092 42723904 50840856 46% /
@JonyPooh
Did you run out of hard drive space at one point?
getting this error when users loggin. [21:27:43 INFO]: PopDensity: Unable to load data for player "UUIDREMOVED": null [21:27:43 INFO]: PopDensity: PopulationDensity: Unexpected exception saving data for player "PlayerNameRemoved": null
@The_PC_Tech_Guy
Sometimes more then 40 blocks away. only horse owned by the player are tping with them.
@dahbawz
Ok so there's no config option, but how close are the horses to you?
@The_PC_Tech_Guy
Thanks for your answer but there is no such option in my config?
http://pastebin.com/tTEuMDpr
@drdoct
Use commands.yml to map /spawn to essentials:spawn. http://wiki.bukkit.org/Commands.yml
@Orniej
@dahbawz
How close are the horses to you? This was implemented to allow players to teleport horses and other pets with them. There might be a config option for this, if I recall correctly...
Same thing happening here, When players do /randomregion, all there horses teleport with them. Plugins are essentials en population density.
No error's in logs nor console.
How does it keeps happening my horses teleport with me to a regionpost?. Every horse nearby teleports, soooo I lose all my horses at my house.
I have essentials spawn and it was working great. Now I installed population density because I love /randomregion. However, it has taken my spawn. I tried changing it to false in the config to no avail. It always spawns me at the nearest post close to the spawn I want, but not where I want. I then used simple spawn to change the spawn. However I want essentials spawn to handle it because players login to their last location instead of being forced to the spawn. AND I'm trying to limit my plugins. Is there a problem with it taking over spawn or have I overlooked something? 1.9 craftbukkit
I have a question, a region is at a place I do not desire, right at my spawn(Gg) is it possible to remove that region? Or disable that certain region's post?
a small question, I do not manage to find in the historics a 1.7.10 compatible version P.S. I am still using kcauldron (https://repo.prok.pw/pw/prok/KCauldron/) thanks
@The_PC_Tech_Guy
Maybe I will find another plugin that will allow me to do this. I love what populationdensity does, but I want something more configurable. I want certain regions to not allow players to join them at all through any method. I want it to be as if they did not exist nor ever did.
@mohawkguy360
Oh, you want to disable region posts completely? Or just for those posts?
If the latter, you can't really do that in this plugin, but you could get a plugin that checks for arguments (/visit) and location (/sethomeregion)