• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Help.yml:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(以“'''help.yml是帮助文件,可以帮助新手服主们查看指令''' # This is the help configuration file for Bukkit. # # By default you do not need to modify t...”为内容创建页面)
 
无编辑摘要
 
(未显示2个用户的6个中间版本)
第1行: 第1行:
'''help.yml是帮助文件,可以帮助新手服主们查看指令'''
      '''help.yml是帮助文件,可以帮助新手服主们查看指令'''
# This is the help configuration file for Bukkit.
      本页文字全部带有#号为方便全部删除
#
 
# By default you do not need to modify this file. Help topics for all plugin commands are automatically provided by
这是Bukkit帮助配置文件.
# or extracted from your installed plugins. You only need to modify this file if you wish to add new help pages to
默认情况下,您不需要修改这个文件. 帮助主题的所有插件的命令是自动生成或从您的安装插件中提取.  
# your server or override the help pages of existing plugin commands.
如果你希望在服务器上添加新的帮助页面或者覆盖现有的插件命令的帮助页面,你只需要修改这个文件.
#
该文件分为以下几个部分:
# This file is divided up into the following parts:
-- general-topics: 列出管理定义的帮助主题
# -- general-topics: lists admin defined help topics
-- index-topics:  列出管理定义的索引主题
# -- index-topics:  lists admin defined index topics
-- amend-topics:  列出主题修改适用于现有的帮助主题
# -- amend-topics:  lists topic amendments to apply to existing help topics
-- ignore-plugins: 列出应取消帮助的插件
# -- ignore-plugins: lists any plugins that should be excluded from help
下面给出实例。修改命令主题时,将在帮助主题中替换为现有值的字符串。颜色代码可用于主题文本。颜色编码的字符是由0-F.
#
================================================================
# Examples are given below. When amending command topic, the string <text> will be replaced with the existing value
Set this to true to list the individual command help topics in the master help.
# in the help topic. Color codes can be used in topic text. The color code character is & followed by 0-F.
command-topics-in-master-index: true  
# ================================================================
Each general topic will show up as a separate topic in the help index along with all the plugin command topics.
#
总主题:
# Set this to true to list the individual command help topics in the master help.
     Rules:
# command-topics-in-master-index: true
         shortText: Rules of the server
#
         fullText: |
# Each general topic will show up as a separate topic in the help index along with all the plugin command topics.
             &61. Be kind to your fellow players.
# general-topics:
             &B2. No griefing.
#     Rules:
             &D3. No swearing.
#         shortText: Rules of the server
         permission: topics.rules
#         fullText: |
 
#             &61. Be kind to your fellow players.
Each index topic will show up as a separate sub-index in the help index along with all the plugin command topics.
#             &B2. No griefing.
To override the default help index (displayed when the user executes /help), name the index topic "Default".
#             &D3. No swearing.
index-topics:
#         permission: topics.rules
     Ban Commands:
#
         shortText: Player banning commands
# Each index topic will show up as a separate sub-index in the help index along with all the plugin command topics.
         preamble: Moderator - do not abuse these commands
# To override the default help index (displayed when the user executes /help), name the index topic "Default".
         permission: op
# index-topics:
         commands:
#     Ban Commands:
             - /ban
#         shortText: Player banning commands
             - /ban-ip
#         preamble: Moderator - do not abuse these commands
             - /banlist
#         permission: op
 
#         commands:
Topic amendments are used to change the content of automatically generated plugin command topics.
#             - /ban
amended-topics:
#             - /ban-ip
     /stop:
#             - /banlist
         shortText: Stops the server cold....in its tracks!
#
         fullText: <text> - This kills the server.
# Topic amendments are used to change the content of automatically generated plugin command topics.
         permission: you.dont.have
# amended-topics:
 
#     /stop:
Any plugin in the ignored plugins list will be excluded from help. The name must match the name displayed by
#         shortText: Stops the server cold....in its tracks!
the /plugins command. Ignore "Bukkit" to remove the standard bukkit commands from the index. Ignore "All"
#         fullText: <text> - This kills the server.
to completely disable automatic help topic generation.
#         permission: you.dont.have
ignore-plugins:
#
   - PluginNameOne
# Any plugin in the ignored plugins list will be excluded from help. The name must match the name displayed by
   - PluginNameTwo
# the /plugins command. Ignore "Bukkit" to remove the standard bukkit commands from the index. Ignore "All"
   - PluginNameThree
# to completely disable automatic help topic generation.
# ignore-plugins:
#   - PluginNameOne
#   - PluginNameTwo
#   - PluginNameThree

2015年8月11日 (二) 16:16的最新版本

     help.yml是帮助文件,可以帮助新手服主们查看指令
     本页文字全部带有#号为方便全部删除

这是Bukkit帮助配置文件. 默认情况下,您不需要修改这个文件. 帮助主题的所有插件的命令是自动生成或从您的安装插件中提取. 如果你希望在服务器上添加新的帮助页面或者覆盖现有的插件命令的帮助页面,你只需要修改这个文件. 该文件分为以下几个部分: -- general-topics: 列出管理定义的帮助主题 -- index-topics: 列出管理定义的索引主题 -- amend-topics: 列出主题修改适用于现有的帮助主题 -- ignore-plugins: 列出应取消帮助的插件 下面给出实例。修改命令主题时,将在帮助主题中替换为现有值的字符串。颜色代码可用于主题文本。颜色编码的字符是由0-F.

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

Set this to true to list the individual command help topics in the master help. command-topics-in-master-index: true Each general topic will show up as a separate topic in the help index along with all the plugin command topics. 总主题:

   Rules:
       shortText: Rules of the server
       fullText: |
           &61. Be kind to your fellow players.
           &B2. No griefing.
           &D3. No swearing.
       permission: topics.rules

Each index topic will show up as a separate sub-index in the help index along with all the plugin command topics. To override the default help index (displayed when the user executes /help), name the index topic "Default". index-topics:

   Ban Commands:
       shortText: Player banning commands
       preamble: Moderator - do not abuse these commands
       permission: op
       commands:
           - /ban
           - /ban-ip
           - /banlist

Topic amendments are used to change the content of automatically generated plugin command topics. amended-topics:

   /stop:
       shortText: Stops the server cold....in its tracks!
       fullText: <text> - This kills the server.
       permission: you.dont.have

Any plugin in the ignored plugins list will be excluded from help. The name must match the name displayed by the /plugins command. Ignore "Bukkit" to remove the standard bukkit commands from the index. Ignore "All" to completely disable automatic help topic generation. ignore-plugins:

  - PluginNameOne
  - PluginNameTwo
  - PluginNameThree