RUST Chill Diving v1.4.0

No permission to download
You can download a maximum of 0 files within 24 hours
When wearing a diving tank, an oxygen level bar is being displayed in different colours, depending on the level and the actual amount is shown next to it.

When diving, by default, a short alert is given at 100 and a more continuous beeping occurs from 15 on. A second alert is available. Set alerts to 0 if no beep is wanted. A maximum number of alerts a player can have can be omitted by setting the configuraiton value to 0.

One can choose to display the bar, the value or both. A bitmap of which the URL can be changed in the config can be displayed to the left of those. Colors can be adjusted. The last two characters of the color codes are used for the transparancy. If omitted, the default will be used. Information can be repositioned. By default, when having permission, the bar and the value is being displayed.

Players can change the information shown, color levels and alerts when they have the modify permission.

Specific player data can be removed automatically by setting the config option "Remove after offline days". Data of players who haven't been online within the period will be removed. The data is checked once a day.

Permissions​

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>.
  • chilldiving.use - Gives players the ability to use commands and allows the info to be shown.
  • chilldiving.modify - Lets players change what information is shown, modify color levels and alerts.

Configuration​

The settings and options can be configured in the ChillDiving file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.
Code:
Please, Log in or Register to view codes content!

Chat Commands​

The player can enable or disable the functionality:

  • /diving on
  • /diving off
A player can change the information shown:

  • diving view bar
  • diving view value
  • diving view all
Add or update a single alert:

  • diving add alert <number>
    Example: diving add alert 80
To add a repeating alarm till 0 or the next level:

  • diving add alert <number>*
    Example: diving add alert 20*
To remove an alert

  • diving remove alert <number>
    Example: diving remove alert 20
    No * is needed to remove a continuous alert.
To add or update a color range:

  • diving add range <number> <barcolor> <fontcolor>
  • diving remove range <number>
Examples:

  • diving add range 500 #34EB3A #FFFFFF
  • diving add range 500 #34EB3AFF #FFFFFF
  • diving add range 100 Tomato White
The player can check his alerts and ranges by using the following commands:

  • diving show alerts
  • diving show ranges
A player can reset the custom data back to the defaults defined by the configuration:

  • diving reset
Diplays the list of color names:

  • diving colors list
Short info about the color usage:

  • diving colors help

Previews​



Colors​

Colors can be defined by using the hexadecimal value or a color name.

When using hexadecimal values, a custom transparancy can be defined by the last 2 characters.
Code:
Please, Log in or Register to view codes content!
When using color names, following are available. The names are case-sensitive.
Code:
Please, Log in or Register to view codes content!
Author
Box2
Downloads
0
Views
48
First release
Last update
Rating
0.00 star(s) 0 ratings

Share this resource

Similar resources

RUST  Hazmat Diving v2.0.2 GP100.00
Protects players wearing any Hazmat suit while swimming (Supports the new Spacesuit skin)
0.00 star(s) 0 ratings
Downloads
0
Updated