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.
@Benas223
First, install the correct version of ExperienceMod. If you're using CraftBukkit 1.2.5, download ExperienceMod 2.2.4. If you're using the newest RB, CraftBukkit 1.3.1-R1.0, download ExperienceMod 2.3.0.
Next, paste the following into ExperienceMod/config.yml and run "/expmod reload":
@CackleFish
Right, that's probably because you're still using 2.2.4 or older. You must upgrade to 2.3.0, otherwise "virtual" experience will be broken like that.
@tremor77
Sure. You just have to use "disable default rewards" and patch CraftBukkit with No Vanilla XP Patch 1.1. I've put this into a configuration file: http://dev.bukkit.org/server-mods/experiencemod/pages/main/configuration/disable-exp/
Note that you must use the newest "patch" to remove smelting experience.
@tremor77
Haha, I see I'm not the only one looking to stop the 1.3.1 easymode :D
I'd love to block everything aswell if anyone finds a config to block everything.
does this plugin allow me to disable getting experience points from smelting entirely, as well as disabling coal ore from giving exp ?
Do you have an example to completely block all XP, period?
@aadnk
I'm very confused with your plugin's configuration. Can someone please give me a config of all exp drops equal to 1 ?
Hello, Sorry to bother you again, I seem to have a problem with getting rid of the normal vanilla minecraft xp. I have tried patching a few on the new 1.3.1 bukkit dev builds and recently the new recommended build by following your read me instructions and using the simulating 1.2.5 config. Unfortunately, it seems like killing one zombie is now giving 2 and 1/2 levels of xp. If you could help me out that would be great thanks :)
@CackleFish
Almost. The patch doesn't prevent CraftBukkit from giving experience from smelting, so that might be a bit overpowered - but it's still only about 1 experience per iron ingot, so it shouldn't be too bad.
No problem. And thanks. :)
@aadnk
Hey, Great thanks didn't realise about patching the craftbukkit. Also, does that config still allow all the ways of gaining xp like 1.3 from mining and smelting?
"you should be able to set the highest experience in the enchanting table through a setting"
That would be really helpful if it had the same enchanting level boundaries like 1.2.5 or if we could even set them.
Thanks for your help and you have a really smart plugin here.
@CackleFish
You can do that by using the "multiplier" setting. I've uploaded a 1.2.5-experience emulator for you:
http://dev.bukkit.org/server-mods/experiencemod/pages/main/configuration/1point2point5/
I gave it a spin on my test server, and as you can see, most stuff now drop either one single experience or nothing at all:
http://pastebin.com/UPQKSX0q
You might also notice that it sometimes decides to give you negative experience. That's a minor bug that I'll look into, but it's not a problem as long as you use experience orbs as reward, like in the configuration file above.
While this works, it's probably the lowest you ought to go. It feels much better to get *some* experience, even if you need a ton, than to get nothing for a while when you only need a few.
Ideally, you should be able to set the highest experience in the enchanting table through a setting, but that might be rather difficult to implement. I'll have to look into it later.
Hello, How would i go by just doing a overall xp multiplier change? For example i want to make xp collected to rank you up less so enchanting is harder like 1.2.5 with 50 levels. So i thought the best way is to make it harder for them to earn levels. If you could help me out that would be great thanks
@Joymo
I'll update the plugin as soon as the release build has been published, but in the meantime - try changing the default "reward type" to EXPERIENCE instead of VIRTUAL. That ought to fix it.
Needs an update for 1.3, for example Smelting gives massive XP, even with XP disabled in this plugin.
@MattSheridan
It's a known problem, but I can only guess at what's causing it. It's probably because the orbs a picked up too quickly for them to be spawned on the client side. If that's the case, the fix will probably involve referencing CraftBukkit directly (something I'd like to avoid), and modifying the spawned item entity directly.
But I don't see the point, to be honest. 1.3 will be released tomorrow, with Bukkit within a week later. That way, I could just use the official API to spawn experience at the appropriate time.
Hmm. Experience orbs don't seem to show up unless I've got some space between myself and the block or mob that's dropping them. If I'm close to the target, I get the experience points, but don't even hear the ding of 'em getting picked up. Not a real problem of course, but I'd like to fix it if it's just a config thing.
@aadnk
Ah! Okay, that's totally different from what I was guessing. Thanks!
@MattSheridan
Ah, this seems to be quite a common question. It's just another, rather redundant, way of specifying a range:
The "first" and "last" fields were the original method, but I felt it was rather clumsy and verbose. So I changed it to [a, b], while still keeping the original to maintain compatibility with older versions.
I always strive to avoid breaking compatibility with older configuration files, and as far as I know, I haven't done so since ExperienceMod was first released. But it might happen at some point, though. If it does, I'll be sure to warn about it in advance.
Oh, one other question! What are the First and Last selectors about?
@aadnk
Ah, okay! Thank you much! I think I'll just leave the slimes alone, for the moment, and focus on setting up experience rewards for crafting and mining. Great mod, by the way!