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 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
  • Avatar of Formula350 Formula350 Nov 24, 2015 at 21:35 UTC - 1 like

    @bingoberraz:
    I agree, autocomplete would be quite helpful heh However, there is the !1p that you can use, which will sorta-autocomplete the closest match to what you enter. For instance... I have one that will force a player to run the Rules command and the page specified by you, which we use in an instance a player happens to be not following one of them. The Alias I set is /forcerules and then the config is as such:

    forcerules:
        permission: rules.other
        0: |
          reply   &RED&ITALICForces the list of Rules to display on the player's screen.
          &RED 
          &GREEN     [&REDNOTE: &GRAY<number> &REDis the Page Number, and &BOLDis&RED required.&GREEN]
          &YELLOW     &BOLDUsage: &GRAY/rules <username> <number>
        2: player_as_op /sudo !1p rules !2
    


    So if you were to type /forcerules bingo 2 it would make me run (as if I were an Op) the command: /sudo bingoberraz rules 2, causing you to do /rules 2 and view Page 2 of the Rules :P

    Do you have an example of how you want broadcast to work?
    I don't know how your server is configured (or what plugins you use) but on mine, with Essentials and a single chat (no channels, per-world, or local), doing /broadcast does display it on everyone's screen.

    EDIT: BTW Neon, I updated my ticket, via a comment at least.

    Last edited Nov 24, 2015 by Formula350
  • Avatar of bingoberraz bingoberraz Nov 22, 2015 at 22:58 UTC - 0 likes

    I love this plugin. It's very useful! :)

    Is there anyway to add autocomplete feature to autocomplete online players? Or is this already implemented?

    edit: BROADCAST. Please! :D

    Exactly like Reply but to everyone <3

    Last edited Nov 23, 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
21,303
Recent files

Authors