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 arch2978 arch2978 Nov 30, 2014 at 23:41 UTC - 0 likes

    I am trying to make a command to claim a plot with PlotMe.

    ==== I have this: ====

    resclaim:
        1: /plotme claim !1

    ==== But I want to have this: ====

    res claim:
        1: /plotme claim !1

    But I've realized it doesn't recognice the space, how do i make the space?

  • Avatar of little_dude187 little_dude187 Oct 22, 2014 at 21:52 UTC - 0 likes

    suggestion, since the stupid factions updates, can u make this work with factions

    like /f who

    you can do /f who to see your faction but like /f who PvPGods its going to come up as this:

    Strange arguments who and PvPGods Use the command like this: /f

    make a thing like this !FactionName

    you can can do this:

    f who: 1: - /f f

    f who !factioname: 1: - /f f Text..

    something like that you know what i mean

    BFAK:90731028,98354df528cefbedb4e6d27a0d730047a00090dc9c23c8675a54bcb52fabc18c

  • Avatar of Ne0nx3r0 Ne0nx3r0 Sep 01, 2014 at 18:09 UTC - 0 likes

    <<reply 2333360>>

    This plugin doesn't use any NMS code... I would venture to guess there's a syntax error in your aliases.yml

    BFAK:Ne0nx3r0,46501,32e4f23d87ec30eac4ec06c3dc720672ea59848e0a2c8c57628bef8f3cf59a74

  • Avatar of PoisonSicarius PoisonSicarius Sep 01, 2014 at 17:34 UTC - 0 likes

    Is there any intention of updating this to craftbukkit 1.7.9 R0.2? It would be great if this is the case, because the plugin generates errors at the moment (With the suggestion that its likely out of date) And I'd love to use it, error free, in the current build for my server.

  • Avatar of DanielBlakey DanielBlakey Aug 27, 2014 at 15:53 UTC - 0 likes

    @Alster551: Go

    You have to have the number as 0 instead of 1 and have nothing on that line. So move /warp UHC down a line with the dash like all the others

  • Avatar of DanielBlakey DanielBlakey Aug 27, 2014 at 15:51 UTC - 0 likes

    @tobamai: Go

    You could have the command run from the console so its "console /kick !1"

  • Avatar of DanielBlakey DanielBlakey Aug 27, 2014 at 15:49 UTC - 0 likes

    @jakeyp99: Go

    Try this kind of thing:

    Sub-commands

    Last edited Aug 27, 2014 by DanielBlakey
  • Avatar of jakeyp99 jakeyp99 Aug 25, 2014 at 00:55 UTC - 0 likes

    Is it possible to create sub commands? For example, I'm making a ban system where if a moderator types '/b list' it will show them a list of reasons for banning a player, and if they type '/b help' it will display a help page. I tried, but apparently you can't have two aliases that start with '/b'.

    NoteBlock Network (Not Public Yet) | Website: noteblocknetwork.webs.com NoteBlock Network

  • Avatar of tobamai tobamai Aug 24, 2014 at 17:49 UTC - 0 likes

    Is it possible to execute a command silently? As in suppressing any messages the commands produce? For example, an alias /sk that execute /kick, but if /kick reports "Error: Player not found", don't send that message to the player that executed /sk.

  • Avatar of Alster551 Alster551 Aug 23, 2014 at 14:08 UTC - 0 likes

    IO have this config, but when i type the command it says unknown command, and when i type something after the command, it only does the first command on the list:

    all the commands work seperately, just not when in the bettealias plugin.

    start:
      permission: start
      1: /warp UHC
        - wait 5 /tpall
        - wait 6 /spreadplayers 0 0 0 999 false @a
        - wait 7 /freeze all
        - wait 8 /tella &3&lThe game will begin in 60 seconds
        - wait 68 /unfreeze all
        - wait 69 /tella &3&lThe game has begun! Type /rules for a list of the rules!
    

    BFAK:90906334,d4b269939f230d6174b6c7fd720d1878c59abbab0fd36058af927495d10ad8d5

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
14,518
Recent files

Authors