setXP
This is a simple plugin to let you set your own XP level without having to grind mobs. It is intended to allow Admins to test their other XP related plugins easily.
Users with permission can simply set their required XP level using /setxp [level]. Easy!
You can configure the maximum XP level. This works in two ways:
1. When using the /setxp command, if the level entered is above the configured maximum it will be set to the maximum instead.
2. (Optional) When a player gains XP and increases in level, SetXP can stop them gaining the level if it would put them above the max.
Commands
{} = Optional [] = Required
/setxp {player} [level] : Set XP level of you or {player}
/setxp add {player} [levels] : Increase XP level of you or {player}
(Thanks nicquehen)
/setxp remove {player} [levels] : Reduce XP level of you or {player}
(Thanks Metz_Cz
/getxp [player] : Get target player's XP level
(If running commands from console, {player} is not optional)
Permissions
setxp.* : Access all commands
setxp.setxp : Access /setxp
setxp.setxp.others : Can set another player's xp
setxp.add : Increase XP using /setxp add
stexp.add.others : Increase another player's xp
setxp.remove : Reduce XP using /setxp remove
stexp.reduce.others : Reduce another player's xp
setxp.exempt : Other players cannot change XP
setxp.override : Override exemption given by setx.exempt
setxp.getxp : Access /getxp
setxp.free : Player is not charged to use setXP
Installation
Just pop the .jar in your /plugins folder and reload
Configuration
There are four configuration settings:
price_per_xp_level : This is, um, the price per XP level (default is 0)
reduce_xp_refund_percentage : This is the percentage of the price_per_xp_level that is refunded to the player if they reduce their XP level. (default is 100% refund)
max_level : The maximum level a player can set their XP to
force_max_level : Prevents all players going above the configured max_level, including if they do so from XP orbs.
Metrics
This plugin uses PluginMetrics to help judge how the plugin is being used. No private information is gathered, merely data about your Bukkit version and other similar statistics.
We hope that you will help us by submitting your statisitcal data... but we understand if you would rather not. If you would rather not send this information, you can opt-out of metrics tracking by editing the config.yml file found in the Plugins/PluginMetrics folder and setting the opt-out option to true. You will then need to restart your server.
Future Plans
- None! Why not suggest one?
Source Code
Source code can be found on my Github Page
Donations
To show your support and help me justify to my wife why I spend so much time on Minecraft, please donate using the Donate button in the top right corner of this page!
Thank you
Other Projects
Addventure : Adventure mode arrives early! Let the Addventure begin!
MyChunk : Claim chunks for griefer protection!
ChestBank : Many Chests, on inventory per player, same inventory accessible in all chests!
ATMsigns : Deposit/Withdraw items for currency using one ATM sign.
GreylistVote : Prevent griefers without a whitelist. Players vote for approval.
SetXP : Set or increase your XP level with a simple command.
BoatBug : Stop players boating through walls!
SimpleSpawn : Simple plugin for changing spawn points (including /sethome and /home).
Itemizer : Get all the details of the item in your hand.
Suggest a Project
Got an idea for a project? PM me and I'll give it a look!
@nicquehen
Added /setxp add {player} [levels], and accessible from console
Please see changes to permissions (setxp.others has changed)
Haha... it just occurred to me that that was what you wanted.. came on to tell you and you'd already replied! :)
Yes I will definitely add that for you.. watch this space.
@ellbristow
Add level (sum from the current level) to the player online.
Buycraft run all command on the console.
:)
@nicquehen
What would the command do? Add a player who has not logged in and set their level?
Need a command /setxp add {player} [level]
i need to run that command in console mode :) (i use buycraft)
Thanks
@feildmaster
Thanks. Don't worry, I will be adding more to this later.
I'm going to approve of it, even though it doesn't seem to have any benefit over other plugins like this.