XPDispenser
# XPDispenser
A Minecraft Bukkit plugin to throw your XP at yourself (e.g. to repair your mending tools).





## What is it?
XPDispenser allows you to throw XP orbs at yourself by using your currently collected XP points.
The collected XP points can be used to repair tools and armor enchanted with the mending enchantment. In that way, you are able to reuse your already collected XP points to repair your tools and armor.
## Permissions
Currently, there is only one permission available which controls whether a player is allowed to use this plugin: `xpdispenser` (Default: everyone)
## How to use it?
Simply place a sign at any location with the text `[XPDispenser]` at the first line.
Optionally, the second line contains the amount of XP points to be thrown in a single time (defaults to 10, if not given on the sign).
So, if you want to get 50 XP points, you can place a sign with the following content:
* First line: `[XPDispenser]`
* Second line: `50`
After correctly placing the sign, the color of the first line will change to blue.
To use the sign, simply interact with it (i.e. right click on it) while having the tool and/or armor to repair equipped.
### Why use a sign instead of a command?
It’s simple: I just don’t like to execute commands as a normal player, but I like to interact with the environment just like you would do in real life.
In case of this plugin, you could see the sign as some type of machine which will dispense some XP orbs.
## Build
You can build the project in the following 2 steps:
* Check out the repository
* Build the jar file using maven: *mvn clean package*
**Note:** JDK 1.8 and Maven is required to build the project!
## My other plugins
You can find them on my website.
Experience Coins
## Showcase

For more showcase images, head to the gallery
## Description
For the best experience, use version 1.21.4 or above. Below that, the enchantment glint will be present on the xp bottle. This pack was tested on version 1.21.9. This pack is incompatible with shaders.
This is a pack that changes experience points into coins. It retextures the experience bar, experience bottle, the orbs themselves with an animation, it adds new sounds, recolors some text, and uses the language file to change some names of things.
This pack was made for the One Texture at a Time ranked texture pack jam. I chose to retexture the experience orb, which itself is displayed in the experience bar ui and also has a corresponding item texture (the experience bottle). Since it’s impossible to animate entity textures with a texture pack, I had to use core shaders to shrink the uv and snap it to different points in the textures based off the GameTime variable. I also wanted to make the experience bottle into a sack of coins, but it felt off with the forced crashing sound the game makes. I also had to use core shaders to remove the enchantment glint on the bottle, remove the particles from the bottle when it hits the ground, recolor the text in different uis to match the coins, and remove the green tint from the experience orbs.
Thanks to girlthatbites for creating the textures and the icon, as well as P4ncake for creating the sounds.
## Support
**Join My Discord**
– Report bugs
– Create suggestions
– Vote on future packs
– Interact with the community
– Ask for help with texture packs
– This is the place to ask if you can use this pack in your own pack
**Check out The Repository**
– Report bugs
– Create suggestions
– Contribute by creating a pull request
https://www.alphaleo.li/resourcepacks
XpBottle




—
– 🧪 **XP Bottle Creation**: Convert XP into bottles using the `/xpbottle` command.
– 💰 **Tax System**: Configurable tax on XP conversion to prevent abuse.
– ⏳ **Cooldown System**: Prevent command spamming with configurable cooldowns.
– 🔐 **Protected Bottles**: Bottles can be protected from dropping on death.
– 🎨 **Customizable Bottles**: Customize bottle appearance, including material, name, lore, and glow effect.
– 🔒 **Permission-Based Limits**: Different XP limits based on permissions.
– 🔊 **Sound Effects**: Play sounds on bottle creation and redemption.
– 🔧 **ItemsAdder Integration**: Support for custom items via ItemsAdder.
– 👑 **Admin Commands**: Admins can give bottles to players and reload config.
– 🌍 **Multi-Language Support**: Configurable messages.
—

| Command | Description | Permission |
| —————————————————- | ——————————————————– | ———- |
| `/xpbottle ` | Create bottles with a specified amount and XP per bottle | None |
| `/xpbottle help` | Display the help message | None |
| `/xpbottle admin reload` | Reload the configuration and messages | `xp.admin` |
| `/xpbottle admin give ` | Give a bottle to a player | `xp.admin` |
| `/xpbottle admin help` | Display the admin help message | `xp.admin` |
Aliases: `/xp`
—

