Filled "CustomBM" - Customize outcome of bonemeal right click

Discussion in 'Plugin Requests' started by tspierer2, Oct 26, 2018.

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

    tspierer2

    Plugin Category: Mechanics
    Minecraft Version: 1.12.2+
    Suggested Name: CustomBM or AdvancedBonemeal

    ------------------------------------------------------------------------------------------------------------------------------------------------
    Plugin Description: CustomBM is a plugin used to customize the outcome of a bonemeal right click.

    Summary of how it would work: When holding a bonemeal and LEFT clicking, it will bring up a GUI with 6 options (which I will explain) and you will be able to edit what the bonemeal places on right click.
    I will try to include examples, all commands and permissions, and config options so it will be very easy for the developer to follow.

    Basics:
    - Left click brings GUI menu with 5 options. (view palette, add to palette, remove from palette, settings, and exit menu)
    - There will be 8 commands total (with help menu).

    ------------------------------------------------------------------------------------------------------------------------------------------------


    Commands:
    /cbm
    Aliases: /bonemeal /bm /custombonemeal /custombm
    Description: This is the default command of the plugin and will be the starting value to all the other commands that relate to this plugin. When typed alone, it will bring up the help menu of the plugin. When typed with an invalid notation (such as /cbm blahblahblah) then it will bring up a text saying invalid subcommand, with the {input} being "blahblahblah".
    Outcome:
    &9&m-------------------------- &fCustomBM Help Menu &9&m--------------------------
    &3/cbm &8- &7Access this help menu.
    &3/cbm tool &8- &7Gives you the CustomBM tool.
    &3/cbm enable &8- &7Enables CustomBM for you.
    &3/cbm disable &8- &7Disables CustomBM for you.
    &3/cbm flush &8- &7Resets your bonemeal to default settings.
    &3/cbm undo &8
    - &7Undo your previous bonemeal action.
    &9&m------------------------------------------------------------------------------------------------
    Outcome #2:
    &3[Bonemeal] &cInvalid subcommand: &7{input}&c. Do /cbm for a list of subcommands.

    /cbm tool
    Aliases: /cbm t
    Description: Just basically gives you a bonemeal (which is the cbm tool). (Like doing /i bonemeal)
    Outcomes:
    1. &3[Bonemeal] &7You have recieved the CustomBM tool.
    2. &3[Bonemeal] &cThere is no room left in your inventory.


    /cbm enable /cbm disable
    Aliases: /cbm on, off
    Description: These commands will disable/enable the bonemeal editor (left clicking bonemeal) and will keep the bonemeal at default settings.
    Outcomes:
    1. &3[Bonemeal] &7CustomBM is already enabled.
    2. &3[Bonemeal] &7CustomBM is already disabled.
    3. &3[Bonemeal] &7CustomBM is now &aenabled&7.
    4. &3[Bonemeal] &7CustomBM is now &cdisabled&7.

    /cbm flush
    Aliases: /cbm reset /cbm default /cbm r
    Description: Reset all settings of bonemeal to default settings.
    Outcome:
    &3[Bonemeal] &7Your bonemeal settings have been reset to default.

    /cbm undo
    Aliases: /cbm on, off
    Description: This command will undo the last bonemeal action that you placed, just like undoing worldedit actions.
    Outcomes:
    1. &3[Bonemeal] &7Undo complete.
    2. &3[Bonemeal] &cNothing left to undo.

    /cbm reload
    Aliases: none
    Description: Reload config, admin command
    Outcome:
    &3[Bonemeal] &aCustomBM has been reloaded succesfully.

    /cbm info
    Aliases: /cbm version
    Description: Brings up a menu with information about the plugin.

    Outcome:
    &9&m-------------------------- &fCustomBM Info &9&m--------------------------
    &3About: &7CustomBM is a plugin used to customize the outcome of a bonemeal right click.
    &3Author: &7{plugin author}
    &3Version: &7{plugin version}
    &9&m--------------------------------------------------------------------------------------

    Permissions:
    custombm.use - permission for all cbm commands except /cbm reload.
    custombm.reload - permission for /cbm reload.


    GUI:
    (left click of bonemeal opens the GUI bonemeal editor)
    Slot 1:
    Block Type: Feather
    Item Name: &bView Palette
    Summary: This is the first block of the row (there are 9 in each row). It will show you the current blocks that are in your bonemeal palette. (This is easier to understand once you see the example server). Once clicked, there will be a "&cGo Back" arrow, and a "&4Exit Menu" barrier at the very right side of the row.
    Title of menu: "Your Palette"
    Gif example: https://gyazo.com/a3b60e1d11244e344a8f1dca0407c290

    Slot 2:

    Block Type: Lime Concrete
    Item Name: &cAdd to Palette

    Summary: This is the second block of the row. Once clicked, it will bring up the menu with all the available plants that you can add to your bonemeal pallete. There will be a "&cGo Back" arrow, and a "&4Exit Menu" barrier at the very bottom right side of the menu.
    GIF example: https://i.gyazo.com/348c36fcb900db6774e62445a50ec852.mp4

    Slot 3:

    Block Type: Red Concrete
    Item Name: &cRemove from Palette

    Summary: This is the third block of the row. Once clicked, it will bring up the menu with all the blocks on your palete, similar to the "view palette" menu, and you can click on which block you want removed. There will be a "&cGo Back" arrow, and a "&4Exit Menu" barrier at the very bottom right side of the menu.
    GIF example: https://gyazo.com/1eceefb4d478a1e5e95829928f7a5b6d


    Slot 4:

    Block Type: Anvil
    Item Name: &6Settings

    Summary: This is the fourth block of the row. It will bring up a settings menu with 4 settings to customize: Enable/disable setting, Air precentage setting, Block radius setting, and a reset to default setting.
    Please see example at bottom to understand the concept better! (A server that has a custom plugin like this)


    Slot 9:
    Block Type: Barrier
    Item Name: &4Exit Menu
    Summary: This is the last block of the row. One clicked, it will exit the menu.
    Gif: https://gyazo.com/147630038082ac510782f4a57ee4abe8

    Config will include a way to customize messages and aliases if possible.

    ATTENTION
    It is very difficult to describe the concept of this plugin, however, there is a server that has the exact same thing so it is definitely possible to do. Please check their server: play.athion.net (1.12.2 creative server), go to free build, do /plot auto, and take out a bonemeal and left click to try it out. Their plugin is custom made and I could not find anything like it on the internet, thank you all very much for anyone who is going to take time to do this plugin! I will greatly appreciate it <3
     
    Last edited: Oct 27, 2018
  2. Offline

    0-o

    I made a plugin for you. <Edit by Moderator: Redacted mediafire url>
    I put the config in JSON format because it's easier for me to use in the code.
    In the config.json file, there is an array called add_palette - this is where you set the items for the Add to Palette menu.
    It should look like this:

    "add_palette":[],

    And to add items, you should do the following:
    1. Put the item in your Minecraft Inventory
    2. While holding the item in your main hand, use /cbm data
    3. Copy that exact string into the array
    For example:

    "add_palette": [
    "LONG_GRASS:0",
    "LONG_GRASS:1",
    "LONG_GRASS:2",
    "RED_ROSE:7",
    "RED_ROSE:5",
    "RED_ROSE:3",
    "RED_ROSE:1"
    ],

    Be sure to use quotes for each string, and put commas after all of them except the last item.

    Here's a tutorial video:
     
    Last edited by a moderator: Nov 12, 2018
  3. Offline

    KarimAKL

    @0-o The link was removed.
     
    tspierer2 likes this.
  4. Offline

    0-o

Thread Status:
Not open for further replies.

Share This Page