插件介绍
在存储盒中添加排序按钮,允许您按名称或类别对项目进行排序
Default configuration:
主要用途
主要用于sorting、stacking、物品等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v2.8.0,uMod 累计下载 55,256 次。
适用场景
- 需要调整建造、物品、制作或采集体验的服务器
功能分类
查看 uMod 官方英文简介
Adds a sort button to storage boxes, allowing you to sort items by name or category
权限节点
sortbutton.use - Allows players to see the sort button and use all features of the plugin
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
sortbutton - Enable/Disable Sort Button.
sortbutton <sort | type> - change sort type.
相关依赖
- Backpacks
- Clans
- Friends
配置说明
Default configuration:
{ "Default enabled": true, "Default sort by category": true, "Check ownership": true, "Use Clans": true, "Use Friends": true, "Use Teams": true, "Chat steamID icon": 0, "Chat command": [ "sortbutton" ], "Containers by short prefab name": { "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/content/vehicles/boats/rowboat/subents/rowboat_storage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/content/vehicles/horse/ridablehorse.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/content/vehicles/modularcar/subents/modular_car_1mod_storage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/content/vehicles/modularcar/subents/modular_car_camper_storage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/content/vehicles/snowmobiles/subents/snowmobileitemstorage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/content/vehicles/submarine/subents/submarineitemstorage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/composter/composter.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/dropbox/dropbox.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/fridge/fridge.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/hitch & trough/hitchtrough.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/abyss_dlc_large_wood_box/abyss_dlc_storage_horizontal/abyss_barrel_horizontal.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/abyss_dlc_large_wood_box/abyss_dlc_storage_vertical/abyss_barrel_vertical.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/jungle_dlc_large_wood_box/jungle_dlc_storage_horizontal/wicker_barrel.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/jungle_dlc_large_wood_box/jungle_dlc_storage_vertical/bamboo_barrel.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/medieval_large_wood_box/medieval.box.wooden.large.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/warhammer_dlc_large_wood_box/krieg_storage_horizontal/krieg_storage_horizontal.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/large wood storage/skins/warhammer_dlc_large_wood_box/krieg_storage_vertical/krieg_storage_vertical.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/minifridge/minifridge.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/small stash/small_stash_deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/tool cupboard/cupboard.tool.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/tool cupboard/retro/cupboard.tool.retro.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/tool cupboard/shockbyte/cupboard.tool.shockbyte.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/vendingmachine/vendingmachine.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/wall cabinet/electric.wallcabinet.deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/woodenbox/skins/pilot_hazmat_wooden_box/pilot_hazmat_woodbox_deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/misc/decor_dlc/storagebarrel/storage_barrel_b.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/misc/decor_dlc/storagebarrel/storage_barrel_c.prefab": { "Enabled": true, "OffsetX": 476.5 }, "assets/prefabs/misc/halloween/coffin/coffinstorage.prefab": { "Enabled": true, "OffsetX": 476.5 } }, "Containers by skin ID": {} }
Default enabled (true or false) -- While true, the sort button will be enabled for players by default. Players can toggle the sort button with the sortbutton command.
Default sort by category (true or false) -- While true, the sort button will use category mode by default. Players can toggle the mode with the sortbutton <sort | type> command.
Check ownership (true or false) -- While true, players can only sort containers owned by them or teammates/friends/clanmates (if those settings are enabled). Regardless of this setting, all players can sort unowned containers such as vehicle containers.
Use Clans (true or false) -- While true, players can sort containers owned by their clanmates while Check ownership is enabled.
Use Friends (true or false) -- While true, players can sort containers owned by their friends while Check ownership is enabled.
Use Teams (true or false) -- While true, players can sort containers owned by their teammates while Check ownership is enabled.
Chat steamID iconDetermines the icon that will be printed in chat when the player uses the sortbutton command.
Chat commandDetermines which commands players can use to change sort button functionality. By default, only the "sortbutton" command is available, but you can add more such as "sb" if you want.
Containers by short prefab nameThis section allows you to configure whether the sort button will be enabled for each type of container, as well as where the button will be positioned.Enable (true or false) -- While true, the sort button will appear for this type of container, as long as the player has the sort button enabled.OffsetX -- Determines where the sort button will be horizontally positioned (relative to the center of the screen). The vertical position is determined automatically based on the type of container and its capacity.
Containers by skin IDThis section works like Containers by short prefab name, but allows you to override the behavior for containers with specific skin IDs. This is useful for special containers managed by other plugins, as long as they have a consistent skin or range of skins.
Enable (true or false) -- While true, the sort button will appear for this type of container, as long as the player has the sort button enabled.
OffsetXDetermines where the sort button will be horizontally positioned (relative to the center of the screen). The vertical position is determined automatically based on the type of container and its capacity.
官方配置示例
{
"Default enabled": true,
"Default sort by category": true,
"Check ownership": true,
"Use Clans": true,
"Use Friends": true,
"Use Teams": true,
"Chat steamID icon": 0,
"Chat command": [
"sortbutton"
],
"Containers by short prefab name": {
"assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/content/vehicles/boats/rowboat/subents/rowboat_storage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/content/vehicles/horse/ridablehorse.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/content/vehicles/modularcar/subents/modular_car_1mod_storage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/content/vehicles/modularcar/subents/modular_car_camper_storage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/content/vehicles/snowmobiles/subents/snowmobileitemstorage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/content/vehicles/submarine/subents/submarineitemstorage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/composter/composter.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/dropbox/dropbox.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/fridge/fridge.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/hitch & trough/hitchtrough.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/box.wooden.large.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/abyss_dlc_large_wood_box/abyss_dlc_storage_horizontal/abyss_barrel_horizontal.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/abyss_dlc_large_wood_box/abyss_dlc_storage_vertical/abyss_barrel_vertical.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/jungle_dlc_large_wood_box/jungle_dlc_storage_horizontal/wicker_barrel.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/jungle_dlc_large_wood_box/jungle_dlc_storage_vertical/bamboo_barrel.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/medieval_large_wood_box/medieval.box.wooden.large.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/warhammer_dlc_large_wood_box/krieg_storage_horizontal/krieg_storage_horizontal.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/large wood storage/skins/warhammer_dlc_large_wood_box/krieg_storage_vertical/krieg_storage_vertical.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/minifridge/minifridge.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/small stash/small_stash_deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/tool cupboard/cupboard.tool.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/tool cupboard/retro/cupboard.tool.retro.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/tool cupboard/shockbyte/cupboard.tool.shockbyte.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/vendingmachine/vendingmachine.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/wall cabinet/electric.wallcabinet.deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/woodenbox/skins/pilot_hazmat_wooden_box/pilot_hazmat_woodbox_deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/misc/decor_dlc/storagebarrel/storage_barrel_b.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/misc/decor_dlc/storagebarrel/storage_barrel_c.prefab": {
"Enabled": true,
"OffsetX": 476.5
},
"assets/prefabs/misc/halloween/coffin/coffinstorage.prefab": {
"Enabled": true,
"OffsetX": 476.5
}
},
"Containers by skin ID": {}
}{
"Error.NoPermission": "You do not have permission to use this command",
"Format.ButtonText": "Sort",
"Format.Category": "<color=#D2691E>Category</color>",
"Format.Disabled": "<color=#B22222>Disabled</color>",
"Format.Enabled": "<color=#228B22>Enabled</color>",
"Format.Name": "<color=#00BFFF>Name</color>",
"Format.Prefix": "<color=#00FF00>[Sort Button]</color>: ",
"Info.ButtonStatus": "Sort Button is now {0}",
"Info.SortType": "Sort Type is now {0}",
"Info.Help": "List Commands:\n<color=#FFFF00>/{0}</color> - Enable/Disable Sort Button.\n<color=#FFFF00>/{0} <sort | type></color> - change sort type."
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。