PowerItems 让你能够创建外观精美的物品!
用法:
/createitem <itemID> <itemMaterial> <damage> <rarity> <itemName>
关于稀有度,请参阅下方的“默认稀有度”部分。对于 itemName,你可以使用颜色代码。itemMaterial 指定了物品的材质,例如 "diamond_sword"(钻石剑)或 "golden_axe"(金斧)。
当你使用此命令创建物品时,它会被保存到配置文件中。随后可通过以下命令获取该物品:
/getitem <itemID>
使用 /commandtrigger,你可以为当前手持的物品添加一个命令或聊天消息,在你右键点击该物品时执行。添加命令时请勿包含斜杠 /。
示例:/commandtrigger add command teleport ^ ^ ^5
/commandtrigger <add|clear|list> <chat|command> <text>
默认稀有度:
- Common(普通)
- Uncommon( uncommon )
- Rare(稀有)
- Epic(史诗)
- Legendary(传说)
- Mythic(神话)
其他插件可以通过 RarityManager 类添加更多稀有度。这里 提供了一个示例。
Javadocs:
作为依赖项使用:
要将 PowerItems 用作依赖项,请在你的 plugin.yml 文件中添加以下内容:
depend: [PowerItems]
如果你正在使用 Maven,请同时在 pom.xml 文件中添加以下内容:
<repositories>
<repository>
<id>xwires</id>
<url>https://nexus.tangledwires.xyz/repository/maven-releases/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>xyz.tangledwires.poweritems</groupId>
<artifactId>PowerItems</artifactId>
<version>65</version>
</dependency>
</dependencies>
本插件使用 bStats 进行数据分析,收集的数据完全匿名。如果你想禁用 bStats,可以在 bStats 配置文件中进行设置。
来自 bStats 网站:
“bStats 不会收集任何个人数据。大多数收集到的数据是关于插件所在服务器的信息,如玩家数量、在线模式、Minecraft 版本、Java 版本等。所有数据均以完全匿名的方式发送和存储。服务器 IP 仅用于速率限制,且不与数据关联。
所有收集到的数据均公开可见。如果你对 Minecraft 服务器收集了哪些数据感兴趣,可以查看你服务器上各插件的页面。请注意,插件作者也可以发送针对其插件定制的数据。”
PowerItems lets you create nice looking items!
Usage:
/createitem <itemID> <itemMaterial> <damage> <rarity> <itemName>
For rarity see the "Default rarities" section below. For itemName, you can use colour codes. itemMaterial is what the item will be, for example "diamond_sword" or "golden_axe".
When you create an item using this command, it will be saved to the config file, you can then get more of this item using:
/getitem <itemID>
Using /commandtrigger, you can add a command or chat message to the item you are holding that will run when you right click it. Do not include the / when adding a command.
Example: /commandtrigger add command teleport ^ ^ ^5
/commandtrigger <add|clear|list> <chat|command> <text>
Default rarities:
- Common
- Uncommon
- Rare
- Epic
- Legendary
- Mythic
Other plugins can add more rarities using the RarityManager class. Here is an example.
Javadocs:
Using as a dependency:
To use PowerItems as a dependency, add the following to your plugin.yml file:
depend: [PowerItems]
And add the following to your pom.xml file if you are using Maven:
<repositories>
<repository>
<id>xwires</id>
<url>https://nexus.tangledwires.xyz/repository/maven-releases/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>xyz.tangledwires.poweritems</groupId>
<artifactId>PowerItems</artifactId>
<version>65</version>
</dependency>
</dependencies>
This plugin uses bStats for analytics, the data collected is completely anonymous. If you would like to disable bStats, you can do so in the bStats config file.
From the bStats website:
"bStats does not collect any personal data. Most of the collected data is information about the plugin's server like player count, online mode, Minecraft version, Java version, and more. All data gets sent and stored completely anonymously. Server IPs are only stored for ratelimiting and not linked to the data.
All data that is collected is publicly visible. If you are interested in what data is collected for your Minecraft server, take a look at the pages for the plugins on your server. Please note that plugin authors can also send data that is customized for their plugin."
评论 0
登录后参与评分
还没有评论,来抢沙发吧