Giter Site home page Giter Site logo

leveltools's Introduction

Hello! ๐Ÿ‘‹ I'm byteful.

I am a full-time student and an experienced Java developer.

  • ๐Ÿ”ญ I'm not actively maintaining any open-source projects right now, but I'm learning Svelte.
  • ๐Ÿ’ฌ I am open to talk about Java, Minecraft, P5.js games, and/or web backends (Svelte, SvelteKit).
  • ๐Ÿ“ซ You can contact me on Discord @ byteful.
  • ๐Ÿ˜„ I go by he/him.
  • โšก I like computers ๐Ÿ’ป, martial arts ๐Ÿฅ‹, robotics ๐Ÿค–, and soccer โšฝ.


leveltools's People

Contributors

bristermitten avatar byteful avatar untouchedodin0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

leveltools's Issues

[Feature] Add reset command.

Caffeinated Spartan#6082 on Discord requested a /leveltools reset command to reset the XP/Level of all items in target player's inventory.

[Bug] Dynamic lore modification

Modify LevelTools lore on items dynamically instead of replacing existing lore.

Not sure on how to do this effectively. Will have to write a pro/con chart for each idea I have in mind.

[Feature] Update config and lore systems.

This will allow users to disable LevelTools' override of item lores. It will also let future config updates automatically apply to the old configs to prevent any unforeseen issues.

Memory leak

image-3
too many jdbc connections have your plugin as their root

[Feature] Add 1.18 support.

Currently, NBT-API does not have solid 1.18 support, so I will be writing a custom system to store the same data inside of the items.

[Bug] RedLib BlockDataManager error

[16:30:41] [Server thread/WARN]: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "java.util.Map.get(Object)" is null
[16:30:41] [Server thread/WARN]:     at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
[16:30:41] [Server thread/WARN]:     at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
[16:30:41] [Server thread/WARN]:     at me.byteful.plugin.leveltools.libs.redlib.blockdata.BlockDataManager.unwrap(BlockDataManager.java:347)
[16:30:41] [Server thread/WARN]:     at me.byteful.plugin.leveltools.libs.redlib.blockdata.BlockDataManager.getDataBlock(BlockDataManager.java:319)
[16:30:41] [Server thread/WARN]:     at me.byteful.plugin.leveltools.libs.redlib.blockdata.BlockDataManager.getDataBlock(BlockDataManager.java:161)
[16:30:41] [Server thread/WARN]:     at me.byteful.plugin.leveltools.libs.redlib.blockdata.BlockDataListener.onCombust(BlockDataListener.java:85)

SOLUTION: update to latest version of RedLib

enchants.

advancedenchants, ecoenchants could you add support?

Conflicts with plugins that cancel BlockBreakEvent

LevelTools handles BlockBreakEvent before other plugins such as claiming plugins have a chance to alter or cancel events if necessary. This means that tools still gain XP without taking any durability or moving any blocks, should the event be cancelled.

update NBT API

[23:16:05] [Thread-44/WARN]: [NBTAPI] The NBT-API located at 'package me.byteful.plugin.leveltools.libs.nbtapi' seems to be outdated!
[23:16:05] [Thread-44/WARN]: [NBTAPI] Current Version: '2.11.2' Newest Version: 2.11.3'
[23:16:05] [Thread-44/WARN]: [NBTAPI] Please update the NBTAPI or the plugin that contains the api(nag the mod author when the newest release has an old version, not the NBTAPI dev)!

[Bug] A check in BlockBreakEvent causes issues with certain server setups.

The !block.getDrops(hand).isEmpty() check in the BlockBreakEvent to insure that players are only receiving XP when they actually get a drop out of the block seems to be causing issues with certain server setups. (sorry for the long ass sentence)

Probably best to just scrap this check. I doubt it really matters.

[Bug] Spigot 1.8 doesn't have API method for actionbar.

Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player$Spigot.sendMessage(Lnet/md_5/bungee/api/ChatMessageType;[Lnet/md_5/bungee/api/chat/BaseComponent;)V

Solution: Use either reflection or the ActionBar api.

[Bug] io.netty.handler.codec.EncoderException: String too big (was 284667 bytes encoded, max 262144)

Method:

  1. Create any level rewards in any tool
  2. Give 32767 enchantments to them
  3. Get the specified tool to the level
  4. Hover over the item
  5. Client crashes

Configuration:
https://paste.gg/p/anonymous/39b2e4ec4953434f973dc00257d05b5c

Errors:
image
https://paste.gg/p/anonymous/9f36ae06a22c4a11bc4c42309c7503f1

Plugins:

  1. ProtocolLib
  2. ViaVersion + ViaBackwards 4.1.1
  3. Protocolize (on Waterfall)

Version:

  1. Latest version of LevelTools
  2. Latest build of Pufferfish https://github.com/pufferfish-gg/Pufferfish
  3. Pterodactyl yolks java 17

Level up keeps showing up

Hey i have that plugin installed but every time i mine block it keeps coming up a message that i alredy have levled up the pickaxe to 1 every time i mine a block (its the same with level 2 too)

Edit: the server was tranferd from 1.12.2 to 1.19.4

[Feature] [Rework] Implement independent item leveling.

LevelTools might be forked into a new plugin with support for leveling of all items with their own triggers. For example, a stick could be leveled up from a BLOCK_BREAK trigger. This will allow much more configuration over how items operate. This also allows rewards to be executed per-item, so a DIAMOND_PICKAXE can have different rewards per level than a STONE_PICKAXE even though they both are tools.

[Feature] Add utility commands.

  • /leveltools reload : Replace /lt-reload
  • /leveltools help : Show list of LevelTools cmds.
  • /leveltools xp : Set item in hand's XP to provided XP.
  • /leveltools level : Set item in hand's level to provided level.
  • /leveltools levelup : Increase item in hand's level to next level.

Repaired item lose its level when repaired with another tools, and the lore will be gone temporarily

Method 1

  1. Get any levellable item to level 2
  2. Get one other item of the same type to level 1
  3. Repair both of them using anvil, place the level 2 or level 1 item in the first slot and the latter in the second slot
  4. End result item will lose any of their levels

Method 2

  1. Get any levellable item to level 2
  2. Get one other item of the same type to level 1
  3. Repair both of them using vanilla crafting slot
  4. End result item will lose any of their levels

When repaired using minerals such as diamond, the end result item will lose their lore but their level will be maintained and re-added into the item lore after gaining experience

Expected behavior:

  1. Either the highest level or the first slot of anvil should keep their level when repaired

Version:
Paper 1.18.1 build 101
Latest version of LevelTools

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.