BetterAlias

logo2

Tired of entering tedious and repetitive commands? Wish you could group commands into one short and easy to use command?

With BetterAlias you can specify any number of aliases for your commands!

Features

  • Create aliases for long repetitive commands:
    /permissions player setgroup <playerName> VIP
    
    becomes
    /vip <playerName>
    
  • Combine multiple commands into one simple command
  • Compatible with your existing permissions/plugin commands!
  • Supports partial player name lookups (ie "e0n" to find "Ne0nx3r0")

Installation

  1. Add BetterAlias.jar to your plugins directory
  2. Once loaded an aliases.yml file will be created
  3. Customize the file and use /bareload to enable the changes.
  4. Use the examples inside aliases.yml to setup aliases for everyone to use! (or add a custom permission node for the command)

Usage

See the examples page.

Multiple Commands

Separate multiple commands with dashes (-):

tpthenkick: 
    1: 
      - /tp !1p !name
      - /kick !1p

The examples file that comes with the plugin includes examples of every type

-

https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 18, 2014 at 13:17 UTC - 0 likes

    I want it to be this:
    /fakeban <player> [Reason]
    When I use I see this:
    [MCBANS] Zrail has been banned [ zrail *REASON HERE]
    How would I make the !* only do 2+ not the first argument.
    Code:

    fakeban:
        permission: fakeban
        '0': "reply §cUsage: §7/fakeban <Username> [Reason]"
        '1':
            - console /enjin broadcast &f[&aMCBans&f]&a !1 has been banned [You have been banned, Appeal at jackzcraft.com/appeal]
            - console /enjin broadcast &3[&c-&3] &e!1 left &a[0/100].
        '*': 
            - console /enjin broadcast &f[&aMCBans&f]&a !1 has been banned [!*]
            - console /enjin broadcast &3[&c-&3] &e!1 left &a[0/100].
    
    Last edited Apr 18, 2014 by TheCoolGuy123_5_Minecraft_

    JACK

  • Avatar of Ne0nx3r0 Ne0nx3r0 Apr 16, 2014 at 18:13 UTC - 0 likes

    @TheCoolGuy123_5_Minecraft_: Go

    Aliases work from console.

    Try using 0 instead of *, then /bareload and check for errors.

    As a side note you'd probably enjoy a lesser known plugin of mine: http:dev.bukkit.org/bukkit-plugins/lurker/

    BFAK:Ne0nx3r0,46501,32e4f23d87ec30eac4ec06c3dc720672ea59848e0a2c8c57628bef8f3cf59a74

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 16, 2014 at 01:14 UTC - 0 likes

    This doesn't work, doing /fakeop <anything here> returns nothing

    fakeop:
        permission: fakeop
        '*': "reply §cUsage: §7/fakeop <player>"
        '1': "console enjin broadcast &7&o[CONSOLE: Opped !1]"
    

    any command running from console doesn't work...

  • Avatar of Yorkforce Yorkforce Apr 10, 2014 at 12:21 UTC - 0 likes

    Im trying to get this to work but im not having much luck:

    "island untrust":
      0: "reply Please specify a name - Usage: /island untrust <player name>"
      1: /region removemember !nameisland !1
    

    Any suggestions? (It just comes up with /region removemember !1, I assume its not possible to have '!nameisland'? The regions are autocreated as <playername>island eg yorkisland

    Last edited Apr 10, 2014 by Yorkforce
  • Avatar of Ben0nator Ben0nator Apr 06, 2014 at 00:13 UTC - 0 likes

    Is there a way to disable the message notifying a player he does not have permissions for an alias?

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 05, 2014 at 19:11 UTC - 0 likes

    If I put an alias like "command reload" it doesn't like the word reload for the sub-command. I put "command restart" it works.

    Last edited Apr 10, 2014 by TheCoolGuy123_5_Minecraft_
  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 05, 2014 at 18:20 UTC - 0 likes

    @Ben0nator: Go

    OH Thank you!

  • Avatar of Ben0nator Ben0nator Apr 05, 2014 at 17:11 UTC - 0 likes

    @TheCoolGuy123_5_Minecraft_: Go

    You can use spaces in commands if you use quotation marks. So your aliases.yml would look something like this:

    "command off":

    0: /command1

    "command on":

    0: /command2

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 05, 2014 at 11:33 UTC - 0 likes

    @Ne0nx3r0: Go

    Still waiting a reply for my suggestion...

  • Avatar of Ne0nx3r0 Ne0nx3r0 Apr 05, 2014 at 00:32 UTC - 0 likes

    @Ne0nx3r0: Go

    Currently I don't think so. You could create an alias that executes two other aliases that have separate permissions, but this seems like a hacky solution.

    I'll take a look at what it would take to update this plugin to accommodate some of these suggestions.

Facts

Date created
Apr 22, 2012
Categories
Last update
Aug 24, 2013
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
BetterAlias
Downloads
12,204
Recent files

Authors