Inactive [FIX/RPG] SpawnBed v1.5 - Spawn at your bed (Factions) [1.1R3]

Discussion in 'Inactive/Unsupported Plugins' started by Mats391, Aug 11, 2011.

  1. SpawnBed - spawn where you sleep

    SpawnBed allows you to set your spawnpoint to your bed. It requires no commands and has build in check if the bed is obstructed. You can also add RPG features like allowing only one player per bed or checking for the destruction of the bed. Lastly when you use the Factions plugin you can enable hooking into it and it will only allow you to set your spawn in your territory.

    Features:
    • (FIX) Set your spawnpoint to your bed like in SSP
    • (RPG) Allow only one player per bed (configurable)
    • Check for destruction of bed (configurable)
    • Hook into Factions and allow only spawnpoint on your territorySet (configurable)
    Download

    Default Config:
    %p will get replaced by the playername
    Code:
    globalSpawnName: global
    onePlayerBed: true
    factionHook: false
    noSleep: false
    multiworld: false
    excludeWorlds: world_nether,world_the_end
    deniedDestruction: §bYou dont have Permission to destroy a SpawnBed.
    bedObstructed: §bYour SpawnBed is obstructed.
    factions:
      deniedUsage: §bYour SpawnBed must be in territory, where you can build in.
      deniedRespawn: §bYour SpawnBed is no longer in territory, where you can build in.
    checking:
      ownBed:
        reply: §bThis is your SpawnBed.
        obstructed: §bIt is obstructed you wont be able to spawn on it.
        territory: §bIt is no longer in territory you can build in, you wont be able to spawn on it.
      otherBed: §bThis bed is already occupied by %p.
    bindBed: §bYou will respawn at this bed.
    unbindBed: §bYou will no longer respawn at this bed.
    
    Permissions:
    Code:
        spawnbed.use:
            description: Allows you to use SpawnBed
            default: true
        spawnbed.destroy:
            description: Allows you to destroy SpawnBeds
            default: true
        spawnbed.reload:
            description: Allows you to reload SpawnBed
            default: op
    Commands:
    Code:
    /sbreload  Reloads the config
    To convert your old "spawns.yml" file to the new System just copy and rename it to "spawns_[globalSpawnName].yml".
    Changelog:

    Version 1.5
    • Updated to new Eventsystem
    • New Configfile (delete old one!) (see below)
    • New Permissions (see below)
    • New Savesystem
    • Multiworldsupport with 1 bed per world
    • Costumizable messages
    • Added command to reload /sbreload
    Version 1.3
    • Now can set SpawnBed in every territory you can build in
    • new config option "noSleep" (default: false) turns off sleeping
    • permission node: spawnbed.use (default: true) allows the user to use beds as spawnpoint
    Version 1.12
    • another hotfix
    Version 1.11
    • now realy updated for latest Bukkit ;)
    Version 1.1
    • Updated for latest Bukkit (1185)
    • Left Clicking your SpawnBed will unbind you from the bed
     
    Kain888 and APhilosopher like this.
  2. It does not seem to be working on Factions 1.5.9 for me.

    Code:
    19:52:37 [SEVERE] Could not pass event PLAYER_INTERACT to SpawnBed
    java.lang.NoSuchMethodError: com.massivecraft.factions.Board.getIdAt(Lcom/massiv
    ecraft/factions/FLocation;)I
            at mats391.spawnbed.SpawnBedPlayerListener.onPlayerInteract(SpawnBedPlay
    erListener.java:53)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:330)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:171)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:265)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  3. Offline

    aehoooo

    Does this work with 1337?
     
  4. Offline

    Taroan

    If this offered one bed per world, I'd install it immediately. Without it, I'll keep looking for something that does. Nice work linking it with Factions - any chance you'd get it hooked in to Townyadvanced too?
     
  5. Updated to work with 1337 and Factions 1.6
    Version 1.3
    • Now can set SpawnBed in every territory you can build in
    • new config option "noSleep" (default: false) turns off sleeping
    • permission node: spawnbed.use (default: true) allows the user to use beds as spawnpoint
    Download
     
  6. Offline

    l104693

    What is this error?
    Code:
    21:06:23 [SEVERE] Could not pass event PLAYER_RESPAWN to SpawnBed
    java.lang.NoSuchMethodError: com.massivecraft.factions.Board.getIdAt(Lcom/massiv
    ecraft/factions/FLocation;)I
            at mats391.spawnbed.SpawnBedPlayerListener.onPlayerRespawn(SpawnBedPlaye
    rListener.java:165)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.ja
    va:274)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    figurationManager.java:256)
            at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    figurationManager.java:220)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:928)
            at net.minecraft.server.Packet9Respawn.a(SourceFile:26)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:06:23 [INFO] [SpawnControl] Attempting to respawn player MrPanda000 (respawni
    ng).
     
  7. Offline

    w000rm

    Will this work with Essentials? It's my biggest problem with Essentials, when they set a home with a bed, they don't delete that home when the bed is destroyed...
    Will this hook into essentials too?
     
  8. are you using latest version of SpawnBed and Factions?

    just disable essential home function, but my plugin wont give you a teleport function tho.
     
  9. Offline

    Draqo

    Everything works, except the Faction hook and the permission.

    Players can use spawnbed without permission, and I use PEX.
     
  10. i have no problems with the faction hook, weird. make sure to use latest faction version.
    as for permission its default true, so if you want someone to not be able to use this set it to false for him.
     
  11. Offline

    Cap K

    exactly this
    atm there doesnt seem to be a plugin for that. my server despeately needs it
    nice work anyway :)
     
  12. Offline

    Kain888

    Yes it offers one spawn bed per world. :)
     
  13. it doesnt. currently its only 1 bed for all worlds
     
  14. Offline

    Kain888

    Mea culpa. I misunderstood the question, I thought it's about:

     
  15. Offline

    superdupernova

    Has anyone tested this on 1.0?
     
  16. Offline

    w000rm

    Yes, and it's working.
     
  17. Offline

    superdupernova

    For me, it says that their spawn is set there, but when you actually die, you don't respawn there.
     
  18. Offline

    denieru7

    Would it be possible to have configurable messages? You have a typo ("nolonger") and I would also like there to be no messages at all.
     
  19. Offline

    ProjectInfinity

    Wouldn't hurt to have configurable messages. :) I'd also like to see that.
     
  20. Offline

    Zedrackis

    Question about the factions hook, I was playing with it today as Op and noticed I could use beds in the safe zone and wilderness, is that normal?
     
  21. sorry for no update or reply tp your questions, but i was quite busy and kinda forgot about this. anyway i have updated this and tried to add all features you suggested

    Download

    Version: 1.5
    • Updated to new Eventsystem
    • New Configfile (delete old one!) (see below)
    • New Permissions (see below)
    • New Savesystem
    • Multiworldsupport with 1 bed per world
    • Costumizable messages
    • Added command to reload /sbreload
    New Config:
    %p will be replaced with the playername
    Code:
    globalSpawnName: global
    onePlayerBed: true
    factionHook: false
    noSleep: false
    multiworld: false
    excludeWorlds: world_nether,world_the_end
    deniedDestruction: §bYou dont have Permission to destroy a SpawnBed.
    bedObstructed: §bYour SpawnBed is obstructed.
    factions:
      deniedUsage: §bYour SpawnBed must be in territory, where you can build in.
      deniedRespawn: §bYour SpawnBed is no longer in territory, where you can build in.
    checking:
      ownBed:
        reply: §bThis is your SpawnBed.
        obstructed: §bIt is obstructed you wont be able to spawn on it.
        territory: §bIt is no longer in territory you can build in, you wont be able to spawn on it.
      otherBed: §bThis bed is already occupied by %p.
    bindBed: §bYou will respawn at this bed.
    unbindBed: §bYou will no longer respawn at this bed.
    
    Permissions:
    Code:
        spawnbed.use:
            description: Allows you to use SpawnBed
            default: true
        spawnbed.destroy:
            description: Allows you to destroy SpawnBeds
            default: true
        spawnbed.reload:
            description: Allows you to reload SpawnBed
            default: op
    To convert your old "spawns.yml" file to the new System just copy and rename it to "spawns_[globalSpawnName].yml".

    You can use beds in every zone you have the right to build in, so if you have the bypass permission from factions you can use your bed everywhere

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

    seriosbrad

    Mats391

    I would really appreciate it if you could add the option of having /home take you to the bed you have set to a SpawnBed

    This is a very lightweight plugin and would replace one of my heavier plugins.
     
  23. Offline

    Tomass

    It's works for 1.2.3 MINECRAFT version?
     
  24. Offline

    Epyk

    This is a great plugin, please move it to bukkit dev. Gets more attention. Please update, there's no other plugin like it.
     
  25. Offline

    ProjectInfinity

    Dead as of 1.2.5 R4.0. NPEs on both player interact and player respawn.
    Too bad it's not open source, it's been working nicely since September last year.
     
  26. kinda forgot that i made this public, sry :S
    Download
    this is latest version we use on our server and works with latest RB(1.2.5-R4.0). i dont know if i added any more features since the last release here, but should same as in the post above.
    sorry again and dont expect too many updates as i keep forgetting about this
     
  27. Offline

    Epyk

    Thanks for the update, consider putting it on BukkitDev? :eek: Thanks!
     
  28. Offline

    Dark-Skript

    Amazingly this plugin still works today :)

    Thanks a lot!!
     

Share This Page