| Permission | Description | Default |
| ————- | —————————— | ——- |
| `xp.default` | Allows basic use of XP bottles | true |
| `xp.resident` | Allows higher XP limits | op |
| `xp.admin` | Allows admin commands | op |
—

In bottle lore and messages:
| Placeholder | Description |
| ———– | —————————————– |
| `%exp%` | Amount of XP in the bottle |
| `%signer%` | Name of the player who created the bottle |
| `%xp%` | Player’s current XP |
| `%cost%` | Cost in XP for the action |
| `%amount%` | Number of bottles |
| `%time%` | Remaining cooldown time |
| `%player%` | Target player name |
—

The plugin uses `config.yml` for configuration:
## Preview
“`yaml
max-bottle-amount: 1000000 # Maximum bottles per command
min-bottle-amount: 50 # Minimum XP per bottle
conversion-tax: 0.05 # Tax percentage (5%)
cooldown-seconds: 10 # Cooldown in seconds
bottle:
use-itemsadder: false # Use ItemsAdder for custom items
itemsadder-id: “exp_bottle”
material: EXPERIENCE_BOTTLE
name: “#F2EC27&lʙᴏᴛᴛʟᴇ ᴅ’ᴇxᴘᴇʀɪᴇɴᴄᴇ”
lore:
– “”
– “&7xᴘ : &f%exp%”
– “&7ᴘʀᴏᴘʀɪᴇᴛᴀɪʀᴇ : &f%signer%”
– “”
– “#F2EC27ᴄʟɪᴄᴋ ᴅʀᴏɪᴛ &7| &7utiliser la bouteille”
glow: false
reject-crafting: true
reject-villager-trading: true
withdraw-sound:
sound: “ENTITY_COW_DEATH”
enabled: false
redeem-sound:
sound: “ENTITY_PLAYER_LEVELUP”
enabled: true
drop-bottle:
enabled: false
protected-bottles: true
use-perm-based-exp: false
permission:
default:
max-bottle-amount: 1000
min-bottle-amount: 50
resident:
max-bottle-amount: 5000
min-bottle-amount: 50
“`

– **ItemsAdder**: Enable custom bottle items using ItemsAdder.
– **Permissions Plugins**: Supports permission-based XP limits.
XP Tome
### Functionality
This mod adds a single item – the XP Tome. With the XP Tome you can store and retrieve XP. It can store up to 1395 XP by default (can be configured), which equals to having 30 levels on the XP bar.
### Usage
– Sneak + right-click to store XP
– Right-click to retrieve XP
### Recipe

### Config/Item Components
Note: For item components, “true” means the component is on the item, and “false” means it isn’t.
Note: If you want to change the default item components of the XP Tome you can still use the config file, however that comes with caveats explained therein. Consider creating a Data Pack and override the XP Tome’s recipe with the components set as you wish. Here’s an example recipe. More info about data packs and recipes on the wiki!
– *max_xp* – The maximum amount of XP points that the XP Tome can hold. The default value (1395) represents having 30 levels on the XP bar.
– *retrieval_percentage* – The percentage of XP that the book will give back, as a sort of cost of using it. Example: If this config value is set to 0.75, and an XP Tome has 100 XP stored, attempting to retrieve these 100 XP will give back 75 XP. Note: This will not be 100% accurate, as Minecraft’s XP does not use decimals.
– *retrieve_until_next_level* – Setting this to true will remove only as much XP from the book at a time as is needed for the player to reach their next level.
– *retrieve_xp_orbs* – Setting this to true will remove XP from the book in XP orb form. This is useful if you want to use XP from the book for tools enchanted with Mending.
– *store_until_previous_level* – Setting this to true will store only as much XP from the player’s XP bar until reaching the previous level, meaning only one level at maximum will be added to the book’s storage at a time.
The configuration file for Minecraft versions 1.14.4-1.20.1 can be found in the serverconfig folder of your world.
### Further Info
This mod was created by me, following a request by Shivaxi. It is based off of XP Book and was recreated due to a duplication bug in the original mod, as well as a bug which causes the enchanting table to reset each time the book is used. As this mod uses the same modid and item id as the original, the two mods can not be installed at the same time and switching between them will not lose you any items. I did not take any code or assets from the original mod.
You are allowed to use this mod in any modpack.
XP tank V1.5
# XP TANK
This datapack adds a new item: The XP Tank
## USAGE
– Stand on the XP Tank to **deposit** your levels or shift + stand on the XP Tank to **withdraw** it
– To **remove** the XP Tank simply **right-click** it and you can pick it up.
## Crafting
The crafting is on the gallery image
—
Have Fun and keep your levels safe!
XP Storage – Trinkets



