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.
A really nice plugin with a lot of cool options.
I am however looking for a "simplyfied" config, that supports:
@GioboiMC
Sure, by using presets. First, add the experiencePreset option to users and groups that should have a different multiplier (here for PermissionsEx):
Next, open ExperienceMod/presets.yml and set a different multiplier for each preset:
You could also have different multipliers per world.
Is there a way to make the multiplier only work for people with a certain node?
@rodier
Not yet, but I'm looking to address that for the next version (2.4.1). :)
@rodier
I'm getting those warnings sometimes too. I don't know what is causing it either. :/ Though they're not the exact same.
This is what I'm getting in my console, along with a few others, but this is the only warning sent to my ingame chat.
http://pastebin.com/tHt1dX2y
Im getting some errors.. with this mod.. when players do some action http://images.megaupload.cz/javaw_2012-08-16_12-47-42-00.jpg
in console there is more
it is possible to change how much player drop when he died?
Hi. I'm having troubles making expmod disable experience from everything besides monsters and animals. Monsters and animals are set to the exp they are to drop, but no matter what i try, mining/smelting coal and such still grants exp.
@aadnk
Looks like it worked! Thanks for your patience and help :D
@finamenon
I tried to reproduce the problem with Multiverse instead of Multiworld, but no dice. I created a new flat world, named it world_creative_flat, added it to the presets.yml, reloaded ExperienceMod, and it worked without a hitch.
Have you tried setting the creative configuration as the default?
@aadnk
I did write them exactly the same. For whatever reason, the creative folder is lowercase, all the rest are uppercase. It still didn't like this. Also if it makes a difference, the multiworld plugin I use is Multiverse.
@finamenon
Note that the world name in presets.yml must be written exactly - even with the same capitalization. See if you can get it to work by changing finamenon_creative_flat to Finamenon_creative_flat.
You could also check the correct spelling by typing "/mw info" when you're in the creative world. I didn't intend for it to be this strict, but there's no helping it now.
@aadnk I am using multiworld yes. I attempted to set it up so that no exp is awarded for any reason in the creative world. Also I get zero warnings.
Perhaps you could tell me what I did wrong with it? http://pastebin.com/HL7MW5k6
@finamenon
Looks like the configuration file isn't loading properly. Do you get any warnings when you load ExperienceMod? Use "/expmod warnings" to display them in game.
If I were to guess, I'd say it's a problem with presets.yml. Try to delete all the configuration files, run "expmod reload", and paste the 1.2.5 emulation into config.yml again.
Another possibility is that you're using MultiWorld and it's somehow causing problems.
@aadnk
I am using that configuration yes. The message that pops up when killing a zombie is as follows:
No config found for mob 32206, query: 54|ENTITY_ATTACK||!spawner|!baby|!tamed|playerKill
It then drops a couple exp orbs each time.
@finamenon
How much experience did you get from each mob? If you're unsure, type "/expmod debug" and check the console log - it should tell you how much experience each mob drops. This ought to be about one, occasionally they will drop zero though. And are you using this configuration?
Do note that ExperienceMod 2.3.0 doesn't actually "emulate" 1.2.5 properly - it only ensures that you will take approximately the same time getting to the maximum level. But you will level up at a different rate than in 1.2.5.
This will change in Experience 2.4.0, which introduces the ability to change how much experience you need to level up (like to the old 1.2.5 system), and how much experience you need at the enchanting table. I've already uploaded it to BukkitDev, but it must be approved first. It should be out tomorrow.
The multiplier doesn't seem to be affecting mobs at all with regards to emulating 1.2.5 exp tables. I was leveling far too quickly even with it at that reduced value.
It's now possible to fix the vanilla experience issue in 1.3 without having to patch CraftBukkit. Simply download and install the NoVanillaExperienceMod, and you should be good to go.
@CackleFish
It's possible that AutoUpdate doesn't work properly with plugins marked as just 1.3.1. I've changed it to 1.3.1-R1.0 now, so it's possible that it will work now.
Note that only users with the permission autoupdate.announce (and ops) will see that message.
@aadnk
I am using 2.3.0 and every time i join the server it says "[ExperienceMod] New Release available! If you want to update from 2.3.0 to ExeperienceMod 2.2.3 use /update ExperienceMod See http://dev.bukkit.org/server-mods/experiencemod/ for more information." But it does not seem to want to patch