<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://mineplugin.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2277369574</id>
	<title>Minecraft插件百科 - 用户贡献 [zh-cn]</title>
	<link rel="self" type="application/atom+xml" href="https://mineplugin.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2277369574"/>
	<link rel="alternate" type="text/html" href="https://mineplugin.org/%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/2277369574"/>
	<updated>2026-05-01T01:45:57Z</updated>
	<subtitle>用户贡献</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mineplugin.org/index.php?title=PlayerPoints&amp;diff=2983</id>
		<title>PlayerPoints</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=PlayerPoints&amp;diff=2983"/>
		<updated>2016-03-22T04:43:16Z</updated>

		<summary type="html">&lt;p&gt;2277369574：​汉文&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{模板:待完善}}&lt;br /&gt;
翻译者注：此插件的API和Event部分的翻译，因为水平原因，无法完成，希望有经验的帮忙翻一下=A=&lt;br /&gt;
{{Bukkit Plugin Infobox&lt;br /&gt;
|插件名=PlayerPoints&lt;br /&gt;
|版本=v2.1.4&lt;br /&gt;
|前置插件=-&lt;br /&gt;
|兼容服务端版本=1.9&lt;br /&gt;
|网址=http://dev.bukkit.org/bukkit-plugins/playerpoints/&lt;br /&gt;
}}&lt;br /&gt;
== 概览 ==&lt;br /&gt;
 独立于其他经济插件的点券插件，可作为服务器第二款代币。作者将会增加一些不同的功能，如果你的点券数量足够，你便可以做这些&lt;br /&gt;
   如果玩家做了一个不错的建筑，管理员便可以给玩家点券以奖励。&lt;br /&gt;
   如果你的点券达到一定的数量，你将会成为管理员。&lt;br /&gt;
 Development builds of this project can be acquired at the provided continuous integration server. （不太明白这句）&amp;lt;br /&amp;gt; 这些版本没有经过BukkitDev 的批准。需要构建者自己承担风险。&lt;br /&gt;
 http://mineplugin.org/ChestCommandsGUI&lt;br /&gt;
 在正版服务器，这个插件将会连接到api.mojang.com来获取玩家的UUID。&lt;br /&gt;
