Plugin category: TP Suggested name: instajoinspawn What I want: a plugin that wil tp you to the spawn point from essentials and everytime you join the server you wil be teleported to the spawn Ideas for commands: No commands needed for this plugin. Ideas for permissions: instaspawn.bypass
Any command on join will do I guess? ( just to help others ) Dutch : Het is een simpel idee, als ik tijd heb en het is nog niet gemaakt dan maak ik het wel voor je
Code:java @EventHandlerpublic void onPlayerJoin(PlayerJoinEvent event) {Player p = event.getPlayer();if (p.hasPlayedBefore()) {p.teleport(p.getWorld().getSpawnLocation());}} Go compile.
LaxWasHere Code:java @EventHandlerpublic void onPlayerJoin(PlayerJoinEvent event) {Player p = event.getPlayer();p.teleport(p.getWorld().getSpawnLocation());} Think this will do
I don't think most people requestng plugins will have a compiler @kaketo "When I'd like it by: ASAP" I think it's best to not include that... it makes you seem kinda bossy.
Download Default command is spawn, don't place an slash in the config, or else it will say unknown command every time XD There is no bypass though
nice, but could you do it that you are at spawn if you join? so it there's no delay before teleporting and it wont show in the chat "starting to teleport" "teleporting"
Just saying there is a function of this in essentials , you just needed to turn it into true in the config
Under "EssentialsSpawn". Note, you also need to get EssentialsSpawn in order for this to work. It comes with the EssentialsCore.zip-file. /Aron
i can only find this Code: ############################################################ # +------------------------------------------------------+ # # | Essentials Spawn / New Players | # # +------------------------------------------------------+ # ############################################################ newbies: # Should we announce to the server when someone logs in for the first time? # If so, use this format, replacing {DISPLAYNAME} with the player name. # If not, set to '' #announce-format: '' announce-format: '&dWelcome {DISPLAYNAME}&d to the server!' # When we spawn for the first time, which spawnpoint do we use? # Set to "none" if you want to use the spawn point of the world. spawnpoint: newbies # Do we want to give users anything on first join? Set to '' to disable # This kit will be given regardless of cost, and permissions. #kit: '' kit: '' # Set this to lowest, if you want Multiverse to handle the respawning # Set this to high, if you want EssentialsSpawn to handle the respawning # Set this to highest, if you want to force EssentialsSpawn to handle the respawning respawn-listener-priority: high # When users die, should they respawn at their first home or bed, instead of the spawnpoint? respawn-at-home: false
Code: # When we spawn for the first time, which spawnpoint do we use? # Set to "none" if you want to use the spawn point of the world. spawnpoint: newbies Set to "none". In game, type /setspawn [default group]. For example, /setspawn Guest /Aron
This is good but when I set the spawn the player is always facing south? can you change it so whatever direction the player is standing in when you make the spawnpoint, that is the direction they will be facing when you connect to the server.
and for some reason the player doesn't spawns in the middle of the block :/ it doesn't realy matters but it would be good if they spawn in the middle
kaketoe This is because the spawn is on the corner of the block, but will add an option for this also
If you use Essentials, EssentialsSpawn, and VariableTriggers, then you can make them spawn in the middle of the block.
https://www.dropbox.com/s/b3ls2ohfeohhs6e/InstaSpawn.jar Angle is just an number Middleblock boolean so true/false kaketoe