ExperienceMod 是一个插件,允许添加或更改授予经验值的玩家活动类型。这可以包括挖掘方块(同时也确保不会利用精准采集作弊)、放置方块、合成、酿造甚至熔炼。
将 Minecraft 1.3 的经验系统配置得更具挑战性,更像 1.2.5 版本——或者反过来操作。你可以进行实验,找到适合你的系统。所有内容均可配置。
此项目的最新开发者构建版可在我的 Jenkins 服务器 获取。这些构建版未经 BukkitDev 工作人员批准。使用风险自负。
功能
- 通过多种因素修改或移除掉落经验值:
- 生物或怪物的名称
- 杀死该生物/怪物的伤害类型。拒绝使用溅射药水获得的经验!
- 怪物是否由刷怪笼生成
- 在放置和破坏方块时,以及合成、酿造和熔炼物品时掉落经验值:
- 根据方块名称和耐久度,以及是否由玩家放置。
- 根据药水效果、等级、持续时间延长等。
- 防止死亡时丢失经验值。
- 设置击杀其他玩家所获得的经验值数量。
- 当获得经验值时,向服务器或特定频道(仅限 HeroChat 和 ChannelChat)广播消息。你还可以限制消息发送的频率。
- 为每个世界,甚至特定的玩家或群组使用不同的配置。
- 钓鱼也能获得经验值!
- 设置掉落经验值的范围。支持小数。
- (可选)使用权限来决定哪些人会受到修改的影响。
- 通过货币奖励经验值(需要 Vault 插件)。
- 通过掉落额外物品进行奖励。
- 将附魔的最大等级从 30 改为任意你想要的数值。
- 设置你需要多少书架才能达到最大附魔等级。
- 设置升级一级所需的经验值数量。完美重现 1.2.5 的经验系统。
配置
请注意,默认配置文件主要是为了展示此插件的功能。配置页面 提供了一些更好(且更易用)的示例,以及详细的文档。
命令
| 语法 | 描述 | 权限 |
| /experiencemod reload | 重新加载配置文件 | experiencemod.admin |
| /experiencemod debug | 切换调试模式 | experiencemod.admin |
| /experiencemod warnings | 显示最近的解析警告。 | experiencemod.admin |
| /experiencemod item [action] [block] | 显示方块/物品的经验值价值。 | experiencemod.admin |
| /experiencemod mob [mob-name] | 显示怪物的经验值价值。 | experiencemod.admin |
| /expmod | experiencemod 命令的别名。 | experiencemod.admin |
| /spawnexp amount | 在光标指向的目标位置生成给定数量的经验值。 | experiencemod.admin |
模组支持
此模组支持 Tekkit 服务器及其自定义方块。只需下载并安装 ExperienceBridgeMod 1.2.0 即可启用该功能。
支持以下客户端和服务端模组:
更多信息请参阅 ExperienceBridgeMod 页面。
权限
你可以在 global.yml 中禁用权限。
| 权限 | 描述 |
| experiencemod.keepexp | 防止死亡时丢失经验值。 |
| experiencemod.maxenchant | 确保附魔台最后一个槽位始终显示最高可能的等级。 |
| experiencemod.admin | 允许管理员重新加载或调试 ExperienceMod。 |
| experiencemod.info | 允许访问警告和调试消息。 |
| experiencemod.rewards.block | 挖矿方块时给予经验奖励。如果玩家拥有精准采集附魔,则不会获得此奖励。 |
| experiencemod.rewards.bonus | 破坏不可再生方块时给予经验奖励。与 block 不同,此奖励始终有效。 |
| experiencemod.rewards.placing | 在世界中放置方块时给予经验奖励。 |
| experiencemod.rewards.crafting | 合成物品时给予经验奖励。 |
| experiencemod.rewards.brewing | 酿造药水时给予经验奖励。 |
| experiencemod.rewards.smelting | 冶炼矿石时给予经验奖励。 |
| experiencemod.rewards.fishing | 钓鱼以及未能钓到鱼时给予经验奖励。 |
| autoupdate.announce | 当 ExperienceMod 有新版本可用时接收通知。 |
| autoupdate.update | 如果有新版本可用,则在下次服务器重启时下载该新版本。 |
选项
注意:并非所有权限插件都支持选项。
| 选项 | 描述 |
| experiencePreset | 为该玩家或组加载的预设配置。这允许你为每个世界、组甚至单个玩家设置不同的配置文件。 |
统计数据收集
本插件使用 MCStats 来生成并发布匿名使用统计数据,但你可以通过将 config.yml 中的 use metrics 设置为 false 来轻松退出统计。
如果启用,以下信息每十分钟发送一次:
- Metrics 修订版本号(当前为 5)。
- 服务器的 GUID
- 当前在线玩家数量(非最大玩家容量)
- 服务器版本字符串(你在 /version 命令中看到的相同版本字符串)
- ExperienceMod 的当前版本
- 是否已安装并钩入任何可选插件。这使我能够确定应该投入时间支持的插件:
- 包括:LogBlock、HawkEye、Vault、HeroChat、ChannelChat 和 ExperienceBridgeMod。
- 自插件上次重新加载以来遇到的“警告”数量(配置错误和常规异常)。
ExperienceMod is a plugin that makes it possible to add, or change, the types of player activity that awards experience points. This can be anything from mining blocks (also ensures no cheating with silk touch), placing blocks, crafting, brewing or even smelting.
Configure the experience system in Minecraft 1.3 to be more challenging, more like 1.2.5 - or, go the other way. You can experiment, finding a system that works for you. It's all configurable.
Up-to-date developer builds of this project can be acquired at my Jenkins server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Features
- Modify or remove the dropped experience by a number of factors:
- Name of mob or creature
- The type of damage that killed the mob/creature. Deny experience from using splash potions!
- Whether or not a mob has spawned from a monster spawner
- Drop experience when placing and breaking blocks, along with crafting, brewing and smelting items:
- By block name and durability, and whether it was placed by a player.
- By potion effect, level, extended duration, and more.
- Prevent experience loss upon death.
- Set how much experience a player will get for killing another another.
- Broadcast a message to the server or a specific channel (HeroChat and ChannelChat only) when experience is being awarded. You can also limit the rate of messages transmitted.
- Use a different configuration for every world, or even particular players or groups.
- Add experience to fishing!
- Set a range of experience to drop. Can handle decimal numbers.
- Use (optionally) permissions to decide who will be affected by the modifications.
- Reward experience through currency (requires the Vault plugin).
- Drop currency items instead of being given currency directly.
- Reward by dropping additional items.
- Change the maximum enchanting level from 30 to anything you'd like.
- Set the amount of bookcases you need to get the maximum enchanting level.
- Set how much experience you need to level up a level. Recreate the 1.2.5 experience system perfectly.
Configuration
Note that the default configuration file has been written mostly to demonstrate the functionality of this plugin. The configuration page has some better (and more usable) examples, along with a detailed documentation.
Commands
| Syntax | Description | Permission |
| /experiencemod reload | Reloads the configuration files | experiencemod.admin |
| /experiencemod debug | Toggles debug mode | experiencemod.admin |
| /experiencemod warnings | Displays the most recent parsing warnings. | experiencemod.admin |
| /experiencemod item [action] [block] | Displays the experience worth of a block/item. | experiencemod.admin |
| /experiencemod mob [mob-name] | Displays the experience worth of a mob. | experiencemod.admin |
| /expmod | Alias for the experiencemod command. | experiencemod.admin |
| /spawnexp amount | Spawn the given amount experience at the target location of the cursor. | experiencemod.admin |
Mod Support
This mod supports Tekkit servers and its custom blocks. Simply download and install ExperienceBridgeMod 1.2.0 to enable the feature.
The following client and server-side mods are supported:
More information can be found on the ExperienceBridgeMod page.
Permissions
You can disable permissions in global.yml.
| Permission | Description |
| experiencemod.keepexp | Prevents the loss of experience upon death. |
| experiencemod.maxenchant | Ensures that the last slot on an enchantment table will always be the highest possible. |
| experiencemod.admin | Allows administrators to reload or debug ExperienceMod. |
| experiencemod.info | Allows access to warning and debug messages. |
| experiencemod.rewards.block | Rewards mining blocks with experience. Will not be awarded if the player has silk-touch. |
| experiencemod.rewards.bonus | Rewards destroying non-renewable blocks with experience. Will always be awarded, unlike block. |
| experiencemod.rewards.placing | Rewards placing blocks in the world. |
| experiencemod.rewards.crafting | Rewards crafting items with experience. |
| experiencemod.rewards.brewing | Rewards brewing potions with experience. |
| experiencemod.rewards.smelting | Rewards smelting ores with experience. |
| experiencemod.rewards.fishing | Rewards fishing and failing to catch a fish. |
| autoupdate.announce | Receive a notification when a new version of ExperienceMod is available. |
| autoupdate.update | Download a new version, if available, for the next server restart. |
Options
Note: Not all permission plugins support options.
| Option | Description |
| experiencePreset | The preset to load for this player or group. This allows you to have different configuration files for each world, group or even player. |
Statistics Collection
This plugin uses MCStats to generate and publish anonymous usage statistics, but you can easily opt-out by setting use metrics in config.yml to false.
If enabled, the following is sent every ten minutes:
- Metrics revision version (currently 5).
- Server's GUID
- Players currently online (not max player count)
- Server version string (the same version string you see in /version)
- Current version of ExperienceMod
- Whether or not any of the optional plugins are installed AND hooked. This allows me to determine which plugins I should spend time supporting:
- This includes: LogBlock, HawkEye, Vault, HeroChat, ChannelChat and ExperienceBridgeMod.
- The number of "warnings" (configuration errors and general exceptions) encountered since the plugin was last reloaded.
评论 0
登录后参与评分
还没有评论,来抢沙发吧