EXPBottles
EXPBottles
Store your EXP into Glass Bottles!
Check and store your experience points, create experience bottles!
How to use
Check how much experience points you've got by doing /xpcheck.
Get some glass bottles and perform /xpfill <amount|all>, the amount being the number of bottles you want to create or just all to create the maximum number of bottles you can.
By default you need 1 Glass Bottle and 10 EXP Points to fill one bottle.
If you want to charge money to fill a bottle, you will need Vault
Signs!
Make a sign with the first line being [EXPBottles] (not case-sensitive) and the second line being the command you want to run (XPCheck, XPInfo or XPFill).
If it is XPFill use the third line to provide the amount|all argument.
Commands and Permissions
This plugin uses permissions, you can, however, disable them.
Command | Description | Permission |
---|---|---|
/xpfill <amount, all> | Fill empty bottles with your XP | expbottles.xpfill |
/xpcheck | Check how many XP points you've got | expbottles.xpcheck.self |
/xpcheck <player> | Check how many XP points a player has | expbottles.xpcheck.others |
/xpinfo | Check the requirements for /xpfill | none |
/expbottles | Check the "about" information of the plugin | none |
/expbottles reload | Reload config and locale files | expbottles.reload |
Official Translations
You can download other locale files for EXPBottles. Those are included inside the jar in the 'locales' folder.
Language | Download | Contributor | Version |
---|---|---|---|
Dutch | https://dev.bukkit.org/paste/15587/ | SUXpanD | 1.1.3+ |
English | https://dev.bukkit.org/paste/15588/ | AnnieLeonheart | 1.1.3+ |
German | https://dev.bukkit.org/paste/15589/ | fov360 | 1.1.3+ |
Portuguese | https://dev.bukkit.org/paste/15590/ | AnnieLeonheart | 1.1.3+ |
Spanish | https://dev.bukkit.org/paste/15591/ | Hernan Lencina | 1.1.3+ |
Sample Configuration
# EXPBottles' sample configuration file # Whether to use permissions or not. False will allow all players to use all commands. (true/false) Use_Permissions=true # Whether to use signs that can run commands by right clicking them or not. (true/false) Use_Signs=true # Whether to log commands or not. (true/false) Log_Commands=true # Whether to log exp bottle uses or not. (true/false) Log_XPBottleUse=false # ID name of the item that represents an empty bottle. Item_EmptyBottle=GLASS_BOTTLE # ID name of the item that represents a full bottle. Item_FullBottle=EXP_BOTTLE # Amount of exp points needed to fill one bottle. (Integral) Fill_AmountXP=10 # Amount of money needed to fill one bottle. (Decimal) Fill_AmountMoney=0.0 # Amount of empty bottles needed to fill one bottle. (Integral) Fill_AmountBottles=1 # Whether to give a random exp amount on the use of an exp bottle. (true/false) Bottles_RandomXP=false # Amount of exp to give per use of an exp bottle if above is false. (Integral) Bottles_ReceiveXP=10 # Whether to give back an empty bottle after the use of an exp bottle or not. (true/false) Bottles_GiveBack=false
Plugin Statistics
This plugin uses MCStats.ORG to anonymously retrieve usage statistics that you can check on http:mcstats.org/plugin/EXPBottles
This does NOT affect your server and it does NOT expose any private information.
You can disable it in plugins/PluginMetrics/config.yml but I ask you not to as I use MCStats to check the statistics of the plugin very often and that's what keeps me working on it.
@AnnieLeonheart
Ok, gracias, eso era justo lo que querĂa saber.
@NemesisMate
As default it cames with default EXP drops. Just set the XPBottles RandomXP to true and it won't costumize it I already made the listeners thinking on that. If it isn't configured to be costum it won't even enable the Listener.
@AnnieLeonheart
If I don't want this plugin to customize xp drop, I set it to random doesn't I?.
When this is to random does this plugin add a check to that events?, I would like the plugin to just have the bottle functionality and to not add any kind of minimal charge to my server, I have it really just.
@MCwolski
I'll see if i can add that into a future version, thanks for the suggestion
wow! it supports custom EXP value for mobs now? Thats cool! I'll try to run a MCPC+152 server later, so is that feature compatible with mod's mobs? And...any idea to prevent villagers for trading EXPbottles?
Last, about random exp dropping of mobs and bottles. if Exp value can be set between Min and Max value, it would be better. if random is false, it always Max. :)
Version 0.7's bugs were corrected and will be at 0.8 that's going to be up today.
Tickets are now opened, if you are having issues, create a ticket :)
@Grushka
I'll search on how to do that, maybe it will be @ 0.7 Edit : I didn't find any information about that, can you point me a plugin that's using that method :?
@Biblioteca13
Please change config for lang. Example:
You have %XP% EXP Points
You filled %bootles% Bottles!%xpleft% EXP Points Left
@MattyLuggs
The value of RecieveXP it's applied to every EXPBottle. You can disable villager selling, but i'll try to add an Optional setting that will be set by default on false that prevents people to get them from villagers.
Hey,
Quick question, if I install this plugin and say set the value of the bottle to say 50 Xp. Will this also affect potions that people buy from villagers?
As I think this would be quite an overpowered feature if they can buy them off villagaers for cheap and have loads of exp.
@actb
I can do that, ill check on it. For now you can try commandSigns, however compatiblity is not assured as i not tested EXPBottles with it
hey just wonder maybe you could make a version of this that uses signs? just a thought - actb
@MCwolski
Yes, it's me
@AnnieLeonheart
I've seen a reply HERE. Is that you?? :O
I'm running v0.4 with the latest beta and its runs fine, no errors at all.
@Grushka
I tested it with r0.3 and it's working fine.
I will get on seeing why that happens.
Edit: I think that's happening because you are using Java 6.
Plugin was compiled in Java 7, update and it will be fine
(Please note that R0.3 #2755 is a dev build and may be bugs in it)
Version 2755 (1.5.1 Ro.3)
[spoiler]
[SEVERE] Could not load 'plugins/EXPBottles_v0.4.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: p/Biblioteca13/EXPBottles/EXPBottles : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55)
at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.UnsupportedClassVersionError: p/Biblioteca13/EXPBottles/EXPBottles : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more
[/spoiler]
0.4 is compatible with CB 1.5.1 Beta R0.2
@JD1010RU
Thanks for using and for your feedback =)
Dude This Plugin is Awsome!!!!! Loving it on my Server!!!