About Ultimate Beds – Limiter, Unlock Time, Respawn Cooldown, Bed Distance range and Bed custom decay
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
Quote
This 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.
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", "RolePermission": { "default": { "Player Max Sleeping Bag/Bed limit": 15, "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": { "Player Max Sleeping Bag/Bed limit": 20, "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 } }, "vip2": { "Player Max Sleeping Bag/Bed limit": 40, "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": { "Player Max Sleeping Bag/Bed limit": 60, "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 } } }, "VersionNumber": { "Major": 1, "Minor": 0, "Patch": 9 } }
Basically 4 groups are created, and you can change the settings for each of these groups
default
vip1
vip2
vip3
FIELDS
- Chat Command — Here you can add, edit or delete Commands can be typed in chat (by putting the / character in front of the command), or from console.
- Chat Prefix — Chat message prefix.
- PlayerMaxSleepingBagBed — Defines the maximum number of sleeping bags/beds a player can place.
- SleepingBagUnlockTime — Defines after how many seconds the sleeping bag is ready for use when placed for the first time.
- BedUnlockTime — Defines after how many seconds the bed is ready for use when positioned for the first time.
- SleepingBagRespawnCooldown — Defines after how many seconds the sleeping bag can be used to spawn after the sleeping bag has already been used.
- BedRespawnCooldown — Defines after how many seconds the bed can be used for spawning after the bed has already been used.
- 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 — Enable or disable custom decay. Default: false
- Disable Decay — Disables sleeping bags or beach towels decay. Default: false
-
Delay before decay starts — Delay before the start of the decay for sleeping bags or beach towels without maintenance. Default: 24 hours
- NB: Applies only to newly placed sleeping bags or beach towels, after this group has been assigned to the player.
-
Duration of decay — Time taken for decay and then removal of sleeping bags or beach after decay has started. Default: 12 hours
- Applies to all sleeping bags or beach towels, both old and new, after this group has been assigned to the player.
LOCALIZATION
The plugin, therefore the automatic messages and statistics, are translated into the following languages:
- English
- Italian
Translation files are located in the /oxide/lang folder, here is an example of a /oxide/lang/en/UltimateLocker.json translation file.
You can add translations for other languages by adding them to the folder: /oxide/lang