ExpConvertor | Convert your exp points into an exp bottle! [$1.99]

Status
This thread has been locked.

Ome_R

BG-Software © 2018 - 2026
Supreme
Feedback score
16
Posts
0
Reactions
477
Resources
0
dX7fgwC.png


eHztUkI.png

- Convert all of your exp points into an exp bottle
- Convert a specific amount of exp points into an exp bottle
- All messages are customizable.
- Supports 1.7+
- Reload messages file using one command
- NBT tags & lore support

Code:
############################################################################
##                                                                        ##
##                      ExpConvertor Messages File                        ##
##                   Plugin's creator is OmerBenGera                      ##
##                                                                        ##
############################################################################

#When a player doesn't have the permission 'expconvertor.use'
NO_PERMISSION: '&fUnknown command. Type "/help" for help.'

#When the player runs the command but not following the format '/xpbottle [#]'
#{0} represents the command format
COMMAND_USAGE: '&cUsage: {0}'

#When the player runs the command but doesn't have enough exp points
#{0} represents the value that was entered
NOT_ENOUGH_EXP: '&cYou don''t have enough exp points.'

#When the player tries to convert 0 exp points
NO_EXP: '&cYou cannot convert 0 exp points.'

#When the player runs the command but put an invalid number
INVALID_NUMBER: '&c''{0}'' is not a valid number.'

#When the exp points are successfully converted into an exp bottle
CONVERT_SUCCEED: '&aSuccessfully converted your exp into an exp bottle!'

#When the reload command is successfully finished
RELOAD_SUCCEED: '&aSuccessfully reloaded the messages.yml!'

#When the reload command has failed
RELOAD_FAILED: '&cError while reloading messages.yml, check console for more information.'

#The name of the exp bottle
BOTTLE_NAME: '&6Converted EXP'

#The lore of the bottle
#{0} represents the amount of exp points
BOTTLE_LORE:
- ''
- '&dContains &a{0} &dexp points.'

#Does the plugin should store data with nbt tags?
#This function is not supported on 1.7 servers!
#Note that not all the plugins support NBT tags.
#Make sure the lore contains {0} if that is false
NBT_SUPPORT: true


ofbsOj7.png

- /xpbottle: Converts all of your exp points into an exp bottle.
- /xpbottle <#>: Converts a specific amount of exp points into an exp bottle.
- /xpbottle reload: Reloads the messages.yml file


qYMmP05.png

- expconvertor.use: Gives access to /xpbottle
- expconvertor.reload: Gives access to /xpbottle reload


vOZMBRe.png

Drag the .jar file into the plugins folder of your server, and that's it.


zC5fgbN.png

https://www.mc-market.org/resources/6000/

QMDpk1T.png

Willing to give away 2 vouch copies! [2/2]
Claimed by Callet and DrewZ


 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Ome_R

BG-Software © 2018 - 2026
Supreme
Feedback score
16
Posts
0
Reactions
477
Resources
0
Version 1.1.0: Added lore support
Version 1.2.0: Added the ability to convert a specific amount of exp points
 
Last edited:

Ome_R

BG-Software © 2018 - 2026
Supreme
Feedback score
16
Posts
0
Reactions
477
Resources
0
Version 1.1.0: Added lore support

Many plugins don't support nbt tags, which is sucks. Now you can have lore support instead of nbt tags support.
Make sure you delete your old messages.yml!
 

Ome_R

BG-Software © 2018 - 2026
Supreme
Feedback score
16
Posts
0
Reactions
477
Resources
0
Version 1.2.0: Convert a specific amount of exp points!

Now you can convert specific amount of exp points using '/xpbottle [#]', which # is the number of exp points.
The command '/xpbottle reload' still exists!
Make sure you update your old messages.yml!
 

Ome_R

BG-Software © 2018 - 2026
Supreme
Feedback score
16
Posts
0
Reactions
477
Resources
0
Version 1.2.1: 1.7 Bug Fixes


The plugin was not working on 1.7 servers, plus the exp calculation was wrong - fixed them both.
Please note that NBT_Support on 1.7 servers isn't working for now.
 

Ome_R

BG-Software © 2018 - 2026
Supreme
Feedback score
16
Posts
0
Reactions
477
Resources
0
Version 1.2.2: Stack of Bottles Bug Fix

When you were throwing more than 1 exp bottle together (with no delay between the throws), the second bottle wasn't counted as a custom bottle (gave regular exp orbs). Fixed it by adding a little delay between throws (200 millis).
 
Status
This thread has been locked.
Top