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.
The plugin is localized.
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>.- activesort.use -- grants ability to use sort button (or CanSort method from API)
Configuration
The settings and options can be configured in the ActiveSort file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.- 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 default messages are in the ActiveSort file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.The plugin is localized.
Developer API
- 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