Giter Club home page Giter Club logo

populationdensity's Introduction

populationdensity's People

Contributors

anotherfoxguy avatar apecengo avatar bigscary avatar frankheijden avatar majdt51 avatar muspah avatar robomwm avatar zedwick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

populationdensity's Issues

Adding command: trust player in all claims

I've had a few players on my server ask for a command to trust a player across all of your claims, not just the one you're in.
Some players like to build a small base with many remote areas, using claims to protect them, but going around to /trust a player in every claim is a hassle. Having a /trustallclaims {player} command would be awesome to allow friends to access claims

More PostDesign customization options, to be able to place beacons.

I would like all my Region Posts to generate with beacons so they can be seen from afar. Unfortunately, the closest I can get is this:

PostDesign:
TopBlock: '95:4'
PostBlocks: '138:0'
PlatformOuterRing: '89:0'
PlatformInnerRing: '42:0'

Which almost works, but the "PlatformInnerRing" does not include the block directly under the post, so the beacon doesn't activate. What I'd want is "PlatformInnerRing" to include the 9 blocks under the post; that alone solves the issue, though having two Beacons of each other looks kind of weird.

Ideally, the main post blocks would be defined as "TopBlock", "MiddleBlock" and "BottomBlock" for further customization. so I can have an PlatformInnerRing (9 blocks) of Iron, a Beacon BottomBlock, then glass in TopBlock and MiddleBlock in order to let the beacon through.

This does leave the sign at the top half-covered by the beacon beam, which might be an issue. I propose solving this by having an option which moves that sign from the top, to the free side on the top block; the sign with the World Name faces north, the sign with the Region Name would face south.

Option to simply open a region at random

Heya,

Ive noticed the region "scanner" takes a lot of resources when its being called, i'd like a feature which just selects a random regionpost which does not scan the area but just randomly selects one through the world (and respecting plugins such as WorldBorder + vanilla border).

I hope this is possible :)

Frank

Stopping me from flying

After setting up this plugin, I can no longer fly, weather in creative or /fly

(After using /homeregion )

Message not displayed for /invite'd player

There is an option in my messages.yml, InviteNotification, that supports a message being sent to the player who receives a /invite. I haven't been able to find anything by searching BigScary's repo for this code, and it doesn't currently work.

I would love to see this implemented for showing a message to the recipient of an /invite.

Here's the code I have:

  InviteNotification:
    Text: '{0} has invited you to visit!'
    Notes: '0: inviter''s name'

Essentials Warps Signs on Region Posts

I was wondering if there was a way to get the EssentialsX warp signs to load automatically on to region posts, as I want users to have to travel to the post in order to be able to warp to a specific place, rather than having them use it as a bypass to travelling.

In the config, I added -
North:
- [Warp]
- AuctionHouse
- Everyone
- ''

but it did not seem to like the [], therefore removed the entire top line.

Is there a way to input [] without it conflicting with the code?

EDIT: I changed to '[Warp]' and instead of deleting the line, it just did not enable the warp. Any ideas?

Thank you!

Teleporting to region posts disables flying

Yes, there's still code in here to disable flying (probably to prevent Elytra use). I personally don't use the post teleportation feature however, so it might be a while before I can visit this issue and figure out how to best deal with it.

Crash and major chunk errors after install. Deleting world.

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 19/01/18 7:02 PM
Description: Exception ticking world

