More Experience Drops Plugin
Overview
MoreExp is a plugin which enables full xp drop control. On first launch, the file MoreExp/config.xml is created, and this file contains experience drop for each monster (including 1.2 version and giant [tested, exp drops]).
Installation
Just download the plugin and put it into your plugin folder. Configuration file will be created on first run.
Commands
- /moreexp info : display experience drop for each mob.
- /moreexp info [mob] : display experience drop for specific mob, including variable experience
- /moreexp info [option] : display value of specific option
- /moreexp reload : reloads configuration file, and reverts any change put by /moreexp set
- /moreexp reset : resets experience of a player (both levels and experience bar)
- /moreexp save : save current experience drops to configuration file. Note: this command is automatically called by the server when the plugin becomes disabled (e.g. when you stop the server). If you plan to modify the configuration file using an external tool, keep in mind that you'll have to reload the configuration file before stopping the server.
- /moreexp set : allow to change experience drop for a given mob on the fly. This value will be saved on configuration file on exit. You can also use this command to change value of an option.
- /moreexp give : give some experience levels to a player
- /moreexp xpgain : set global experience multiplier
All these commands have the corresponding alias /mex [options...] (since version 2.1).
Permissions
- moreexp.adm.reload : set permissions of command /moreexp reload
- moreexp.adm.reset : set permissions of command /moreexp reset
- moreexp.adm.save : set permissions of command /moreexp save
- moreexp.adm.set : set permissions of command /moreexp set
- moreexp.adm.give : set permissions of command /moreexp give
- moreexp.adm.xpgain : set permissions of command /moreexp xpgain
Configuration
Plugin information
This is my first plugin. If you have any comment / suggestion, please leave a comment on this page.
its not full control on exp, full control its mean exp from any block, mob, action, for any enchant too
Thank's ;)
@KanzOne
Something changed in Bukkit API. I'm currently working on an update to fix that.
Why do I get EXP for mineing Grass, Stone and stuff like that?
@Subaca
Mining: implemented in 2.5 (and in 2.6, I'll update soon). Smelting: not yet implemented (first wait for implementation in Bukkit API)
Can you add support for exp gained when smelting and mining?
@psycenetic
Every creeper gives everytime a minimum of 5 xp and can randomly give an extra of 3 xp. If your type /mex info Creeper, you'll see 5-8 xp drop.
what does the random settings really mean.
for example: <entry key="Creeper">5</entry> <entry key="CreeperRand">3</entry>
So every creeper gives everytime a minimum of 5 XP and can randomly give an extra of 3? or... randomly a bonus up to 3 xp... or does it create a xp range of 5 +/- 3 so 2 up to 8
Don't know how to interpret these settings :D
Nice Plugin btw.
Haha, that test cost me 1 hour+ to find out which plugin made the message appear^^
ill try your new version :) thanks
@Endless123
I'd made this to test what happens if a players dies ((experimental feature of version 2.1). Thanks to tell me it works, now I deactivate broadcast message for version 2.4
Hello, your plugin spams the Chat with "Player org.bukkit.craftbukkit.entity.CraftPlayer has fallen." each time a player dies. When i disable your plugin, the message is gone :)
Using the newest CB build 2326 and moreexp 2.3
@Sandmaster23
Working in progress, will be released in 2.4
Updated message: this is not implemented in version 2.4, because experience drop method has only been implemented for CraftBukkit v1.3.1 R1.1 (development build, see here for more details). This modifications will be pushed on next CraftBukkit release (anyway, I'll develop an update for R1,1, but keep in mind that this will be a development version, mean unstable).
Can you make it configurable so that when players mine blocks in 1.3 they do not receive xp?
@AsianWiz
(Sorry, long time update) I have to check if Player is a subclass of Mob (otherwise, I have to implement a specific version for player). Players naturally drops experience (based on their saved experience), but yes, I can add bonus experience dropped.
Can we set it so that people drop exp?
Okay I'm sorry :( I'm not so well with that reload and save system as I want :D It works now thanks :)
@RamTamSpecial
As described, /moreexp reload revert configuration file. If you want to save, use /moreexp save.
So I installed you plugin and changed the amount of exp-drop but after a /reload the config.xml resets back to their basic settings ._.
@tabmonkey
Not for the moment (fixed experience value), but it could be an idea of implementation (added to my own TODO list).
How does this plugin handle mobs with variable experience, e.g. a chicken would give 1-3 experience in vanilla minecraft, can it handle ranges?