**NO PORT TO FORGE PLANNED!** *(but feel free to port it by yourself and link it)*
***The mod is fully configurable to enable only changes that you like***
# Description
This mod aims to improve your gameplay with XP Storage and Trinkets, both required of course. In this extension, you can craft **Trinkets** with the magic gem already present in the main mod: **Crystallized Lapis**.
This is a short description, full description below.
# FAQ
– **Does it work on a server?** Yes, it works on a server. File needed for **both** client **and** server
– **Can I include it in my modpack?** Yes, you are free to include this mod into your modpack
– **For any other things:** Feel free to share your experience, problems, enhancement ideas in the Discord server, or directly creating issues on the GitHub
# Full description
Recipes
## XP Conduit
– 3 Copper Ingots and 1 Crystallized Lapis
– The XP Conduit is a ring, so you can wear it in both mainhand and offhand ring slots

## XP Saver
– 3 Strings and 1 Crystallized Lapis.
– The XP Saver is an amulet, so you can wear it in necklace slot

How to…
## Use
– **XP Conduit:** When you wear it, **75%** of the experience you get will **automatically** be transferred in XP Book(s) from your inventory. However, this has a cost: each experience transferred use your ring until your ring become fully damaged!
– **XP Saver:** When you wear it, **50%** of the experience you had before to die will **automatically** be transferred in XP Book(s) from your inventory. However, this has a huge cost: each death use your amulet and make it completely damaged!
## Repair
Don’t worry! These trinkets don’t break, but you’ll have to repair them with a new Crystallized Lapis to be able to use their power again. Note that you can repair them even though they’re not fully damaged



Click Here to Support my Projects
XP Storage



**NO PORT TO FORGE PLANNED!** *(but feel free to port it by yourself and link it)*
***The mod is fully configurable to enable only changes that you like***
# Description
In this mod, you can craft XP Books in order to store your experience and save it from a coming death. After storing it, you can retrieve your experience back in two different ways: same way that you stored it OR you can brew the experience of the XP Book with the brewing stand in order to create special Experience Bottles that can give you even more experience.
TO READ WHEN UPDATING TO V1.6
⚠️ **v1.6 UPDATE:** XP Book II and III were ***removed***, and there were some changes with item data! You can update the mod in your world **without losing anything**, but be sure to put your books in a crafting table to **update** them. *Old saves won’t be supported forever, this warning will be update whenever a version without the transition support is uploaded.*


This is a short description, full description below.
# FAQ
– **Does it work on a server?** Yes, it works on a server. File needed for **both** client **and** server
– **Can I include it in my modpack?** Yes, you are free to include this mod into your modpack
– **For any other things:** Feel free to share your experience, problems, enhancement ideas in the Discord server, or directly creating issues on the GitHub
# Full description
Recipes
## Crystallized Lapis
– 4 Lapis Lazuli *(it stores experience so that makes senses)*
– 1 Amethyst Shard *(it’s a precious gem)*

## XP Book
– They can store up to **15** levels without upgrades (config).
This means experience to go from 0 level to X levels! Not the same amount than experience from Y to X+Y!
– 1 Book *(of course, it’s a book)*
– 4 Crystallized Lapis

## Smithing Template
– They can be used to upgrade XP Books of any level, only the ingredient with it changes
– 1 Diamond
– 8 Crystallized Lapis

## Smithing Template Duplication
– 1 Smithing Template
– 4 Crystallized Lapis

How to use?
## XP Book
– **Store experience:** Store the maximum amount of your experience in the book by right clicking. If you have more experience than the maximum amount, you will keep the remaining experience
– **Retrieve experience:** Get 85, 90, 95 or 100% (depending on book’s level) of the experience stored in the book by right clicking while sneaking
## Brewing
– Take 1, 3, 5 or 10 levels (depending on book’s level) of the experience stored in the book for each mundane potions (or Experience Bottle) placed in the brewing stand and put it in the resulting Experience Bottle (or add it to the current ones)
– Each Experience Bottle can store a maximum of 30 levels (config)