java.lang.IllegalStateException: Chunk is already being populated. This may be a bug in OpenTerrainGenerator, but it may also be another mod that is poking in unloaded chunks.
Set PopulationBoundsCheck to false in the WorldConfig to disable this error.
at com.pg85.otg.bukkit.BukkitWorld.startPopulation(BukkitWorld.java:637)
at com.pg85.otg.generator.ObjectSpawner.populate(ObjectSpawner.java:358)
at com.pg85.otg.bukkit.generator.OTGBlockPopulator.populate(OTGBlockPopulator.java:30)
at net.minecraft.server.v1_12_R1.Chunk.a(Chunk.java:979)
at net.minecraft.server.v1_12_R1.Chunk.loadNearby(Chunk.java:935)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.originalGetChunkAt(ChunkProviderServer.java:173)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:140)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:120)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:116)
at net.minecraft.server.v1_12_R1.World.getChunkAt(World.java:333)
at net.minecraft.server.v1_12_R1.World.getChunkAtWorldCoords(World.java:329)
at net.minecraft.server.v1_12_R1.World.getType(World.java:810)
at net.minecraft.server.v1_12_R1.World.b(World.java:605)
at net.minecraft.server.v1_12_R1.World.c(World.java:515)
at net.minecraft.server.v1_12_R1.World.notifyAndUpdatePhysics(World.java:433)
at net.minecraft.server.v1_12_R1.World.setTypeAndData(World.java:412)
at net.minecraft.server.v1_12_R1.WorldGenerator.a(SourceFile:31)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.a(SourceFile:118)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.a(SourceFile:164)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.b(SourceFile:218)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.generate(SourceFile:314)
at com.pg85.otg.bukkit.BukkitWorld.placeTree(BukkitWorld.java:292)
at com.pg85.otg.customobjects.TreeObject.spawnForced(TreeObject.java:103)
at com.pg85.otg.customobjects.TreeObject.trySpawnAt(TreeObject.java:37)
at com.pg85.otg.generator.resource.TreeGen.spawnInChunk(TreeGen.java:170)
at com.pg85.otg.generator.resource.Resource.process(Resource.java:152)
at com.pg85.otg.generator.ObjectSpawner.populate(ObjectSpawner.java:259)
at com.pg85.otg.bukkit.generator.OTGBlockPopulator.populate(OTGBlockPopulator.java:30)
at net.minecraft.server.v1_12_R1.Chunk.a(Chunk.java:979)
at net.minecraft.server.v1_12_R1.Chunk.loadNearby(Chunk.java:935)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.originalGetChunkAt(ChunkProviderServer.java:173)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:140)
at net.minecraft.server.v1_12_R1.PlayerChunk.a(PlayerChunk.java:112)
at net.minecraft.server.v1_12_R1.PlayerChunkMap.flush(PlayerChunkMap.java:169)
at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:317)
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:801)
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
at java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Server thread
Stacktrace:
at com.pg85.otg.bukkit.BukkitWorld.startPopulation(BukkitWorld.java:637)
at com.pg85.otg.generator.ObjectSpawner.populate(ObjectSpawner.java:358)
at com.pg85.otg.bukkit.generator.OTGBlockPopulator.populate(OTGBlockPopulator.java:30)
at net.minecraft.server.v1_12_R1.Chunk.a(Chunk.java:979)
at net.minecraft.server.v1_12_R1.Chunk.loadNearby(Chunk.java:935)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.originalGetChunkAt(ChunkProviderServer.java:173)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:140)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:120)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:116)
at net.minecraft.server.v1_12_R1.World.getChunkAt(World.java:333)
at net.minecraft.server.v1_12_R1.World.getChunkAtWorldCoords(World.java:329)
at net.minecraft.server.v1_12_R1.World.getType(World.java:810)
at net.minecraft.server.v1_12_R1.World.b(World.java:605)
at net.minecraft.server.v1_12_R1.World.c(World.java:515)
at net.minecraft.server.v1_12_R1.World.notifyAndUpdatePhysics(World.java:433)
at net.minecraft.server.v1_12_R1.World.setTypeAndData(World.java:412)
at net.minecraft.server.v1_12_R1.WorldGenerator.a(SourceFile:31)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.a(SourceFile:118)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.a(SourceFile:164)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.b(SourceFile:218)
at net.minecraft.server.v1_12_R1.WorldGenBigTree.generate(SourceFile:314)
at com.pg85.otg.bukkit.BukkitWorld.placeTree(BukkitWorld.java:292)
at com.pg85.otg.customobjects.TreeObject.spawnForced(TreeObject.java:103)
at com.pg85.otg.customobjects.TreeObject.trySpawnAt(TreeObject.java:37)
at com.pg85.otg.generator.resource.TreeGen.spawnInChunk(TreeGen.java:170)
at com.pg85.otg.generator.resource.Resource.process(Resource.java:152)
at com.pg85.otg.generator.ObjectSpawner.populate(ObjectSpawner.java:259)
at com.pg85.otg.bukkit.generator.OTGBlockPopulator.populate(OTGBlockPopulator.java:30)
at net.minecraft.server.v1_12_R1.Chunk.a(Chunk.java:979)
at net.minecraft.server.v1_12_R1.Chunk.loadNearby(Chunk.java:935)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.originalGetChunkAt(ChunkProviderServer.java:173)
at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:140)
at net.minecraft.server.v1_12_R1.PlayerChunk.a(PlayerChunk.java:112)
at net.minecraft.server.v1_12_R1.PlayerChunkMap.flush(PlayerChunkMap.java:169)
at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:317)

