[MECH] BedRespawn 3.4 - Minimalistic & Invisible [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Dreadreaver, Apr 19, 2011.

  1. Offline

    Dreadreaver

    [​IMG]
    Note: This screenshot is from BedRespawn 2.X

    Feel free to [​IMG] if you want to support me and my plugins

    Download
    BedRespawn enhances Minecrafts home bed function, it allows all players to save their home bed just whenever they right-clicks a bed.

    Features of BedRespawn:
    • No commands
    • Very lightweight
    • Hidden to the player
    • Works at day and at night
    • Saving to Minecraft's home bed data
    • Don't worry about a thing, right-click any bed and you're set
    Changelog (open)
    3.0:
    • Uber performance increase
    • No more Permissions
    • Simplified everything
    • Removed saving to Bukkit's native persistance
    • Added saving to Minecraft's native persistance
    2.0:
    • Improved performance
    • Fixed all (known) bugs
    1.0:
    • Inital release
    • Using Bukkit's native persistance
    • Permissions
     
    staniboy and Zenithas like this.
  2. Offline

    Codisimus

    hmm now if we could only disable the native respawning at bed from happening the few times that it does

    Also perhaps unsetting your respawn (when bed is destroyed or right clicked again) and maybe adding iConomy support

    wait right clicking is how you sleep so right clicking a second time to unset is a bad idea lol, causes sum problems with the paying to set spawn too... maybe when they sleep prompt Set spawn?

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

    Dreadreaver

    Just right-click any bed and your respawn location is set to the location of this bed. It does not matter wether you sleep in it or not.
     
  4. Offline

    Codisimus

    Well I will definitely be putting this on my server, users complain of lag when spawning in the city
     
  5. Offline

    cyberdude

    Permissions Support, because I want to be able to control exactly what groups and people are allowed to use this plugin, all plugins should have Permissions Support. It's so easy to implement that I don't see any reason not too, basically if Permission plugin exists then use it, if not allow players to use this functionality. Always support Permissions until hopefully Permissions are build into Bukkit.
    Also preferably, store the location.txt file everytime someone sets a new spawn location by right clicking the bed.
    Storing only on server is stop is still to risky. At some point the server will crash, definitely if using several other plugins. So please store everytime a new spawn is set.
     
  6. Offline

    davr

    Haven't tried it yet, so maybe you already thought of it, but what happens if someone puts a bucket of lava on top of the bed? will i get stuck in a loop of dying in the lava and respawning?
     
  7. Offline

    RobotGymnast

    Does this work with CraftBukkitUpToDate? If not, could you register it?
     
  8. Offline

    NynjaWitay

    This is is how notch should have implemented beds in the first place. Great work.

    However, I'm having trouble getting the plugin to load. CB684 and MC 1.4

    Code:
    22:28:02 [SEVERE] Could not load 'plugins/BedRespawn.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: com/dreadreaver/bukkit/bedrespawn/BedRespawn : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
            at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:132)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    22:29:04 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    
     
  9. Offline

    RobotGymnast

    I've been having that issue too, so I just removed the plugin.. great if it worked, though.
     
  10. Offline

    MikeC2103

    Yes on permissions.. I'd like to be able to set a "Guest" spawn area then allow all the regulars to use this plugin.
     
  11. same reason as MikeC2103 above.
     
  12. BedRespawn looks like a kickass plugin, but it does not seem to work with #689
    Code:
    [SEVERE] Could not load 'plugins/BedRespawn.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: com/dreadreaver/bukkit/bedrespawn/BedRespawn : Unsupported major.minor version 51.0
    
     
  13. Offline

    RobotGymnast

    @GeneralM13 I don't think it's really fair to expect it to be compatible with anything past the recommended build =/. But yeah, it doesn't work with #684 either.
     
  14. Offline

    Zenithas

    NP, GL! It's bringing up the same error on my own server, would be awesome if this could be fixed.

    +1 diamond
     
  15. Offline

    Nitnelave

    Yeah, permissions would be nice, to have privileged users, trusted users who can set their spawn, and not the others. As for the lava problem, what happens if someone fills the room your bed is in with rock leaving 1 block of height free? do you still appear and suffocate to death?
    Thanks for this plugin, it looks great!
     
  16. Offline

    Zenithas

    Thanks for that!
     
  17. Offline

    anonymous

    I want permissions so I can make this as a donor feature on my server :)
     
  18. Offline

    NynjaWitay

    I downloaded 1.1c and got no errors on startup. I jumped off a cliff and killed myself and it worked! However, my bed was one block of wood above the ocean. Respawning worked, but I fell through my floor and into the water :(

    I plan on moving the bed anyway, but thought it was worth mentioning.

    Thanks
     
  19. Offline

    Dreadreaver

    @cyberdude @MikeC2103 @Graloth @Nitnelave @anonymous and @everybody else

    New version is out!
    Version 1.2
    • Permissions support added!
    • Completly reworked the spawning process:
      • no more spawning in walls or falling through the ground!
      • removing any 2 blocks above your respawn location when you respawn - Suffocation impossible
      • new check if the bed you right-clicked is still there, if it's destroyed you will respawn at the default respawn location
     
  20. Offline

    anonymous

    So if a user uses the /spawn command, they will spawn at their bed, or the default spawn?
     
  21. Offline

    Dreadreaver

    @anonymous
    should be the default spawn, you can only spawn at your bed if you died AND if you have the permission node
    hope thats alright with you as I'm not gonna add commands to my plugin
     
  22. Offline

    anonymous

    Naa thats what I was hoping would happen :)
     
  23. Offline

    MikeC2103

    sweet! gonna check this out right now :)

    Edit: It seems to work as long as I have no other spawn plugins installed.

    Is this still supposed to work with other spawn plugins? I've been using SpawnX for the main spawn point and to set the spawn protect area.

    Would it be possible to get this working together.. or be able to set a Default spawn area through your plugin?
     
  24. Offline

    Dreadreaver

    Another plugin that changes the spawn process would obviously interfere with this plugin, however you can use leightweight plugins to set the default world spawn like you suggested, that wont interfere with my plugin at all.
    There's no need for me to implement that into my plugin as you can just use PlgSpawn =)

    Oh and sorry for the late response, tried to reply yesterday but that was just when the bukkit forum went offline for a bit and after that I had no more time until now ;)
     
  25. Offline

    MikeC2103

    Oh, no problem. thanks a lot for the reply and info! I'll give that a shot!

    One suggestion I have.. Though I know you said you like it to be invisible to the user. Which I like as well.

    I would add a "Spawn Set" message to show up along with the original "Can't sleep during the day" message. or something along those lines. maybe a config option for that?

    Maybe its just me, but I still only see a link to the 1.2a download..

    edit: hehe ok ty

    everything seems to be working great on CB714 :D

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

    Azazel

    Players at my serveur can't respawn to their beds. I also use SpawnX plugin, it's why i have a bug?
     
  27. Offline

    MikeC2103

    Use plgspawn that works for my server.
    http://forums.bukkit.org/threads/admn-plgsetspawn-v4-1-setspawn-and-spawn-for-ops-677.2936/

    :D

    I was just thinking..

    Would it be possible to have ownership of a bed?

    So basically only one person can spawn at any particular bed.

    First right-click sets ownership or something..

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

    NynjaWitay

    So 1.2d works for with MC1.4 and CB684.

    I no longer fall through the bed and into the ocean below. However, your fix introduced a new problem. My friend had his bed under water with only a two high room. When he spawned, the plugin removed a block above his bed to stop him from being stuck, and caused the room to flood. Sadly, I don't have any suggestions for how to fix this.

    I think bed ownership is an interesting idea. I'm personally not going to be installing any permissions mods until Bukkit (or when pigs-fly, Notch) implements their own permission api.
     
  29. Offline

    Shasharala

    Seems to work in CB#733.
    Havn't physically tested it but I don't get any errors in the console.
    Also, it would be nice if the debug output was shortened to something like "BedRespawn Enabled," instead of all the stuff about "DataSourcePool..." and "SubClassFactory..."

    Oi, and what is ebean.properties? I notice it contains no data in it. Is it necessary?
     
  30. Offline

    Dreadreaver

    hey, the datasourcepool and subclassfactory are outputed from bukkits native persistance, have to look if theres some workaround to hide them
    and for the ebean.properties, thats a file bukkits native persistance needs to work and I cant really tell you why its empty or not or why it has to be there, I just create an empty ebeans.properties file so bukkit wont cry about it missing ;)

    and yeah for me its working fine on CB733 too, gonna update the threadtitle once I push out 1.3
     

Share This Page