<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=QuestCreator%2F%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F</id>
	<title>QuestCreator/全局变量 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=QuestCreator%2F%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F"/>
	<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=QuestCreator/%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F&amp;action=history"/>
	<updated>2026-06-23T21:52:40Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mineplugin.org/index.php?title=QuestCreator/%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F&amp;diff=8049&amp;oldid=prev</id>
		<title>2019年2月13日 (三) 08:21 Qsefthuopq</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=QuestCreator/%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F&amp;diff=8049&amp;oldid=prev"/>
		<updated>2019-02-13T08:21:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2019年2月13日 (三) 08:21的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{模板:qcbox}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;全局变量可在 &amp;lt;code&amp;gt;/plugins/QuestCreator/gvariables.yml&amp;lt;/code&amp;gt; 找到，它可以便于你在任何设置内引用变量 (除了 &amp;lt;code&amp;gt;type: ...&amp;lt;/code&amp;gt; 的目标/条件/激活器 设置), 格式为 &amp;lt;code&amp;gt;{gvariable:变量名}&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;全局变量可在 &amp;lt;code&amp;gt;/plugins/QuestCreator/gvariables.yml&amp;lt;/code&amp;gt; 找到，它可以便于你在任何设置内引用变量 (除了 &amp;lt;code&amp;gt;type: ...&amp;lt;/code&amp;gt; 的目标/条件/激活器 设置), 格式为 &amp;lt;code&amp;gt;{gvariable:变量名}&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Qsefthuopq</name></author>
	</entry>
	<entry>
		<id>https://mineplugin.org/index.php?title=QuestCreator/%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F&amp;diff=8038&amp;oldid=prev</id>
		<title>Qsefthuopq：​创建页面，内容为“全局变量可在 &lt;code&gt;/plugins/QuestCreator/gvariables.yml&lt;/code&gt; 找到，它可以便于你在任何设置内引用变量 (除了 &lt;code&gt;type: ...&lt;/code&gt; 的目…”</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=QuestCreator/%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F&amp;diff=8038&amp;oldid=prev"/>
		<updated>2019-02-13T06:30:24Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“全局变量可在 &amp;lt;code&amp;gt;/plugins/QuestCreator/gvariables.yml&amp;lt;/code&amp;gt; 找到，它可以便于你在任何设置内引用变量 (除了 &amp;lt;code&amp;gt;type: ...&amp;lt;/code&amp;gt; 的目…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;全局变量可在 &amp;lt;code&amp;gt;/plugins/QuestCreator/gvariables.yml&amp;lt;/code&amp;gt; 找到，它可以便于你在任何设置内引用变量 (除了 &amp;lt;code&amp;gt;type: ...&amp;lt;/code&amp;gt; 的目标/条件/激活器 设置), 格式为 &amp;lt;code&amp;gt;{gvariable:变量名}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 如果你需要多次使用一个信息推荐设置为全局变量. 使用全局变量可以让你快捷、轻易地更改而不需要在各个文件内查找并修改.&lt;br /&gt;
* 你可以在全局变量内使用 PlaceholderAPI 和 QuestCreator 的变量，这些变量会在有需要时被解析.&lt;br /&gt;
* 你不能在全局变量内加入全局变量 (会显示为普通文本).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;gvariables.yml&amp;lt;/code&amp;gt; (汉化配置) :&lt;br /&gt;
 #----------------------------------------------------------------------------------------------------&lt;br /&gt;
 # QuestCreator的全局变量文件&lt;br /&gt;
 #----------------------------------------------------------------------------------------------------&lt;br /&gt;
 # 这些变量为常量. 信息:&lt;br /&gt;
 # - 如果你需要多次使用信息请使用全局变量.&lt;br /&gt;
 # - 使用全局变量可以让你在这里轻易地修改&lt;br /&gt;
 #   而无需耗费更多时间.&lt;br /&gt;
 # - 你可以使用 PlaceholderAPI 和 QuestCreator 的变量&lt;br /&gt;
 #   &lt;br /&gt;
 # - 你可以在任务内全局变量，如任务类型&lt;br /&gt;
 #   也可在任务类型内使用，如{gvariable:变量名}.&lt;br /&gt;
 # - 你不能在全局变量内加入全局变量 (将会显示为普通文本)&lt;br /&gt;
 #   &lt;br /&gt;
 #----------------------------------------------------------------------------------------------------&lt;br /&gt;
 &lt;br /&gt;
 global_variables:&lt;br /&gt;
   quest_example_name: &amp;#039;示例任务&amp;#039;&lt;br /&gt;
   quest_example_moneyneeded: &amp;#039;100.5&amp;#039;&lt;br /&gt;
   quest_example_farm_baseamount: &amp;#039;25&amp;#039;&lt;br /&gt;
   sample_variable_placeholderapi: &amp;#039;你好, %player_name%&amp;#039;&lt;br /&gt;
   sample_variable_qc: &amp;#039;{variable:my_variable} is the value&amp;#039;&lt;br /&gt;
   sample_spawn_location: &amp;#039;world,0,64,0&amp;#039;&lt;br /&gt;
   sample_player_location: &amp;#039;%player_world%,%player_x%,%player_y%,%player_z%&amp;#039;&lt;/div&gt;</summary>
		<author><name>Qsefthuopq</name></author>
	</entry>
</feed>