More Ways to Get XP

Choose how you gain XP by enabling or disabling XP from crops, mobs, blocks, and gameplay activities.
More Ways to get XP

More Ways to get XP

Description

More Ways to Get XP adds customizable new ways to earn experience through crops, mobs, blocks, and gameplay activities.

You can decide how XP is earned by enabling or disabling different XP sources and adjusting their reward values.

 

 

To use this addon, you need to configure which XP sources are enabled and how much XP they reward.

By default, only XP from crops is enabled.

This means that when you first install the addon and load a world, XP can only be gained from harvesting crops and from normal vanilla Minecraft XP sources. Other XP activities provided by this addon must be enabled manually.


Use the /xpset command to enable the others.

For example, to disable the option to get XP from crops, you need to type:

/xpset crops 1 1 false

This format consists of:

/xpset <event> <min> <max> <enable>

Explanation

/xpset : The main command used to configure XP settings.

<event> : The XP source or activity you want to configure.

Examples:

- crops
- sprinting
- every_morning
...

View Available Events

<min> : The minimum amount of XP orbs rewarded per action or event.

<max> : The maximum amount of XP orbs rewarded per action or event.

The addon will randomly choose a value between min and max.

<enable> : Determines whether the XP source is enabled or disabled.

Available values:

true
false
  • true → Enable XP gain from this activity
  • false → Disable XP gain from this activity

Available events

Event Description
crops Gain XP from harvesting crops
any_block Gain XP from breaking any block
sprinting Gain XP while sprinting
jumping Gain XP from jumping
sleeping Gain XP from sleeping
swimming Gain XP while swimming
climbing Gain XP while climbing
every_morning Gain XP every morning
standing_on_iron_block Gain XP while standing on iron blocks
hitting_entity Gain XP from hitting any entities
killing_entity Gain XP from killing any entities
open_the_door Gain XP from opening doors
sneak_near_iron_golem Gain XP while sneaking near an iron golem
eating Gain XP from eating
facing_villager Gain XP while facing villagers

Using the /xpform command

With the /xpform command, you can open a form that allows you to enable or disable events just like you would with the /xpset command, but in a more organized way. /xpform also lets you create your own specific target events!


Try the /xpform command

Simply type the /xpform command in-game.

If cheats are enabled, you will see several available subcommands, including add, set, mine, and delete.

Note: This addon can also be run without enabling cheats.


/xpform set

This opens a form displaying all available built-in events included in the addon.

From here, you can configure events directly in a more organized way. You can:

  • Enable or disable events
  • Change minimum XP values
  • Change maximum XP values
  • Adjust settings for each event individually

This provides the same functionality as /xpset, but through an easier and more user-friendly interface.

Don't forget to press the submit button every time you make changes to save.


/xpform add

Keep in mind that built-in events involving blocks or entities usually do not include specific targets.

For example, enabling the any_block event will cause every block you break to reward XP.

With /xpform add, you can create your own XP events and assign specific targets to them.

Examples:

  • Only gain XP from breaking minecraft:grass_block
  • Only gain XP from hitting minecraft:cow

This gives you much greater control over how XP is earned.

The form will ask you to enter a title, event, entity or block TypeId, and minimum and maximum XP values.

Note that the title must not contain the characters: !?@#|

If you are unsure about the TypeId of the block or entity you want to target, you can visit Minecraft Fandom Wiki for a complete list of Minecraft IDs.

TypeIds are usually based on the entity or block name, with spaces replaced by _.

For example:

iron block → iron_block

If this does not work, try adding minecraft: in front of the TypeId.

Examples:

minecraft:sheep
minecraft:iron_block
minecraft:grass_block

/xpform mine

After creating your own custom event using /xpform add, the effect is automatically enabled once you press the Submit button.

The /xpform mine option allows you to view and edit the custom events you have already created.

From here, you can modify event settings such as:

  • Minimum XP value, and
  • Maximum XP value

This makes managing your custom XP events simple and organized.


/xpform delete

The /xpform delete option allows you to remove custom XP events that you no longer want.

Simply select the events you wish to delete and confirm your changes.

Deleted events will immediately stop providing XP rewards.

 

Note: The command permission level used by this addon is set to Admin, which restricts commands to operators only.

The More Ways to Get XP Team

profile avatar
Owner
  • 6
    Followers
  • 8
    Projects
  • 16.6K
    Downloads
Donate

More from PakdeView all