What's New in Version 0.1.3 See changelog
Released
Version 0.1.2 Release Notes:
Hello Rust Community!
I'm excited to present version 0.1.2 of BuildCost UI with this update. Here are the changes and additions I've made:
New Features and Enhancements:
Upkeep Cost panel/ui added.
Upkeep Cost button/ui added.
Chat command of Upkeep Cost "/upkeep" added.
#region UI Upkeep Cost Panel #endregion #region UI Upkeep Cost Button #endregion
[ChatCommand("upkeep")]
Bug Fixes:
The issue when you open first time cost panel was not calculating fixed.
Also command version same problem is fixed.
Null reference issue on console fixed.
[ChatCommand("buildcost")] void OpenBuildCostUI(BasePlayer basePlayer) { if (Configuration.BCButtonActive) return; if (---) { --- switch (---) { case "---": --- --- CalculateBuildCost(basePlayer); break; case "---": --- --- break; } } }
Configuration:
Turn off option for Upkeep Cost added.
Button option for Upkeep Cost added.
Configuration of OffsetMin and OffsetMax added for Upkeep Cost button and panel.
private class ConfigData { [JsonProperty(PropertyName = "Upkeep Cost Button")] public bool UCButtonActive = true; [JsonProperty(PropertyName = "Turn Off Upkeep Cost")] public bool TurnOffUpkeepCost = false; [JsonProperty(PropertyName = "OffsetMin Upkeep Cost Button")] public string UCOffsetMinButton = "-110 -360"; [JsonProperty(PropertyName = "OffsetMax Upkeep Cost Button")] public string UCOffsetMaxButton = "-5 -339"; [JsonProperty(PropertyName = "OffsetMin Upkeep Cost Panel")] public string UCOffsetMin = "-110 -720"; [JsonProperty(PropertyName = "OffsetMax Upkeep Cost Panel")] public string UCOffsetMax = "0 -365"; }
Notes:
This update does not introduce any backward compatibility issues.
Developed based on user feedback and suggestions, this update aims to provide a more stable user experience.