-- Affected level --
Details:
Level name: legitimus
All players: 1 total; [EntityPlayer['smellyonionman'/50804, l='legitimus', x=103.72, y=114.89, z=190.22](smellyonionman at 103.71661964337933,114.89435666972685,190.2184580620698)]
Chunk stats: ServerChunkCache: 745 Drop: 25
Level seed: 4511711531055756649
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (658,72,-38), Chunk: (at 2,4,10 in 41,-3; contains blocks 656,0,-48 to 671,255,-33), Region: (1,-1; contains chunks 32,-32 to 63,-1, blocks 512,0,-512 to 1023,255,-1)
Level time: 2079358 game time, 2318598 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 86721 (now: false), thunder time: 76989 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:801)
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_151, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2295464256 bytes (2189 MB) / 3221225472 bytes (3072 MB) up to 3221225472 bytes (3072 MB)
JVM Flags: 9 total; -Xms3G -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:ConcGCThreads=4 -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=40 -XX:G1HeapRegionSize=16M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
CraftBukkit Information:
Running: CraftBukkit version git-Spigot-9b8bba4-bdcc7c7 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) true
Plugins: { CoreProtect v2.14.2 net.coreprotect.CoreProtect [Intelli], dynmap v2.5-Dev201706100405 org.dynmap.bukkit.DynmapPlugin [mikeprimm], ChatSounds v1.6 uk.co.revthefox.chatsounds.ChatSounds [TheReverend403], WorldEdit v6.1.8-SNAPSHOT;cd4729f com.sk89q.worldedit.bukkit.WorldEditPlugin [], Skript v2.2-dev32d ch.njol.skript.Skript [Njol, Mirreski, bensku, TheBentoBox, tim740, Tuke-Nuke, TheLimeGlass, xXAndrew28Xx, Sashie, RoyCurtis, nfell2009, Syst3ms, Snow-Pyon], BountifulAPI v1.6.2 com.connorlinfoot.bountifulapi.BountifulAPI [], SkQuery v3.6.0-Lime com.w00tmast3r.skquery.SkQuery [LimeGlass, w00tmast3r], SmartGiants v2.3.9 me.jjm_223.smartgiants.SmartGiants [jjm_223], Multiverse-Core v2.5.0-b727 com.onarandombox.MultiverseCore.MultiverseCore [Rigby, fernferret, lithium3141, main--, dumptruckman], ProtocolLib v4.3.0 com.comphenix.protocol.ProtocolLib [dmulloy2, comphenix], OpenTerrainGenerator v1.12.2 v4 com.pg85.otg.bukkit.OTGPlugin [Khorn, Olof Cayorion Larsson, RutgerKok, TimeThor, PeeGee85], EasyTickets v1.6.2 me.raum.et.EasyTickets [raum266], ImageOnMap v2.99 fr.moribus.imageonmap.ImageOnMap [], BlocksHub v2.1.1 org.primesoft.blockshub.BlocksHubBukkit [SBPrime], PermissionsEx v1.23.4 ru.tehkode.permissions.bukkit.PermissionsEx [[t3hk0d3, zml]], TreeAssist v5.11.50 me.itsatacoshop247.TreeAssist.TreeAssist [itsatacoshop247], Multiverse-Portals v2.5.0-b751 com.onarandombox.MultiversePortals.MultiversePortals [Rigby, fernferret], Vault v1.6.1 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], GriefPrevention v16.8 me.ryanhamshire.GriefPrevention.GriefPrevention [], PopulationDensity v5.1 me.ryanhamshire.PopulationDensity.PopulationDensity [], ChestShop v3.9.0 (build #52) com.Acrobot.ChestShop.ChestShop [Acrobot, https://github.com/ChestShop-authors/ChestShop-3/contributors], Essentials v2.0.1-b574 com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs, SupaHam, md678685], ChestShopNotifier v1.2.1-SNAPSHOT (build #23) com.wfector.notifier.ChestShopNotifier [BetaBlaze, Phoenix616], MobManager v3.1.0-SNAPSHOT ninja.mcknight.bukkit.mobmanager.P [Michael McKnight (ShadowDog007)], LockettePro v2.9.0 me.crafter.mc.lockettepro.LockettePro [connection_lost], EssentialsChat v2.0.1-b574 com.earth2me.essentials.chat.EssentialsChat [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Okamosy, Iaccidentally],}
Warnings: DEFAULT
Reload Count: 0
Threads: { WAITING Dynmap Render Thread: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_12_R1.DedicatedServer$1.run(DedicatedServer.java:60)], WAITING Thread-4: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), org.bukkit.craftbukkit.v1_12_R1.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:27), java.lang.Thread.run(Unknown Source)], TIMED_WAITING HikariPool-1 housekeeper: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING pool-15-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING pool-12-thread-3: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source), java.util.concurrent.LinkedBlockingQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Unknown Source), org.bukkit.craftbukkit.v1_12_R1.CraftCrashReport.call(CraftCrashReport.java:30), net.minecraft.server.v1_12_R1.CrashReportSystemDetails.a(SourceFile:78), net.minecraft.server.v1_12_R1.CrashReport.h(CrashReport.java:128), net.minecraft.server.v1_12_R1.CrashReport.(CrashReport.java:35), net.minecraft.server.v1_12_R1.CrashReport.a(CrashReport.java:322), net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:806), net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406), net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679), net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577), java.lang.Thread.run(Unknown Source)], TIMED_WAITING threadDeathWatcher-2-1: [java.lang.Thread.sleep(Native Method), io.netty.util.ThreadDeathWatcher$Watcher.run(ThreadDeathWatcher.java:159), io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30), java.lang.Thread.run(Unknown Source)], WAITING Skript variable save thread: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), ch.njol.skript.variables.Variables$2.run(Variables.java:453), java.lang.Thread.run(Unknown Source)], WAITING Dynmap Render Thread: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Thread-11: [java.lang.Object.wait(Native Method), org.dynmap.AsynchronousQueue.running(AsynchronousQueue.java:120), org.dynmap.AsynchronousQueue.access$000(AsynchronousQueue.java:9), org.dynmap.AsynchronousQueue$1.run(AsynchronousQueue.java:83), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Craft Scheduler Thread - 23: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Thread-19: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.ArrayBlockingQueue.take(Unknown Source), ch.njol.skript.ScriptLoader$AsyncLoaderThread.run(ScriptLoader.java:264)], RUNNABLE pool-12-thread-1 Selector0: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), org.dynmap.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:569), org.dynmap.jetty.io.nio.SelectorManager$1.run(SelectorManager.java:290), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Thread-8: [java.lang.Thread.sleep(Native Method), net.coreprotect.consumer.Consumer.run(Consumer.java:103), java.lang.Thread.run(Unknown Source)], RUNNABLE DestroyJavaVM: [], RUNNABLE Server console handler: [org.fusesource.jansi.internal.Kernel32.ReadConsoleInputW(Native Method), org.fusesource.jansi.internal.Kernel32.readConsoleInputHelper(Kernel32.java:761), org.fusesource.jansi.internal.Kernel32.readConsoleKeyInput(Kernel32.java:794), org.fusesource.jansi.internal.WindowsSupport.readConsoleInput(WindowsSupport.java:97), org.bukkit.craftbukkit.libs.jline.WindowsTerminal.readConsoleInput(WindowsTerminal.java:215), org.bukkit.craftbukkit.libs.jline.WindowsTerminal.access$000(WindowsTerminal.java:55), org.bukkit.craftbukkit.libs.jline.WindowsTerminal$1.read(WindowsTerminal.java:157), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2349), net.minecraft.server.v1_12_R1.DedicatedServer$2.run(DedicatedServer.java:85)], WAITING NonBlockingInputStreamThread: [java.lang.Object.wait(Native Method), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278), java.lang.Thread.run(Unknown Source)], WAITING Thread-22: [java.lang.Object.wait(Native Method), java.lang.Thread.join(Unknown Source), java.lang.Thread.join(Unknown Source), com.Acrobot.ChestShop.Updater.Updater.waitForThread(Updater.java:289), com.Acrobot.ChestShop.Updater.Updater.getLatestType(Updater.java:241), com.Acrobot.ChestShop.Updater.Updater.shouldUpdate(Updater.java:508), com.Acrobot.ChestShop.Updater.Updater.versionCheck(Updater.java:466), com.Acrobot.ChestShop.Updater.Updater.access$400(Updater.java:41), com.Acrobot.ChestShop.Updater.Updater$UpdateRunnable.run(Updater.java:586), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Dynmap Render Thread: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Thread-7: [java.lang.Thread.sleep(Native Method), net.coreprotect.thread.CacheCleanUp.run(CacheCleanUp.java:15), java.lang.Thread.run(Unknown Source)], WAITING Skript variable save thread for database 'default': [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), ch.njol.skript.variables.VariablesStorage$1.run(VariablesStorage.java:76), java.lang.Thread.run(Unknown Source)], WAITING ImageOnMap-Image Renderer: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Unknown Source), fr.moribus.imageonmap.components.worker.Worker.run(Worker.java:165), fr.moribus.imageonmap.components.worker.Worker.access$000(Worker.java:47), fr.moribus.imageonmap.components.worker.Worker$1.run(Worker.java:215)], RUNNABLE Netty Server IO #2: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:753), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:409), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886), java.lang.Thread.run(Unknown Source)], RUNNABLE Attach Listener: [], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Unknown Source), java.lang.ref.Reference.tryHandlePending(Unknown Source), java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)], WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], RUNNABLE Netty Server IO #1: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:753), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:409), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Abandoned connection cleanup thread: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:64), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Signal Dispatcher: [], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)], TIMED_WAITING MySQL Statement Cancellation Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], TIMED_WAITING Timer-0: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], RUNNABLE pool-12-thread-2 Acceptor0 [email protected]:8123: [sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method), sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source), sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source), org.dynmap.jetty.server.nio.SelectChannelConnector.accept(SelectChannelConnector.java:109), org.dynmap.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:938), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Java2D Disposer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), sun.java2d.Disposer.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Unknown Source), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], WAITING ImageOnMap-Image IO: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Unknown Source), fr.moribus.imageonmap.components.worker.Worker.run(Worker.java:165), fr.moribus.imageonmap.components.worker.Worker.access$000(Worker.java:47), fr.moribus.imageonmap.components.worker.Worker$1.run(Worker.java:215)], TIMED_WAITING Craft Scheduler Thread - 24: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Netty Server IO #0: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:753), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:409), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886), java.lang.Thread.run(Unknown Source)], RUNNABLE File IO Thread: [java.io.RandomAccessFile.write0(Native Method), java.io.RandomAccessFile.write(Unknown Source), java.io.RandomAccessFile.writeInt(Unknown Source), net.minecraft.server.v1_12_R1.RegionFile.a(SourceFile:324), net.minecraft.server.v1_12_R1.RegionFile.a(SourceFile:263), net.minecraft.server.v1_12_R1.RegionFile$ChunkBuffer.close(SourceFile:244), java.util.zip.DeflaterOutputStream.close(Unknown Source), java.io.FilterOutputStream.close(Unknown Source), java.io.FilterOutputStream.close(Unknown Source), net.minecraft.server.v1_12_R1.RegionFileCache.e(RegionFileCache.java:95), net.minecraft.server.v1_12_R1.ChunkRegionLoader.b(ChunkRegionLoader.java:212), net.minecraft.server.v1_12_R1.ChunkRegionLoader.processSaveQueueEntry(ChunkRegionLoader.java:195), net.minecraft.server.v1_12_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:167), net.minecraft.server.v1_12_R1.FileIOThread.c(SourceFile:37), net.minecraft.server.v1_12_R1.FileIOThread.run(SourceFile:30), java.lang.Thread.run(Unknown Source)], RUNNABLE Netty Server IO #3: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:753), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:409), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886), java.lang.Thread.run(Unknown Source)], TIMED_WAITING pool-16-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING HashSessionScavenger-0: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)],}
Recent tasks from 26343-26373{ChestShopNotifier:com.wfector.notifier.LoginRunner@26277,}
Profiler Position: N/A (disabled)
Player Count: 1 / 20; [EntityPlayer['smellyonionman'/50804, l='legitimus', x=103.72, y=114.89, z=190.22](smellyonionman at 103.71661964337933,114.89435666972685,190.2184580620698)]
Is Modded: Definitely; Server brand changed to 'Spigot'
Type: Dedicated Server (map_server.txt)

