[MECH][TP] Graveyard v0.4.4 - Multiple player respawn locations. [1317]

Discussion in 'Inactive/Unsupported Plugins' started by McSpazzy, Apr 7, 2011.

  1. Offline

    McSpazzy

    Graveyard - Allows server operators to define multiple respawn points.
    Version: v0.4.4

    Just put in plugins directory and off you go. Config files generated on the fly.
    Built and tested with Craftbukkit 1317.

    New development site =D
    http://dev.bukkit.org/server-mods/graveyard/

    Features:
    • Allows admins to define names and coordinates in config files.
    • Players respawn at closest point.
    • Permissions support for commands.
    Note: This currently overrides many other plugins spawn management.



    Commands:

    /gy add SpawnName​
    /gy delete SpawnName​
    /gy list​
    /gy list world​
    /gy closest​
    /gy tp SpawnName​
    /gy tp closest​
    /gy tp random​
    /gy info​
    /gy reload​
    /gy version​

    Feel free to add as many words in the name as you want. Such as 'Super happy fun spawn point of doom' or something equally as awesome.

    Permissions:
    graveyard.command.tp​
    graveyard.command.add​
    graveyard.command.list​
    graveyard.command.closest​
    graveyard.command.delete​
    graveyard.command.message​
    graveyard.command.reload​
    graveyard.command.info​
    graveyard.spawn.[groupname]​
    graveyard.respawn.closest​
    graveyard.respawn.random​
    graveyard.respawn.bed​
    graveyard.respawn.invincible​

    Download v0.4.4
    Download v0.4.3
    Download v0.4.2
    Download v0.4.1
    Download v0.4

    To Do:
    • Point discovery.
    • Proper documentation.
    Coming in next version (Probably):

    Change log:
    Version 0.4.4 - Some pretty big changes.
    • No longer requires permissions to work. If no permissions plugin installed it will automatically let all players spawn at all points.
    • Supports PEX and PermissionsBukkit
    • Took the bed support out for now till I can find a better way to implement it.
    • New points are automatically in the 'default' group which needs no permissions to spawn at, just the graveyard.respawn.closest or random.
    • Updated the configuration code to reflect changes in the new RB.
    Version 0.4.3
    • Option to enable an invincible timer on respawn.
    • Threaded file IO
    • Added commands '/gy tp random' and '/gy tp closest'
    Version 0.4.2

    • Configurable option to check/auto notify if there is a new version
    • Permission to change between closest or random spawn point.
    • Allow beds to be used. If set to true in config, will attempt to spawn player at their bed, if that fails, will default to the random/closest permission.
    Version 0.4.1

    • Added a '/gy reload' command to reload all points.
    Version 0.4

    • Changed permissions to PermissionsBukkit
    • Added per point permissions
    • Added more commands
    • Rewrote some of the code
    Older Versions (open)


    Version 0.3.9pre
    • Support for PermissionsEX.
    Version 0.3.8


    • Custom respawn strings. Change the closest point's by using '/gy message message here'. You can set it to '/gy message none' for no message.
    • Multiworld support.
    • Took out permissions for now...I know, I'm a terrible person.
    Version 0.3.7


    • Fixed the bug caused by the new CB preventing the multiple spawns from working.
    Version 0.3.6


    • Some general code cleanups
    Version 0.3.5


    • Removed support for Towny, will re-add soon.
    • Fixed null when trying to TP to a non existant point.
    • Updated command list
    Version 0.3.2


    • Added support for Towny.
    Version 0.3.1


    • Fixed not creating folders on first load bug. Thanks to @spowney for pointing out my stupid mistake. =D (I forgot to put it back in after the code rewrite)
    Version 0.3


    • Changes to the commands.
    • Changes to the storing of spawn points.
    • Better permissions support.
    Version 0.3pre


    • Basic permissions support.
    • Additional fixes and updates.
    Version 0.2.1


    • This is only an intermediate release to address important bugs and compatibility issues.
    • New add coordinate command that works in game as well as from the console.
    • Fixed a few of the command catch errors. So there should be no more console error spamming.
    • The graveyard points now supersedes beds and other plugins. (The ones I tested) Except those plugins which have their priority set to highest.
    Version 0.2


    • Added in game add point command. (Remove and list still coming)
    Version 0.1


    • Initial Release


    I'm still working on it. Just wanted to get a base version out to feedback/bug reports/feature demands. I'll be adding the commands in as soon as I've finished typing this.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
    AS1LV3RN1NJA and kahlilnc like this.
  2. Offline

    McSpazzy

    @LostSoulFly The error catching code isn't finished yet. try /gy help or /gy add, remove and list arnt done yet.
     
  3. Offline

    BioRage

    @overlordror


    That's why you disable the other functionality of Spawns :)

    @McSpazzy
    I have yet to try this, I can only assume it's like "WoW" where you die, and spawn at the angel (If this is applicable, minus the fact you run 9000 miles to your corpse to spawn)

    So If I set X,Y,Z,A,B,C All around the world, user target to die to nearest graveyard created will spawn their then.

    Intresting... That's a lot of teleporting for me to do.

    ---
    Really appreciate the good work you been doing, almost all your plugins add's to MCRPG Aspects of any RPG system.
    ---

    /me cookie's to McSpazzy
    http://www.muchmenus.com/chocolatechipcookies.jpg
     
  4. Offline

    McSpazzy

    The command to add points by coordinates is coming too, Geeze! It's not even been out a week! =p
     
  5. Offline

    overlordror

    You're offering great functionality for people who want the game to be a bit more about exploration than survival. :3
     
  6. Offline

    McSpazzy

    New release! 0.2.1

    @overlordror @Snowybearr The McMMO spawn clashing should be fixed. Let me know how it goes =D
    @LostSoulFly That command bug is fixed in this new release.
    @BioRage Yeh, It pretty much works like the WoW system.

    Now the most important problems are out of the way. (Unless I missed some?) I'll take a day or several to add the new features. People feel free to keep adding suggestions.

    Also, please let me know the general consensus as to use mysql, sql lite or flat files for data storage.
     
    LostSoulFly likes this.
  7. Offline

    Drewclam

    lol nevermind i just had to reinstall. :p awesome plugin
     
  8. Offline

    LostSoulFly

    Got it set up and working. Love it.

    However, my default world spawn is the same (on top of some random building) and I can't seem to change it to where I would like, but after that Gravbeyard takes over and seems to work mostly perfectly. I've spawned inside the floors several times, not sure if I'm too close to a wall when adding or what, but I'll mess around with it a bit more.

    I tried SpawnX to set my default spawn, and it worked great but every time Graveyard would spawn me somewhere SpawnX would tell me I needed to 'set a spawn' =S

    So I'm a bit lost as to what to do, CommandBook doesn't seem to be helping or hurting, the spawn point is the same with and without it and SpawnX.

    Code:
    00:06:21 [INFO] Plugins: bMobs, ChatBukkit, CommandBook, DeathTpPlus, DropBonus,
     dynmap, Gastronomic, Graveyard, MinecartManiaCore, MoveCraft, NoDrop, Permissio
    ns, PortableTorch, properTime, QuadCoal, RealTools, Rollin, SuperJump, Trade, Wo
    lfPound, Zombie Tag Multi World, MinecartManiaAutocart
    Also, no need for MySQL here.. that's just over kill for my small server for friends. Flatfile or sqlite are much simpler, but I could see the performance increase on LARGE servers that would want to use this.
     
  9. Offline

    McSpazzy

    @LostSoulFly I'll add an option for default spawn. As with the spawning in floors, I've noticed that too. The easiest solution for now, is open up the graveyard.points and add .5 to the height.
     
    LostSoulFly likes this.
  10. Offline

    Snowybearr

    @McSpazzy I thank you for fixing the McMMO issue, however I wanted to use this plugin so bad I actually removed McMMO already and have a new "Level System".

    This plugin is exactly what I wanted, and is amazing, thanks very much for your hard work! :)
     
  11. Offline

    LostSoulFly

    I was upping them by 1, but if .5 works then I'll do that instead. thanks =p
     
  12. Offline

    ichingpow

    Love this plugin man! Keep up the good work.

    Can you please work on it if you aren't already and have some spare time? I can't wait to get the new features. (Especially removal of graveyards)
     
  13. Offline

    peaced

    Awesome plugin.
    Almost what I am looking for :)
    What I wish is being able to make the 1st spawn random.
    So new players starts at a random place. Avoid clusterin.

    But I'll take it as it is, respawn to closest point is indeed usefull too !
     
  14. Offline

    dak393

    Could you fix the CraftBukkitUpToDate URL?
    Code:
    [INFO] Not able to update Graveyard.jar check if URL http://www.mcspazzy.com/minecraft/plugins/Graveyard/Graveyard.zip correct. If not ask the Author to give me the new one
    Looks like the link now isn't static >.>
     
  15. Offline

    McSpazzy

    @dak393 The update url is fixed.

    Also for everyone else. Once the new RB for 1.5 is out. I should have a new version ready with more useful features.
     
    LostSoulFly likes this.
  16. Offline

    peaced

    Random spawn point for new players please:)
    Or at least a command like /randomspawn [player]

    Thanks for the updates anyway :)
     
  17. Offline

    dak393

    Thanks :) Can't wait for new build although next CB build will probably be 1.5_1
     
  18. Offline

    McSpazzy

    @peaced Random how? As not every server runs an unlimited map. Many servers have border restrictions.
     
  19. Offline

    peaced

    Well a random spawn point, picked in the configured spawn points list, defined with /gy add <Point Name>
     
  20. Offline

    McSpazzy

  21. Offline

    peaced

    Thanks, i'm really looking forward for that feature.
     
  22. Offline

    McSpazzy

    @peaced Seems to be a slight problem. The setspawn uses integers. This does not play happy with everything else, seeings as they use doubles. D=
     
  23. Offline

    peaced

    @McSpazzy Ouch, ah well, im not skilled enouth to help you with that, just finished my "HelloWorld" plugin :)
    Just to be sure, i'm not talking about random coordinates here, just choose a random spawn in the list of existing spawn points.
     
  24. Offline

    dak393

    You're using the random function? Why not cast it? ex:
    Code:
    (int) Math.random() * n + 1;
     
  25. Offline

    spowney

    Quick suggestion (although bukkit may solve this problem inherently):

    when adding a remote graveyard point using co-ordinates you need to specify the y (height/depth) co-ordinate.

    I could be bothered travelling to all of the 25 spawn points in my map to find out the co-ords. Is there a way that you can specify the x and z and it calculates the y?
     
  26. Offline

    McSpazzy

    @dak393 its not a problem in getting a random spot, its that if you supply an integer as a location coordinate, it means half of the player will be inside a block. The login spawn code prevents spawning inside blocks by putting them on the highest y block at their coordinates.

    So say if the spawn position coordinates have a Y=67.5, then casting it to int will round it, possibly then giving a position inside a block.

    @spowney Regarding that, this would only work if the spawn was above ground.

    I've released a version of 0.3 for people to try. I don't think there are any bugs...but who knows.
    I'm rewriting some chunks of the code to make it more streamlined and easier to build on, which might take a while. I will fix any horrible bugs in this version of 0.3 that may pop up and release fixes for them them asap. (Probly a bad idea to fork my own projects, but who cares) But the full fledged 0.3 might still be a week or so away. Depends how much I ignore the rest of life's requirements. =D

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

    BioRage

    @McSpazzy any updates on RealTools?:)
     
  28. Offline

    peaced

    Quick test on bukkit 709, no problem so far.
    Any news on respawning on a random point in /gy list ?
     
  29. Offline

    dak393

    Ah I see casting it to an int would put them at 67 aka in a block, strange that spawn uses ints. Would it be possible to use the coordinates after spawn takes affect or to use some code to find next free space up (finding 2 blocks of air up(just like worldedit and some other tp plugins do))
     
  30. Offline

    peaced

    I got an issue on bukkit 709
    I was dead and restarted server, then each time I log in, the client would throw me "internal server error"
    here is the console :
    Then the [SEVERE] goes in a loop
     
  31. Offline

    McSpazzy

    Ah snap! I thought I got that bug. I'll have another loot into it.
     

Share This Page