Population Density

PopulationDensity

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

http://dev.bukkit.org/media/images/78/535/popdensityvideo.png
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.

Official Servers

You can experience this plugin for yourself (as a player) by joining this public server. :) I maintain this server personally, which helps me catch bugs and spot opportunities for new features and improvements. Have fun!

Setup and Configuration

Command Reference

More Great Plugins!

My plugins solve Vanilla problems in ways which minimize impact on servers, administrators, and players, so everybody can enjoy Minecraft without having to learn to play the game in a new way or spend more time administrating than playing. My goals are effectiveness, simplicity, and efficiency. If you like this plugin, check out more of my work:

  • Grief Prevention
    • Prevents ALL types of grief, cheaply.
    • Easy for players and admins, mostly automatic.
    • Players claim land to prevent theft and house wrecking.
    • Automatically warn, mute, and kick or ban spammers.
    • Blocks dumping lava and setting fire on another player in non-PvP servers.
    • Disable fire damage, spread, or both.
    • Wipe away ugly builds with a right-click - no database required!
    • Automatically prevents spawn camping in PvP servers.
    • Prevent damage to the surface by limiting lava and water placement, and TnT damage.
    • Automatically clean up hanging tree tops.
    • Includes a creative mode for creative worlds.
    • Optional siege mode for build-based PvP.
  • Anti-XRay
    • Limits how quickly players can mine valuables, based on their play time / values mined ratio.
    • Keeps your valuables in the ground, so non-cheating players can find them (unlike ore loggers).
    • Practically free to run, unlike the tremendously expensive Orebfuscator.
    • Most legit players won't notice, but xrayers will ragequit and move on.

PopulationDensity

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of bigscary bigscary Feb 03, 2016 at 18:20 UTC - 1 like

    @The_PC_Tech_Guy: Go

    Yep, already coded just gotta test and publish later. My kid is sick, so less free time than usual. Remember inactivity is based on actually interacting with the animal, since PD doesn't know who "owns" it. So to keep 20 mooshrooms the player has to at least right click them every now and then (use a bowl to get mushroom stew!).

  • Avatar of The_PC_Tech_Guy The_PC_Tech_Guy Jan 29, 2016 at 20:18 UTC - 0 likes

    @bigscary: Go

    Well somebody complained to me that they had 20 mooshrooms and now they only have 2 (and complained that a griefer might've done it :S), so it'd be nice to know this information just in case (and no they aren't inactive). Thanks!

    Last edited Jan 29, 2016 by The_PC_Tech_Guy

    This account is so old that I don't even use that username anymore.
    I now go by "robomwm"

  • Avatar of bigscary bigscary Jan 25, 2016 at 23:39 UTC - 0 likes

    @The_PC_Tech_Guy: Go

    Sure, I can put those back in. Not sure how handy they will be, since you'd have to search by coords to determine whether a specific animal was removed for inactivity.

  • Avatar of The_PC_Tech_Guy The_PC_Tech_Guy Jan 21, 2016 at 18:19 UTC - 0 likes

    @bigscary: Go

    Yeah, in fact because of the new timings implemented in paper, it will catch commands dispatched in async since that's not thread safe. It also caught another plugin I was using doing that as well.

    Small feature request - I would actually prefer to have extra logging info as per this comment on this commit. I know you've been cleaning out log messages over the past several versions but I in fact like the log messages so I can see exactly what's going on regarding "performance cleanups." Perhaps you can re-add these with a "debug" option?

  • Avatar of bigscary bigscary Jan 20, 2016 at 23:16 UTC - 0 likes

    @madtomic: Go

    Spawn errors? What's a spawn error?

    If folks want to live dangerously and use experimental server code, that's on them. Ideally I'd develop a version of every plugin I create for every server platform out there (spigot, paper spigot, forge, sponge...), but I don't make enough money from this work to turn it into a full time job. And it would be a full time job for me to support more than one platform (I've got a wife and two kids under 3, so free time is nearly at zero for me).

    I fixed Chinafriend's error - turns out it reproduces on official spigot as well.

    @kemmeo: Go

    My thinking was I don't want players to ever travel more than 400 blocks on foot (this was before horses were added) to get to their home or another player's location.

    @Mankin59: Go

    You can change the materials used to create the post in the config file, but the shape can't be changed.

    Last edited Jan 20, 2016 by bigscary
  • Avatar of Mankin59 Mankin59 Jan 20, 2016 at 19:17 UTC - 0 likes

    Is there anyway to customize region posts?

  • Avatar of kemmeo kemmeo Jan 18, 2016 at 12:00 UTC - 0 likes

    @madtomic: Go

    I use PaperSpigot and get no errors, perhaps it isn't the reason for the errors you get? Have you checked the paper.yml for any setting that might conflict with PopulationDensity?

    @bigscary: Go

    Oh so that is why! Makes a lot more sense! I am curious, why 400 blocks apart? not that I want you to change it. Is it because they line up on maps as nicely as in your video demo'ing the plugin?

  • Avatar of madtomic madtomic Jan 17, 2016 at 15:44 UTC - 0 likes

    @bigscary: Go

    This is why I can't this plugin on my server. I also use paperspigot and it give spawn errors from time to time. Too bad,

    You do realize that last three posts are users using PaperSpigot... Maybe you should consider supporting it. :)

    Last edited Jan 17, 2016 by madtomic

    ZBDHc871747b85df0092487057c9fc9f1df6

  • Avatar of bigscary bigscary Jan 16, 2016 at 21:01 UTC - 0 likes

    @chinafriend: Go

    I don't support paperspigot, sorry.

    @kemmeo: Go

    The docs explain that players are spread more apart, not the posts. ;) Decreasing density ratio means that a new post will be generated with fewer players blocks detected in the region, so you get more named regions faster over time, spreading new players out more.

  • Avatar of kemmeo kemmeo Jan 15, 2016 at 11:54 UTC - 0 likes

    Call me crazy, but I have been trying to increase the distance between region posts using "DensityRatio: 2.5" but even when generating a new world, the posts are still the same 400 blocks apart

    tested with PopulationDensity 5.3 on PaperSpigot 1.8.8

Facts

Date created
Nov 16, 2011
Categories
Last update
Feb 04, 2016
Development stage
Mature
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Population Density
Downloads
24,015
Recent files
  • R: 5.5 for 1.8.3 Feb 04, 2016
  • R: 5.4.1 for 1.8.3 Jan 20, 2016
  • R: 5.4 for 1.8.3 Jan 14, 2016
  • R: 5.3 for 1.8.3 Dec 07, 2015
  • R: 5.2 for 1.8.3 Dec 04, 2015

Authors