Creative mode can't fly.

Hello! i have a server with population density [latest version off the dev.bukkit.com site.. and Essentials v2.0.1 and plugman. the server version is 1.12.2 of spigot.

and the issue is that when i go to creative mode or anyone does, they can't fly. only for the first time trying to fly. and it lasts an indeterminate amount of time and people can fly again once population dencity is disabled. when reenabled, people who weren't able to fly can fly. however, if this is the first time a player has been put into creative, after its been reenabled, they cannot fly. the "list" of players not able to fly seems to be reset when the world is reset.. but apparently has nothing to do with the player data files for inventory and stuff.. because i've been deleting my own file over and over trying to reproduce this bug.

i have zero idea whats going on.. and its not like theres a "stop players from flying: true" in the config.. so i'm reporting this as a bug. and i assume its this plugin because when i disable it, we all can fly.. and the only other plugin is essentials. if i disable essentials, nothing happens. we're still grounded.

Add an option to show a custom help link or none at all.

Please add the option to show a custom help message or not show a help message at all.
image

The reason I'd like to be able to change this is because we've edited the CFG to not allow teleportation and the tutorial linked confuses players.

1.13 Compatability

I recently found this plugin and was hoping to use it on my 1.13 server once we update.
Trying it out first on a dev. server running paper-spigot version git-Paper-134 i got this error on startup:
https://pastebin.com/85dzS9aR

1.14.1

Hey, I was just wondering if you were working on, or planning on working on a version for 1.14.1?

Thank you

Spam in chat when using /visit

Players on my server are smacked with a ton of spam when using /visit {region}.
Happens anytime using /visit. You do not have to tab complete to get the error, it just spams the chat as you type.

unknown

Cannot TP whilst riding a horse

Cannot use /visit or /homeregion whilst riding a horse. Doing so give no chat or log message, just silently fails and does not TP the player.

However, you can if you have the permission node "populationdensity.teleportanywhere".

Region Posts are not Generated

Spigot 1.12 PopulationDensity 5.10
Everything appears to be OK with no errors in the console log.
On a newly created server using the default configurations.

When I log in I am teleported and dropped into the Redstone region and there is no region post.
Confirmed by teleporting to /spawn and then /visit redstone
There is no region post.

Use Travis?

Would adding Travis-CI help the project?

It automatically builds the project and tells GitHub if it could build it successfully. Spigot used it!

Alternatively, GitLab-CI can also be added to build the project.

/spawn is replaced by /homeregion

Hi,

After installing this plugin /spawn teleports you to your homeregion post instead of the world spawn. Is this normal? Is there any way to make /spawn teleport you to the world spawn?

/vr playerName on invisible players

Hi all,

Based on the outcome of running /vr vanishedPlayerName, it's possible to detect if someone is vanished or not. When the given player is vanished, the commandsender gets teleported to the targetplayer's homeregion or receives a message that the targetplayer lives in the wilderness. When the targetplayer is really offline, the player receives a message that there is no player or region with the given name. It might seem a bit farfetched, but players are actually using this at the moment to find moderators in vanish.

It looks like an easy fix by checking if CommandSender#canSee(targetPlayer) around here, but I'd like to check if that's possible without breaking other usecases not known to me before submitting a PR.

Thanks,
Simon

Error on spigot 1.13 when checking chunks for resources

[02:14:38] [Server thread/INFO]: [PopulationDensity] Examining available resources in region "0 1"...
[02:14:38] [Server thread/WARN]: [PopulationDensity] Task #2 for PopulationDensity v5.1 generated an exception
java.lang.NoSuchMethodError: org.bukkit.ChunkSnapshot.getBlockTypeId(III)I
	at me.ryanhamshire.PopulationDensity.PopulationDensity.scanRegion(PopulationDensity.java:1289) ~[?:?]
	at me.ryanhamshire.PopulationDensity.ScanOpenRegionTask.run(ScanOpenRegionTask.java:9) ~[?:?]
	at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:877) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-69774b3-272426a]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]

