ChestRestack

插件

· 作者 tonanto

一个允许玩家通过 Shift+点击将物品放入箱子的插件。

0 本站下载 0 关注 更新于 2 年前

最新 1.0 · 1.20.4 · Bukkit / Paper

一键开服(送7天)

ChestRestack

一个适用于 Spigot 服务器的插件,允许玩家通过 Shift+点击将物品存入箱子。

常规信息

作者:Tonnanto
当前版本:1.0

下载该插件,并在 SpigotMC 和 Bukkit 上查看项目页面。

工作原理

Shift+点击箱子

操作非常简单。 Shift+左键点击箱子,你背包中所有已存在于该箱子里的物品都会被移入其中。 你无需打开箱子或自己的背包。 这使得在采矿活动或其他类型的探险结束后清空背包变得直观且高效。 只需点击储物间里的每个箱子,你的背包很快就会变得整洁有序。

个性化玩家偏好

ChestRestack 还允许每位玩家调整各自的偏好设置,以定制功能以满足个人需求。 要查看和配置偏好设置,请使用 /cr prefs 命令。 这些偏好包括以下内容:

  • 堆叠后是否对箱子进行排序?
  • 是否移动快捷栏中的物品?
  • 是否移动工具和武器?
  • 是否移动护甲?
  • 是否移动箭矢和火箭?
  • 是否移动食物?
  • 是否移动药水?
  • 是 Shift+右键还是 Shift+左键触发此功能?
  • 或者完全禁用该功能?

命令

本插件的所有命令均以 /chestrestack 或其较短的别名 /restack 或 /cr 开头。

  • /cr help - 显示帮助菜单,解释插件及所有命令
  • /cr <disable | enable> - 为单个玩家禁用或启用插件
  • /cr prefs - 显示玩家偏好设置的交互式聊天菜单
  • /cr prefs sorting - 切换堆叠后是否对箱子进行排序
  • /cr prefs clickmode <shift-left | shift-right> - 选择用于堆叠的点击模式
  • /cr prefs reset - 恢复默认偏好设置
  • /cr prefs <tools | armor | arrows | food | potions> - 启用或禁用特定物品的堆叠

管理员命令:

  • /cr reload - 重新加载插件及其配置文件。

配置

config.yml

# This is the config file for ChestRestack.
# This config was generated for version 1.0

# You can delete this file to regenerate the default config on server reload.


# GENERAL

# Whether the chest will be sorted after moving items
# Disabling this globally will disable it for all players independent of their individual preferences.
# I only recommend disabling this if you use a different plugin for sorting of inventories.
sorting-enabled-global: true

# Whether a sound should be played when items are restacked
restack-sound: true

# Set the locale for the plugin.
# Contact me if you would like to have your language supported. You might need to help with translations.
# Available locales:
# en: English, de: German
locale: en

# Whether new updates should be announced to admins and in the console.
# Updating to the newest version is always recommended unless the new version is not compatible with your server.
check-for-updates: true



# DEFAULT PLAYER PREFERENCES

# Each player can overwrite their own preferences using commands
# These are the default values the preferences will have when they first join or when they reset their preferences

# Whether the chest will be sorted after moving items
# Can be over by sorting-enabled-global
sorting-enabled-default: true

# The click-mode that triggers the restacking action
# shift-left | shift-right
click-mode-default: shift-left

# Whether items from the hotbar should be restacked or ignored by default
move-from-hotbar-default: true

# Whether tools and weapons should be restacked or ignored by default
move-tools-default: false

# Whether armor should be restacked or ignored by default
move-armor-default: true

# Whether arrows and rockets should be restacked or ignored by default
move-arrows-default: true

# Whether food should be restacked or ignored by default
move-food-default: true

# Whether potions should be restacked or ignored by default
move-potions-default: true

许可证

Copyright (C) 2024, Anton Stamme

ChestRestack 是自由软件:你可以依据自由软件基金会发布的 GNU 通用公共许可证(第 3 版或更高版本)对其进行重新分发和/或修改。

ChestRestack 分发的希望是它会有用,但不做任何保证;甚至没有隐含的适销性或特定用途适用性的保证。有关更多详细信息,请参阅 GNU 通用公共许可证。

你应该已经收到了一份 GNU 通用公共许可证副本,随 ChestRestack 一起提供。如果没有,请访问 查看。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源