<?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=Magic%2FNPC</id>
	<title>Magic/NPC - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=Magic%2FNPC"/>
	<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Magic/NPC&amp;action=history"/>
	<updated>2026-06-01T23:27:52Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mineplugin.org/index.php?title=Magic/NPC&amp;diff=15245&amp;oldid=prev</id>
		<title>2021年6月27日 (日) 16:05 炫宙菌</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Magic/NPC&amp;diff=15245&amp;oldid=prev"/>
		<updated>2021-06-27T16:05:15Z</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;2021年6月27日 (日) 16:05的版本&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 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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Magic NPCs can be used to cast spells on players, allow them to check spell upgrade progress, purchase wands, items, spells, and much more.&lt;/del&gt;&lt;/div&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;魔法NPC可用于对玩家施法，可以让玩家藉此检查法术进阶情况、购买法杖、物品、技能等等&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;They can also run commands on right-click, as well as have any of the triggered events that &lt;/del&gt;[[MagicMobs|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Magic Mobs&lt;/del&gt;]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;can have.&lt;/del&gt;&lt;/div&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Magic/&lt;/ins&gt;MagicMobs|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;魔法生物&lt;/ins&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;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;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;== WorldGuard ==&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;== WorldGuard ==&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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;NOTE&lt;/del&gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you want to use NPCs inside of WorldGuard regions&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;you will need to set &lt;/del&gt;&amp;lt;code&amp;gt;mobs.block-plugin-spawning: false&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inside WorldGuard&#039;s config.yml&lt;/del&gt;&lt;/div&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;如果你想在WorldGuard的区域内使用NPC&lt;/ins&gt;,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;需要在WorldGuard的config.yml中设置&lt;/ins&gt;&amp;lt;code&amp;gt;mobs.block-plugin-spawning: false&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;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;== Citizens NPCs ==&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;== Citizens NPCs ==&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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If &lt;/del&gt;you are already using [[Citizens|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Citizens NPCs&lt;/del&gt;]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;you can also attach the &lt;/del&gt;&amp;amp;quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;magic&lt;/del&gt;&amp;amp;quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;&amp;amp;quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;command&lt;/del&gt;&amp;amp;quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trait for similar features to Magic NPCs.&lt;/del&gt;&lt;/div&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;如果你刚好在使用If &lt;/ins&gt;you are already using [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Magic/&lt;/ins&gt;Citizens|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;公民&lt;/ins&gt;]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;,你也可以将 &lt;/ins&gt;&amp;amp;quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;魔法&lt;/ins&gt;&amp;amp;quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;或 &lt;/ins&gt;&amp;amp;quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;命令&lt;/ins&gt;&amp;amp;quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;附到魔法NPC身上以实现类似的效果&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you have been using Citizens &lt;/del&gt;NPCs &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with Magic traits&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and would like to switch to using pure Magic NPCs&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;simply use the command &lt;/del&gt;&amp;lt;code&amp;gt;/mnpc import&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. After you&#039;ve verified it worked (there should be duplicates of all NPCs afterward) you should be able to shut down the server and remove Citizens.&lt;/del&gt;&lt;/div&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;如果你已经在使用Magic提供的Citizens &lt;/ins&gt;NPCs,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;并且只想单纯地使用魔法NPC&lt;/ins&gt;,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;仅需输入命令&lt;/ins&gt;&amp;lt;code&amp;gt;/mnpc import&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;。在你检验完所有的NPC之后（后来NPC完全相同），关闭服务器并把Citizens插件删除&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Getting Started &lt;/del&gt;==&lt;/div&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Use the command &lt;/del&gt;&amp;lt;code&amp;gt;/mnpc add Spell Shop&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to create a new Spell Shop NPC. By default it will be a villager. You can change that with &lt;/del&gt;&amp;lt;code&amp;gt;/mnpc type witch&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&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;&amp;lt;code&amp;gt;/mnpc add Spell Shop&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;以创建一个新的Spell Shop（法术商店） NPC。默认地，NPC是一个村民。你可以使用 &lt;/ins&gt;&amp;lt;code&amp;gt;/mnpc type witch&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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Magic mobs can be used as NPC templates&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;so disguises can be used if you have LibsDisguises, allowing you to make fake-player NPCs.&lt;/del&gt;&lt;/div&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;魔法生物可以被当作NPC样板使用&lt;/ins&gt;,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;那么加装了LibsDisguises插件的话同样可以使用伪装，这样就可以做出一个假人NPC了&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Casting Spells &lt;/del&gt;==&lt;/div&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You can make an NPC cast a spell on right-click using the shortcut &lt;/del&gt;&amp;lt;code&amp;gt;/mnpc cast spellshop&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&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;你可以制作一个右键释放法术的NPC，仅需指令： &lt;/ins&gt;&amp;lt;code&amp;gt;/mnpc cast spellshop&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;（译者注：由于Magic的商店一般都属于法术，而释放法术触发商店不失为一种选择）&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You can also provide parameters&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;such as &lt;/del&gt;&amp;lt;code&amp;gt;/mnpc cast blink cooldown 0 pdy 10&amp;lt;/code&amp;gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which will cast Blink straight up in the air with no cooldown.&lt;/del&gt;&lt;/div&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;例如 &lt;/ins&gt;&amp;lt;code&amp;gt;/mnpc cast blink cooldown 0 pdy 10&amp;lt;/code&amp;gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;这样Blink法术在释放时会直接在空气中触发并且无需冷却&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;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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;By default&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the NPC will force the player clicking on the NPC to cast the spell. This works great for shops, but if you wanted to make a healing NPC you want the NPC to cast the spell on the player. This could be done as&lt;/del&gt;&lt;/div&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;NPC会在被玩家点击时强制释放法术，这对于商店NPC来说很有用。但是如果你要做一个恢复玩家血量的NPC，可能就需要这样一些操作了：&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;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;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;pre class=&amp;quot;&amp;quot;&amp;gt;/mnpc cast heal&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;pre class=&amp;quot;&amp;quot;&amp;gt;/mnpc cast heal&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;/mnpc configure cast_source npc&amp;lt;/pre&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;/mnpc configure cast_source npc&amp;lt;/pre&amp;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 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;译者注：首先给NPC绑定法术Heal【治疗】，之后设置此NPC施法源为NPC，因为部分治疗法术需要有一个发出点，如果不这样设置可能会导致治疗法术打在NPC自己身上&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;=== Built-in Spells for NPC Use ===&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;=== Built-in Spells for NPC Use ===&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>炫宙菌</name></author>
	</entry>
	<entry>
		<id>https://mineplugin.org/index.php?title=Magic/NPC&amp;diff=15237&amp;oldid=prev</id>
		<title>炫宙菌：​创建页面，内容为“Magic NPCs can be used to cast spells on players, allow them to check spell upgrade progress, purchase wands, items, spells, and much more.  They can also run comman…”</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Magic/NPC&amp;diff=15237&amp;oldid=prev"/>
		<updated>2021-06-27T15:38:55Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“Magic NPCs can be used to cast spells on players, allow them to check spell upgrade progress, purchase wands, items, spells, and much more.  They can also run comman…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Magic NPCs can be used to cast spells on players, allow them to check spell upgrade progress, purchase wands, items, spells, and much more.&lt;br /&gt;
&lt;br /&gt;
They can also run commands on right-click, as well as have any of the triggered events that [[MagicMobs|Magic Mobs]] can have.&lt;br /&gt;
&lt;br /&gt;
== WorldGuard ==&lt;br /&gt;
&lt;br /&gt;
NOTE: If you want to use NPCs inside of WorldGuard regions, you will need to set &amp;lt;code&amp;gt;mobs.block-plugin-spawning: false&amp;lt;/code&amp;gt; inside WorldGuard&amp;#039;s config.yml&lt;br /&gt;
&lt;br /&gt;
== Citizens NPCs ==&lt;br /&gt;
&lt;br /&gt;
If you are already using [[Citizens|Citizens NPCs]] you can also attach the &amp;amp;quot;magic&amp;amp;quot; or &amp;amp;quot;command&amp;amp;quot; trait for similar features to Magic NPCs.&lt;br /&gt;
&lt;br /&gt;
If you have been using Citizens NPCs with Magic traits, and would like to switch to using pure Magic NPCs, simply use the command &amp;lt;code&amp;gt;/mnpc import&amp;lt;/code&amp;gt;. After you&amp;#039;ve verified it worked (there should be duplicates of all NPCs afterward) you should be able to shut down the server and remove Citizens.&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
Use the command &amp;lt;code&amp;gt;/mnpc add Spell Shop&amp;lt;/code&amp;gt; to create a new Spell Shop NPC. By default it will be a villager. You can change that with &amp;lt;code&amp;gt;/mnpc type witch&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Magic mobs can be used as NPC templates, so disguises can be used if you have LibsDisguises, allowing you to make fake-player NPCs.&lt;br /&gt;
&lt;br /&gt;
== Casting Spells ==&lt;br /&gt;
&lt;br /&gt;
You can make an NPC cast a spell on right-click using the shortcut &amp;lt;code&amp;gt;/mnpc cast spellshop&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can also provide parameters, such as &amp;lt;code&amp;gt;/mnpc cast blink cooldown 0 pdy 10&amp;lt;/code&amp;gt;, which will cast Blink straight up in the air with no cooldown.&lt;br /&gt;
&lt;br /&gt;
By default, the NPC will force the player clicking on the NPC to cast the spell. This works great for shops, but if you wanted to make a healing NPC you want the NPC to cast the spell on the player. This could be done as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;&amp;quot;&amp;gt;/mnpc cast heal&lt;br /&gt;
/mnpc configure cast_source npc&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Built-in Spells for NPC Use ===&lt;br /&gt;
&lt;br /&gt;
The following spells are intended for NPC use:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;upgrades&amp;#039;&amp;#039;&amp;#039; - Provides a GUI for a player to check on their upgrade progress&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;spellshop&amp;#039;&amp;#039;&amp;#039; - A wand-sensitive spell shop that can replace enchanting as a progression mechanism&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;magicitemshop&amp;#039;&amp;#039;&amp;#039; - A shop to sell all of the magic items&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;engineershop&amp;#039;&amp;#039;&amp;#039; - A shop to allow players to progress to Engineer&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;architectshop&amp;#039;&amp;#039;&amp;#039; - A shop to allow players to progress to Architect&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bookshop&amp;#039;&amp;#039;&amp;#039; - A shop to give away spellbooks that describe available spells&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;broomshop&amp;#039;&amp;#039;&amp;#039; - A shop to sell brooms&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;wandshop&amp;#039;&amp;#039;&amp;#039; - A shop to sell a few example wands&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;tweakshop&amp;#039;&amp;#039;&amp;#039; - A shop for wand &amp;amp;quot;tweaks&amp;amp;quot;, which are free (inventory/chest mode, etc)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;colorshop&amp;#039;&amp;#039;&amp;#039; - A shop for selling custom wand colors and effects&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;mobshop&amp;#039;&amp;#039;&amp;#039; - A shop with custom mob spawn eggs&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;withdrawals&amp;#039;&amp;#039;&amp;#039; - An exchange shop for currency items&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;deposits&amp;#039;&amp;#039;&amp;#039; - An exchange shop for currency items&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ledgershop&amp;#039;&amp;#039;&amp;#039; - A simple shop that sells the Ledger item&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;lootshop&amp;#039;&amp;#039;&amp;#039; - A sell shop for mob loot&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;trinketshop&amp;#039;&amp;#039;&amp;#039; - A shop with decorative player skulls&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;upgradeshop&amp;#039;&amp;#039;&amp;#039; - A shop for selling wand upgrades (hotbar upgrades, anti-hunger)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;fillwand&amp;#039;&amp;#039;&amp;#039; - For rank-based servers, fills a player&amp;#039;s wand with all of their spells&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;addspell&amp;#039;&amp;#039;&amp;#039; - Can be used to give players a specific spell&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;enchantwand&amp;#039;&amp;#039;&amp;#039; - Can be used as a replacement for the enchantment table&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;tpshop&amp;#039;&amp;#039;&amp;#039; - Allow a random tp for $1&lt;br /&gt;
&lt;br /&gt;
==== NPC shop parameters ====&lt;br /&gt;
&lt;br /&gt;
You can use /cast in-game with tab-completion to get an idea for available parameters. In particular, all of the shops support a common set of useful parameters:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;confirm&amp;#039;&amp;#039;&amp;#039; - Whether or not to show the confirmation screeen&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;path&amp;#039;&amp;#039;&amp;#039; - A player must be on or past this enchanting path to use this shop&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;path_end&amp;#039;&amp;#039;&amp;#039; - A player must have completed this enchanting path and be blocked on required spells&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;path_exact&amp;#039;&amp;#039;&amp;#039; - A player must be on this exact path&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;auto_upgrade&amp;#039;&amp;#039;&amp;#039; - Whether to advance the player to the next path once they meet the requirements&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;require_wand&amp;#039;&amp;#039;&amp;#039; - Whether or not to require a wand, useful to prevent players from having spell and upgrade items&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
Some simple examples:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;&amp;quot;&amp;gt;# Set up an upgrades NPC&lt;br /&gt;
/mnpc cast upgrades&lt;br /&gt;
&lt;br /&gt;
# Set up an NPC to give the player the blink spell in exchange for 30 dollars&lt;br /&gt;
/mnpc cast addspell spell blink&lt;br /&gt;
/mnpc costs 30&lt;br /&gt;
&lt;br /&gt;
# Set up a spell shop&lt;br /&gt;
/mnpc cast spellshop&lt;br /&gt;
&lt;br /&gt;
# Set up a random TP NPC&lt;br /&gt;
/mnpc cast tpshop&lt;br /&gt;
/mnpc configure helmet randomtp&amp;lt;/pre&amp;gt;&lt;br /&gt;
As with any spell, these spells can be customized or used as the basis for new spells via spells.yml.&lt;br /&gt;
&lt;br /&gt;
== Running Commands ==&lt;br /&gt;
&lt;br /&gt;
An NPC can also be set to run a set of commands, such as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/mnpc configure commands time set day;weather clear&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Command traits are similar to &amp;amp;quot;magic&amp;amp;quot; traits, but instead of a &amp;amp;quot;spell&amp;amp;quot; parameter they take a &amp;amp;quot;command&amp;amp;quot; parameter. &lt;br /&gt;
&lt;br /&gt;
=== Command Trait Selectors ===&lt;br /&gt;
&lt;br /&gt;
The following selectors can be used in a command:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@p&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s IGN&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@pn&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s IGN (same as @p)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@pd&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s display name&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@uuid&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s UUID&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@world&amp;#039;&amp;#039;&amp;#039; The world the player is in&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@x&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s x coordinate&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@y&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s y coordinate&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;@z&amp;#039;&amp;#039;&amp;#039; The player&amp;#039;s z coordinate&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;&amp;quot;&amp;gt;/mnpc configure command broadcast @p has clicked on an NPC at @world,@x,@y,@z&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Player NPCs ===&lt;br /&gt;
&lt;br /&gt;
Magic uses vanilla mobs for NPCs, as such it can not make players. However, if you have LibsDisguises you can make an NPC &amp;#039;&amp;#039;look&amp;#039;&amp;#039; like a player with the command &amp;lt;code&amp;gt;/mnpc player NathanWolf&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>炫宙菌</name></author>
	</entry>
</feed>