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

“Help.yml”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
 
(未显示2个用户的4个中间版本)
第1行: 第1行:
              '''help.yml是帮助文件,可以帮助新手服主们查看指令'''
+
      '''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
  
# This is the help configuration file for Bukkit.
+
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".
# By default you do not need to modify this file. Help topics for all plugin commands are automatically provided by
+
index-topics:
# or extracted from your installed plugins. You only need to modify this file if you wish to add new help pages to
+
     Ban Commands:
# your server or override the help pages of existing plugin commands.
+
         shortText: Player banning commands
#
+
         preamble: Moderator - do not abuse these commands
# This file is divided up into the following parts:
+
         permission: op
# -- general-topics: lists admin defined help topics
+
         commands:
# -- index-topics:  lists admin defined index topics
+
             - /ban
# -- amend-topics:  lists topic amendments to apply to existing help topics
+
             - /ban-ip
# -- ignore-plugins: lists any plugins that should be excluded from help
+
             - /banlist
#
+
 
# Examples are given below. When amending command topic, the string <text> will be replaced with the existing value
+
Topic amendments are used to change the content of automatically generated plugin command topics.
# in the help topic. Color codes can be used in topic text. The color code character is & followed by 0-F.
+
amended-topics:
# ================================================================
+
     /stop:
#
+
         shortText: Stops the server cold....in its tracks!
# Set this to true to list the individual command help topics in the master help.
+
         fullText: <text> - This kills the server.
# command-topics-in-master-index: true
+
         permission: you.dont.have
#
+
 
# Each general topic will show up as a separate topic in the help index along with all the plugin command topics.
+
Any plugin in the ignored plugins list will be excluded from help. The name must match the name displayed by
# general-topics:
+
the /plugins command. Ignore "Bukkit" to remove the standard bukkit commands from the index. Ignore "All"
#    Rules:
+
to completely disable automatic help topic generation.
#        shortText: Rules of the server
+
ignore-plugins:
#        fullText: |
+
   - PluginNameOne
#            &61. Be kind to your fellow players.
+
   - PluginNameTwo
#            &B2. No griefing.
+
   - PluginNameThree
#            &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
 

2015年8月12日 (三) 00: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