Git Product home page Git Product logo

bottledexp's People

Contributors

zrips avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bottledexp's Issues

Permission for the usage of the /bottle store max item please, due to dupe bug

Hello, as my players can do the command /bottle store max and then take the item to the duels, use it (interact with the bottle item), and then after the duel, they have their XP dupped cause XPs are added to them & they get the bottle again into their inventory, it would be nice if you can add the permission for usage of this item.

Cause I have to disable the plugin on my server until it's added, and as the dev of the duels plugin isn't responsive to add blocking specific items in the duels, it would be better if you could add permission for the usage, so I can disallow usage in the duels world.

You can firstly use:
/cmi exp set %player%100l
Then:
/bottle store max
and then I need the permission added for consuming the item

Thanks!

Need %player% API support

Need the ability to run console commands easily

Should be able to run something like /bottle %player% get [amount]

Suggest

I have an idea of ​​adding bottle xp, I don't know if it's possible but make sure that by mining or other we can fill bottles with the xp obtained

Suggestion: Charge item/money for using CraftExpContainer

  CraftExpContainer:
    # When this set to true there will be option to craft special expbottle by placing empti glass bottle into crafting
    # You can consume it by right clicking it
    Use: false

also, emti should be spelled empty.

This is a pretty nifty feature, but i wish i could turn it on. i want to at least charge for the item as if they're right clicking on the item, or at least set a money price so i can charge more if they use this

The plugin has problems!

  1. If a player takes a bottle in his left hand, then he can throw it like a regular bottle with experience, and given that there are external experience modifiers on the server, he can get more experience than he put in infinity
  2. If you just write the /bottled store max command, then even if you have 0 levels you will get 1 bottle with experience
  3. If you use a dispenser with experience, you will always get more in the case of point 1

[1.16.1] Unable to load the plugin on start, disables itself.

[06:17:49] [Server thread/INFO]: Time elapsed: 1370 ms
[06:17:49] [Server thread/INFO]: [BottledExp] Enabling BottledExp v2.2.6.1
[06:17:49] [Server thread/INFO]: Your server version is not compatible with this plugins version! Plugin will be disabled: v1_16_R1
[06:17:49] [Server thread/INFO]: [BottledExp] You are no longer able to fill XP into Bottles
[06:17:49] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[06:17:49] [Server thread/INFO]: Done (17.647s)! For help, type "help"
>
>ver
[06:26:36] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-758abbe-38de0b8 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
[06:26:36] [Server thread/INFO]: Checking version, please wait...
[06:26:37] [Thread-14/INFO]: You are running the latest version
>

Cost inferior to 1 are rounded to 0

Hi,
I wuld like to be able to charge 0.08 $ per bottle, but prices are rounded to zero when converting few bottles.
I'm using vault and cmi for my economy.
There is my bottledexp's config (only economy values):

  # Do you want to charge money for xp conversion
  useMoney: true
  # How much it will gonna cost
  moneyCost: 0.08
  # Do you want to show extra information for how much its gonna cost to level up
  useBottleMoney: true
  # How much one xp bottle costs
  bottleCost: 0.08

BottledExp verison : 3.1.1.0
Cmi : 8.2.5.3 (with vault provided)

There's a screen to show what going on (sorry it's in french)
bottle_conversion

Infinite EXP Bug

By using /bottle store max, when you put the exp bottle in your left hand and throw the bottle, when you grab the exp it gives you a percentage more, by doing this many times you can increase your exp very quickly, that doesn't happen if you you do with the main hand

Version:
image
imagen_2022-04-09_033218

Config.yml