1.13 compatibility?

Hello! I just fired up a new Spigot 1.13 development build and I noticed there was an error. Also, it's not clear what's the latest version and where to download it. On SpigotMC, it says 5.4.1, on Aquifer it says 5.9, and on GitHub it says 5.10, but in-game it says 5.1 so it's confusing.

5.4

[22:52:23 INFO]: PopDensity: Examining available resources in region "0 0"...
[22:52:23 WARN]: [PopulationDensity] Task #2 for PopulationDensity v5.4.1 generated an exception
java.lang.NoSuchMethodError: org.bukkit.ChunkSnapshot.getBlockTypeId(III)I
        at me.ryanhamshire.PopulationDensity.PopulationDensity.scanRegion(PopulationDensity.java:1140) ~[?:?]
        at me.ryanhamshire.PopulationDensity.ScanOpenRegionTask.run(ScanOpenRegionTask.java:9) ~[?:?]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:877) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at java.lang.Thread.run(Unknown Source) [?:?]

5.10

[22:59:37 INFO]: [PopulationDensity] Examining available resources in region "0 0"...
[22:59:37 WARN]: [PopulationDensity] Task #2 for PopulationDensity v5.1 generated an exception
java.lang.NoSuchMethodError: org.bukkit.ChunkSnapshot.getBlockTypeId(III)I
        at me.ryanhamshire.PopulationDensity.PopulationDensity.scanRegion(PopulationDensity.java:1289) ~[?:?]
        at me.ryanhamshire.PopulationDensity.ScanOpenRegionTask.run(ScanOpenRegionTask.java:9) ~[?:?]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:877) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at java.lang.Thread.run(Unknown Source) [?:?]

