Bed Status

VAULT+ RUST PLUGIN Bed Status 0.1.4

Upgrade or register to download
Official page:

About Bed Status​


The plugin displays the time until the bed cooldown ends in the status bar. Depends on AdvancedStatus plugin.

Features.png

  • The ability to set a limit on the number of displayed bars;
  • The ability to skip sleeping bags with the same unlockTime;
  • The ability to set the bar's deletion time for each type, earlier than the cooldown time expires;
  • The ability to automatically generate language files for different languages(filled in English);
  • The ability to customize the bar for each type of bed;
  • The ability to choose between bar types(TimeCounter and TimeProgressCounter);
  • The ability to specify the order of the bar;
  • The ability to change the height of the bar;
  • The abillity to customize the color and transparency of the background;
  • The ability to set a material for the background;
  • The ability to switch between CuiRawImageComponent and CuiImageComponent for the image;
  • The ability to get images from the local folder(*SERVER*\oxide\data\AdvancedStatus\Images);
  • The abillity to set own image and customize the color and transparency of the image;
  • The abillity to set sprite instead of the image;
  • The ability to customize the color, size, font and outline of the text.


DefaultConfigFile.png

Code:
{
  "Is it worth skipping sleeping bags with the same UnlockTime?": true,
  "Limit on the simultaneously displayed bars. A value of 0 disables the limitation": 5,
  "Limits the length of the displayed bag name. A value of 0 disables the limitation": 20,
  "List of status bar settings for each bag type": {
    "BedStatus_SleepingBag": {
      "Text_Transparency": 1.0,
      "SubText_Transparency": 1.0,
      "BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
      "Order": 21,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material(empty to disable)": "",
      "Image_Url": "http://gitlab.com/IIIaKa/images/-/raw/main/StatusBars/BedStatus_SleepingBag.png",
      "Image_Local(Leave empty to use Image_Url)": "BedStatus_SleepingBag",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": true,
      "Image_Color(Hex or RGBA)": "#FFB200",
      "Image_Transparency": 1.0,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1.0,
      "Image_Outline_Distance(Leave empty to disable). Example '0.75 0.75'": "",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "#F79E61",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 0,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1.0,
      "Text_Outline_Distance(Leave empty to disable)": "",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "#F79E61",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1.0,
      "SubText_Outline_Distance(Leave empty to disable)": "",
      "Time in seconds after which the bar will be destroyed. Leave 0 to destroy the bar when the time expires": 0.0,
      "Time in seconds after which the bar will be destroyed when placing a new sleeping bag. Leave 0 to destroy the bar when the time expires": 5.0,
      "Progress_Reverse": false,
      "Progress_Color(Hex or RGBA)": "#F79E61",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "0 0",
      "Progress_OffsetMax": "0 0"
    },
    "BedStatus_Bed": {
      "Text_Transparency": 1.0,
      "SubText_Transparency": 1.0,
      "BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
      "Order": 22,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material(empty to disable)": "",
      "Image_Url": "https://gitlab.com/IIIaKa/images/-/raw/main/StatusBars/BedStatus_Bed.png",
      "Image_Local(Leave empty to use Image_Url)": "BedStatus_Bed",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": true,
      "Image_Color(Hex or RGBA)": "#FFB200",
      "Image_Transparency": 1.0,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1.0,
      "Image_Outline_Distance(Leave empty to disable). Example '0.75 0.75'": "",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "#F79E61",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 2,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1.0,
      "Text_Outline_Distance(Leave empty to disable)": "",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "#F79E61",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1.0,
      "SubText_Outline_Distance(Leave empty to disable)": "",
      "Time in seconds after which the bar will be destroyed. Leave 0 to destroy the bar when the time expires": 0.0,
      "Time in seconds after which the bar will be destroyed when placing a new sleeping bag. Leave 0 to destroy the bar when the time expires": 5.0,
      "Progress_Reverse": false,
      "Progress_Color(Hex or RGBA)": "#F79E61",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "25 0",
      "Progress_OffsetMax": "0 0"
    },
    "BedStatus_BeachTowel": {
      "Text_Transparency": 1.0,
      "SubText_Transparency": 1.0,
      "BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
      "Order": 23,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material(empty to disable)": "",
      "Image_Url": "https://gitlab.com/IIIaKa/images/-/raw/main/StatusBars/BedStatus_BeachTowel.png",
      "Image_Local(Leave empty to use Image_Url)": "BedStatus_BeachTowel",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": true,
      "Image_Color(Hex or RGBA)": "#FFB200",
      "Image_Transparency": 1.0,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1.0,
      "Image_Outline_Distance(Leave empty to disable). Example '0.75 0.75'": "",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "#E2DBD6",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 2,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1.0,
      "Text_Outline_Distance(Leave empty to disable)": "",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "#E2DBD6",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1.0,
      "SubText_Outline_Distance(Leave empty to disable)": "",
      "Time in seconds after which the bar will be destroyed. Leave 0 to destroy the bar when the time expires": 0.0,
      "Time in seconds after which the bar will be destroyed when placing a new sleeping bag. Leave 0 to destroy the bar when the time expires": 5.0,
      "Progress_Reverse": false,
      "Progress_Color(Hex or RGBA)": "#F79E61",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "25 2.5",
      "Progress_OffsetMax": "-3.5 -3.5"
    },
    "BedStatus_Camper": {
      "Text_Transparency": 1.0,
      "SubText_Transparency": 1.0,
      "BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
      "Order": 24,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material(empty to disable)": "",
      "Image_Url": "https://gitlab.com/IIIaKa/images/-/raw/main/StatusBars/BedStatus_Camper.png",
      "Image_Local(Leave empty to use Image_Url)": "BedStatus_Camper",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": true,
      "Image_Color(Hex or RGBA)": "#FFB200",
      "Image_Transparency": 1.0,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1.0,
      "Image_Outline_Distance(Leave empty to disable). Example '0.75 0.75'": "",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "#E2DBD6",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 0,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1.0,
      "Text_Outline_Distance(Leave empty to disable)": "",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "#E2DBD6",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1.0,
      "SubText_Outline_Distance(Leave empty to disable)": "",
      "Time in seconds after which the bar will be destroyed. Leave 0 to destroy the bar when the time expires": 0.0,
      "Time in seconds after which the bar will be destroyed when placing a new sleeping bag. Leave 0 to destroy the bar when the time expires": 5.0,
      "Progress_Reverse": false,
      "Progress_Color(Hex or RGBA)": "#F79E61",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "0 0",
      "Progress_OffsetMax": "0 0"
    },
    "BedStatus_Static": {
      "Text_Transparency": 1.0,
      "SubText_Transparency": 1.0,
      "BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
      "Order": 25,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material(empty to disable)": "",
      "Image_Url": "https://gitlab.com/IIIaKa/images/-/raw/main/StatusBars/BedStatus_Static.png",
      "Image_Local(Leave empty to use Image_Url)": "BedStatus_Static",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": true,
      "Image_Color(Hex or RGBA)": "#FFB200",
      "Image_Transparency": 1.0,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1.0,
      "Image_Outline_Distance(Leave empty to disable). Example '0.75 0.75'": "",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "#E2DBD6",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 0,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1.0,
      "Text_Outline_Distance(Leave empty to disable)": "",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "#E2DBD6",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1.0,
      "SubText_Outline_Distance(Leave empty to disable)": "",
      "Time in seconds after which the bar will be destroyed. Leave 0 to destroy the bar when the time expires": 0.0,
      "Time in seconds after which the bar will be destroyed when placing a new sleeping bag. Leave 0 to destroy the bar when the time expires": 5.0,
      "Progress_Reverse": false,
      "Progress_Color(Hex or RGBA)": "#F79E61",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "0 0",
      "Progress_OffsetMax": "0 0"
    }
  },
  "Version": {
    "Major": 0,
    "Minor": 1,
    "Patch": 4
  }
}
  • Like
Reactions: jl94x4 and bananz
Back
Top