bottle:
  # Shows if there is available new version on login with bottledexp.versioncheck permission node
  ShowNewVersion: true
  # Language file you want to use
  Language: ES
  # How much player will spend converting his xp to bottles. This cant be lower than xpEarn
  xpCost: 10
  # How much player will get xp from xp bottle
  xpEarn: 10
  # Do you want to use custom items when converting xp to xp bottles
  useItems: false
  # Material name for custom item, by default its empty glass bottle
  consumedItemMaterial: GLASS_BOTTLE
  # How many to consume when converting. This is for every bottle you will get
  amountConsumed: 1
  # Do you want to charge money for xp conversion
  useMoney: false
  # How much it will gonna cost
  moneyCost: 100
  # Do you want to show extra information for how much its gonna cost to level up
  useBottleMoney: false
  # How much one xp bottle costs
  bottleCost: 3.25
  # Do you want to show exp consumed on enchant
  ShowEnchantExp: true
  # Do you want to show all enchantments player gets after enchanting item
  ShowEnchant: false
  # Do you want to use new 1.8 enchant system
  UseThreeButtonEnchant: true
  give:
    # How much exp will be lost during transfer in percentage
    LostDurringTransfer: 0
  BlockInteraction:
    Use: false
    # Do you want to use right click, if false then left will be used, good for block with interactions like enchant table
    UseRightClick: false
    # Material of block will be used to convert xp to bottles
    BlockMaterial: ENCHANTING_TABLE
    # Material of item in hand when you want to convert xp by clicking block
    HandItemMaterial: GLASS_BOTTLE
    # How many bottles to give everytime
    GiveEveryTime: 1
    # How many times to multiply given bottles by clicking shift
    Multiplayer: 10
  CustomBlockInteraction:
    Use: false
    # Do you want to use right click, if false then left will be used, good for block with interactions like enchant table
    UseRightClick: false
    # Material of item in hand when you want to convert xp by clicking block
    HandItemMaterial: GLASS_BOTTLE
    # How many bottles to give everytime
    GiveEveryTime: 1
    # How many times to multiply given bottles by clicking shift
    Multiplayer: 10
  CraftExpContainer:
    # When this set to true there will be option to craft special expbottle by placing empty glass bottle into crafting
    # You can consume it by right clicking it
    Use: false
  # When this set to true, all trades with villgers involving exp will be disabled
  DisableVillagerExpTrade: false
  # When this set to true,destrying mob spawners wont drop exp
  DisableMobSpawnerExp: false

[Suggestion] Ability to -1 in config to store everything in a single bottle

  # How much player will spend converting his xp to bottles
  xpCost: 40
  # How much player will get xp from xp bottle
  xpEarn: 40

Would it be possible to get support for -1 in config.yml, so there's technically no max and a player can have all the exp at once into a single bottle? (no theoretical cap)

If this is already possible, please let me know how :)

Logging is very necessary

It is very necessary to see who put how much experience in a bottle, when there are deceptions with experience without logs of these operations, it is almost impossible to find it

Issue with /bottle store

When you store EXP with a full inventory it deletes the exp and you don't get the bottle.
How to fix: Make it so it drops it on the floor or says you have a full inventory.

Bug when throwing from off-hand

If you bottle store 500
press F to put in left hand
and splash it, you only get 1 xp instead of what you pulled out.

Works normally from main hand but off-hand totally ignores how much EXP you put in the bottle

[Bug] Broken function in BottledExp (CraftExpContainer)

I had noticed that the plugin from version BottledExp3.0.0.3 the function:
CraftExpContainer:

    # When this set to true there will be option to craft special expbottle by placing empti glass bottle into crafting
    # You can consume it by right clicking it
    Use: true

Dosn't actually work as instead of right clicking to get the collected exp in my case lvl 49 I got lvl 3. It's a bit broken. I was hoping someone else will report it but looks like I had to take it into my own hands.
This is a video to show how it's broken:
https://www.youtube.com/watch?v=vBTkzjLyw_U
This video shows how it should work:
https://www.youtube.com/watch?v=BSv8YqnRzW0
For the best Results I also reset the config completely and just enabled that one option to find this bug as long as CraftExpContainer is on true should be easy to recreate.