It looks like the function org.bukkit.ChunkSnapshot.getBlockTypeId got removed in latest Spigot build, and a lot of stuff was renamed.

First Join

[23:05:32 INFO]: [PopulationDensity] Assigned new player NatoBoram to region redstone at 0 0.
[23:05:33 INFO]: NatoBoram[/127.0.0.1:57414] logged in with entity id 169 at ([world]-14.5, 70.0, -18.5)
>op NatoBoram
[23:05:34 ERROR]: Could not pass event ChunkLoadEvent to PopulationDensity v5.1
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.ChunkMap.a(ChunkMap.java:41) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.ChunkMap.put(ChunkMap.java:134) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.ChunkMap.put(ChunkMap.java:1) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.libs.it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.put(Long2ObjectMaps.java:371) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.ChunkProviderServer.a(ChunkProviderServer.java:207) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at java.util.concurrent.CompletableFuture.uniApplyNow(Unknown Source) [?:?]
        at java.util.concurrent.CompletableFuture.uniApplyStage(Unknown Source) [?:?]
        at java.util.concurrent.CompletableFuture.thenApply(Unknown Source) [?:?]
        at net.minecraft.server.v1_13_R1.ChunkProviderServer.generateChunk(ChunkProviderServer.java:169) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:127) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.CraftWorld.loadChunk(CraftWorld.java:269) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.CraftWorld.loadChunk(CraftWorld.java:161) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.CraftWorld.getHighestBlockYAt(CraftWorld.java:103) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.CraftWorld.getHighestBlockAt(CraftWorld.java:577) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.CraftWorld.getHighestBlockAt(CraftWorld.java:581) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at me.ryanhamshire.PopulationDensity.PopulationDensity.getRegionCenter(PopulationDensity.java:1357) [PopulationDensity.jar:?]
        at me.ryanhamshire.PopulationDensity.PopulationDensity.TeleportPlayerToRegion(PopulationDensity.java:1225) [PopulationDensity.jar:?]
        at me.ryanhamshire.PopulationDensity.PlaceNewPlayerTask.run(PlaceNewPlayerTask.java:41) [PopulationDensity.jar:?]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftTask.run(CraftTask.java:76) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:877) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R1.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
        at me.ryanhamshire.PopulationDensity.DataStore.AddRegionPost(DataStore.java:596) ~[?:?]
        at me.ryanhamshire.PopulationDensity.WorldEventHandler.onChunkLoad(WorldEventHandler.java:91) ~[?:?]
        at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        ... 28 more
[23:05:36 WARN]: [PopulationDensity] Task #18 for PopulationDensity v5.1 generated an exception
java.lang.NoSuchFieldError: ENTITY_ENDERMEN_TELEPORT
        at me.ryanhamshire.PopulationDensity.TeleportPlayerTask.run(TeleportPlayerTask.java:123) ~[?:?]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:877) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-ed1cec9-1c7adf7]
        at java.lang.Thread.run(Unknown Source) [?:?]

I hope you have the intention of bringing it to 1.13 :)

Error when teleporting to region posts

Despite the error, the command still works. However, I have a feeling something unintended is happening here

[02:17:23] [Server thread/WARN]: [PopulationDensity] Task #16 for PopulationDensity v5.1 generated an exception
java.lang.NoSuchFieldError: ENTITY_ENDERMEN_TELEPORT
	at me.ryanhamshire.PopulationDensity.TeleportPlayerTask.run(TeleportPlayerTask.java:123) ~[?:?]
	at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at org.bukkit.craftbukkit.v1_13_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:877) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-69774b3-272426a]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]

