MyBed
MyBed
Version 0.8.3
NOTE: This plugin requires you have Vault enabled on your server
This plugin allows Players to own Beds so only they can sleep in them (unless they change it to a Guest Bed). Players can also create Inns which can regenerate health for a cost.
Features:
- Supports all major Economies and Permission Plugins thanks to Vault
- MultiWorld support
- Configurable properties
- Custom messages
- Players own a bed when they sleep in it
- A Player cannot sleep in another Player's bed
- A Player cannot destroy another Player's bed
- Signs can be used to make Guest Beds
- Anyone can sleep in a Guest Bed
- Signs can be used to make Inns
- Inns can charge Players to sleep in a bed
- Money from Inns can be sent to a Player or the Server (if sent to the Server, money is simply destroyed)
- Inns can regenerate health
- Only the Owner or an Admin can destroy Guest Beds, or Inns
Setup:
Inn:
Place a sign above the head of the bed with the format as follows:
- First line = Inn
- Second line = Cost: x (x is the amount of money which will be taken from the sleeper and given to the bed owner)
- Third line = Health: x (x is the amount of half hearts regenerated by the sleeper)
- Last line = whatever you want
Here is an example of an Inn sign (Or see picture above):
Inn
Cost: 10.5
Health: 6
Enjoy your stay
Server Inn:
Place a sign above the head of the bed with the format as follows:
- First line = Server Inn
- Second line = Cost: x (x is the amount of money which will be taken from the sleeper and given to the bed owner)
- Third line = Health: x (x is the amount of half hearts regenerated by the sleeper)
- Last line = whatever you want
Here is an example of an Inn sign (Or see picture above):
Server Inn
Cost: 10.5
Health: 6
Enjoy your stay
Guest Bed:
Place a sign above the head of the bed with the following format:
- First line = Guest
- Second line = whatever you want
- Third line = whatever you want
- Last line = whatever you want
Here is an example of a Guest Bed sign:
Guest
Sleep here
Courtesy of:
Codisimus
Permission Nodes:
Currently only supports PermissionsEx
- mybed.own = Needed to own a bed
- mybed.inn = Needed to create an Inn
- mybed.server_inn = Needed to create a Server Inn
- mybed.guest = Needed to create a guest bed
- mybed.admin = Allows you to destroy another Player's Bed
Links
Stable Build | GitHub | Source | Dev Build | Other Plugins
Great plugin! If someone can continue it, pls. add automatic unprotection once owner is innactive X number of days.
Thanks!
Due to my busy schedule and other more popular plugins, I will not be updating this plugin any longer. The source is on GitHub and I would be happy to pass this on to someone who has the time to work on it.
Is this still continued
Dev build seems to work with 1.2.5 Thanks
do you plan on keeping this updated?
@Codisimus Thanks. Yea I tested Vault today. I didn't know it was so lightweight :)
@predawnia
@osiris2013
I have been on vacation... I will be testing my plugins for 1.2.3 this week
@filszyp
unfortunately yes. It is a simple install (just place the jar in the plugins folder) and you don't have to mess with any settings
update please
What if I don't want to use Vault? Am I still forced to install it?
Does My Bed work in 1.2.3? I placed a sign for a Guest bed and it didn't say a guest bed was created.
@Nuinethir
I give all users who are able to create inns the mybed.admin permission so they can break beds.
any updates?
@extrea
I feel like this is an issue that should be addressed by Vault. I have contacted them and am waiting for a response
Possibly add the ability to spend an item such as gold ingots instead?
@Nuinethir
1. Players can break their own beds, Admins can break any bed. Beds are protected from explosions.
2. If the bed is broken, they will return to the spawn point next time the die.
Few quick questions:
1. Is there an option that allows players to break beds?
2. If the bed is broken, on death will the player return to spawn?
Thanks.
@Xordaii
Thanks for the info, I fixed the unhandled exceptions (Version 0.7.1)
This had some NPE and unhandled exceptions when first run, but after correcting the config, setting permissions, and rebooting the server, no errors. Tested Inns and private beds, works great! Thanks for this plugin!