Server Engine:
Purpur
Server Version:
1.17.1 - This bug should work on any supported version anyway
Plugin Version
3.0.1.1
The issue is from version:
3.0.0.3 and up to 3.0.1.1

Bottle store max

Hi, /bottle store max is no longer working since recent uptade. :/

Error at connexion with bottledExp v3.0.0.0

Hey, there is a warning issue when player join the server

[17:45:45 ERROR]: Could not pass event PlayerJoinEvent to BottledExp v3.0.0.0
java.lang.NoClassDefFoundError: net/Zrips/CMILib/Util/CMIVersionChecker
at me.Zrips.bottledexp.EventListener.onPlayerJoin(EventListener.java:346) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor650.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:351) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:298) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.network.PlayerConnection.tick(PlayerConnection.java:308) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:399) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:196) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1576) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:476) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1404) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1180) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: net.Zrips.CMILib.Util.CMIVersionChecker
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:146) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[patched_1.17.jar:git-Paper-"33d6b6f"]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 17 more

Version: BottledExp 3.0.0.0
CMILib 1.0.2.2

Server version : Paper version git-Paper-"33d6b6f" (MC: 1.17)
MC 1.17

suggestion add amount of bottles you want with certain amount of xp

what i was thinking was if you want a lot of bottles with a certain amount of xp in them you need to spam /bottle store amount
but maybe there could be a argument which is the amount of bottles you want with the specified amount so if i did
/bottle store 500 20 it would make 20 different bottles each with 500 xp in them

Deprecated recipe creation method

Hey there Zripz! Thank you for bringing BottledExp up to date. I love being able to customize the amount of XP provided by vanilla bottles on my server (which would make sense as a CMI feature, too.)

I encounter this warning at startup, pretty self-explanatory. I hope I'll be able to keep using it in 1.13! Peace!

[23:14:06 WARN]: java.lang.Throwable: Warning: A plugin is creating a recipe using a Deprecated method. This will cause you to receive warnings stating 'Tried to load unrecognized recipe: bukkit:<ID>'. Please ask the author to give their recipe a static key using NamespacedKey. [23:14:06 WARN]: at org.bukkit.inventory.ShapelessRecipe.<init>(ShapelessRecipe.java:26) [23:14:06 WARN]: at me.Zrips.bottledexp.ConfigFile.LoadConfig(ConfigFile.java:421) [23:14:06 WARN]: at me.Zrips.bottledexp.ConfigFile.reload(ConfigFile.java:439) [23:14:06 WARN]: at me.Zrips.bottledexp.BottledExp.onEnable(BottledExp.java:91) [23:14:06 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [23:14:06 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) [23:14:06 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [23:14:06 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) [23:14:06 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) [23:14:06 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) [23:14:06 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) [23:14:06 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) [23:14:06 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293) [23:14:06 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [23:14:06 WARN]: at java.lang.Thread.run(Unknown Source) [23:14:06 INFO]: [BottledExp] Version 2.2.3.2 has been enabled

Plugin wont load on latest paper

Description of Issue

i updated my server and this plugin wont load anymore

I have CMLib latest
CMILib1.2.5.2.jar

Version Information

3.1.3.0

Errors

[07:06:28] [Server thread/ERROR]: [LegacyPluginLoadingStrategy] Could not load 'plugins/BottledExp-3.1.3.0.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [CMILib]. Please download and install these plugins to run 'BottledExp v3.1.3.0'.
	at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:115) ~[paper-1.19.4.jar:git-Paper-504]
	at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[paper-1.19.4.jar:git-Paper-504]
	at io.papermc.paper.plugin.entrypoint.strategy.LegacyPluginLoadingStrategy.loadProviders(LegacyPluginLoadingStrategy.java:200) ~[paper-1.19.4.jar:git-Paper-504]
	at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[paper-1.19.4.jar:git-Paper-504]
	at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[paper-1.19.4.jar:git-Paper-504]
	at org.bukkit.craftbukkit.v1_19_R3.CraftServer.loadPlugins(CraftServer.java:423) ~[paper-1.19.4.jar:git-Paper-504]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:273) ~[paper-1.19.4.jar:git-Paper-504]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1104) ~[paper-1.19.4.jar:git-Paper-504]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-504]
	at java.lang.Thread.run(Thread.java:831) ~[?:?]

