Filled /Smelt for 1.16.4

Discussion in 'Plugin Requests' started by xPyroMC, Jan 27, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    xPyroMC

    Plugin category: Mechanics/Fun

    Minecraft version: 1.16.4

    Suggested name: cmdsmelt maybe

    What I want: I'm in need of a plugin that lets player /smelt pretty much anything that can be smelted when holding it.
    I know some older plugins exist that do this, but none work in 1.16.4. If possible it would be cool if it could work to cook food too, though it's not as important.


    Ideas for commands: /smelt

    Ideas for permissions: cmdsmelt.use (decides if player can use it.

    When I'd like it by: As soon as possible, but no rush.
     
  2. Offline

    Gadse

    Hey there~

    Since your plugin request was so simple and I had a few free minutes, I decided to give this a quick shot.

    Commands:
    /smelt
    Permission: commandsmelt.use
    Default: OP
    Description: Smelts the item in your hand.

    /smelt reload
    Permission: commandsmelt.reload
    Default: OP
    Description: Reloads the plugin configuration.

    Permissions:
    commandsmelt.bypass.cooldown
    Default: OP
    Description: Bypasses the configurable cooldown to use the command.

    commandsmelt.bypass.cost
    Default: OP
    Description: Bypasses the configurable cost to use the command.

    Description:
    Allows smelting all smeltable items (including food) with a single command. As you can see, I also added a small configuration for all messages and gave the option to define a cooldown and cost. That seemed like it could be potential future requirements.

    The plugin should work in all versions from 1.13 - 1.16.5 and hopefully won't break in future updates.
    If you need more permissions or restrictions, please don't hesitate to ask for them :)

    The zip contains the compiled .jar as well as the complete source code, in the case you want to edit anything in the future and I'm not responding.
     

    Attached Files:

    Maelbout likes this.
  3. Offline

    xPyroMC

    Thank you so much, it works exactly as intended :D
     
    Maelbout likes this.
Thread Status:
Not open for further replies.

Share This Page