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 (orCanSortmethod from API)
Configuration
{
"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 allButtonPositionOffset-- offset from button default positionButtonSize-- size of the buttonButtonColorHex-- button colorButtonCaptionColorHex-- button caption colorButtonCaptionFontSize-- button caption font sizeButtonCaptionIsBold-- button caption font weight
Localization
The plugin is localized.
Developer API
void SortLoot(BasePlayer player)
bool CanSort(BasePlayer player)
SortLoot-- sorts loot in users furnace (if player has furnace opened) -- the same as click to buttonCanSort-- 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
Credits
- Egor Blagov, the original author of this plugin
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

