CommandBlocks

Discussion in 'Plugin Requests' started by Invenstory, Nov 29, 2018.

  1. Offline

    Invenstory

    Hello bukkit developers!
    i wonder if you could make a plugin for me!

    Plugin name: CommandBlocks

    What this plugin supposed to do:
    When you look on a block the command and when you right-click on the block that u add the command it will run the command
    Example: Im looking on a grass block...i type the command give @p diamond 5...after i right click on it and i receive the diamonds.

    Commands/Permissions:
    • /cb create <name> <true(console command/false(player command)> <command> - commandblocks.admin - Adding a command to the block
    • /cb add <name> <tru/false> <command> - commandblocks.admin - Adding another command to the block
    • /cb remove <name> - commandblock.admin - Removing the command from the block
    • /cb reload - commandblock.admin - Reloading the plugin
    • /cb list - commandblock.admin - List of current commands added
    • /cb tp <name> - commandblock.admin - Teleports to the block

    • Commandblock.use - Permission to use the commands from blocks

    Version: 1.8

    Config:
    MESSAGES:
    Command Create: '&aCommand Created'
    Command Removed: '&cCommand removed'
    Teleport: '&aTeleported to <name>'
    Reload: '&aReloaded'
    Add Command: '&2Added a second command to &c<name>'
    Commands List:
    &7&m--------------
    &f&l1. &cBLABLA &7&o(COORDS)
    &7&m--------------

    No ideas :(

    Thats all! pls can someone work on this i rly need this plugin!
    Take your time to make it
     
    TacticalAxis likes this.
  2. Offline

    bletrazer

    Hello . I think I can help you :) I'll see what i can do. I'll keep you informed.
     
  3. Offline

    TacticalAxis

    I've written a plugin, it is complete now, here it is. If you want to, you can either find the source code for it by opening it with a software called 'Luyten', or you can view the source (and/or clone it through GitHub) here
     

    Attached Files:

  4. Offline

    bletrazer

    hoo, ok good job, I didn't need to work on it anymore so, now wait
    @Invenstory answer's .. x)
     
    TacticalAxis likes this.
  5. Offline

    TacticalAxis

    Updated: Added Permission for using CommandBlock, and removed debug statements (oops forgot to do this earlier I'm so sorry).
     

    Attached Files:

  6. Offline

    Invenstory

    sry i was late..
    Thnx for making this it seems pretty good!
    btw how i can make t like - give %player% diamond 64
     
  7. Offline

    TacticalAxis

    Updated the plugin commands to accept %player% as a placeholder (replaced with player's name when command is executed).

    Here it is, also, have a great day! (P.S. Updated the GitHub repository too).
     

    Attached Files:

  8. Offline

    Invenstory

    working pretty good thnx you i appriciate it!

    Could you add me on discord pls?
    Invenstor#7421
     
    Last edited: Dec 10, 2018

Share This Page