Inactive [TP] HeroSpawn - Spawn first time users in a different location v2.0. [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by shadrxninga, Jun 10, 2011.

  1. Offline

    shadrxninga

    HeroSpawn
    Version: 2.0
    CraftBukkit Version: 1.2.3-R0.1 (Works on 1.1-R6 too)
    Spawns first time users in a different location!

    Note: Essentials Spawn will break this plugin, making it useless. I am working on a fix.

    Download: Here

    Do you have a tutorial area that you have to go through every time you respawn? Not anymore!
    HeroSpawn allows you to set a new spawn point called a "HeroSpawn", so when a user joins your server for the first time, they'll spawn there instead!

    HeroSpawn 2.0 also works with multiple worlds, when I user joins a world on your server for the first time, you can send them to the "HeroSpawn" of that world.

    Features
    • MultiWorld Support (Finally :) )
    • Easy to use commands
    • Knows who's already joined! (Even before the plugin was installed)
    Commands and Permissions
    • /herospawn - Lists help for commands you have permission to use
    • /herospawn set (herospawn.set) - Sets the HeroSpawn of the world you are in to your current location
    • /herospawn tp [world] (herospawn.tp) - Teleports you to the herospawn of the world given, or the current world you are in.
    Changelog

    Version 2.0
    • Completely rewrote
    • Added multiworld support
    • Improved /herospawn tp command
    Bugs and Support
    If have a problem or find any bugs, please head over to the BukkitDev page and file a ticket and I'll try and respond as soon as possible.

    Donations
    It takes up quite a bit of my time to develop plugins, if you're feeling generous - a donation of any size would be greatly appreciated!

    You can donate using PayPal here.

    Note
    This plugin uses Hidendra Plugin Metrics to collect usage data. If you wish to opt-out from this, then take a look in the config.yml in the PluginMetrics folder and change 'opt-out' to true.
    http://metrics.griefcraft.com/plugin/HeroSpawn
     
  2. Offline

    Kainzo

    *stamps Herocraft Coding Approval*
     
    Daniel Heppner and Afforess like this.
  3. Offline

    MikeA

    I like this :D. Unique idea.
     
  4. Offline

    kahlilnc

    How bout different spawns for different groups included in this or compatible with groupspawn plugin?
     
  5. Offline

    Kainzo

    This isnt a bad idea. It could be done - however might add some unnecessary weight to a very simple and highly wanted plugin.
     
    kahlilnc likes this.
  6. Offline

    shadrxninga

    I'm not sure if this is compatible with groupspawn or not. I suppose you could try it out and see. If not I will test that out later today.
     
    kahlilnc likes this.
  7. Offline

    kahlilnc

    I can try in a sec.

    Dl link not working for me?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    shadrxninga

    Should be working now :D
     
    kahlilnc likes this.
  9. Offline

    Pencil

  10. Offline

    shadrxninga

    No, it's not unique... but this plugin works better than that one as it checks if the user has a player.dat file and it doesn't write every player that joins to a file. Also FirstSpawn was having problems on HeroCraft, and doing some weird things. Which is why this was written.
    This plugin will also work with previous worlds as it knows who has joined your world since it was created, not since the plugin was installed.
     
    kahlilnc likes this.
  11. Offline

    MikeA

  12. Offline

    Pencil

    .______________________.

    Hey! that was completely unnecessary as i love yu guy's heroplugins and i use a few of them :D I was gonna ask what the difference was and thought of that, I will probably add yours on my next update i was simply pointing out that there was already a plugin that does this, not as good but it worked :D
     
  13. Offline

    Kainzo

    The difference is - ours is stable and will be maintained ;) not to mention if you /reload Firstspawn - it will have a HIGH chance of crashing.
     
  14. Offline

    Pencil

    Wow? never happened :D Well, I'm gonna change to yours once I do my updating anyways :p
     
  15. Offline

    kahlilnc

    Well with .dat when reloading you have a chance of the files on the .dat to be deleted like izone before they immigrated to sqlite.
     
  16. Offline

    Kainzo

    Use the plugin if you like it - or dont - in either case, we released it for public use.
     
  17. Offline

    Kainzo

    Works on 860 :)
     
  18. Offline

    Asphodan

    Is there a way to force everyone to go to the HeroSpawn, even if they've already been to the server?

    I do the Tutorial zone thing, and every now and again I add to it. I don't want pre-exisiting members to skip out on the Spawning, and miss important information, just because they've been around a bit.

    It was easy with FirstSpawn, I just deleted its folder and re-set spawnpoint.

    And, the ability to port to the HeroSpawn on a whim, will be sorely missed. It's nice to pop in, invisible, behind someone who just logged in and you feel the need to follow. It's easy to get an idea of who'll grief: Those who care, will read the posted signs. Those who don't, won't.
     
  19. Offline

    Kainzo

    In the current set up - that's a little hard to pull off. First spawn was able to do that because it does not read the .dat file
     
  20. Offline

    shadrxninga

    That's already there, just use /herospawn and you'll be teleported there.

    As for making members that have already joined the server go back to hero spawn. I'll take a look into it and see what I can do.
     
  21. Offline

    Kainzo

    It wouldnt be a bad concept - but ultimately that can be handled by another plugin. This plugins core intention is to manipulate the INITIAL spawn point - not later spawn points - thats already handled and controlled by several plugins.
     
  22. Offline

    Guniv

    Add group support, please!
     
  23. Offline

    shadrxninga

    Why would this need group support? All it does is send first time users to a different location on first login.
     
  24. Offline

    Joy

    This is firing at the wrong time:

    15:26:44 [INFO] [HeroSpawn] Soender: logged in for first time. Teleporting them to First Spawn
    15:26:44 [INFO] Disconnecting Soender [/188.181.150.46:58720]: Server is full, your queue position i

    He's not even managed to really login :p
     
  25. Offline

    shadrxninga

    It needs to be fired on login... - Not on player join. Otherwise the player.dat file would have already been created and the plugin wouldn't work :p . I might make a config with an option to read from player.dat files. The other option would be to record everyones name in a file. So this won't happen... - I will see if I can fix it happening if the player gets disconnected before he actually logs in first though.
     
  26. Offline

    Guniv

    I manage a server with three nations that people specify before they join
     
  27. Offline

    Joy

    Mmm I used to get this functionality from the plugin SpawnControl. But that provides other features I no longer need, hence the switch. But that plugin did it fine after the player actually entered, not sure how tho. Or maybe it already did a check before that but didn't say anything, not sure. Perhaps can check how he does it to compare :p
     
  28. Offline

    shadrxninga

    I think he does it by recording everyones name either in a file or in the database he has set up for homes etc. So he can fire the event on player join. On player login I am checking if the file is there. If it isn't, then on player join it teleports them to the point set.
    I will make it an option in a config, so you can choose to either read from player.dat files or a separate file that records all the player names. Which will stop that problem from happening if they get disconnected before the actually join the game.
     
  29. Offline

    Joy

    Ah right, that could be it. You could also add optional iConomy integration, then just check if they have an entry in iConomy table ;)
     
  30. Offline

    Kainzo

    In our attempt to keep our plugins as lightweight as possible, we wont add iConomy integration to an initial spawning plugin, that's just cruel ;)
     

Share This Page