SpawnJoin
Fully works in 1.9+!
Name: SpawnJoin
Version: 2.0.0
Last update: 25-05-2016 (1.4.x - 1.9.x)
WARNING! IF YOU USE THE SYSTEM THAT GIVES PLAYERS ITEMS, THIS IS NOT (YET) IMPLEMENTED IN V2.0.0, PLEASE REMAIN USING 1.0.6.3!
WARNING! THIS PLUGIN USES METRICS, THIS ALLOWS US TO SEE HOW MANY SERVERS USE THIS PLUGIN, IF YOU DO NOT WANT THIS, DOWNLOAD v1.0.6.2!
GitHub:https:github.com/Rammelkast/SpawnJoin/tree/master/SpawnJoin
Description
This is a new and better Spawn plugin that will tp the users to the spawn every time they join, no matter where they logged out! The plugin is very easy to use and once you have set the spawn point you can tp yourself or even other players to the spawn with only 1 command. This plugin could be very useful for servers like lobby's or mini-games. The plugin will always be updated and if you have requests I will take a look at it!
Usage
V2
There are several commands for this plugin, there are some simple commands that will be explained right here:
- /spawnjoin set - this command will set the spawn at your current location and it will even register where you look, multiworld supported!
- /spawnjoin tp [world] - TP to the spawn of a specific world
- /spawnjoin rl - reload the config
V1(.0.6.x)
The config sets the default spawn point at x;0, y;0, z;0 so do change it as fast as you can before you use it! There are several commands for this plugin, there are some simple commands that will be explained right here:
- /spawnset this command will set the spawn at your current location and it will even register where you look
- /spawntp will tp yourself to the spawn that was just set
- /spawntp [playername] will tp the person you define
If you download the plugin for the first time and you want to give players item(s) you just need to open the config and it will explain itselve, if you don't want any items to be given just type in: Nothing, if you want an item to be given, for example an Apple, just type in Apple, you always need the full name of the item and not the item id!
Permissions V1(.0.6.x)
- SpawnJoin.bypass - If player has this permission, he/she won't get to the spawn when they join and they won't receive the item(s)!
- SpawnJoin.set - If the player has this permission, he/she will be able to set the spawn using the command /spawnset
- SpawnJoin.tp.me - If the player has this permission, he/she will be able to tp himself/herself to the spawn with the command /spawntp
- SpawnJoin.tp.others - If the player has this permission, he/she will be able to tp others(other players that are online) to the spawn with the commang /spawntp [playername]
Config
# Before this plugin will actually work, # # you need to do /spawnset ingame, otherwise # # the plugin will give some errors! # X: 0 Y: 0 Z: 0 Yaw: 0 Pitch: 0 World: 'world' # These are the items a player will receive! ## # You can give them as many as you want and with item_multiple_times # # you can set if you want to give them the items every time they join # # or just if they don't have them in their inventory # # For hubs / lobby's -> with clear_inv_on_quit you can clear inventorys! # # And them give them the items back on join # # Items can be given like this: ITEM / HOW MUCH / LORE OR NAME # give_items: true items: - apple/1/&4Apple item_multiple_times: false clear_inv_on_quit: false
@TheUKOctopus
Might just be in our next update! Thanks for asking ;)
Is there a way you can add names and lures to items?
Thanks!
@VideoGameBlackBelt
Excactly, you can even go to the world and just do /spawnset
@Jordymt
Ok thanks if I get what your saying correctly i go to the config and retype the world spawn and name it CASE SENSITIVE of the world I want?
@VideoGameBlackBelt
You can set the spawn in the world you'd like, it can be another world, the world will be set in the config.
@Tyler I look into it right now ;)
Love the plugin but question, can you add or can I possibly set spawn of a different world to a different world?
OMG. finally !!!!!
this is the plugin i've been looking for.
Rejoin spawnpoint has always been their last logout position which has been driving me crazy, have Multiverse and Essentials and couldn't get them to back to spawn when they rejoin... my problems are solved.
Love the /hub and /lobby commands.
You are a champion
@Jordymt
Let me know and I'll try it again. Thx! Your plugin was out-resourcing WorldGaurd and Essentials!
@MCTylerPVP
Thanks for your reply, it use this much resources because of a for loop. I will upload a newer version where you can disable the for loop! If it's not the for loop I don't really know, because nothing else has changed.
I upgraded to your new version and did a timings survey and this plugin was using 52% of the server resources. I downgraded to the old version and the load was 1%. Whats going on?
@Funtheory
If you use spawnjoin and you've set a spawnpoint players will always spawn there so for a first join there can't be an exception.
@theotherone
Ill look at the error tomorrow and ill send you a pm!
hey guys having a issue with this plugin what is happening Person joins the server for the first time they spawn in a default world we didnt use we created our own spawn for them to spawn at thats where i set the spawn once they have logged out and back in the spawn where the spawn was set only on first join they join in the wrong place making our server look bugged right away how can i fix this ?
@Jordymt
Using the new version hoping it would fix this error spamming my console, nope:
I removed your plugin to see if it was yours and it no longer showed up with your plugin off the server.
This spams whenever a player tries to join a server with Tinkers Construct (Tinkers Workshop Mod) installed. Atleast thats what i think it is.
Either way, very annoying, very spammy, and i cannot add a filter on this with ThisLogMustDie because it has no origin like " Failed to call EntityDamageEvent from SpawnJoin" then i could block that, but i cant this :(
Version 1.0.5.1 for some bugfixes @Zilacon and @MCTylerPVP told me about!
Bugfixes
E: Direct link
@Zilacon
This plugin DOES work but you just 'misused' it. Youve set the spawn in a world and then you delete the world, strange that its wants to tp you there right? Just remove the config or replce the spawnpoint to another world. Yes there are some known bugs, with minecarts for instance, I will upload a newer version this weekend with 2 bug fixes and a reload command. If you have anymore questions or bugs, try to explain them and I will fix them all.
@Jordymt
So far your plugin does not work.
I got your plugin so that it force teleports people to my spawn world no matter where they logged out from, however if they logged out of a mystcraft dimension and it got deleted and they log back in it tries to log them into that deleted world, it does not even bother to teleport them.
I myself tested it in working worlds as well i use Multiworld plugin to handle my worlds and when i logged out of 1 of my worlds and logged back in it did not send me back to my Spawn world.
Please fix your plugin, i need a plugin like this badly for my servers.
@Jordymt
I wasn't asking you to upgrade, I was discussing the setworldspawn command and what it does. I guess I should keep those comments off this page since they have nothing to do with your plugin.
thank you Mr Jordymt the plugin is awesom love it <3 ihobe you add /sethub /setlobby in the next update <3
@MCTylerPVP
Okay sorry, I didn't have the time to look into it but i'll do it this weekend or even earlier.
@Jordymt
The /setworldspawn is not a plugin command, its either a bukkit or a minecraft command. I'm thinking that it is the mysterious change first join spawn command we have been baffled by for years.Oh well, I was hoping as a developer you knew.