BlackSpigot
Active Sort for Rust

  • Permissions
  • Configuration
  • Localization
  • Developer API
  • Preview
  • Credits
This plugins sorts furnaces and refineries on button click. Shows a single button that can be fully configured (color, font weight, font color, size, position). The plugin has an API, so you can disable button display, and integrate it with your own UI.

Permissions​

  • activesort.use -- grants ability to use sort button (or CanSort method from API)

Configuration​

Code:
{
  "ShowUI": true,
  "ButtonPositionOffset": {
    "x": 0.0,
    "y": 0.0
  },
  "ButtonSize": {
    "x": 115.0,
    "y": 30.0
  },
  "ButtonColorHex": "#6F8344",
  "ButtonCaptionColorHex": "#A5BA7A",
  "ButtonCaptionFontSize": 16,
  "ButtonCaptionIsBold": true
}
  • ShowUI -- show or hide button at all
  • ButtonPositionOffset -- offset from button default position
  • ButtonSize -- size of the button
  • ButtonColorHex -- button color
  • ButtonCaptionColorHex -- button caption color
  • ButtonCaptionFontSize -- button caption font size
  • ButtonCaptionIsBold -- button caption font weight

Localization​

The plugin is localized.

Developer API​

Code:
void SortLoot(BasePlayer player)
bool CanSort(BasePlayer player)
  • SortLoot -- sorts loot in users furnace (if player has furnace opened) -- the same as click to button
  • CanSort -- can sort furnace, it contains all checks -- if player has loot opened, if it is a furnace or refinery and whether or not player has the permission

Preview​

DEMO

Credits​

  • Egor Blagov, the original author of this plugin
Author
Wifi
Downloads
0
Views
4
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Wifi

Top