Inactive [FUN/RPG] LevelTools - Restrict Tool & Block usage to Levels! v0.4 [1.3.1-R.1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Kodfod, Jul 14, 2012.

  1. Offline

    Kodfod

    Level Tools - Tool Restriction
    Version: v0.1

    Restrict Tools To A Configurable Level!

    No Commands, Just run and Open The Config.yml and Change your Liking =)

    Please feel free to comment and give me more suggestions for future plugins or even how to improve this one!

    Features:
    • Lets You restrict the usage of tools to Levels
    • Config to Set Levels Needed
    Download The Plugin

    Changelog:

    Version: 0.4
    • Added Bypass leveltools.bypass (default op)
    • Added in-game set level restrict command
    • Cleaned up code
    • Minor changes to words
    • Fixed code throwing many errors to user.
    Version: 0.3
    • Added Support For Buckets
    • Added Support For Flint & Steel
    ChangeLogs (open)

    Version: 0.2:
    • Added Support for Blocks.
    Version 0.1
    • Releasing LevelTools

    TODO LIST:

    1. Add Buckets Support ✔
    2. Add Flint & Steel Support ✔
    3. Add Permission ByPass ✔
    4. Configurable Messages ✘
    5. Add Color Support In Messages ✘
    6. Get More Downloads ✔
    7. Make A More Complete Plugin That Does this and Much More With Exp.✘
    ✘ = Not Done
    ✔ = Done
     
    Adrenaline likes this.
  2. Offline

    darth2499

    Great plugin! Please keep it alive!
     
  3. Offline

    Kodfod

    I intend to =)

    I'm adding support for flint&Steel, Buckets, swords, and blocks!
     
  4. Offline

    Adrenaline

    URL die ? D:
     
  5. Offline

    Kodfod

    fixed
     
  6. Offline

    Adrenaline

    Nice, i like it :D

    Can you add feature to change language alert message
     
  7. Offline

    Kodfod

    I Sure can! Let me Add Message Support.
     
  8. Offline

    darth2499

    Can you add an option for levelblocks? Certain blocks cannot be mined at level.
     
    Adrenaline likes this.
  9. Offline

    Adrenaline

    mhm

    Diamond_block - 20 lvl hehe , xrayers DIE !!! xD
     
    Jamboozlez likes this.
  10. Offline

    darth2499

    Something like that (of course configurable)
     
  11. Offline

    Kodfod

    Added Level Restriction for blocks.

    Blocks:
    1:
    Use: 2
    Break: 2

    1= Stone
    2 = Level Taken to Place/break it
     
  12. Offline

    Adrenaline

    Update changelog if you can ;S
     
  13. Offline

    Kodfod

    It is updated. 0.2 was blocks and 0.3 is flint and buckets
     
  14. Offline

    darth2499

    There is a bug or a mistype where when you break a block with a tool you cannot use it says DIAMOND_PICKAXE instead of Diamond Pickaxe like last time. Any way you can make it so any tool can break any block? Like Diamond ore can be broken with a wooden pickaxe but just takes a long time. Can you also add so that experience pops out of the blocks IF YOU CAN break them, since other plugin makes you get experience no matter if you can break them or not. (of course configurable)

    Also I get this error

    12:08:40 [SEVERE] Could not pass event BlockIgniteEvent to LevelTools
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEvent(CraftEventFactory.java:80)
    at net.minecraft.server.BlockStationary.a(BlockStationary.java:60)
    at net.minecraft.server.World.l(World.java:2040)
    at net.minecraft.server.World.doTick(World.java:1757)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at me.kodfod.lt.Main.onIgnite(Main.java:230)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    ... 9 more

    Sorry for this but I found a bug where if you limit a block like diamond ore to level 50 and your level 20. When i try to use a tool i can already use like stone pickaxe to destroy that diamond ore, it breaks but nothing comes out. Any way to fix so it wont break at all? Also I seem to be able to break even if I dont have the level for it.
     
  15. Offline

    Kodfod

    darth2499

    Sorry for the errors and other changes. I will fix that.

    I Will Also Add an option for experence to be made from mining (Or Use MineBuilder)
    I will try to look at the breaking a block with any tool (Config will have to be made for the exceptions. ie: Diamond_Ore: Wooden_Axe: true)

    Shouldn't take too too long. =)
     
  16. Offline

    darth2499

    I would like to use minebuilder but it will give me experience no matter if I break them or not.
     
  17. Offline

    Kodfod

    Oh okay, well i am almost done kinking out the errors. =)
     
  18. Offline

    darth2499

    Thanks! I also have a bug where if you set coal to level 30 and set stone pick to level 20, when you use your diamond pick to break the coal it says 2 errors where i have to be level 50 to use diamond and level 30 to break the coal. But when I use stone pick to break it, it breaks it and my wooden pick (level 1) cannot!
     
  19. Offline

    Kodfod

    I'm sorry it will have to be tomorrow before i can release, it. My eclipse is being a tarp atm. =/
     
  20. Offline

    darth2499

    No worries, take your time. As long as the weird glitches gets fixed!
     
  21. Offline

    Kodfod

    Yeah, I will work on it over night if i can, internet download speeds bad at this hotel, so eclipse is going to take 1 hour 30mins to download -.-

    Just so you know, my eclipse.exe is "Corrupted Beyond Repair... " so, i got to get it again >.<
     
  22. Offline

    darth2499

    Do you have any idea why the block breaking glitch occurs?
     
  23. Offline

    Kodfod

    Block Break glitch?

    Give me a video, pic, or better description lol?
     
  24. Offline

    darth2499

    ok ill make a video. give me 15 mins
     
  25. Offline

    Kodfod

    Thank you so much =)

    Alright. Thanks for posting this. I had no idea there was a glitch

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  26. Offline

    darth2499

    here is the video CLICK ME :)

    its a very rare glitch. unless you take specific steps you cannot produce this glitch.
     
  27. Offline

    Kodfod

    Okay. I am See what is happening I will fix this as soon as i can =)
     
  28. Offline

    darth2499

    :) Great!
     
  29. Offline

    Kodfod

    I tried my hardest to replicate but couldn't so may be just that version. Just got eclipse download and launching it now. to compare that released version vs the one i'm using now.
     
  30. Offline

    darth2499

    ok, i dont know what might be causing this. If you need my help I will be more than happy to.
     

Share This Page