Get an Epic Experience with Premium

setXP

Admin Tools Login to Add Favorites
  • 0 Likes
  • Minecraft
  • 72 Monthly Downloads
  • Supports: CB 1.4.7-R1.0
  • 63,902 Total Downloads
  • Updated 02/06/2013
  • Created 01/05/2012
  • 3 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: v1.4.2
or
Support development! **
Donate

About 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.

Usage Stats

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!

Please Donate

1.4.2

Added: Metrics

1.4.1

Added: "/setxp remove {player} [levels]" command to reduce XP by a number of levels

1.4.0

Added: Configurable maximum level
Added: FORCED maximum level (so no player can ever go above the max level, including with xp orbs)
Fixed: Config not being loaded properly when not using Vault

1.3.3

Fixed: XP is not set if player has insufficient funds

1.3.2

Tweak: Changed to function of /setxp when used on it's own (with no parameters)
Tweak: Set all permissions to default to ops
Tweak: Minor change to vault interaction

1.3.1

Rebuilt using a Java 6 library to hopefully prevent some compatibility issues.

1.3

Added: Economy support for charging players to use setXP! Added: New permission node setxp.free (not charged for using setXP) Fixed: Maximum XP level set to 32767 to avoid GUI problems

1.2.3

(DOH! Skipped 1.2.2... must stop doing that!)
Tested: Works with 1.1-R6 AND 1.2.2-R0.1 (#2013)
Update: Minor code tidy up

1.2.1

Tweaked for new Bukkit API

1.2

+ Added /setxp add (increase level by specified amount)

+ Added new permissions

  • setxp.add
  • setxp.add.others

- Moved permission "setxp.others" to "setxp.setxp.others" to match "setxp.add"

- Messages now use player's/target's Display Name instead of their User Name

1.1

+ Added ability to change another player's XP level

+ Added /getxp command to check another player's XP level

+ Added ability to be exempt from having your XP changed

+ Added ability to override exemption

+ Added new permissions

  • setxp.others
  • setxp.exempt
  • setxp.override
  • setxp.getxp

+ Added support for running commands from the console

1.0

Initial release

Comments

  • #1

    Hello

    This is really nice plugin, but
    Maximum xp level is 32767...
    What about to make a config with maximum level (for example: maxlvl: 100)
    Is it possible?

    I can't find any plugin with this so - please do it for me :)

    Thank you :)

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Infinite Crisis NA

Get Your Preferred Access Code!