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.

Spanish video tutorial

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 Vert3xITA Vert3xITA Jul 24, 2016 at 14:30 UTC - 0 likes

    Hello. I used this plugin for my server and I like it a lot. I start saying that I use this in a spigot 1.10.2 server and It's pretty clear except for an issue that doesn't allow to use a plugin's alias with something as a powertool or commanditem. I understood that it was not so until a certain version, I hope so that you'll fix this. Now I've 2 notices that are pretty interesting: 1) What about adding aliases to our alias? This is to avoid to create a new one every time that someone would like to add multiple commands to execute a certain action. 2) I suggest to add an optional setting to tab-complete the commands and same for !np and !n (n=number) it should be really interesting to tab-complete commands. For player argument that's easy but I know that for generic target it is impossible to provide an user intention; it's for this that a hooked suggestion is to add a better argument specifier instead of creating commands with multiple words inside quotes. Edit: Other glitches: caseSensitive no longer working: when it's activated the command does not work at all (I didn't wrong configuring my own case sensitive command: it does not work for /makeOp). I'm really sorry if my english is bad but I hope you understood. Thanks!

    Last edited Jul 24, 2016 by Vert3xITA
  • Avatar of _Snoogles_ _Snoogles_ Jun 24, 2016 at 18:21 UTC - 0 likes

    @bingoberraz: Go

    These aliases worked up until 1.9. Now seem to be breaking I dont believe this is being further updated but would love to know. Meanwhile I think I need to move everything to commandhelper which i knew would happen eventually.

  • Avatar of bingoberraz bingoberraz May 09, 2016 at 16:23 UTC - 0 likes

    Does this have rcon support?

    Also this is not compatible with ItemCommand or Essentials "Sudo". I don't know who is to blame for this but if you're able to make it work with those plugins I will love you forever (already do, a bit!)

    The issue is that it only says "Unkown command" If I try to run a betteralias command through those plugins!

    I think it's like that with most plugins that run commands.

  • Avatar of y40 y40 May 05, 2016 at 15:14 UTC - 0 likes

    Is it possible to have short command like : "/helpop <text>" becomes "/hp <text>" ?

  • Avatar of DerLukas22 DerLukas22 Apr 21, 2016 at 19:27 UTC - 0 likes

    Very good plugin. Abut can you add custom messages ?( for no permission BetterAlias. ..)

  • Avatar of MatthewCashMC MatthewCashMC Mar 11, 2016 at 15:23 UTC - 0 likes

    WOW! What an amazing plugin. It does EXACLY what it says, its fast, and easy to use. Combine it with some tellraw commands, and its perfect. I am using it as a global helpop system, custom punishment system, and am using it to block my plugins. I have made over 300 aliases that help me run my server with ease!

    Feature Request: Could you make it support numbers like 1-4 or 2- e.g. when creating a custom ban command (ban player reason), you have to create a new variable for every word.

    Last edited Mar 16, 2016 by MatthewCashMC
  • Avatar of garan2314 garan2314 Feb 03, 2016 at 05:45 UTC - 1 like

    Hello! I absolutely love this plugin, its one of my most favourite plugins I keep on my server. I've been a long time user of this plugin and made a ton of random minigames and all kinds of fancy stuff with just this plugin's config, along with command blocks and other stuff. Can I make a request for a feature for this plugin? I think it would be great if you setup a setting in the config, or maybe a command to cancel aliases which have wait times, for example: Let's say I have an alias to reboot my server:

    reboot:
      permission: reboot
      0:
        - console /fm &c&oRebooting server in 30 seconds.
        - wait 100 console /fm &c&oRebooting server in 25 seconds.
        - wait 200 console /fm &c&oRebooting server in 20 seconds.
        - wait 300 console /fm &c&oRebooting server in 15 seconds.
        - wait 400 console /fm &c&oRebooting server in 10 seconds.
        - wait 420 console /fm &c&oRebooting server in 9 seconds.
        - wait 440 console /fm &c&oRebooting server in 8 seconds.
        - wait 460 console /fm &c&oRebooting server in 7 seconds.
        - wait 480 console /fm &c&oRebooting server in 6 seconds.
        - wait 500 console /fm &c&oRebooting server in 5 seconds.
        - wait 520 console /fm &c&oRebooting server in 4 seconds.
        - wait 540 console /fm &c&oRebooting server in 3 seconds.
        - wait 560 console /fm &c&oRebooting server in 2 seconds.
        - wait 580 console /fm &c&oRebooting server in 1 seconds.
        - wait 585 console /fm &c&l&oRebooting the server, please join back in a minute!
        - wait 590 console /save-all
        - wait 600 console /restart
    

    Can you create a way to interrupt these waits, so that the commands are immediately executed(as in sped up), or simply cancel them entirely? It would be really helpful with such a feature in this plugin. Thanks!

    http://cdn2.minecraft-mp.com/images/banners/banner-104860-1451921429.gif

  • Avatar of QubeCraftMC QubeCraftMC Dec 12, 2015 at 00:12 UTC - 3 likes

    Hey, just wanted to say this is a great plugin and you should really consider releasing it on Spigot.

    Best of luck

  • Avatar of Formula350 Formula350 Dec 05, 2015 at 02:49 UTC - 0 likes

    @bingoberraz: Go If you use the plugin "Console Name" and have it configured to however I do (which may just be default lol) then it'll "break" the [SERVER] prefix of /say.
    So, for example, when I do /say This is only a test. it comes out as:
    [@] This is only a test.
    (It is also in all white BTW)

    Alternatively, if I do /say &1This is also a test, it comes out as:
    [@] This is also a test.

    Thus allowing you to customize it however you want :)

    As for removal of money, you would set it up as a multiple command alias. I'd have to do tests so I doubt this is correct, but will give you an idea...

    scream:
      '*':
         - console eco take !name 500
         - console /say [&b&l!name screams&f] &a!*
    

    Hope that helps.

  • Avatar of bingoberraz bingoberraz Nov 28, 2015 at 16:52 UTC - 0 likes

    @Formula350: Go

    like that you're trying to help me but. I know about the !1p and also I know I can use /broadcast but it has an ugly prefix and color imo. Ty anyway

    Is it possible to add a cost for a command? This would be a really nice feature.

    Last edited Nov 30, 2015 by bingoberraz

Facts

Date created
Apr 22, 2012
Categories
Last update
Mar 19, 2015
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
BetterAlias
Downloads
22,232
Recent files

Authors