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.
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.
it seemed like it locked up, could have been delay from checking.. not sure now. Im not gonna play with it again until an rb comes out lol. Is it a possibility that the new world format is affecting it? I wouldnt imagine so but its definetely confusing
@mumblerit
Max retries should be 5. Did your server actually crash, or did your client just give up and disconnect? Anyway there's definitely a problem, I admit. I just wish I could figure it out.
@bigscary
doing a scanregion just crashed my server.
it looped doing
12:42:06 [INFO] PopDensity: Resource report for region "ocean4": 12:42:06 [INFO] PopDensity: 12:42:06 [INFO] PopDensity: Wood :0 (Minimum: 200) 12:42:06 [INFO] PopDensity: Coal :0 12:42:06 [INFO] PopDensity: Iron :0 12:42:06 [INFO] PopDensity: Gold :0 12:42:06 [INFO] PopDensity: Redstone :0 12:42:06 [INFO] PopDensity: Diamond :0 12:42:06 [INFO] PopDensity: Player Blocks :1 (Maximum: 13500.0) 12:42:06 [INFO] PopDensity: 12:42:06 [INFO] PopDensity: Resource Score : 0 (Minimum: 200) 12:42:06 [INFO] PopDensity: 12:42:06 [INFO] PopDensity: Summary: Insufficient near-surface resources. 12:42:06 [INFO] PopDensity: Examining available resources in region "-1 -9"... same region over and over
@mumblerit
What about the manual scans with /scanregion? If you stand in that newest region and /scanregion, do you still get 0? And you see trees around?
@bigscary
it works insofar as i can run my server with it, but its still getting 0 with the automatic checks. Im willing to deal with this workaround of manually setting new regions until a rb1.2 if you want
@mumblerit
So your problem is solved, or do you still get zero?
@bigscary
ok so the newestregion, is quite full of wood/etc
@bigscary
<3
2.5 Updates!
This is a BETA release. It's not fully tested, just like the beta build of craft bukkit. Use at your own peril.
<<code>>
:58:32 [INFO] [PopulationDensity] Enabling PopulationDensity v2.2
17:58:32 [INFO] PopDensity: PopulationDensity enabled.
17:58:32 [INFO] PopDensity: 327 total regions loaded.
17:58:32 [INFO] PopDensity: Open region: "shovel4" at -7 -9.
17:58:32 [INFO] PopDensity: Examining available resources in region "shovel4"...
17:58:38 [INFO] PopDensity: Examining available resources in region "shovel4"...
17:58:38 [INFO] PopDensity:
17:58:38 [INFO] PopDensity: Resource report for region "shovel4":
17:58:38 [INFO] PopDensity:
17:58:38 [INFO] PopDensity: Wood :0 (Minimum: 200)
17:58:38 [INFO] PopDensity: Coal :0
17:58:38 [INFO] PopDensity: Iron :0
17:58:38 [INFO] PopDensity: Gold :0
17:58:38 [INFO] PopDensity: Redstone :0
17:58:38 [INFO] PopDensity: Diamond :0
17:58:38 [INFO] PopDensity: Player Blocks :1 (Maximum: 13500.0)
17:58:38 [INFO] PopDensity:
17:58:38 [INFO] PopDensity: Resource Score : 0 (Minimum: 200)
17:58:38 [INFO] PopDensity:
<</code>>
attempted to remove all other plugins
@bigscary
I believe 8 8 was a recent scan which would be 3200 3200 ish
worldborder is for the borders, but i believe it only interacts with players and not actual world loading, however Ill test it.
@mumblerit
By the way, that enormous ocean area kinda sucks. Remember PD is looking for wood, coal and iron, and doesn't count stuff like sand, dirt, grass. It's feasible that you could be (correctly) reporting a lot of zero or near-zero regions, if you're in that southwest portion of the map.
Also I notice your map has some boundaries... is there another plugin which has set some boundaries? Is it possible that that boundary plugin prevents the server from loading those chunks somehow? That could also explain the problem.
Remembering that every region is 400x400, if you do the math, approximately where are you currently scanning on your map now? Are you outside those boundaries?
@bigscary
that would be awesome... im not sure what the bug is but it is very annoying! However you have made me realize how much I need your plugin 8^)
The current version of /addregion will get you into the same predicament, because it keeps going until it finds a suitable region. I'll add an option to disable the automatic scans entirely, and a command to scan a single region but not take action. That might help.
@mumblerit
basically if i want the server to load, i have to remove your plugin, which also removes the queue/afk kicking
@bigscary
yes sir, id like to into what is happening using the /nextregion command but the server wont load unless it can find a new area
@mumblerit
You mean to disable the region scanning?
@mumblerit
i realize this is probally an ... annoying request but could i have a version that completely disables the checking altogether in order to further test this bug?
@mumblerit
notice our map at http://muttsworldmine.com/map/final
while there is a big ocean, it is spotted with islands, which makes it odd that your plugin shows 0 of all resources
@bigscary
what method would i use to convert the coordinates to world coordinates?
as far as mob spawning, id stay away from it, there are too many issues imo.