PickaxeLevelUp

Discussion in 'Plugin Requests' started by LawCraftMC, Aug 6, 2019.

  1. Offline

    LawCraftMC

    Minecraft version: Spigot 1.12

    Suggested name: PickaxeLevelUp

    What I want:
    A plugin that runs a command when players right-click any pickaxe.
    And a command that levels up efficiency by one(+1) in the pickaxe the player is holding when running the command. That command will be ran in the GUI as OP, so NO PERMS NEEDED.
    So this command can only be ran as OP. There should NOT be a limit in efficiency levels.
    Config.yml:
    PickaxeRightClickEnable: true/false #Whether to use right click command in pickaxes.
    PickaxeRightClickCmd: /token shop example #Command that runs when right-clicking pickaxes.

    Ideas for commands:
    /levelup efficiency

    When I'd like it by: Do it when you can, I don't need it by any date in specific...!
     
    Last edited: Aug 6, 2019
  2. Offline

    202e

    Not new to making plugins but new to sharing them. Please let me know if there are any issues.
    Features:
    • Runs command when any player right clicks with a pickaxe
      • Command that is run is configurable in config.yml
      • Command will only run if rightclickenabled in config.yml is set to true, will not run if rightclickenabled is set to false
    • Includes command: /levelup (or /pickaxelevelup:levelup).
      • Requires player running command to be holding a pickaxe and to be op
      • Increases level of efficiency on held pickaxe (no limit)
    Plugin jar link: https://github.com/202e/PickaxeLevelUp/releases/download/v1.0.0/PickaxeLevelUp.jar
    Source code link: https://github.com/202e/PickaxeLevelUp
     
  3. Offline

    LawCraftMC

    Thanks! :D I'll try it ^^
     

Share This Page