Ultimate Beds, allows you to change the number of sleeping bags and beds you can place compared to the basic limit imposed by rust.
You can also decide the time within which a sleeping bag/bed becomes available for spawning and adjust the time for successful spawns, all through various permissions, including VIP permissions.
It also allows you to define the distance between the various beds, preventing them from going into cooldown between them.
You can set a custom decay for sleeping bags or beach towels, so that sleeping bags or beach towels without maintenance have a longer or shorter decay, based on the configuration for each individual group.
Oxide/Carbon compatibility
Permissions
QuoteThis plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>.
To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
ultimatebeds.admin -- Permission to execute commands reserved for admins.
ultimatebeds.default -- Assign the limits configured in the group: default.
ultimatebeds.vip1 -- Assign the limits configured in the group: vip1.
ultimatebeds.vip2 -- Assign the limits configured in the group: vip2.
ultimatebeds.vip3 -- Assign the limits configured in the group: vip3.
These are the groups that are created by default, but you can add and/or edit groups as you wish.
For example, if you change the group vip1 to vip_elite, the permission ultimatebeds.vip_elite will be created
If you create a new group, for example vipvanilla, the permission ultimatebeds.vipvanilla will be created.
COMMANDS FOR ADMIN
Commands can be typed in chat (by putting the / character in front of the command), or from console.
To use these commands you must have the role: ultimatebeds.admin
/ub info -- Shows some information about the state of decay of the sleeping bag or beach towel you are looking at.
Default Configuration
The configurationcan be found in the file: /oxide/config/UltimateBeds.json
{ "Chat Command": [ "ub", "ultimatebeds" ], "Chat Prefix": "UltimateBeds", "Disable Bag Gifting. Default false": false, "RolePermission": { "default": { "Priority. (lower = higher priority)": 100, "Player Max Sleeping Bag/Bed limit": 15, "Exclude camper beds from the limit. Default false": false, "Sleeping bag unlock time after placed": 300, "Bed unlock time after placed": 120, "Sleeping bag respawn cooldown": 300, "Bed respawn cooldown": 120, "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50, "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50, "Sleeping Bag Decay Settings": { "Enable Custom Decay. Default: false": false, "Disable Decay. Default: false": false, "Delay before decay starts. Default: 24 hours": 24, "Duration of decay. Default: 12 hours": 12 } }, "vip1": { "Priority. (lower = higher priority)": 1, "Player Max Sleeping Bag/Bed limit": 60, "Exclude camper beds from the limit. Default false": false, "Sleeping bag unlock time after placed": 60, "Bed unlock time after placed": 30, "Sleeping bag respawn cooldown": 40, "Bed respawn cooldown": 20, "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50, "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50, "Sleeping Bag Decay Settings": { "Enable Custom Decay. Default: false": false, "Disable Decay. Default: false": false, "Delay before decay starts. Default: 24 hours": 24, "Duration of decay. Default: 12 hours": 12 } }, "vip2": { "Priority. (lower = higher priority)": 2, "Player Max Sleeping Bag/Bed limit": 40, "Exclude camper beds from the limit. Default false": false, "Sleeping bag unlock time after placed": 100, "Bed unlock time after placed": 50, "Sleeping bag respawn cooldown": 80, "Bed respawn cooldown": 40, "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50, "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50, "Sleeping Bag Decay Settings": { "Enable Custom Decay. Default: false": false, "Disable Decay. Default: false": false, "Delay before decay starts. Default: 24 hours": 24, "Duration of decay. Default: 12 hours": 12 } }, "vip3": { "Priority. (lower = higher priority)": 3, "Player Max Sleeping Bag/Bed limit": 20, "Exclude camper beds from the limit. Default false": false, "Sleeping bag unlock time after placed": 200, "Bed unlock time after placed": 100, "Sleeping bag respawn cooldown": 180, "Bed respawn cooldown": 80, "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50, "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50, "Sleeping Bag Decay Settings": { "Enable Custom Decay. Default: false": false, "Disable Decay. Default: false": false, "Delay before decay starts. Default: 24 hours": 24, "Duration of decay. Default: 12 hours": 12 } } }, "VersionNumber": { "Major": 1, "Minor": 1, "Patch": 2 } }
Basically 4 groups are created, and you can change the settings for each of these groups
These are the groups that are created by default, but you can add and/or edit groups as you wish.
For example, if you change the group vip1 to vip_elite, the permission ultimatebeds.vip_elite will be created
If you create a new group, for example vipvanilla, the permission ultimatebeds.vipvanilla will be created.
FIELDS
LOCALIZATION
The plugin, therefore the automatic messages and statistics, are translated into the following languages:
Translation files are located in the /oxide/lang folder, here is an example of a /oxide/lang/en/UltimateBeds.json translation file.
You can add translations for other languages by adding them to the folder: /oxide/lang