• 周年纪念勋章活动已圆满结束,如有已购买但仍未申请的用户,可以通过对应勋章的下载链接申请~
LWC-Extended —— 高版本落地锁插件[1.8.8-1.21][汉化修正+配置文件汉化]

开源 工具 其他 LWC-Extended —— 高版本落地锁插件[1.8.8-1.21][汉化修正+配置文件汉化] 1.13-1.17.1

版权类型
转载
插件中文名称
箱子锁
插件英文名称
LWC Extended
原帖地址
https://www.spigotmc.org/resources/lwc-extended.69551
支持的核心(服务端)
  1. Spigot
  2. Paper
  3. 其他核心
语言支持
多语言
前置组件
Vault(可选):https://www.spigotmc.org/resources/vault.34315/
WorldEdit(可选):https://dev.bukkit.org/projects/worldedit
WorldGuard(可选):https://dev.bukkit.org/projects/worldguard
适配版本(Java)
  1. 1.21
  2. 1.20
  3. 1.19
  4. 1.18
  5. 1.17
  6. 1.16
  7. 1.15
  8. 1.14
  9. 1.13
  10. 1.12
  11. 1.11
  12. 1.10
  13. 1.9
  14. 1.8
汉化问题补充:插件本身自带汉化,但自带那个汉化很多语法错误,所以我稍微修改了下
注:仅1.8.8-1.17.1版本的插件有汉化修正版,其余版本暂时没有


估计大家第一次用插件时候还是开1.7.10MOD服;那时一般的箱子锁插件用告示牌上锁后会被工业扳手撬锁(导致上了跟没上一样)。于是LWC插件出现了,它解决的工业扳手撬锁问题。但这么多年过去了,原作者一直没能更新到高版本。但今天,它来了!

你如果想了解该插件更多功能,建议去:https://www.minebbs.com/resources/lwc-1-6-4-1-7-10.8884

YAML:
# LWC插件配置文件
core:

    # 使用哪个语言文件
    locale: en

    # 若插件保护信息频繁的更新到数据库可能会造成卡顿
    # 该选项作用就是将更新信息发送到数据库频率(单位为“秒”)
    # 值最好别超过10,否则会发生更奇怪的错误
    flushInterval: 10

    # 缓存大小,可有效减少频繁到数据库查询数据导致的卡顿等情况
    cacheSize: 10000

    # 启动后预留多少缓存给“方块(实体)保护”缓存
    # 若设置成“-1”表示使用cacheSize选项相同的值并尽可能预留缓存
    precache: -1

    # 如果设置成true,当具有方块(实体)交互权的人(不是主人!!!)在交互方块(实体)时会提醒该箱子被锁住了!
    showNotices: true

    # 若设置成true,则主人交互自己上锁的方块(实体)也会提醒方块(实体)被上锁了
    showMyNotices: false

    # 设置成true则表示,只要有op权限那么LWC所有功能你都可以使用
    opIsLWCAdmin: true

    # 若设置成true,插件将不会记录历史保护信息内容
    # 若你在使用插件的LWC-Economy有关功能,也可能导致不可用
    disableHistory: false

    # 设置成true,则Towny插件只允许才城镇内才能创建方块(实体)保护
    townyBorders: false

    # 若未安装权限组(或不支持的权限组)插件,则LWC插件将会使用通过下面选项知道玩家所属什么组
    # 比如:group.vip表示玩家所在vip组
    groupPrefix: 'group.'

    # 插件版本更新消息通知
    updateNotifier: false

# 额外设置
optional:

    # 方块(实体)保护仅限主人在线时才有效?
    onlyProtectWhenOwnerIsOnline: false

    # 方块(实体)保护仅限主人不在线时才有效?
    onlyProtectWhenOwnerIsOffline: false

    # 黑名单ID列表
    # 这个选项针对/lwc admin purge、/lwc admin expire等命令要指定参数时有效
    exemptBlocks: []

    # Opt out of the optional metrics tooling
    # Available online: http://metrics.griefcraft.com/plugin/LWC/
    optOut: false

    # 在保护的方块(实体)周围不能放置的方块(物品)列表
    blacklistedBlocks:
    - 166

    # 该选项仅用于MOD服
    blacklistedPlayers:
    - plr

    # 使用有限的保护措施(设置成true表示无限制保护)
    useProtectionLimits: true

