[FUN/ADMN] ClothCommand v1.6 - Super simple /cloth command [1337]

Discussion in 'Inactive/Unsupported Plugins' started by imjake9, Apr 21, 2011.

  1. Offline

    imjake9

    ClothCommand - super simple /cloth command
    Version: v1.6

    Ever since my migration from hMod to Bukkit, I've wanted a /cloth plugin. I like to have a simple command for giving cloth, and I allowed people that couldn't use /give to use /cloth (I like pixel art).
    Now, I have made this a reality. Introducing ClothCommand!

    As this is my first ever plugin, it will be fairly simplistic. However, I aim to make it as high quality as possible.

    Features:
    • /cloth <color> [amount] [player] — main command
    • /cloth all [amount] [player] — Gives all colors of cloth
    • /cloth list — lists all possible color names
    • /wool alias
    • Works from the console
    • Custom color names
    • Unlimited stacks
    • Bukkit Permissions and Permissions 2/3 support
    • If you don't use Permissions, you can choose all users or just ops and above
    Permissions Nodes:
    • ClothCommand.cloth — Allows use of /cloth
    • ClothCommand.cloth.player — Allows use of /cloth [amount] [player]
    • ClothCommand.cloth.unlimited — Allows use of -1 as amount for unlimited stacks
    • ClothCommand.* — Access to all ClothCommand permissions (for Bukkit permissions)
    Download ClothCommand v1.6
    ClothCommand on GitHub

    Configuration file (open)

    • woolcolor.color - Allows you to change the names for the colors of cloth/wool.
    • requiresop - Only applies if not using Permissions. True means only ops and above can use it, false means anyone can.
    • defaultstacksize - The amount of cloth given when not specifying an amount.
    • stackmultiplier - Multiplies the amount you provide by this number. For example, setting this to 64 will make /cloth red 2 give you 128 red cloth/wool blocks. Doesn't apply to default stack size.
    • usebukkitpermissions - If you set this to false, the plugin will use Permissions 2/3 rather than Bukkit permissions.


    Changelog:
    Version 1.6
    • Added Bukkit permissions support
    • Added ClothCommand.cloth.player node
    Version 1.5
    • Fixed /wool alias
    • Added support for unlimited stacks
    • Various small fixes
    Version 1.4
    • Added console support
    • Added /wool alias
    • Optimizations
    Version 1.3
    • Added option to set default stack size
    • Added option to multiply amount by a number
    Version 1.2
    • Fixed bug when using ClothCommand without Permissions
    Version 1.1
    • Bugfixes
    • Default cloth stack size changed from 1 to 64
    • Added /cloth all (thanks, pedrofrq!)
    Version 1.0
    • Added a config file
    • Customizable color names
    • Op-only/all users for non-permissions
    Version 0.2
    • Added ability to use /cloth on other players
    Version 0.1
    • Initial release
     
    ACStache likes this.
  2. Offline

    imjake9

    Updated to v1.6! This version provides Bukkit Permissions support as well as a new Permissions node, ClothCommand.cloth.player. This fulfills @slaymonok's (somewhat old) request. Note that you will need to add this permission if you want players to be able to use that, even if you have been using the plugin for a while now.

    Also, I will be dropping support for Permissions 2/3. Please upgrade to PermissionsBukkit or similar permissions system before I make the change. Thank you.
     
  3. Offline

    Deleted user

    Sad to see this go inactive.
     
  4. Offline

    imjake9

    This isn't really inactive, it still works. But it's so simple, there's really no need for updates.
     
  5. Offline

    Deleted user

    XD Okay thanks.
     

Share This Page