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

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

来自Minecraft插件百科
跳转至: 导航搜索
(开头格式)
 
(未显示同一用户的2个中间版本)
第2行: 第2行:
 
       本页文字全部带有#号为方便全部删除
 
       本页文字全部带有#号为方便全部删除
  
This is the help configuration file for Bukkit.
+
这是Bukkit帮助配置文件.
By default you do not need to modify this file. Help topics for all plugin commands are automatically provided by
+
默认情况下,您不需要修改这个文件. 帮助主题的所有插件的命令是自动生成或从您的安装插件中提取.  
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
 
in the help topic. Color codes can be used in topic text. The color code character is & followed by 0-F.
 
 
================================================================
 
================================================================
 
Set this to true to list the individual command help topics in the master help.
 
Set this to true to list the individual command help topics in the master help.
 
command-topics-in-master-index: true  
 
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.
 
Each general topic will show up as a separate topic in the help index along with all the plugin command topics.
general-topics:
+
总主题:
 
     Rules:
 
     Rules:
 
         shortText: Rules of the server
 
         shortText: Rules of the server

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