Stairs on posts all face south

Looks like I'll be switching to slabs but I also wanted to let you know that in 1.13, all stairs on the outer or inner rings face the same way. It looked a lot better in 1.12! Oh well. Thanks for forking the plugin, it's still awesome.

teleporting animals without a lead

Passive mobs teleport with you when using the /visit command.

From testing it seems like any animal in a 5-6 block radius is teleported with you.

Tested on 1.11.2 spigot.

I updated population density a few days ago, and prior to that people needed to have the animals on a lead for them to be teleported with the player.

Even animals near players with the populationdensity.teleportanywhere permission are teleported. This is a real problem since people can now easily take animals from farms and pens.

Config option to disable dropping players on first join

I would suggest having this as a separate config option to the new PopulationDensity.LaunchAndDropPlayers config. So we can choose to keep it for new players and disable for other teleportation, or (as I would like) to disable it for new players and keep it enabled for other teleportation.

"An internal error occurred while attempting to perform this command"

Hi,

I've just installed this plugin and this is the response I receive when I type in /whichregion
I understand this is likely because I don't have any NEW players on my server.

The plugin displays green when I list my servers plugins and I've been unable to find an answer anywhere on the internet to explain this issue.

Thanks

teleport players to the ground, instead of on top of Region Posts

Hey there! I love this plugin, but you probably hear that all the time. Im not super good at deciphering the backend of plugin structure (outside of configs) so I was hoping you might be able to point me in the right direction on something.

when teleporting to a region post players spawn on top of the post. I cant find a setting to adjust in the config to change how close to the post a player will spawn. Is it possible to let a player spawn within 1-2 blocks of the post? Maybe what I'm looking for is too complicated....

TL;DR
i would like to teleport players to the region posts but not on top of the post. It would be super cool if players would land near the post, on the ground, anywhere in the 5x5 area that is a region post.

Unable to visit when flying / flying breaks

Running paperspigot latest version.
Essentialsx and populationdensity seem to get in a confict when players have fly, and are flying.

When both the Lauchanddrop settings are true and a player is flying. Player gets to the vistit. But it breaks flying until a relog is done.

When disabled fly remains, but when flying players are unable to visit

Am i missing a setting? Or is populationdensity becoming a plugin that try's to do more then it was ment to do?

Exploit: Can "save" drop damage protection for later use by landing in water.

If a player is dropped when travelling to a region post and lands in water, their protection from fall damage will not be activated and will instead protect them from the next fall damage they would receive.

For example, they could /visit a region post, fall into water and then walk to a nearby deep pit and jump down to bedrock without taking damage.

Horses do not properly follow player teleportation while being ridden

Players report that when riding a horse, it does not follow when teleporting from one region post to another. Horses on leads seem to work fine.

When I was able to get a horse to follow me, they became stuck on top of the sign at the very top of the region post. (LaunchAndDropPlayers: false)

Could this be an issue with the new entity naming in 1.11?

Disable animal teleportation

Heya!
My players are experiencing a problem with populationdensity. Animals spawn on regioposts, and even get teleported to the regiopost despite they are already in a farm of a player. How do I toggle this off? In my config file i have set respawn animals false, so that's not an option anymore what it could be.
-Frank

WorldGuard flag conflicts

I've been trying to get to the bottom of an issue with my spawn region, wherein WorldGuard was not suppressing the growth of my grass. I've finally traced the issue to PopulationDensity's option to regrow the grass in a given region.

Since you're updating for 1.13 (thank you,) I figured it might be a good opportunity to check for WorldGuard flags or code in a way that is influenced by them. Disabling is an okay solution, I guess, but 'just so you know.'

Players can teleport outside the world border

Using PD's /visit or /homeregion commands it is possible to teleport to outside the border, which by default will insta-kill the player.

Ideally, Population Density should refuse to teleport a player if the destination is outside the world border. Alternatively, it could send them to the closest spot inside the border.

PD should also refuse to allow a player to /movein to a region where the post is outside the border.

essentials /back

Heya, i was thinking,

Is it possible this plugin could be compatible with the EssentialsX /back command? because now when you do /vr it wont give you the /back location correctly.

-Frank

Error when renaming regions

Despite the error, the region is still renamed on server restart

[02:19:54] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'renameregion' in plugin PopulationDensity v5.1
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at org.bukkit.craftbukkit.v1_13_R1.CraftServer.dispatchCommand(CraftServer.java:693) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.PlayerConnection.handleCommand(PlayerConnection.java:1634) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1469) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot.jar:git-Spigot-69774b3-272426a]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_181]
	at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot.jar:git-Spigot-69774b3-272426a]
	at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot.jar:git-Spigot-69774b3-272426a]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R1.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
	at me.ryanhamshire.PopulationDensity.DataStore.AddRegionPost(DataStore.java:596) ~[?:?]
	at me.ryanhamshire.PopulationDensity.PopulationDensity.nameRegion(PopulationDensity.java:1056) ~[?:?]
	at me.ryanhamshire.PopulationDensity.PopulationDensity.onCommand(PopulationDensity.java:728) ~[?:?]
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-69774b3-272426a]
	... 15 more