Relevant Plugins

CMI Lib

language message in the get command missing

Hi,
for the bottle get max command you are using the same language message (command.get.info.noExp) for three different calculated amount values. (amount of XP, Items and Money) But there are three different language messages.
Could you please differentiate between these three amounts and send the individul language message to the player, as you are doing in the bottle store max command.

And there are some debug messages in the bottle store max command. Maybee also somewhere else.


Server Type: Paperspigot

Server Version: papermc 1.16.3 version 195

Plugin Version: BottledExp2.2.8.1

ShowNewVersion: false does not work

Even when I have config option:

bottle:
  # Shows if there is available new version on login with bottledexp.versioncheck permission node
  ShowNewVersion: false

set to false, the new version notification still appears.
image

TradeMe has the same issue.

Reversed bottle get cmd

Hi, I'd like to suggest reversed bottle get command. So, when you hold the experiences bottle, you would be able to use some command that will convert all of the experiences you could get from the bottles into the experiences... so you won't need to throw them.

consumedItem is not consumed

It seems that the consumedItem in the config is not consumed or required when bottling experience. This might be because of the use of item IDs instead of names in the configuration but that's just a guess. I'd like to work on this bug provided the code is updated (see #2).

This was first noticed by ginsengsamurai on the spigotmc page where he said:

Great plugin. Unfortunately, when players use a glass bottle to store experience, the bottle isn't replaced. Meaning if I have 1 empty bottle and use it to store experience, that empty bottle is still in my inventory, even though it created an experience-stored bottle.

free xp

2 issues here which i'm sure are only since the last update but I could be wrong.

doing the command /bottle get (amount) doesn't consume exp or bottles and neither does clicking on an enchant table with an empty bottle, it just gives xp bottles and doesn't take from your xp so free and unlimited exp.

All players have access to all commands by default including /bottle get which i'm sure never used to be the case. We have worked around this by negating all command perms then giving the interact command at the rank we want them to be able to bottle xp at. But it seems a bit odd that it is set this way by default.

However, i'm stuck for how to fix using an emtpy glass bottle on enchant table not using players xp or the bottles in their inventory.

https://pastebin.com/tB3TxBaB

BottledExp multiply exp bug

video: https://youtu.be/_IJim6eXyZc

can anyone tell me why this bug happens, from 100l you can turn it into 200l - 300l

if i take my 100l and give it to someone they will have 200l

plugin version: BottledExp 3.2.2.1
CMIlib version: CMILib 1.4.2.4
server: Pufferfish version git-Pufferfish-27 (MC: 1.20.1)

Xp duplication with Slimefun talisman of the wise

so you have one xp bottle and a wise talisman then you drop the bottle and then /bottle get max and throw it again until its double, then if you do /bottle get max you will have 2 XP bottles and you can do this over and over. Im not sure if there is even a way to fix this, but for now i have disabled talisman of the wise on my server as if you have this plugin installed and slimefun installed you can dupe experience.

XP is not being converted to the right amount of bottles.

How to replicate the bug

Regenerate the plugins configs (BottledExp 3.1.3.0)
Fill your inventory with items and leave 1 slot empty.
Give your self 100 levels. /xp set 100l
Run the command /bottle get max

You only get 1 stack of bottles, and your levels disappear.

Possible fixes

Create an option in the configuration that when set to true, the command only takes as much xp as it can give.

Update code

Hello and thank you for your continued work on this plugin. It seems that the code here is not up to date with the plugin on spigotmc.org. I'd like to contribute to the plugin.

Error with Villagers

Error when the config setting for DisableVillagerExpTrade: true is enabled and will spam the message in console for every villager interacted with.

Version: Paper version git-Paper-152 (MC: 1.18.1)
CMILib: v1.1.0.8
BottleExp: v3.0.1.2

java.lang.NoSuchMethodError: 'net.minecraft.world.entity.npc.Villager org.bukkit.craftbukkit.v1_18_R1.entity.CraftVillager.getHandle()'
	at me.Zrips.bottledexp.nmsUtil.v1_18_R1.disableTrade(v1_18_R1.java:19) ~[BottledExp3.0.1.2.jar:?]
	at me.Zrips.bottledexp.EventListener.onVillagerTrade(EventListener.java:47) ~[BottledExp3.0.1.2.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor554.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:git-Paper-152]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl$5.performInteraction(ServerGamePacketListenerImpl.java:2454) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl$5.a(ServerGamePacketListenerImpl.java:2504) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundInteractPacket$InteractionAction.dispatch(ServerboundInteractPacket.java:131) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:80) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2446) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:67) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[?:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[?:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[?:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1413) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:189) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[?:?]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1391) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1384) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[?:?]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1362) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1268) ~[paper-1.18.1.jar:git-Paper-152]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-152]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]```

Lost EXP

Hello, i use the 1.19.2 version of spigot and latest version of bottleexp.

When i am for example 3 free slots and 80 exp, when i do /bottle get max i will have only 3 stakc of bottle, the others will disapear.

Infinite XP Exploit

Server version 1.16.5 Tuinity version git-Tuinity-"f8c0db4" (MC: 1.16.5)
Pluginversion: [BottledExp] Version 2.2.8.2

You can get infinite XP by putting xp into bottles and renaming them. After renaming them they give you waaay more XP than what you put in.

Recreate:
Put xp into bottle
Rename bottle
Splash it on yourself

Loosing bottles when the player has so high level

Hi, when you set yourselves so high level, like:
/experience set %player% 222 levels

And then:
/bottle get max

You'll get only the inv... may it drop outside the inv, or even better would be to get only the XP for the inv space you have, so there could remain levels, the player can put the xp bottles into the chest & execute the command again and again until he gets to 0.

Bottle store max

The /bottle store max command is no longer working since the most recent update.

image

/bottle get 64

The /bottle get command does not work with the number 64.
All other numbers seem to work (e.g. 63, 10, 100, ...)

Disabling chat messages.

Setting a like to '' in the locale file should disable the message instead of sending a blank line. Or even a config option to disable some chat messages would be useful.

Bug: Locale_DE.yml resets after restart

Hello,
i have made some changes in the Locale_DE.yml but after a server restart the langfile will be resetted.
When i upload my changed file again after a restart and use command /bottle reload it works. Only after restart the file will be resetted.

This i s my Locale_DE.yml: https://pastebin.com/wjkYtC9A

Error spamming console

This error is spamming the console all the time

[20:03:16 ERROR]: Could not pass event PlayerInteractEntityEvent to BottledExp v3.0.2.0
java.lang.NoSuchMethodError: 'net.minecraft.network.chat.Component net.minecraft.world.item.ItemStack.getDisplayName()'
at me.Zrips.bottledexp.nmsUtil.v1_18_R2.disableTrade(v1_18_R2.java:26) ~[BottledExp3.0.2.0.jar:?]
at me.Zrips.bottledexp.EventListener.onVillagerTrade(EventListener.java:47) ~[BottledExp3.0.2.0.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor446.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-312]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl$5.performInteraction(ServerGamePacketListenerImpl.java:2475) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl$5.a(ServerGamePacketListenerImpl.java:2525) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket$InteractionAction.dispatch(ServerboundInteractPacket.java:131) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:80) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2467) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:67) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1399) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1376) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1369) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1447) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1225) ~[paper-1.18.2.jar:git-Paper-312]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-312]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.