OneBedPerWorld icon

OneBedPerWorld -----

Players can now own a bed in any world!



Whats OneBedPerWorld?
With OneBedPerWorld you can allow players on your server to place a bed in any world, meaning any player can place a respawn point in any Minecraft world! So perfect for small or larger SMPs!

Features:
• Change all messages & Events
• Set respawn points in all existing worlds
• Modify the default Minecraft RespawnSystem
• Add Blacklisted/Whitelisted Worlds
• Decide if players can sleep in the Nether and the End
• Support for Respawn-Anchors

Config:
Code (YAML):
###########################################################################################################################
# ░█████╗░███╗░░██╗███████╗██████╗░███████╗██████╗░██████╗░███████╗██████╗░░██╗░░░░░░░██╗░█████╗░██████╗░██╗░░░░░██████╗░ #
# ██╔══██╗████╗░██║██╔════╝██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗░██║░░██╗░░██║██╔══██╗██╔══██╗██║░░░░░██╔══██╗ #
# ██║░░██║██╔██╗██║█████╗░░██████╦╝█████╗░░██║░░██║██████╔╝█████╗░░██████╔╝░╚██╗████╗██╔╝██║░░██║██████╔╝██║░░░░░██║░░██║ #
# ██║░░██║██║╚████║██╔══╝░░██╔══██╗██╔══╝░░██║░░██║██╔═══╝░██╔══╝░░██╔══██╗░░████╔═████║░██║░░██║██╔══██╗██║░░░░░██║░░██║ #
# ╚█████╔╝██║░╚███║███████╗██████╦╝███████╗██████╔╝██║░░░░░███████╗██║░░██║░░╚██╔╝░╚██╔╝░╚█████╔╝██║░░██║███████╗██████╔╝ #
# ░╚════╝░╚═╝░░╚══╝╚══════╝╚═════╝░╚══════╝╚═════╝░╚═╝░░░░░╚══════╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝╚══════╝╚═════╝░ #
###########################################################################################################################

#Change this to "false" if you want to disable the plugin
Enabled
: true

#Change this to "false" if you want to respawn ON the bed
#This option also applies to the RespawnAnchor if the option below has been activated!
RespawnNextToBed
: true

#Change this to "true" if you want, that if your respawn-bed got destroyed you can still respawn there
RespawnIfDestroyed
: false

#Change the Blacklisted worlds (if you add one to the list it isnt possible to use this system in this world
BlacklistedWorlds
:
  #Change this to "false" if you want to disable this option
  Enabled
: true
  #If you enable this the blacklist will turn to a whitelist
  ToWhitelist
: false
  #If you die in a blacklisted world the BEDNOTEXISTS Event will get triggered
  #If you disable this the default Minecraft action is performed
  TriggerEvent
: true
  #List of the blacklisted/whitelisted worlds
  Worlds
:
   - world_nether
    - world_the_end

#This actions will happen if the player has no bed in this world
BedNotExists
:
  #Change this to "false" if you want to respawn in the last bed in the overworld (default like vanilla)
  #IMPORTANT: If you disable this the options TryToRespawn, RespawnWorld and Command wont work anymore
  BlockDefaultRespawn
: true
  #If all fails you get teleported to the exact point you died (not recommended, because you could respawn in lava)
  SameCoordinate
: false
  #If the player can't respawn (for example because the bed is destroyed) (and BlockDefaultRespawn is enabled) the plugin will search
  #after the player bets in the worlds listed below, which can be added, and respawns there.
  TryToRespawn
:
    #Enable this function
    Enabled
: true
    #If you set this to "true" the plugin will try to find a bed in all existing worlds
    AllWorlds
: false
    #Select specific worlds
    Worlds
:
     - world
  #Set a respawn world where the player respawns if he died (default minecraft respawnpoint)
  RespawnWorld
:
    #Change this to "false" if you don't want to set a default respawn world
    #NOT RECOMMENDED TO CHANGE!!!
    Enabled
: true
    #Trigger this only if TryToRespawn failed
    OnlyIfTTRFailed
: true
    #Set the world where the player should respawn
    World
: world
  #Enable a Command which should be sent
  Command
:
    #Enable this option
    Enabled
: false
    #Change this to "true" if you want to send the command in the console
    Console
: false
    #Set the command which should be sent (for example /spawn to get back to the spawn)
    Text
: "/spawn"

#All beds in both the Nether and End explode when clicked. This can be disabled with this option!
DisableBedExplosions
:
  #Enable this function
  Enabled
: true
  #If you want to sleep in the nether a respawnpoint will get set! (The Nether/End don't use the minecraft time system)
  TriggerRespawnSystem
: true
  #Disable all BED explosions in worlds where beds can explode (for example in the nether)
  Worlds
:
   - world_nether
    - world_the_end

#Change the command messages and permissions
Commands
:
  #Command: /obpw reload
  reload
:
    Permission
: obpw.reload
    Message
: "&aThe config got reloaded!"
  #Command: /obpw help
  help
:
    Permission
: obpw.help
    Message