## XP Book Upgrades
– You can upgrade the book, so that it can store more experience and retrieve it more efficiently
– You need to craft an XP Book Upgrade Smithing Template and use it with the right ingredient, depending on the XP Book level in input (Diamond, Netherite Ingot or Nether Star).
– You can update the new smithing recipes to customize the parameters of the XP Book in output, such as its new capacity or efficiency for example with your custom resource pack
– You can also add new smithing recipes in your custom resource pack to add more XP Book levels




Click Here to Support my Projects
XP Stacker
🎉 **XPStacker: Let Your Server Breathe!** 🎉
Is your server slowing down because of all the scattered XP orbs? 🐢 XPStacker offers a sleek and effective solution to this problem. This lightweight plugin automatically merges nearby XP orbs into a single one, significantly reducing server load while providing a smoother experience for players.
✨ **Key Features:**
– **Lag Reduction:** 💨 Drastically reduces server lag by merging hundreds of scattered XP orbs into a single orb.
– **Automatic Merging:** 🤝 New XP orbs automatically merge with nearby ones. No player action is required.
– **Configurable Radius:** ⚙️ Easily adjust the merge radius of XP orbs in the config.yml file.
– **Lightweight and Stable:** 🔋 Operates with minimal resource usage and does not affect your server’s other features.
Add XPStacker to your server now and let your players collect XP without any lag! 💎
✨ **Check Out Our Other Plugins!** ✨
If you enjoy the **XPStacker** plugin, don’t forget to check out our other high-quality plugins for your server!
– **BuildByBit**: https://builtbybit.com/creators/fisfiskoray.600970
– **PolyMart:** https://polymart.org/user/57522/fisfiskoray
– **Modrinth:** https://modrinth.com/user/FisFisKoray
Skelun’s XP Reward System
_It’s unfair for players who likes to chill and gather materials to not get any XP while tryharders are building a thousand mob farms getting loads of experience to enchant everything._
_This is why I created this Mod/Datapack_
## ✨ NEW WAYS TO EARN XP





—
## 📝 RULES
* To receive XP by **Mining**, **Cutting**, **Digging** or **Farming** you must be using the appropriate tool;
* You receive less XP for “**Ice Boating**” or for using the “**Rail Bug**”;
* You receive less XP for **Traveling** if you are using something that speeds you up;
* You receive less XP for certain enchantments in specific conditions (e.g.: having *Depth Strider* and walking underwater).
## 🛠️ Mod Support
It supports any _*”Right-Click Harvest”*_ mod or data pack.
It supports any mod or data pack that allows you to break multiple blocks, like _*”vein mine”*_ or _*”timber”*_.
I have not included support for any modded tool, but if you want any, just ask!
## 📖 Settings
As of `version 2.6.1` you can now change some settings in-game.
> You need to be in creative mode (and if in a server, be an OP)
Type this command in chat to give yourself a written book:
“`/function sklps:config“`
It allows you to change some settings once you open it.
—
#### 🔢 *Detailed Information on the numbers I used:* **Google Sheets File**
—
💖 Feel free to give any feedback, trash talk or ask for anything.
**You can contact me on PlanetMinecraft**
**Or create an issue on Github**

XP Obelisk Additions
### Xp Item Inserter:
Can insert XP items and display current Xp level of connected Xp Storage.
You can disable the insertion by providing a redstone signal!
Accepts:
– xp berries
– xp bucket -> Bucket
– bottle of enchanting -> Bottle
– sculc
### Food :
+ Mystical Candy which gives you Experience and a chance of:
+ 75% for Haste V (1:25)
+ 25% Hiccup I (0:10)
### Effect:
+ Hiccup which lets you jump in random directions and drop some random items from your inventory (Hot-bar/Armor/offhand untouched).
### Item:
+ Rebarki’n Staff (add Bark back to Stripped Wood/Log) Works now with Modded Block’s too!
### Soulcopper:
+ Door
+ Trapdoor
+ Pressure Plate
+ Bars
+ Cut Version
+ Cut Slab
+ Cut Stairs
+ Street (120% Movement Speed)
### Fuel:
+ Raw Essence Block (Smelt’s 160 Item’s) 2.5Stacks
+ Raw Essence (Smelt’s 32 Item’s)
+ Raw Essence Shard (Smelt’s 8 Item’s)
### Crafting Item:
+ Essence Crystal