Option to re-instate old behavior of teleporting player to top of post

I've actually grown to like the new "drop players on post" feature since I don't allow post teleportation (it's a neat way for new players to join). That being said, I too would find it annoying if I had region post teleportation enabled.

Also wondering if I could do some micro-optimization and disable the damage event handler.

[Question] Custom signs on posts

I'm currently having problems writing the custom signs. None of the text I put in is showing up, I assume I am using bad syntax or not reloading/restarting properly, so a quick sanity check shouldn't hurt.
A copy of the last log is attached and config is pasted below.

Any help is appreciated.

[edit: sadly I cant get the bbcode and singlequotes to not conflict either...]
OS; windows 10 64bit
spigot server version: git-Spigot-5391d73-0ebb9c7 (MC: 1.10.2) (API Version 1.10.2-R0.1-SNAPSHOT)
java version: java 8 update 101 (64bit)
latest.txt server log

  populationDensity:
  NewPlayersSpawnInHomeRegion: true
  RespawnInHomeRegion: true
  CityWorldName: ''
  AllowTeleportation: true
  TeleportFromAnywhere: false
  MaxDistanceFromSpawnToUseHomeRegion: 25
  ManagedWorldName: world
  DensityRatio: 1.0
  MaxIdleMinutes: 10
  LoginQueueEnabled: true
  ReservedSlotsForAdministrators: 1
  LoginQueueMessage: '%queuePosition% of %queueLength% in queue.  Reconnect within
    3 minutes to keep your place.  :)'
  HoursBetweenScans: 6
  BuildRegionPosts: true
  NewestRegionRequiresPermission: false
  GrassRegrows: true
  AnimalsRespawn: true
  TreesRegrow: true
  Max Monsters Nearby For More To Spawn: 2
  ThinOvercrowdedAnimalsAndMonsters: true
  Abandoned Farm Animals Die: true
  Unused Minecarts Vanish: true
  Mark Removed Animal Locations With Shrubs: true
  Remove Wild Skeletal Horses: true
  Disable Monster Grinders When Lagging: true
  Maximum Hoppers Per Chunk: 10
  Boot Idle Players When Lagging: true
  Capture Spigot Timings When Lagging: false
  KeepSpawnRegionPostLoaded: true
  KeepAllRegionPostsLoaded: false
  MinimumRegionPostY: 62
  PreciseWorldSpawn: false
  MinimumWoodAvailableToPlaceNewPlayers: 200
  MinimumResourceScoreToPlaceNewPlayers: 200
  PostProtectionDistance: 2
  Maximum Region Name Length: 10
  PostDesign:
    TopBlock: '89:0'
    PostBlocks: '89:0'
    PlatformOuterRing: '98:0'
    PlatformInnerRing: '98:0'
  Region Name List:
  - redstone
  - dew
  - creeper
  - sword
  - wintersebb
  - fjord
  - vista
  - breeze
  - tide
  - stream
  - glenwood
  - journey
  - cragstone
  - pickaxe
  - axe
  - hammer
  - anvil
  - mist
  - sunrise
  - sunset
  - copper
  - coal
  - shovel
  - minecart
  - railway
  - dig
  - chasm
  - basalt
  - agate
  - boat
  - grass
  - gust
  - ruby
  - emerald
  - stone
  - peak
  - ore
  - boulder
  - hilltop
  - horizon
  - fog
  - cloud
  - canopy
  - gravel
  - torch
  - obsidian
  - treetop
  - storm
  - gold
  - canopy
  - leaf
  - summit
  - glade
  - trail
  - seed
  - diamond
  - armor
  - sand
  - flint
  - field
  - steel
  - helm
  - gorge
  - campfire
  - workshop
  - rubble
  - iron
  - chisel
  - moon
  - shrub
  - zombie
  - stem
  - vale
  - pumpkin
  - lantern
  - copper
  - moonBeam
  - soil
  - dust
  CustomSigns:
    Main:
    - ''
    - Population
    - Density
    - ''
    North:
    - testn1
    - testn2
    - testn3
    - testn4
    South:
    - tests1
    - tests2
    - tests3
    - tests4
    East:
    - teste1
    - teste2
    - teste3
    - teste4
    West:
    - testw1
    - testw2
    - testw3
    - testw4

Dynmap integration

Same as in title. Would be great to present regions borders and region posts as additional layer in DynMap on my server.

Respawn after death kills new players

If a player has not set a bed and dies, they are dropped on the region post and die again from fall damage.

Potentially relevant settings:
NewPlayersSpawnInHomeRegion: true
RespawnInHomeRegion: true
LaunchAndDropPlayers: true
LaunchAndDropNewPlayers: true
PreciseWorldSpawn: true

I have turned launch and drop off for now, but would really like to be able to turn it back on.

1.12 Support

Hi there - is there/when will there be support for 1.12?

Cheers
~Hex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.