: "&eCommands: &a/obpw reload, /obpw help"
  #Command: /obpw deletecache <Player> <Type> <World>
  deletecache
:
    Permission
: obpw.cache
    #Placeholders: %player%, %type%, %world%
    Message
: "&eThe %type%-Cache of the player &a%player% &ein the world &f%world% &ehas been deleted!"

#Change all messages of this plugin
Messages
:
  #Default Placeholders: %world%, %coordinates%, %player%
  Respawn
: "&aYou have been teleported back to the bed in the world &e%world% &abecause you &cdied!"
  SpawnPointSet
: "&aThe Respawnpoint for the world &e%world% &ahas been set"
  BedDestroyed
: "&cYou could not be teleported to the bed/respawnanchor in the world &4%world% &cbecause it was destroyed!"
  #Removed Placeholder here: %coordinates%
  OnBlacklist
: "&cYou could not be teleported to the bed/respawnanchor in the world &4%world% &cbecause the world is blacklisted!"
  SpareBedFound
: "&aSince a spare bed was found in the world &e%world%&a, you have now been teleported to it!"
  BedInWorldNotExists
: "&cI Cannot teleport you to a bed/respawnanchor in the world &4%world%&c, because you don't own one!"
  SleepBlacklist
: "&cThe respawn point could not be set because this world is blacklisted!"
  WorldRespawnPointFound
: "&aSince a default respawnpoint was found in the world &e%world%&a, you have now been teleported to it!"
  CantUseRA
: "&cYou are not able to use a RespawnAnchor in this world!"
  #Removed Placeholder here: %coordinates%, %world%
  NoOtherWorldBedFound
: "&cSince no beds/respawnanchors were found in any of the other worlds entered in the config, no action is now taken!"
  NoBedExists
: "&cI Cannot teleport you to a bed/respawnanchor in any world, because you don't own one!"
  #Added Placeholders here: %permission%
  NoPermission
: "&cYou do not have the permission to execute this command!"
  #Added Placeholders here: %syntax%
  WrongSyntax
: "&cPlease use: &4%syntax%"

#This is the option for the RespawnAnchor
#In this option you can disable, enable and change the functions of this item
RespawnAnchor
:
  #If you set this to "false" you wont be able to use the RespawnAnchor in ANY world (also the nether)
  Enabled
: true
  #IF YOU SET THIS TO "TRUE" YOU WILL ALWAYS GET TELEPORTED TO THE RESPAWNANCHOR INSTEAD OF THE BED WHEN IT IS CHARGED
  Priority
: false
  #If the player isnt in the nether, should the player be teleported to the nether or should he stay in the world
  #and get teleported to the Anchor in his world? "false" for yes (Only if OutsideNether is enabled)
  PreferNether
: true
  #If you set this to "false" you wont be able to place/use respawnanchors in the netherworld again
  InsideNether
: true
  #Blocked Worlds: In All worlds which are listed in this list below you CANT PLACE the respawn-anchor anymore
  OutsideNether
:
    #If you set this to "false" you wont be able to place anchors in this worlds (like blacklist)
    Enabled
: false
    #WorldList: Youre able, if the worldname is on this list, to place, use and charge the RespawnAnchor in this worlds
    Worlds
:
     - world_the_end
  #If you set this to true, the respawn-anchors will use the default minecraft block explode system,
  #THAT MEANS: If one of the "Enabled" options is set to false, the respawn anchor is not blocked when placed but explodes (after 5 clicks)
  Naturally
: false

#IMPORTANT: THIS IS A BUGFIX
#If you enter a world that is in this list, you will be teleported to the spawnpoint to fix the bug! (with the modified coordinates)
TeleportToSpawn
:
  #Enable this feature RECOMMENDED
  Enabled
: true
  #Modify the coordinates
  #+1 number = +1 block away
  #To MODIFY the worlds you need to change the coordinates like in the working example below
  Modify
:
    world_the_end
:
      X
: 0
      Y
: 0
      Z
: 4
    world_nether
:
      X
: 0
      Y
: 0
      Z
: 0
  #Change the worlds
  Worlds
:
   - world_the_end
    - world_nether

#You can find all BedEnterResults here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/player/PlayerBedEnterEvent.BedEnterResult.html
#What does this mean: You can decide if you can set the respawn point for example on day or only if you're able to sleep (default)
ValidResults
:
 - OK

#Change this if you don't want to send feedback to the developer
bStats
: true

#Change this to "false" if all future updates should no longer be downloaded automatically
AutoUpdater
: true

#DO NOT CHANGE THIS
#IF YOU CHANGE THIS THE WHOLE CONFIG WILL BE RESET
config-version
: 1.1
Commands:

/obpw reload
| Reloads the Config
/obpw help | Shows the help-page
/obpw deletecache <Player> <BED/ANCHOR> <WORLD> | Deletes the cache of the bed or anchor in a specific world

[​IMG]
Resource Information
Author:
----------
Total Downloads: 356
First Release: Aug 4, 2022
Last Update: Nov 23, 2024
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings