快速排序在抢劫容器和玩家时添加新的GUI菜单。玩家可以选择要放入容器中的物品类型,甚至可以从容器中掠夺所有物品。还支持不接受玩家物品的自动抢劫容器。

权限
此插件使用权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。- quicksort.use-允许玩家使用快速排序UI和功能
- quicksort.lootall-允许玩家使用战利品所有功能
- quicksort.autolootall-允许玩家使用自动战利品所有功能
命令
此插件使用相同的语法提供聊天和控制台命令。在聊天中使用命令时,请在其前面加上正斜杠: “/”。- /qs on-启用GUI
- /qs off-禁用GUI
- /qs auto-切换自动抢劫
- /qs <s | style> <center | lite | right | custom>-改变GUI风格
- /qs <c | conatiner> <main | wear | belt>-从排序中添加/删除容器类型 (如果在配置中启用了它们)。
配置
设置和选项可以在QuickSort文件下的config目录。建议使用编辑器和验证程序,以避免格式问题和语法错误。
代码:
{
"Global settings": {
"Default enabled": true,
"Default UI style (center, lite, right, custom)": "right",
"Loot all delay in seconds (0 to disable)": 0,
"Enable loot all on the sleepers": false,
"Auto loot all enabled by default": false,
"Default enabled container types": {
"Belt": false,
"Main": true,
"Wear": false
},
"Chat steamID icon": 0,
"Chat command": [
"qs",
"quicksort"
],
"Excluded containers": [
"assets/prefabs/deployable/single shot trap/guntrap.deployed.prefab",
"assets/prefabs/npc/autoturret/autoturret_deployed.prefab",
"assets/prefabs/npc/flame turret/flameturret.deployed.prefab",
"assets/prefabs/npc/sam_site_turret/sam_site_turret_deployed.prefab",
"assets/prefabs/npc/sam_site_turret/sam_static.prefab"
]
},
"Custom UI Settings": {
"AnchorsMin": "0.5 1.0",
"AnchorsMax": "0.5 1.0",
"OffsetsMin": "192 -137",
"OffsetsMax": "573 0",
"Color": "0.5 0.5 0.5 0.33",
"ButtonsColor": "0.75 0.43 0.18 0.8",
"LootAllColor": "0.41 0.50 0.25 0.8",
"TextColor": "0.77 0.92 0.67 0.8",
"TextSize": 16,
"CategoriesTextSize": 14
}
}