ExperienceMod
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.
- Download 2.6.0 for Minecraft 1.4.7
- Download 2.5.0 for Minecraft 1.3.1
- Download 2.2.6 for Minecraft 1.2.5 or Tekkit
- Removing or changing the new 1.3 experience.
- Source (Github)
- Forum Thread
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.
There's an annoying bug, setting the drop type to Experience still drops virtual exp.
Mildly annoying, but it doesn't change much, thought you ought to know ^_^
@aadnk
Thank very much for the answer, would it be hard make support for MoCreatures ? im using Spigot Mcpc plus.
@elias1979
Don't be OP, in that case.
But no, you need a permission plugin if you want to be OP and not get "keepexp" at the same time.
@aadnk
What do i do if i don't use any permissions plugin ?
@aadnk
Same result. I'm going to be using a different chat prefixer soon, solely to fix this issue. Thank you for the great attempt though :)
EDIT: Apparently iChat went inactive, and the project got deleted. Guess now I have to switch.
Nice update aadnk, glad I could be of help :) prplz
A release on BukkitDev is way overdue, so I've pushed 2.6.0, containing all major bug fixes and features that have been out on the Jenkins server for a while.
I still haven't decided if I want to continue with this project or not, though.
@elias1979
Negate the "experiencemod.keepexp" permission.
If you're using PEX, you might want to update to the latest version or try a different permission plugin.
Why do i keep all experience when i die ?
@aadnk
I tried doing it like this but the console gives me this message:
Lost message: You killed a skeleton and received 20 experience!
Thank you once more aadnk! ^-^
- Bonnie
So 2.5.3 is compatible with 1.4.7 r1.0 then.
Why not edit the update date and official download ?
@CraftBonbon
Sure:
Thank you for the help before aadnk! :)
I have another question. Is there also a way to send a message when a mob is killed by a player?
- Bonnie
@Shad0wSpl1c3r
Sounds like iChat is to blame. I guess I can make ExperienceMod ignore the exception, and treat the "info nodes" as empty instead of printing it to the console.
Try this version.
I've been having a problem with ExperienceMod since the very beginning, doesn't matter what version of your plugin/CB I use. :( On startup, I get about 40 lines of:
[WARNING] [ExperienceMod] §cWarning: Preset '' threw exception: java.lang.UnsupportedOperationException: iChat does not support group info nodes!
I don't see any settings about info nodes, or anything similar. I'm really tired of the huge error chunk in the middle of my startup... Is this a known issue? I haven't been able to find anybody else with my problem as of yet.
CB 1.4_6.r0.3, ExperienceMod v2.5.3-SNAPSHOT, iChat 2.6.3
@CraftBonbon
I had this problem too. It was because I hadn't disabled the default EXP rewards through a different plugin.
Hello, thank you for such a wonderful and updated mod (through jenkins). I am curious if the max blocks in history setting is working? I am able to receive xp after placing and breaking iron ore.
@aadnk you have a pull request :)
I still get XP from breeding. Even when I have disabled the XP drop.
I'm running into some weird issues and I'm hoping someone can assist. I'm still relatively new to Minecraft administrating. I just installed ExperienceMod and the bridge extension on my Tekkit 3.1.3 server.
Players are receiving experience for the mobs and mined blocks that I set, but not for smelted items, crafted items, or anything else. I've disabled permissions (set them to false, which is supposed to grant everyone permissions), but it still seems like a weird permissions error? Here's some of the console output:
23:21:15 CONSOLE: [ExperienceMod] Raw: 83, Type: CHEST, Block: CHEST|4| 23:21:17 CONSOLE: [ExperienceMod] Raw: 81, Type: CHEST, Block: CHEST|4| 23:21:17 CONSOLE: [ExperienceMod] Raw: 47, Type: CHEST, Block: X130|0| 23:21:19 CONSOLE: [ExperienceMod] Raw: 72, Type: CHEST, Block: CHEST|4| 23:21:19 CONSOLE: [ExperienceMod] Raw: 9, Type: CHEST, Block: X130|0| 23:21:19 CONSOLE: [ExperienceMod] Raw: 80, Type: CHEST, Block: CHEST|4|
I don't even know what any of this is coming from.
23:20:57 CONSOLE: [ExperienceMod] Raw: 8, Type: WORKBENCH, Block: WORKBENCH|0| 23:20:59 CONSOLE: [ExperienceMod] Raw: 0, Type: WORKBENCH, Block: WORKBENCH|0| 23:20:59 CONSOLE: [ExperienceMod] experiencemod.rewards.crafting doesn't have permission to be awarded for CRAFTING.
I get this permission error for crafting and smelting.
23:20:31 CONSOLE: [ExperienceMod] Swallowed a close event. 23:20:33 CONSOLE: [ExperienceMod] Swallowed a close event.
This sounds ominous.
23:26:01 CONSOLE: [ExperienceMod] experiencebridgemod.rewards.processing doesn't have permission to be awarded for PROCESSING.
Again, not sure what to do about this.
Any help would be much appreciated. Seems like I might have a variety of issues here.
@aadnk
Ik. Thank you! :)