Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Boston
24f8ba7578 Found root cause of why spawn-near-players wasn't working. getOnlinePlayers gets from all worlds; for a server with nether, end, etc. those players can also be selected, but ultimately the player will spawn in the overworld but near the coords of that invisible player in the other world. So, replaced with world.getPlayers to prevent that. 2016-05-08 10:11:37 -04:00
Daniel Boston
7bd34bb4eb Finalized feature description adding javadoc and light documentation in the readme, and more consistent logdebug throughout. 2016-05-07 16:38:35 -04:00
Daniel Boston
c02f5599a0 Seems to work (random points) with the exceptionof newfriend mode, which does not yet appear to function. 2016-05-07 02:45:56 -04:00
Daniel Boston
93f3b73cae Adding in spawn point support. Per world set multiple named spawn points which are randomly pulled from during firstjoin or during a new players first few respawn -- configurable -- and optionally requiring that a player be nearby before using that spawn point. This supplements the other existing methods and co-exists nicely with all. Only thing missing is the commands to add and remove spawnpoints. Also added an event for this, so that conceivably other plugins could cancel the targetted spawn point events. Other spawn types do not call events, however and behave as previously. 2016-05-05 03:52:27 -04:00
BlackXnt
5b5c94a350 commenting out code that cause pillars at the edge of view distance 2015-07-03 15:21:53 +03:00
Suirad
69dd48a04e WorldBorder & Bastion Awareness 2015-06-30 19:15:17 +03:00
Soerxpso
1489af70cb Some general refactoring and fixes,
and I fixed the stuff about exclusion zones. It was broken before.
2015-06-22 23:49:13 -07:00
Soerxpso
dad7e76357 Just some quick minor detail fixes 2015-06-22 21:19:32 -07:00
Soerxpso
1dddc46480 Added exclusion zone 2015-06-22 20:49:29 -07:00
Soerxpso
d48f1f99d6 Added support for spawning within a specified distance from a random player. 2015-06-18 19:26:36 -07:00
Jos
3d6ecf15b6 Readded main class. Now on the right place. 2013-09-22 22:41:47 +02:00