DurabilityCustomizer

插件

· 作者 Olafcio1

自定义(并可选地修复)耐久度机制。[#killaislop]

0 本站下载 0 关注 更新于 9 个月前

最新 1.0 · 1.21.11 · Paper / Purpur

一键开服(送7天)

? DurabilityCustomizer 自定义(并可选修复)耐久度机制。

注意: 如果您正在使用我的模组,请不要购买 Minecraft。


? 功能

  • [耐久度]
    • 取消物品损坏
    • 取消铁砧损坏
  • [修复]
    • 强制不可破坏标签:

      为所有物品添加或移除不可破坏性 NBT 标签。
      如果您不知道自己在做什么,请勿使用此功能。


? 命令

  • /durabilitycustomizer
  • /durabilitycustomizer reload

? 文件

config.yml
############################
### DurabilityCustomizer ###
############################

##################################
###         DURABILITY         ###
### -------------------------- ###
### Toggles global durability. ###
##################################

# values: [disabled, enabled]
# - `disabled` means that the minecraft feature is disabled.
# - `enabled` enables it.

durability:
  item-durability: disabled
  anvil-damage: disabled

#########################################################
###                      UNSAFE                       ###
### ------------------------------------------------- ###
### Settings that may potentially damage your server. ###
#########################################################

unsafe:
  # This is a special tag useful for when you've set up your server to use the unbreakable tag,
  # but messed it up at some part.
  #
  # For example:
  # > **Problem:**
  #   The shopkeepers have all cost items with unbreakability,
  #   but output breakable items.
  #
  #   **Solution:**
  #   Set `enabled` to true,
  #       `value`   to true.
  #
  # > **Problem:**
  #   The shopkeepers have all items without unbreakability,
  #   so you've installed another plugin to make all items unbreakable.
  #
  #   The plugin that was supposed to fix the issue made it even worse,
  #   as it added the Unbreakable:1b tag, which wasn't described anywhere.
  #
  #   **Solution:**
  #   Set `enabled` to true,
  #       `value`   to false.
  #
  force-unbreakable-tag:
    enabled: false
    value: true
LICENSE
Attribution-NonCommercial 4.0 International

=======================================================================

Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.

Using Creative Commons Public Licenses

Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.

     Considerations for licensors: Our public licenses are
     intended for use by those authorized to give the public
     permission to use material in ways otherwise restricted by
     copyright and certain other rights. Our licenses are
     irrevocable. Licensors should read and understand the terms
     and conditions of the license they choose before applying it.
     Licensors should also secure all rights necessary before
     applying our licenses so that the public can reuse the
     material as expected. Licensors should clearly mark any
     material not subject to the license. This includes other CC-
     licensed material, or material used under an exception or
     limitation to copyright. More considerations for licensors:
    wiki.creativecommons.org/Considerations_for_licensors

     Considerations for the public: By using one of our public
     licenses, a licensor grants the public permission to use the
     licensed material under specified terms and conditions. If
     the licensor's permission is not necessary for any reason--for
     example, because of any applicable exception or limitation to
     copyright--then that use is not regulated by the license. Our
     licenses grant only permissions under copyright and certain
     other rights that a licensor has authority to grant. Use of
     the licensed material may still be restricted for other
     reasons, including because others have copyright or other
     rights in the material. A licensor may make special requests,
     such as asking that all changes be marked or described.
     Although not required by our licenses, you are encouraged to
     respect those requests where reasonable. More considerations
     for the public:
    wiki.creativecommons.org/Considerations_for_licensees

=======================================================================

Creative Commons Attribution-NonCommercial 4.0 International Public
License

By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-NonCommercial 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.


Section 1 -- Definitions.

a. 演绎作品是指受版权及类似权利保护的、源自或基于被许可材料的作品,其中被许可材料以需要依据许可人所持有的版权及类似权利获得许可的方式被翻译、改编、编排、转换或以其他方式修改。就本公共许可证而言,若被许可材料为音乐作品、表演或录音制品,则在被许可材料与动态图像同步时,始终构成演绎作品。

b. 适配器许可证是指您根据本公共许可证的条款和条件,对您对演绎作品所享有的版权及类似权利所施加的许可证。

c. 版权及类似权利是指与版权密切相关的版权和/或其他类似权利,包括但不限于表演权、广播权、录音制品权以及数据库特殊权利(Sui Generis Database Rights),无论这些权利如何标注或分类。就本公共许可证而言,第 2(b)(1)-(2) 条中规定的权利不属于版权及类似权利。

d. 有效技术措施是指那些在没有适当授权的情况下,根据履行 1996 年 12 月 20 日通过的《世界知识产权组织版权条约》第 11 条义务的法律和/或类似国际协议不得被规避的措施。

e. 例外与限制是指适用于您对被许可材料使用的合理使用、公平交易及/或对版权及类似权利的任何其他例外或限制。

f. 被许可材料是指许可人应用本公共许可证的艺术或文学作品、数据库或其他材料。

g. 被许可权利是指在遵守本公共许可证条款和条件的前提下授予您的权利,这些权利仅限于适用于您对被许可材料使用的所有版权及类似权利,且许可人有权进行许可。

h. 许可人是指依据本公共许可证授予权利的自然人或实体。

i. 非商业性是指主要不旨在或并非面向商业优势或货币补偿。就本公共许可证而言,通过数字文件共享或类似方式将被许可材料与其他受版权及类似权利保护的材料进行交换属于非商业性,前提是该交换不涉及任何货币补偿的支付。

j. 共享是指通过任何需要依据被许可权利获得许可的手段或过程向公众提供材料,例如复制、公开展示、公开表演、发行、传播、通信或进口,并使材料可供公众访问,包括使公众能够从其自行选择的地点和时间访问该材料。

k. 数据库特殊权利是指除版权外,源于 1996 年 3 月 11 日欧洲议会和理事会关于数据库法律保护的第 96/9/EC 号指令(经修订和/或取代)的权利,以及世界上其他地区本质上等效的权利。

l. “您”是指依据本公共许可证行使被许可权利的自然人或实体。“您的”具有相应的含义。

第二部分 -- 范围。

a. 许可证授予。

   1. 在遵守本公共许可证条款和条件的前提下,许可人特此授予您一项全球性的、免版税的、不可分许可的、非独占的、不可撤销的许可证,以行使被许可材料中的被许可权利,用于:

        a. 仅为非商业目的复制并共享被许可材料的全部或部分;以及

        b. 仅为非商业目的创作、复制并共享演绎作品。

   2. 例外与限制。为避免疑义,当例外与限制适用于您的使用时,本公共许可证不适用,您无需遵守其条款和条件。

   3. 期限。本公共许可证的期限在第 6(a) 条中规定。

   4. 媒体与格式;允许进行技术修改。许可人授权您在所有当前已知或未来创建的媒体和格式中行使被许可权利,并进行为此所需的技术修改。许可人放弃和/或同意不行使禁止您进行必要技术修改的任何权利或权威,包括为行使被许可权利而规避有效技术措施所需的必要技术修改。就本公共许可证而言,仅进行本第 2(a)(4) 条所授权修改的行为永远不会产生演绎作品。

   5. 下游接收者。

        a. 来自许可人的要约 -- 被许可材料。每一位被许可材料的接收者均自动从许可人处获得一项要约,即在本公共许可证的条款和条件下行使被许可权利。

        b. 无下游限制。若您这样做会限制任何被许可材料接收者行使被许可权利,则您不得对被许可材料附加或施加任何其他或不同的条款或条件,也不得对其应用任何有效技术措施。
  1. 无背书。本公共许可证的任何内容均不构成也不应被解释为允许您主张或暗示您与许可方或第 3(a)(1)(A)(i) 条规定有权获得署名的人员相关联,或您的已授权材料的使用得到了关联、赞助、背书或官方地位授予。

b. 其他权利。

   1. 精神权利(如保护作品完整权)不在本公共许可证的授权范围内;公开权、隐私权和/或其他类似的人格权同样不在此列;但是,在可能的最大程度上,许可方放弃和/或同意不行使许可方所持有的此类权利,仅限于允许您行使已授权权利所需的范围,但不包括其他情况。

   2. 专利权和商标权不在本公共许可证的授权范围内。

   3. 在可能的最大程度上,许可方放弃向您收取任何因行使已授权权利而产生的版税的权利,无论是直接收取还是通过任何自愿性或可放弃的法定或强制性许可方案下的集体管理组织收取。在所有其他情况下,许可方明确保留收取此类版税的任何权利,包括当已授权材料用于非商业目的以外的用途时。

第三节 -- 许可条件。

您对已授权权利的行使明确受以下条件约束。

a. 署名。

   1. 如果您传播已授权材料(包括修改后的形式),您必须:

        a. 如果许可方随已授权材料提供以下内容,请予以保留:

             i. 以许可方要求的任何合理方式(包括使用指定笔名),标明已授权材料的创作者及任何其他有权获得署名的人员;

            ii. 版权声明;

           iii. 提及本公共许可证的通知;

            iv. 提及免责声明的通知;

             v. 在合理可行的范围内,提供指向已授权材料的 URI 或超链接;

        b. 指明您是否修改了已授权材料,并保留任何先前修改的指示;以及

        c. 指明已授权材料是根据本公共许可证进行授权的,并包含本公共许可证的文本,或其 URI 或超链接。

   2. 您可以基于传播已授权材料时的媒介、方式和上下文,以任何合理的方式满足第三节 3(a)(1) 中的条件。例如,通过提供包含所需信息的资源的 URI 或超链接来满足这些条件可能是合理的。

   3. 如果许可方提出要求,您必须在合理可行的范围内移除第三节 3(a)(1)(A) 要求提供的任何信息。

   4. 如果您传播您制作的改编材料,您应用的适配者许可证不得阻止接收者遵守本公共许可证。

第四节 -- 数据库特殊权利。

如果已授权权利包括适用于您对已授权材料使用的数据库特殊权利:

a. 为避免疑虑,第二节 2(a)(1) 仅授予您出于非商业目的提取、重用、复制和传播数据库全部内容或实质部分内容的权利;

b. 如果您将数据库的全部内容或实质部分包含在您拥有数据库特殊权利的数据库中,那么您拥有数据库特殊权利的数据库(但其个别内容除外)即为改编材料;并且

c. 如果您传播数据库的全部内容或实质部分,则必须遵守第三节 3(a) 中的条件。

为避免疑虑,本节第四节补充了您在已授权权利包含其他版权和类似权利时在本公共许可证下的义务,但并不取代这些义务。

第五节 -- 免责声明和责任限制。

a. 除非许可方另有单独承诺,否则在可能的最大程度上,许可方按“原样”和“现况”提供已授权材料,且不对已授权材料作出任何形式的陈述或保证,无论是明示的、暗示的、法定的还是其他的。这包括但不限于所有权保证、适销性保证、特定用途适用性保证、不侵权保证、无潜在或其他缺陷保证、准确性保证,以及是否存在错误(无论已知或可发现)。如果不完全或部分不允许免责声明,则此免责声明可能不适用于您。

b. 在可能的最大程度上,在任何法律理论下(包括但不限于过失),许可方均不对您承担任何责任,也不因您的直接或间接、附带、后果性、惩罚性、示范性或其他损失、费用、开支或损害而承担责任,即使许可方已被告知发生此类损失、费用、开支或损害的可能性。如果不完全或部分不允许责任限制,则此责任限制可能不适用于您。

c. 上述关于免责声明和责任限制的条款,应被解释为在可能的情况下,最接近于对全部责任的绝对免责声明和豁免。

第 6 条 —— 期限与终止。

a. 本公共许可证适用于此处授权的版权及类似权利的存续期间。但是,如果您未能遵守本公共许可证,则您在基于本公共许可证所享有的权利将自动终止。

b. 如果您的使用授权材料(Licensed Material)的权利根据第 6(a) 款终止,则该权利将在以下情况恢复:

   1. 在您发现违规行为后的 30 天内纠正该违规行为的,自纠正之日起自动恢复;或者

   2. 经许可方明确恢复。

 为避免疑义,本第 6(b) 款不影响许可方因您违反本公共许可证而寻求救济的任何权利。

c. 为避免疑义,许可方也可以随时以单独的条款或条件提供授权材料,或停止分发授权材料;然而,这样做并不会终止本公共许可证。

d. 本公共许可证终止后,第 1、5、6、7 和 8 条仍然有效。

第 7 条 —— 其他条款与条件。

a. 除非获得明确同意,否则许可方不受您传达的任何附加或不同条款或条件的约束。

b. 有关授权材料的任何未在本许可证中规定的安排、谅解或协议,均独立于本公共许可证的条款与条件。

第 8 条 —— 解释。

a. 为避免疑义,本公共许可证不会,也不应被解释为减少、限制、约束或对依据本公共许可证无需许可即可合法进行的授权材料使用的任何方面施加条件。

b. 在可能的情况下,如果本公共许可证的任何条款被认为不可执行,则该条款应在使其可执行所需的最小范围内自动修改。如果该条款无法修改,则应从本公共许可证中剔除,且不影响其余条款与条件的可执行性。

c. 除非经许可方明确同意,否则本公共许可证中的任何条款或条件均不得被视为放弃,且任何未履行义务的行为也不得被视为同意。

d. 本公共许可证中的任何内容均不构成,也不应被解释为对适用于许可方或您的任何特权和豁免权的限制或放弃,包括来自任何司法管辖区或权威机构的法律程序的特权和豁免权。

=======================================================================

Creative Commons 并非其公共许可证的一方当事人。尽管如此,Creative Commons 可以选择将其公共许可证应用于其发布的材料,在这些情况下,Creative Commons 将被视为“许可方”。Creative Commons 公共许可证的文本已通过 CC0 公共领域奉献(CC0 Public Domain Dedication)捐赠至公共领域。除了表明材料是在 Creative Commons 公共许可证下共享的用途,或 Creative Commons 发布于 creativecommons.org/policies 的政策所允许的其他用途外,未经其事先书面同意,Creative Commons 不授权使用“Creative Commons”商标或其任何其他商标或标志,包括但不限于在任何未经授权的对其公共许可证的修改或与授权材料使用相关的任何其他安排、谅解或协议方面的使用。为避免疑义,本段落不构成公共许可证的一部分。

Creative Commons 可通过 creativecommons.org 联系。


</details>

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源