Beds 1.9

Adds ability to claim multiple beds accessible from a GUI menu

  1. SeqSEE
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://git.cryptechcraft.xyz/cryptechcraft-plugins/beds
    Contributors:
    squidicuz
    Languages Supported:
    es_mx (Spanish), de_at(German)
    This plugin adds the ability to set multiple bed spawns which can be teleported to using the GUI Menu. Super simple, easy to config. If you like this plugin make sure to rate it :)

    As of version 1.9 you must use Paper. https://papermc.io/


    Place a bed a right click it to claim it. A random name will be generated and you will get a chat message that you have claimed the bed.

    Each bed can only have one owner.

    Once owned, if you right click the bed you will get a message of the name in chat, or a message stating the bed is already claimed.

    If you have reached your bed limit you will receive a chat notification when you try to claim another bed.

    Once a bed is broken or removed using the GUI menu by the owner, it will no longer be tracked.

    Additionally beds could be "trapped" with a hard material like obsidian if found, causing the owner to suffocate on teleportation.

    Config
    version DO NOT CHANGE!

    This is for internal use
    tp-cooldown
    default: 60

    How much time in seconds cooldown for teleport
    max-beds
    default: 3

    Maximum number of beds a player can have. Currently if no player changes the name of their bed it can generate 256 unique bed names per player (16 first words & 16 second words), but I don't recommend setting the limit that high unless you add more names by enabling use-custom-names.
    check-update
    default: true

    Check for resource updates at spigotmc.org
    use-custom-names
    default: false

    Use lists from config.yml (bed-names-1 & bed-names-2) to generate names instead of the provided names
    bed-names-1
    Words list for first words used in name generation.
    bed-names-2
    Words list for second words used in name generation.

    bed-limits
    Set bed limits by Vault group. This overrides the max-beds config if a player is a member of a group with a higher limit. If a player is a member of multiple groups, it defaults to the highest number of the limits they own.
    Code (Text):
    version: 1.9
    tp-cooldown: 60
    max-beds: 3
    check-updates: true
    use-custom-names: false
    bed-names-1: ['White', 'Black', 'Blue', 'Red', 'LightBlue', 'Yellow', 'Orange', 'Green', 'Lime', 'Cyan', 'Magenta', 'Brown', 'Purple', 'LightGray', 'Gray', 'Pink']
    bed-names-2: ['Wool', 'Obsidian', 'Cobblestone', 'Diamond', 'Iron', 'Lava', 'Water', 'Block', 'Wood', 'Stone', 'Dirt', 'Tree', 'Log', 'Gravel', 'Grass', 'Glass']
    bed-limits: []

    Commands
    /beds

    Opens the Beds GUI Menu
    /beds setname <OriginalName> <NewName>
    Renames specified bed
    /beds reload
    Reloads configuration file and locale files

    Permissions
    beds.reload
    default: op

    Allows use of '/beds reload' command
    beds.notify
    default: op

    Allows users to see plugin admin notifications

    To add custom limits, in the Beds config bed-limits add a list of groupname:number
    beds-limit:
    - group1:10
    - group2:20
    - group3:30
    To add a new locale simply copy plugins/Beds/lang/en_US.yml and edit the strings to fit your liking. %bedname% can be used as a placeholder for the affected bed's name.

    Rename the file to match a given Minecraft locale https://minecraft.gamepedia.com/Language

    To set your newly created locale set the locale in the config.yml file to your newly created filename (without .yml) and restart the server.

    When a player is using a locale that you have a file for, the messages will be displayed using your chosen phrasing.


    You can even modify the en_US.yml if you choose to and it will display your choices.
    Code (Text):
    lang: en_US
    set-bed-name: "Set bed name to %bedname%."
    no-permission: "Sorry, you don't have permission to perform this command."
    reloaded-config: "Beds config.yml reloaded."
    bed-already-used: "This bed is already used!"
    bed-limit-reached: "Bed limit reached!"
    bed-created: "Created bed %bedname%.\nTo change the name, use /beds setname %bedname% NewName"
    bed-destroyed: "%bedname% was destroyed!"
    rename-exists: "%bedname% already exists!"
    bed-setname: "Set bed name to %bedname%"
    menu-remove: "REMOVE BED"
    menu-up: "UP LEVEL"
    menu-tp: "GOTO BED"
    menu-close: "CLOSE"
    To customize the words used for name generation set use-custom-names to true, and change the words in the 2 lists (bed-names-1 & bed-names-2) in config.yml
    • Click a bed to go to the bed menu.
    • Shift + Right Click a bed to teleport to it.

    [​IMG]

    • Remove or teleport to a claimed bed.
    [​IMG]
    MIT License
    Copyright (c) 2019 CryptechCraft, SeqSEE
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
    • Add more locales
    • Got ideas or suggestions a translation? Feel free to comment them and I'll see what I can do!

    Check it out in action:
    cryptechcraft.xyz:25565

    Discord Support:
    https://discord.gg/UPHPadP

    Images

    1. beds.png

Recent Reviews

  1. dcar_o7
    dcar_o7
    3/5,
    Version: 1.9
    I love the thing ... but all players on my server report losing their bed locations after server restarts. Server is running paper 1.16.5-434.
  2. ChrusKosco
    ChrusKosco
    4/5,
    Version: 1.8
    Needs to have per-world support and yt turtorial for ranks perms for extra beds besides that nice!
    1. SeqSEE
      Author's Response
      Per world support is a great idea, I'll add it in the next release.

      And as for a youtube tutorial I think it would be possible to add one in the near future.

      If you want to ask questions in real time, feel free to join the discord: https://discord.gg/UPHPadP
  3. Senu
    Senu
    3/5,
    Version: 1.6
    i have some problems with the plugin.
    about 20% of all my players can't execute the command /beds including me
    im getting a error meassage :
    an internal error occurred ...
    1. SeqSEE
      Author's Response
      We talked in Discord. Anyone else with an issue can reach me there, or see if 1.7 fixes the issue for them.
  4. Vanikoro
    Vanikoro
    5/5,
    Version: 1.2
    It is a very interesting and intelligent plugin, it is very useful if you like to go exploring, so you can manage your inventory, good job
    1. SeqSEE
      Author's Response
      Thank you!! I'm glad it's improved your in game experience!
  5. bobdunkan
    bobdunkan
    5/5,
    Version: 1.2
    Incredibly innovative and smart. would love it if i can get notifications when there are updates for this plugin
    1. SeqSEE
      Author's Response
      Thanks for the feedback, I think that's a great idea! I'll add it to my issues and get it in an upcoming release.