# 插件数据库选项设置
database:

    # 使用哪种方式存储数据
    # 值可以是sqlite或mysql
    adapter: sqlite

    # 正常情况下请勿修改该选项!
    # 该选项作用:若你修改成mysql方式存储数据,插件将自动把xxx目录下sqlite文件转换成mysql存储
    path: 'plugins/LWC/lwc.db'

    # MySQL地址
    # 比如:localhost:23333
    host: 'localhost'

    # MySQL数据库名称
    database: 'minecraft'

    # MySQL用户名
    username: 'root'

    # MySQL密码
    password: 'root'

    # 使用MySQL存储时表的前缀是什么
    prefix: 'lwc_'

    # 使用MySQL时会话活动间隔
    ping_interval: 300

# 自定义保护设置
protections:
    # These values serve as default values for the protections defined under blocks

    # If true, the default behaviour will be to BLOCK redstone to protections, and /credstone on (Protection Flag)
    # will ALLOW redstone to the protection
    # If false, the default behaviour will be to ALLOW redstone to protections, and /credstone on will
    # BLOCK redstone to the protection
    denyRedstone: false

    # 开启该选项后,容器将不具备漏斗传输权限(除非使用命令/chopper on将容器漏洞传输权限打开)
    denyHoppers: true

    # Settable to private, public, or off. It defines what protections are registered as when you place them on
    # the ground
    autoRegister: off

    # Used in very specific use-cases: makes LWC ignore block destruction for the given block or all blocks, allowing
    # players to remove the block and resulting protection.
    ignoreBlockDestruction: false

    # 左键操作时插件是否忽略监听事件
    ignoreLeftClick: false

    # 右键操作时插件是否忽略监听事件
    ignoreRightClick: false

    # 是否允许爆炸把门摧毁(即使门已经上锁了)
    # 注:若箱子上锁了还是不能被摧毁
    ignoreExplosions: false

    # 允许怪物破坏或交互门
    allowEntityBreakDoor: false

    # 允许动物(村民也算)交互门
    allowEntityInteract: false

    # 开启该选项后,落地锁的方块(实体)不会有任何上锁提醒
    # 包括被锁的方块(实体)破坏后也不会有任何提醒
    # 同时也适用于告示牌上锁方块
    quiet: false

    # 开启后,若玩家想要将方块(实体)授予某个群组或玩家权限将被拒绝操作(比如使用命令/cmodify共享权限)
    readonly-modify: false

    # 开启后,若玩家想要将方块(实体)移除上锁保护状态将被拒绝操作(比如破坏箱子和使用命令将方块彻底解锁)
    readonly-remove: false

    # 设置落地锁规则表
    blocks:
        chest:
            enabled: true
            autoRegister: private
        furnace:
            enabled: true
            autoRegister: private
        dispenser:
            enabled: true
            autoRegister: private
        sign:
            enabled: true
            autoRegister: private
        wooden_door:
            enabled: true
        iron_door:
            enabled: true
        spruce_door:
            enabled: true
        birch_door:
            enabled: true
        jungle_door:
            enabled: true
        acacia_door:
            enabled: true
        dark_oak_door:
            enabled: true
        trap_door:
            enabled: true
        iron_trapdoor:
            enabled: true
        fence_gate:
            enabled: true
        spruce_fence_gate:
            enabled: true
        birch_fence_gate:
            enabled: true
        jungle_fence_gate:
            enabled: true
        acacia_fence_gate:
            enabled: true
        dark_oak_fence_gate:
            enabled: true
        armor_stand:
            enabled: true

modes:
    droptransfer:
        enabled: false
        # 允许跨地图转移物品
        crossWorld: false
    persist:
        enabled: true

2024-08-04_10.02.31.png
后退
顶部 底部