Smooth Log Plugin Request

Discussion in 'Plugin Requests' started by __Penguin__, Jul 3, 2016.

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

    __Penguin__

    Plugin category: Building (survival)

    Minecraft version: 1.10

    Suggested name: Log Convert (anything works)

    What I want: A plugin that will turn all your regular logs in your inventory into full textured logs (Example). What I would like the plugin to do is add a command that allows a player to type a command specifying the type of log(s) the player wants to convert and the amount of logs the player wants to be converted. Another feature is if no amount is specified, then it will default to 64 (a stack).

    Ideas for commands: /logconvert <type> [amount] <---- Defaults to 64 if not specified

    Ideas for permissions: log.convert

    When I'd like it by: Anytime

    Thanks! :)
     
  2. Offline

    kev6261337

    I'll give this one a try...

    I've never dealt with item stacks before so...

    Also, do you mind as I post this publicly?
     
  3. Offline

    Jezzerdo4

    @kev6261337

    Use this:
    Code:
    ItemStack oaklog = new ItemStack(Material.LOG);
    Or for Items with damage values:
    Code:
    ItemStack sprucelog = new ItemStack(Material.LOG, (short)1);
     
  4. Offline

    ipodtouch0218

    I tried this, if you give a player a log that is either on it's side or an all-bark texture, it will have the purple and black error texture
    If they try to place it down, it will not be a all-bark log, but just a normal one.
     
Thread Status:
Not open for further replies.

Share This Page