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 fvqu fvqu Mar 24, 2015 at 21:16 UTC - 0 likes

    Just a suggestion, could you see about adding sudo type functionality to make it possible to run a command as a specified player?

    I prefer your plugin over commandhelper, but due to limited functionality I'm forced to make due using both.

    Last edited Mar 26, 2015 by fvqu
  • Avatar of Ne0nx3r0 Ne0nx3r0 Mar 19, 2015 at 15:14 UTC - 1 like

    @fvqu: Go

    I'll take a look at fixing this (patched version will be 1.5.2), in the meantime you can remove the space before !* to patch your aliases file until a release is approved.

    Last edited Mar 19, 2015 by Ne0nx3r0

    BFAK:Ne0nx3r0,46501,32e4f23d87ec30eac4ec06c3dc720672ea59848e0a2c8c57628bef8f3cf59a74

  • Avatar of Ne0nx3r0 Ne0nx3r0 Mar 19, 2015 at 15:13 UTC - 1 like

    @CloudeLecaw: Go

    Generally this is accomplished as:

    skick:
      caseSensitive: false
      permission: skick
      0: reply "this command needs X,Y args"
      1: reply "this command needs X,Y args"
      2: "/kick !1 !2"
    
  • Avatar of CloudeLecaw CloudeLecaw Mar 19, 2015 at 14:54 UTC - 0 likes

    what about a variable for the commands?
    "Nummber of Args"

    it could look like:
    skick:
      caseSensitive: false
      permission: skick
      args: 2
      0:
        - "/kick !1 !2"

    now when you wrote /skick player u should get a massage like "this command needs X args"

    is this possible?

    Last edited Mar 19, 2015 by CloudeLecaw
  • Avatar of fvqu fvqu Mar 19, 2015 at 09:53 UTC - 0 likes

    Using !* creates a redundant space that cause some aliases not to work properly. Please fix!

    modreq:
      0: /ticket open
      "*": /ticket open !*
    
    issued server command: /modreq example text
    issued server command: /ticket open  example text
    
    Last edited Mar 19, 2015 by fvqu
  • Avatar of Ne0nx3r0 Ne0nx3r0 Mar 09, 2015 at 16:30 UTC - 0 likes

    @coolMJW: Go

    Ah, I see. Try Release #18

  • Avatar of coolMJW coolMJW Mar 08, 2015 at 08:26 UTC - 0 likes

    @Ne0nx3r0: Go

    http://pastebin.com/Jr9JkSH6

    That's the error I got?

    Mine Physics Doctors of Awesome

  • Avatar of Ne0nx3r0 Ne0nx3r0 Mar 07, 2015 at 14:34 UTC - 0 likes

    @coolMJW: Go

    Here's a pic of the example I gave you with v1.5.

    Unfortunately since you aren't providing any logs or YML files to inspect I can only tell you what I said before:

    1. Look in your server log when the plugin loads for errors

    2. Validate your aliases.yml

  • Avatar of coolMJW coolMJW Mar 07, 2015 at 13:36 UTC - 0 likes

    @Ne0nx3r0: Go

    I am having this problem too, I tried regenerating my config but it didn't help.

  • Avatar of Ne0nx3r0 Ne0nx3r0 Mar 06, 2015 at 20:19 UTC - 0 likes

    @little_dude187: Go

    1. Look in your server log for errors.

    2. Validate your aliases.yml

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
15,752
Recent files

Authors