=== 特点 ===&lt;br /&gt;
:*可以将点券给予玩家。&lt;br /&gt;
:*可以从玩家那里拿去点券。&lt;br /&gt;
:*向玩家支付点券。&lt;br /&gt;
:*查看看其他玩家拥有多少点券？&lt;br /&gt;
:*查看你有多少点券？&lt;br /&gt;
:*排行榜&lt;br /&gt;
:*支持设置权限来限制。&lt;br /&gt;
:*可选Vault的支持&lt;br /&gt;
:*用点券来购买物品 ([http://dev.bukkit.org/bukkit-plugins/pointshop/ PointShop])&lt;br /&gt;
=== 命令 ===&lt;br /&gt;
  /points pay &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;    从你的账户内给予玩家点券。&lt;br /&gt;
  /points give &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;   给予某个玩家点券。&lt;br /&gt;
  /points take &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;   扣除某个玩家的点券。&lt;br /&gt;
  /points set &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;    设置玩家的点券数量。&lt;br /&gt;
  /points reset &amp;lt;玩家名字&amp;gt;         重置玩家的点券数量。&lt;br /&gt;
  /points look &amp;lt;玩家名字&amp;gt;          查看某个玩家的点券。  &lt;br /&gt;
  /points me                       查看自己的点券数量。&lt;br /&gt;
  /points lead [next/prev/#]&lt;br /&gt;
  缩写: /p &amp;lt;give/take/look/me/pay/set/reset&amp;gt;&lt;br /&gt;
=== 权限 ===&lt;br /&gt;
  PlayerPoints.pay      这个权限将会允许你使用pay指令。&lt;br /&gt;
  PlayerPoints.give     这个权限将会允许你使用give指令。&lt;br /&gt;
  PlayerPoints.take     这个权限将会允许你使用take指令。&lt;br /&gt;
  PlayerPoints.set      这个权限将会允许你使用set指令。&lt;br /&gt;
  PlayerPoints.reset    这个权限将会允许你使用reset指令。&lt;br /&gt;
  PlayerPoints.look     这个权限将会允许你使用look指令。&lt;br /&gt;
  PlayerPoints.lead     这个权限将会允许你使用lead指令。&lt;br /&gt;
  PlayerPoints.me       这个权限将会允许你使用me指令。&lt;br /&gt;
=== 视频 ===&lt;br /&gt;
  请前去官网进行观看&lt;br /&gt;
&lt;br /&gt;
=== 待办事项 ===&lt;br /&gt;
  得到各国语言的支持。&lt;br /&gt;
=== Maven ===&lt;br /&gt;
  我们支持Maven，只需添加我们的存储库。&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;repository&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;dakani&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;Dakani Nexus Repo&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;url&amp;gt;http://repo.dakanilabs.com/content/repositories/public&amp;lt;/url&amp;gt;&lt;br /&gt;
    &amp;lt;/repository&amp;gt;&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  在依赖中加入PlayerPoints。&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;dependency&amp;gt;&lt;br /&gt;
    &amp;lt;groupId&amp;gt;org.black_ixx&amp;lt;/groupId&amp;gt;&lt;br /&gt;
    &amp;lt;artifactId&amp;gt;PlayerPoints&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
    &amp;lt;version&amp;gt;2.1.3&amp;lt;/version&amp;gt;&lt;br /&gt;
  &amp;lt;/dependency&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
  [https://trello.com/b/Bfy6xx4M/bukkit-plugins Trello开发板]&lt;br /&gt;
  访问 Trello开发板查看所有项目和待办的事项。&lt;br /&gt;
  你可以在这里评论和投票所有的主题。&lt;br /&gt;
  所有的改变都在这里实时呈现。&lt;br /&gt;
&lt;br /&gt;
== Config（配置文件） ==&lt;br /&gt;
  &#039;&#039;&#039;以下选项将出现在Config.yml。&#039;&#039;&#039;&lt;br /&gt;
=== Storage: ===&lt;br /&gt;
  这个选项将会定义数据的储存类型，储存方式通常有三种：MySQL、SQLite、YAML。注意这里一定要区分大小写。如果给的是一个无效的选项，将会以默认的YAML      &lt;br /&gt;
  方式处理（这个选项的默认是YMAL）&lt;br /&gt;
&lt;br /&gt;
=== vault: ===&lt;br /&gt;
  这个选项定义了是否与Vault对接，请注意，任何其他的经济插件都会考虑这一个（这个选项默认的是false）&lt;br /&gt;
=== version: ===&lt;br /&gt;
  这个选项用于标注此配置文件的版本，用于更新的时候使用，注意！请不要修改这个选项！！&lt;br /&gt;
&lt;br /&gt;
=== Mysql: ===&lt;br /&gt;
注意这段只有在storage:设置为 MySQL或SQLite的时候才生效&lt;br /&gt;
  *host:数据库的（ip）地址（这个选项默认参数是localhost）&lt;br /&gt;
  *port: 数据库的端口（这个选项默认参数是3306）&lt;br /&gt;
  *database: 数据库名称（这个选项默认参数是minecraft）&lt;br /&gt;
  *user:登录数据库所使用的用户名（这个选项的默认参数是root）&lt;br /&gt;
  *password:登录数据库所使用的密码（这个选项的默认参数是pass）&lt;br /&gt;
  &#039;&#039;&#039;其他的一些设置:&#039;&#039;&#039; &lt;br /&gt;
    *use:如果你想设置使用数据库，请设置这项为true（这个选项的默认参数是false）&lt;br /&gt;
=== vote: ===&lt;br /&gt;
  *enabled: 是否使用Votifier监听器(默认: false)&lt;br /&gt;
  *amount: Amount of points to give on a vote event (Default: 100)&lt;br /&gt;
  *online: Whether the player must be online to receive the points (Default: false)&lt;br /&gt;
&lt;br /&gt;
=== debug: ===&lt;br /&gt;
  *database: 开启数据库连接的报错显示（这个选项的默认参数是false）&lt;br /&gt;
== API ==&lt;br /&gt;
=== 概述 ===&lt;br /&gt;
  新的API允许开发人员对是否交易得到反馈.而你仍然可以使用旧的方法调用&lt;br /&gt;
  控制台命令,这些方法可以让你完成同样的事情,而不必通过控制台.&lt;br /&gt;
  在你的plugin.yml中,确保PlayerPoints添加依赖关系.&lt;br /&gt;
  Either:&lt;br /&gt;
  *depend: [PlayerPoints]&lt;br /&gt;
  Or:&lt;br /&gt;
  *softdepend: [PlayerPoints]&lt;br /&gt;
  During enable, you need to grab the PlayerPoints plugin instance and save that reference somewhere as you will be using the API through it.&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
    import org.black_ixx.playerpoints.PlayerPoints;&lt;br /&gt;
&lt;br /&gt;
    private PlayerPoints playerPoints;&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     * Validate that we have access to PlayerPoints&lt;br /&gt;
     *&lt;br /&gt;
     * @return True if we have PlayerPoints, else false.&lt;br /&gt;
     */&lt;br /&gt;
    private boolean hookPlayerPoints() {&lt;br /&gt;
        final Plugin plugin = this.getServer().getPluginManager().getPlugin(&amp;quot;PlayerPoints&amp;quot;);&lt;br /&gt;
        playerPoints = PlayerPoints.class.cast(plugin);&lt;br /&gt;
        return playerPoints != null; &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     * Accessor for other parts of your plugin to retrieve PlayerPoints.&lt;br /&gt;
     *&lt;br /&gt;
     * @return PlayerPoints plugin instance&lt;br /&gt;
     */&lt;br /&gt;
    public PlayerPoints getPlayerPoints() {&lt;br /&gt;
        return playerPoints;&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  If its not enabled, you&#039;re going to have to handle that situation accordingly.&lt;br /&gt;
&lt;br /&gt;
  -If it is enabled, then utilizing the API is rather simple. You don&#039;t need to get an instance, or hold onto some object. All you have to do   &lt;br /&gt;
  is call the method from static class.- The static access of the API had to be changed in order to service situations where multiple linked   &lt;br /&gt;
  servers are referencing the same MySQL table.&lt;br /&gt;
&lt;br /&gt;
  Now, you access the API through the plugin instance that we saved earlier. All the methods of the API are the same as before. &lt;br /&gt;
  Example:&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
      int balance = playerPoints.getAPI().look(&amp;quot;Player&amp;quot;);&lt;br /&gt;
      The above code will return the amount of points that the player named &amp;quot;Player&amp;quot; has.&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  Another example:&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
    if(playerPoints.getAPI().take(&amp;quot;Player&amp;quot;, 100)) {&lt;br /&gt;
    	//Success&lt;br /&gt;
    } else {&lt;br /&gt;
       //Failed, probably not enough points&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  The above code attempts to take 100 points away from the player &amp;quot;Player&amp;quot;. As mentioned before, you get feedback on the operation on whether or       &lt;br /&gt;
  not it succeeded in performing the transaction.&lt;br /&gt;
&lt;br /&gt;
=== JavaDocs ===&lt;br /&gt;
  该API中的所有方法都有JavaDoc.以下是引用的副本.&lt;br /&gt;
&lt;br /&gt;
  give(String playername, int amount)&lt;br /&gt;
    Gives points to specified player&lt;br /&gt;
    Returns: true if we successfully adjusted points, else false&lt;br /&gt;
  take(String playername, int amount)&lt;br /&gt;
    Take points from specified player. If amount given is not already negative, it is done internally.&lt;br /&gt;
    Returns: true if they had enough points to be removed, else false.&lt;br /&gt;
  look(String playername)&lt;br /&gt;
    Look up the current points of a player, if available. If the player is not in the config file, we default to 0.&lt;br /&gt;
    Returns: integer of the amount of points the player has&lt;br /&gt;
  pay(String sorce, String target, int amount)&lt;br /&gt;
    Transfer points from one player to another. Attempts to take the points, if available, from the source player account and then attempts &lt;br /&gt;
     to give that amount to the target player account. If the give portion fails, the amount taken is returned to the source player account.&lt;br /&gt;
    Returns: true if the transfer succeeded, else false.&lt;br /&gt;
  set(String playername, int amount)&lt;br /&gt;
    Sets a player&#039;s points to the given value. This overwrites whatever current amount they had before.&lt;br /&gt;
    Returns true if successful, else false.&lt;br /&gt;
  reset(String playername)&lt;br /&gt;
    Removes the player from the config, effectively removing the points that the player had.&lt;br /&gt;
    Returns true if successful, else false.&lt;br /&gt;
&lt;br /&gt;
== Event ==&lt;br /&gt;
  每当玩家点券数量被修改PlayerPoints将发出事件.&lt;br /&gt;
  事件可以进行修改与取消.&lt;br /&gt;
=== 玩家点券更改事件 ===&lt;br /&gt;
Called when the player&#039;s points will be changed. You get the name of the target player and the amount that it will change by.&lt;br /&gt;
当玩家的点会被改变。得到目标玩家的名称和数量,它将会改变。&lt;br /&gt;
&lt;br /&gt;
=== 玩家点券重置事件 ===&lt;br /&gt;
Called when the player&#039;s points will be reset.&lt;br /&gt;
当玩家的点数将被重新设置。&lt;br /&gt;
&lt;br /&gt;
== GitHub ==&lt;br /&gt;
  [https://github.com/Mitsugaru/PlayerPoints/ 点击此处去GitHub]&lt;br /&gt;
== 相关插件 ==&lt;br /&gt;
  [http://dev.bukkit.org/bukkit-plugins/bossshop/ BossShop（官网地址）]&lt;br /&gt;
  [http://dev.bukkit.org/bukkit-plugins/karmiconomy/ Karmiconomy（官网地址）]&lt;br /&gt;
[[Category:经济]]&lt;br /&gt;
[[Category:修正]]&lt;/div&gt;</summary>
		<author><name>2277369574</name></author>
	</entry>
	<entry>
		<id>https://mineplugin.org/index.php?title=PlayerPoints&amp;diff=2982</id>
		<title>PlayerPoints</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=PlayerPoints&amp;diff=2982"/>
		<updated>2016-03-22T04:42:44Z</updated>

		<summary type="html">&lt;p&gt;2277369574：​汉文&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{模板:待完善}}&lt;br /&gt;
翻译者注：此插件的API和Event部分的翻译，因为水平原因，无法完成，希望有经验的帮忙翻一下=A=&lt;br /&gt;
{{Bukkit Plugin Infobox&lt;br /&gt;
|插件名=PlayerPoints&lt;br /&gt;
|版本=v2.1.4&lt;br /&gt;
|前置插件=-&lt;br /&gt;
|兼容服务端版本=1.9&lt;br /&gt;
|网址=http://dev.bukkit.org/bukkit-plugins/playerpoints/&lt;br /&gt;
}}&lt;br /&gt;
== 概览 ==&lt;br /&gt;
 独立于其他经济插件的点券插件，可作为服务器第二款代币。作者将会增加一些不同的功能，如果你的点券数量足够，你便可以做这些&lt;br /&gt;
   如果玩家做了一个不错的建筑，管理员便可以给玩家点券以奖励。&lt;br /&gt;
   如果你的点券达到一定的数量，你将会成为管理员。&lt;br /&gt;
 Development builds of this project can be acquired at the provided continuous integration server. （不太明白这句）&amp;lt;br /&amp;gt; 这些版本没有经过BukkitDev 的批准。需要构建者自己承担风险。&lt;br /&gt;
 http://mineplugin.org/ChestCommandsGUI&lt;br /&gt;
 在正版服务器，这个插件将会连接到api.mojang.com来获取玩家的UUID。&lt;br /&gt;
=== 特点 ===&lt;br /&gt;
:*可以将点券给予玩家。&lt;br /&gt;
:*可以从玩家那里拿去点券。&lt;br /&gt;
:*向玩家支付点券。&lt;br /&gt;
:*查看看其他玩家拥有多少点券？&lt;br /&gt;
:*查看你有多少点券？&lt;br /&gt;
:*排行榜&lt;br /&gt;
:*支持设置权限来限制。&lt;br /&gt;
:*可选Vault的支持&lt;br /&gt;
:*用点券来购买物品 ([http://dev.bukkit.org/bukkit-plugins/pointshop/ PointShop])&lt;br /&gt;
=== 命令 ===&lt;br /&gt;
  /points pay &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;    从你的账户内给予玩家点券。&lt;br /&gt;
  /points give &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;   给予某个玩家点券。&lt;br /&gt;
  /points take &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;   扣除某个玩家的点券。&lt;br /&gt;
  /points set &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;    设置玩家的点券数量。&lt;br /&gt;
  /points reset &amp;lt;玩家名字&amp;gt;         重置玩家的点券数量。&lt;br /&gt;
  /points look &amp;lt;玩家名字&amp;gt;          查看某个玩家的点券。  &lt;br /&gt;
  /points me                       查看自己的点券数量。&lt;br /&gt;
  /points lead [next/prev/#]&lt;br /&gt;
  缩写: /p &amp;lt;give/take/look/me/pay/set/reset&amp;gt;&lt;br /&gt;
=== 权限 ===&lt;br /&gt;
  PlayerPoints.pay      这个权限将会允许你使用pay指令。&lt;br /&gt;
  PlayerPoints.give     这个权限将会允许你使用give指令。&lt;br /&gt;
  PlayerPoints.take     这个权限将会允许你使用take指令。&lt;br /&gt;
  PlayerPoints.set      这个权限将会允许你使用set指令。&lt;br /&gt;
  PlayerPoints.reset    这个权限将会允许你使用reset指令。&lt;br /&gt;
  PlayerPoints.look     这个权限将会允许你使用look指令。&lt;br /&gt;
  PlayerPoints.lead     这个权限将会允许你使用lead指令。&lt;br /&gt;
  PlayerPoints.me       这个权限将会允许你使用me指令。&lt;br /&gt;
=== 视频 ===&lt;br /&gt;
  请前去官网进行观看&lt;br /&gt;
&lt;br /&gt;
=== 待办事项 ===&lt;br /&gt;
  得到各国语言的支持。&lt;br /&gt;
=== Maven ===&lt;br /&gt;
  我们支持Maven，只需添加我们的存储库。&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;repository&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;dakani&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;Dakani Nexus Repo&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;url&amp;gt;http://repo.dakanilabs.com/content/repositories/public&amp;lt;/url&amp;gt;&lt;br /&gt;
    &amp;lt;/repository&amp;gt;&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  在依赖中加入PlayerPoints。&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;dependency&amp;gt;&lt;br /&gt;
    &amp;lt;groupId&amp;gt;org.black_ixx&amp;lt;/groupId&amp;gt;&lt;br /&gt;
    &amp;lt;artifactId&amp;gt;PlayerPoints&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
    &amp;lt;version&amp;gt;2.1.3&amp;lt;/version&amp;gt;&lt;br /&gt;
  &amp;lt;/dependency&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
  [https://trello.com/b/Bfy6xx4M/bukkit-plugins Trello开发板]&lt;br /&gt;
  访问 Trello开发板查看所有项目和待办的事项。&lt;br /&gt;
  你可以在这里评论和投票所有的主题。&lt;br /&gt;
  所有的改变都在这里实时呈现。&lt;br /&gt;
&lt;br /&gt;
== Config（配置文件） ==&lt;br /&gt;
  &#039;&#039;&#039;以下选项将出现在Config.yml。&#039;&#039;&#039;&lt;br /&gt;
=== Storage: ===&lt;br /&gt;
  这个选项将会定义数据的储存类型，储存方式通常有三种：MySQL、SQLite、YAML。注意这里一定要区分大小写。如果给的是一个无效的选项，将会以默认的YAML      &lt;br /&gt;
  方式处理（这个选项的默认是YMAL）&lt;br /&gt;
&lt;br /&gt;
=== vault: ===&lt;br /&gt;
  这个选项定义了是否与Vault对接，请注意，任何其他的经济插件都会考虑这一个（这个选项默认的是false）&lt;br /&gt;
=== version: ===&lt;br /&gt;
  这个选项用于标注此配置文件的版本，用于更新的时候使用，注意！请不要修改这个选项！！&lt;br /&gt;
&lt;br /&gt;
=== Mysql: ===&lt;br /&gt;
注意这段只有在storage:设置为 MySQL或SQLite的时候才生效&lt;br /&gt;
  *host:数据库的（ip）地址（这个选项默认参数是localhost）&lt;br /&gt;
  *port: 数据库的端口（这个选项默认参数是3306）&lt;br /&gt;
  *database: 数据库名称（这个选项默认参数是minecraft）&lt;br /&gt;
  *user:登录数据库所使用的用户名（这个选项的默认参数是root）&lt;br /&gt;
  *password:登录数据库所使用的密码（这个选项的默认参数是pass）&lt;br /&gt;
  &#039;&#039;&#039;其他的一些设置:&#039;&#039;&#039; &lt;br /&gt;
    *use:如果你想设置使用数据库，请设置这项为true（这个选项的默认参数是false）&lt;br /&gt;
=== vote: ===&lt;br /&gt;
  *enabled: 是否使用Votifier监听器(默认: false)&lt;br /&gt;
  *amount: Amount of points to give on a vote event (Default: 100)&lt;br /&gt;
  *online: Whether the player must be online to receive the points (Default: false)&lt;br /&gt;
&lt;br /&gt;
=== debug: ===&lt;br /&gt;
  *database: 开启数据库连接的报错显示（这个选项的默认参数是false）&lt;br /&gt;
== API ==&lt;br /&gt;
=== 概述 ===&lt;br /&gt;
  新的API允许开发人员对是否交易得到反馈.而你仍然可以使用旧的方法调用&lt;br /&gt;
  控制台命令,这些方法可以让你完成同样的事情,而不必通过控制台.&lt;br /&gt;
  在你的plugin.yml中,确保PlayerPoints添加依赖关系.&lt;br /&gt;
  Either:&lt;br /&gt;
  *depend: [PlayerPoints]&lt;br /&gt;
  Or:&lt;br /&gt;
  *softdepend: [PlayerPoints]&lt;br /&gt;
  During enable, you need to grab the PlayerPoints plugin instance and save that reference somewhere as you will be using the API through it.&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
    import org.black_ixx.playerpoints.PlayerPoints;&lt;br /&gt;
&lt;br /&gt;
    private PlayerPoints playerPoints;&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     * Validate that we have access to PlayerPoints&lt;br /&gt;
     *&lt;br /&gt;
     * @return True if we have PlayerPoints, else false.&lt;br /&gt;
     */&lt;br /&gt;
    private boolean hookPlayerPoints() {&lt;br /&gt;
        final Plugin plugin = this.getServer().getPluginManager().getPlugin(&amp;quot;PlayerPoints&amp;quot;);&lt;br /&gt;
        playerPoints = PlayerPoints.class.cast(plugin);&lt;br /&gt;
        return playerPoints != null; &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     * Accessor for other parts of your plugin to retrieve PlayerPoints.&lt;br /&gt;
     *&lt;br /&gt;
     * @return PlayerPoints plugin instance&lt;br /&gt;
     */&lt;br /&gt;
    public PlayerPoints getPlayerPoints() {&lt;br /&gt;
        return playerPoints;&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  If its not enabled, you&#039;re going to have to handle that situation accordingly.&lt;br /&gt;
&lt;br /&gt;
  -If it is enabled, then utilizing the API is rather simple. You don&#039;t need to get an instance, or hold onto some object. All you have to do   &lt;br /&gt;
  is call the method from static class.- The static access of the API had to be changed in order to service situations where multiple linked   &lt;br /&gt;
  servers are referencing the same MySQL table.&lt;br /&gt;
&lt;br /&gt;
  Now, you access the API through the plugin instance that we saved earlier. All the methods of the API are the same as before. &lt;br /&gt;
  Example:&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
      int balance = playerPoints.getAPI().look(&amp;quot;Player&amp;quot;);&lt;br /&gt;
      The above code will return the amount of points that the player named &amp;quot;Player&amp;quot; has.&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  Another example:&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
    if(playerPoints.getAPI().take(&amp;quot;Player&amp;quot;, 100)) {&lt;br /&gt;
    	//Success&lt;br /&gt;
    } else {&lt;br /&gt;
       //Failed, probably not enough points&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  The above code attempts to take 100 points away from the player &amp;quot;Player&amp;quot;. As mentioned before, you get feedback on the operation on whether or       &lt;br /&gt;
  not it succeeded in performing the transaction.&lt;br /&gt;
&lt;br /&gt;
=== JavaDocs ===&lt;br /&gt;
  该API中的所有方法都有JavaDoc.以下是引用的副本.&lt;br /&gt;
&lt;br /&gt;
  give(String playername, int amount)&lt;br /&gt;
    Gives points to specified player&lt;br /&gt;
    Returns: true if we successfully adjusted points, else false&lt;br /&gt;
  take(String playername, int amount)&lt;br /&gt;
    Take points from specified player. If amount given is not already negative, it is done internally.&lt;br /&gt;
    Returns: true if they had enough points to be removed, else false.&lt;br /&gt;
  look(String playername)&lt;br /&gt;
    Look up the current points of a player, if available. If the player is not in the config file, we default to 0.&lt;br /&gt;
    Returns: integer of the amount of points the player has&lt;br /&gt;
  pay(String sorce, String target, int amount)&lt;br /&gt;
    Transfer points from one player to another. Attempts to take the points, if available, from the source player account and then attempts &lt;br /&gt;
     to give that amount to the target player account. If the give portion fails, the amount taken is returned to the source player account.&lt;br /&gt;
    Returns: true if the transfer succeeded, else false.&lt;br /&gt;
  set(String playername, int amount)&lt;br /&gt;
    Sets a player&#039;s points to the given value. This overwrites whatever current amount they had before.&lt;br /&gt;
    Returns true if successful, else false.&lt;br /&gt;
  reset(String playername)&lt;br /&gt;
    Removes the player from the config, effectively removing the points that the player had.&lt;br /&gt;
    Returns true if successful, else false.&lt;br /&gt;
&lt;br /&gt;
== Event ==&lt;br /&gt;
  每当玩家点券数量被修改PlayerPoints将发出事件.&lt;br /&gt;
  事件可以进行修改与取消.&lt;br /&gt;
=== 玩家点券更改事件 ===&lt;br /&gt;
Called when the player&#039;s points will be changed. You get the name of the target player and the amount that it will change by.&lt;br /&gt;
当玩家的点会被改变。得到目标玩家的名称和数量,它将会改变。&lt;br /&gt;
&lt;br /&gt;
=== 玩家点券重置事件 ===&lt;br /&gt;
Called when the player&#039;s points will be reset.&lt;br /&gt;
Called when the player&#039;s points will be reset.&lt;br /&gt;
&lt;br /&gt;
== GitHub ==&lt;br /&gt;
  [https://github.com/Mitsugaru/PlayerPoints/ 点击此处去GitHub]&lt;br /&gt;
== 相关插件 ==&lt;br /&gt;
  [http://dev.bukkit.org/bukkit-plugins/bossshop/ BossShop（官网地址）]&lt;br /&gt;
  [http://dev.bukkit.org/bukkit-plugins/karmiconomy/ Karmiconomy（官网地址）]&lt;br /&gt;
[[Category:经济]]&lt;br /&gt;
[[Category:修正]]&lt;/div&gt;</summary>
		<author><name>2277369574</name></author>
	</entry>
	<entry>
		<id>https://mineplugin.org/index.php?title=PlayerPoints&amp;diff=2981</id>
		<title>PlayerPoints</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=PlayerPoints&amp;diff=2981"/>
		<updated>2016-03-22T04:42:15Z</updated>

		<summary type="html">&lt;p&gt;2277369574：​翻译&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{模板:待完善}}&lt;br /&gt;
翻译者注：此插件的API和Event部分的翻译，因为水平原因，无法完成，希望有经验的帮忙翻一下=A=&lt;br /&gt;
{{Bukkit Plugin Infobox&lt;br /&gt;
|插件名=PlayerPoints&lt;br /&gt;
|版本=v2.1.4&lt;br /&gt;
|前置插件=-&lt;br /&gt;
|兼容服务端版本=1.9&lt;br /&gt;
|网址=http://dev.bukkit.org/bukkit-plugins/playerpoints/&lt;br /&gt;
}}&lt;br /&gt;
== 概览 ==&lt;br /&gt;
 独立于其他经济插件的点券插件，可作为服务器第二款代币。作者将会增加一些不同的功能，如果你的点券数量足够，你便可以做这些&lt;br /&gt;
   如果玩家做了一个不错的建筑，管理员便可以给玩家点券以奖励。&lt;br /&gt;
   如果你的点券达到一定的数量，你将会成为管理员。&lt;br /&gt;
 Development builds of this project can be acquired at the provided continuous integration server. （不太明白这句）&amp;lt;br /&amp;gt; 这些版本没有经过BukkitDev 的批准。需要构建者自己承担风险。&lt;br /&gt;
 http://mineplugin.org/ChestCommandsGUI&lt;br /&gt;
 在正版服务器，这个插件将会连接到api.mojang.com来获取玩家的UUID。&lt;br /&gt;
=== 特点 ===&lt;br /&gt;
:*可以将点券给予玩家。&lt;br /&gt;
:*可以从玩家那里拿去点券。&lt;br /&gt;
:*向玩家支付点券。&lt;br /&gt;
:*查看看其他玩家拥有多少点券？&lt;br /&gt;
:*查看你有多少点券？&lt;br /&gt;
:*排行榜&lt;br /&gt;
:*支持设置权限来限制。&lt;br /&gt;
:*可选Vault的支持&lt;br /&gt;
:*用点券来购买物品 ([http://dev.bukkit.org/bukkit-plugins/pointshop/ PointShop])&lt;br /&gt;
=== 命令 ===&lt;br /&gt;
  /points pay &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;    从你的账户内给予玩家点券。&lt;br /&gt;
  /points give &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;   给予某个玩家点券。&lt;br /&gt;
  /points take &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;   扣除某个玩家的点券。&lt;br /&gt;
  /points set &amp;lt;玩家名字&amp;gt; &amp;lt;数量&amp;gt;    设置玩家的点券数量。&lt;br /&gt;
  /points reset &amp;lt;玩家名字&amp;gt;         重置玩家的点券数量。&lt;br /&gt;
  /points look &amp;lt;玩家名字&amp;gt;          查看某个玩家的点券。  &lt;br /&gt;
  /points me                       查看自己的点券数量。&lt;br /&gt;
  /points lead [next/prev/#]&lt;br /&gt;
  缩写: /p &amp;lt;give/take/look/me/pay/set/reset&amp;gt;&lt;br /&gt;
=== 权限 ===&lt;br /&gt;
  PlayerPoints.pay      这个权限将会允许你使用pay指令。&lt;br /&gt;
  PlayerPoints.give     这个权限将会允许你使用give指令。&lt;br /&gt;
  PlayerPoints.take     这个权限将会允许你使用take指令。&lt;br /&gt;
  PlayerPoints.set      这个权限将会允许你使用set指令。&lt;br /&gt;
  PlayerPoints.reset    这个权限将会允许你使用reset指令。&lt;br /&gt;
  PlayerPoints.look     这个权限将会允许你使用look指令。&lt;br /&gt;
  PlayerPoints.lead     这个权限将会允许你使用lead指令。&lt;br /&gt;
  PlayerPoints.me       这个权限将会允许你使用me指令。&lt;br /&gt;
=== 视频 ===&lt;br /&gt;
  请前去官网进行观看&lt;br /&gt;
&lt;br /&gt;
=== 待办事项 ===&lt;br /&gt;
  得到各国语言的支持。&lt;br /&gt;
=== Maven ===&lt;br /&gt;
  我们支持Maven，只需添加我们的存储库。&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;repository&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;dakani&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;Dakani Nexus Repo&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;url&amp;gt;http://repo.dakanilabs.com/content/repositories/public&amp;lt;/url&amp;gt;&lt;br /&gt;
    &amp;lt;/repository&amp;gt;&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  在依赖中加入PlayerPoints。&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;dependency&amp;gt;&lt;br /&gt;
    &amp;lt;groupId&amp;gt;org.black_ixx&amp;lt;/groupId&amp;gt;&lt;br /&gt;
    &amp;lt;artifactId&amp;gt;PlayerPoints&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
    &amp;lt;version&amp;gt;2.1.3&amp;lt;/version&amp;gt;&lt;br /&gt;
  &amp;lt;/dependency&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
  [https://trello.com/b/Bfy6xx4M/bukkit-plugins Trello开发板]&lt;br /&gt;
  访问 Trello开发板查看所有项目和待办的事项。&lt;br /&gt;
  你可以在这里评论和投票所有的主题。&lt;br /&gt;
  所有的改变都在这里实时呈现。&lt;br /&gt;
&lt;br /&gt;
== Config（配置文件） ==&lt;br /&gt;
  &#039;&#039;&#039;以下选项将出现在Config.yml。&#039;&#039;&#039;&lt;br /&gt;
=== Storage: ===&lt;br /&gt;
  这个选项将会定义数据的储存类型，储存方式通常有三种：MySQL、SQLite、YAML。注意这里一定要区分大小写。如果给的是一个无效的选项，将会以默认的YAML      &lt;br /&gt;
  方式处理（这个选项的默认是YMAL）&lt;br /&gt;
&lt;br /&gt;
=== vault: ===&lt;br /&gt;
  这个选项定义了是否与Vault对接，请注意，任何其他的经济插件都会考虑这一个（这个选项默认的是false）&lt;br /&gt;
=== version: ===&lt;br /&gt;
  这个选项用于标注此配置文件的版本，用于更新的时候使用，注意！请不要修改这个选项！！&lt;br /&gt;
&lt;br /&gt;
=== Mysql: ===&lt;br /&gt;
注意这段只有在storage:设置为 MySQL或SQLite的时候才生效&lt;br /&gt;
  *host:数据库的（ip）地址（这个选项默认参数是localhost）&lt;br /&gt;
  *port: 数据库的端口（这个选项默认参数是3306）&lt;br /&gt;
  *database: 数据库名称（这个选项默认参数是minecraft）&lt;br /&gt;
  *user:登录数据库所使用的用户名（这个选项的默认参数是root）&lt;br /&gt;
  *password:登录数据库所使用的密码（这个选项的默认参数是pass）&lt;br /&gt;
  &#039;&#039;&#039;其他的一些设置:&#039;&#039;&#039; &lt;br /&gt;
    *use:如果你想设置使用数据库，请设置这项为true（这个选项的默认参数是false）&lt;br /&gt;
=== vote: ===&lt;br /&gt;
  *enabled: 是否使用Votifier监听器(默认: false)&lt;br /&gt;
  *amount: Amount of points to give on a vote event (Default: 100)&lt;br /&gt;
  *online: Whether the player must be online to receive the points (Default: false)&lt;br /&gt;
&lt;br /&gt;
=== debug: ===&lt;br /&gt;
  *database: 开启数据库连接的报错显示（这个选项的默认参数是false）&lt;br /&gt;
== API ==&lt;br /&gt;
=== 概述 ===&lt;br /&gt;
  新的API允许开发人员对是否交易得到反馈.而你仍然可以使用旧的方法调用&lt;br /&gt;
  控制台命令,这些方法可以让你完成同样的事情,而不必通过控制台.&lt;br /&gt;
  在你的plugin.yml中,确保PlayerPoints添加依赖关系.&lt;br /&gt;
  Either:&lt;br /&gt;
  *depend: [PlayerPoints]&lt;br /&gt;
  Or:&lt;br /&gt;
  *softdepend: [PlayerPoints]&lt;br /&gt;
  During enable, you need to grab the PlayerPoints plugin instance and save that reference somewhere as you will be using the API through it.&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
    import org.black_ixx.playerpoints.PlayerPoints;&lt;br /&gt;
&lt;br /&gt;
    private PlayerPoints playerPoints;&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     * Validate that we have access to PlayerPoints&lt;br /&gt;
     *&lt;br /&gt;
     * @return True if we have PlayerPoints, else false.&lt;br /&gt;
     */&lt;br /&gt;
    private boolean hookPlayerPoints() {&lt;br /&gt;
        final Plugin plugin = this.getServer().getPluginManager().getPlugin(&amp;quot;PlayerPoints&amp;quot;);&lt;br /&gt;
        playerPoints = PlayerPoints.class.cast(plugin);&lt;br /&gt;
        return playerPoints != null; &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    /**&lt;br /&gt;
     * Accessor for other parts of your plugin to retrieve PlayerPoints.&lt;br /&gt;
     *&lt;br /&gt;
     * @return PlayerPoints plugin instance&lt;br /&gt;
     */&lt;br /&gt;
    public PlayerPoints getPlayerPoints() {&lt;br /&gt;
        return playerPoints;&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  If its not enabled, you&#039;re going to have to handle that situation accordingly.&lt;br /&gt;
&lt;br /&gt;
  -If it is enabled, then utilizing the API is rather simple. You don&#039;t need to get an instance, or hold onto some object. All you have to do   &lt;br /&gt;
  is call the method from static class.- The static access of the API had to be changed in order to service situations where multiple linked   &lt;br /&gt;
  servers are referencing the same MySQL table.&lt;br /&gt;
&lt;br /&gt;
  Now, you access the API through the plugin instance that we saved earlier. All the methods of the API are the same as before. &lt;br /&gt;
  Example:&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
      int balance = playerPoints.getAPI().look(&amp;quot;Player&amp;quot;);&lt;br /&gt;
      The above code will return the amount of points that the player named &amp;quot;Player&amp;quot; has.&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  Another example:&lt;br /&gt;
  &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
    if(playerPoints.getAPI().take(&amp;quot;Player&amp;quot;, 100)) {&lt;br /&gt;
    	//Success&lt;br /&gt;
    } else {&lt;br /&gt;
       //Failed, probably not enough points&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
  The above code attempts to take 100 points away from the player &amp;quot;Player&amp;quot;. As mentioned before, you get feedback on the operation on whether or       &lt;br /&gt;
  not it succeeded in performing the transaction.&lt;br /&gt;
&lt;br /&gt;
=== JavaDocs ===&lt;br /&gt;
  该API中的所有方法都有JavaDoc.以下是引用的副本.&lt;br /&gt;
&lt;br /&gt;
  give(String playername, int amount)&lt;br /&gt;
    Gives points to specified player&lt;br /&gt;
    Returns: true if we successfully adjusted points, else false&lt;br /&gt;
  take(String playername, int amount)&lt;br /&gt;
    Take points from specified player. If amount given is not already negative, it is done internally.&lt;br /&gt;
    Returns: true if they had enough points to be removed, else false.&lt;br /&gt;
  look(String playername)&lt;br /&gt;
    Look up the current points of a player, if available. If the player is not in the config file, we default to 0.&lt;br /&gt;
    Returns: integer of the amount of points the player has&lt;br /&gt;
  pay(String sorce, String target, int amount)&lt;br /&gt;
    Transfer points from one player to another. Attempts to take the points, if available, from the source player account and then attempts &lt;br /&gt;
     to give that amount to the target player account. If the give portion fails, the amount taken is returned to the source player account.&lt;br /&gt;
    Returns: true if the transfer succeeded, else false.&lt;br /&gt;
  set(String playername, int amount)&lt;br /&gt;
    Sets a player&#039;s points to the given value. This overwrites whatever current amount they had before.&lt;br /&gt;
    Returns true if successful, else false.&lt;br /&gt;
  reset(String playername)&lt;br /&gt;
    Removes the player from the config, effectively removing the points that the player had.&lt;br /&gt;
    Returns true if successful, else false.&lt;br /&gt;
&lt;br /&gt;
== Event ==&lt;br /&gt;
  每当玩家点券数量被修改PlayerPoints将发出事件.&lt;br /&gt;
  事件可以进行修改与取消.&lt;br /&gt;
=== 玩家点券更改事件 ===&lt;br /&gt;
Called when the player&#039;s points will be changed. You get the name of the target player and the amount that it will change by.&lt;br /&gt;
当玩家的点会被改变。得到目标玩家的名称和数量,它将会改变。&lt;br /&gt;
&lt;br /&gt;
=== 玩家点券重置事件 ===&lt;br /&gt;
Called when the player&#039;s points will be reset.&lt;br /&gt;
&lt;br /&gt;
== GitHub ==&lt;br /&gt;
  [https://github.com/Mitsugaru/PlayerPoints/ 点击此处去GitHub]&lt;br /&gt;
== 相关插件 ==&lt;br /&gt;
  [http://dev.bukkit.org/bukkit-plugins/bossshop/ BossShop（官网地址）]&lt;br /&gt;
  [http://dev.bukkit.org/bukkit-plugins/karmiconomy/ Karmiconomy（官网地址）]&lt;br /&gt;
[[Category:经济]]&lt;br /&gt;
[[Category:修正]]&lt;/div&gt;</summary>
		<author><name>2277369574</name></author>
	</entry>
</feed>