CommandAlias icon

CommandAlias -----

Easy, limitless plugin for command aliases (+ Bungee Support)




Hi!

This bug fixes addresses some data being missed out from original aliases with placeholders, thank you ImKai#9907 for pointing this out!

For example, when having an alias with something like 'say {1} smells', the 'smells' would not be included, unless there was a placeholder after it.

Remember, if you need support/want to give feedback you can visit www.elliepotato.de/support

Happy Holidays and thank you anyone who uses this plugin <3 see you in the next update
----------, Dec 14, 2020

Hi!

This is a bug fix for something I broke in the last update todo with placeholder recognition in commands, thank you Celgost#6117 for pointing this out!

Remember, if you need support/want to give feedback you can visit www.elliepotato.de/support

Thank you anyone who uses this plguin <3 see you in the next update
----------, Oct 29, 2020

Hello, hope you are having a good corona time.

This is just a little update to make some of the features in the plugin less restrictive in some ways.

1) Aliases are no longer case sensitive - I dont know how this existed for 3 years but thank you JrouleEn2T#7257 for pointing this out
2) Aliases are no longer required to be only 1 word - this was kind of an unwritten rule however it is no longer a rule. Aliases can be unlimited.
3) Officially tested on 1.16.2

Remember, if you need support/want to give feedback you can visit www.elliepotato.de/support

See you soon and you for the support!
----------, Aug 13, 2020

Hi, back for the third time in 24 hours. How exciting.

This is just a small update to say that you can now have multiple console commands, for many this may not concern you. But if you want to have many, just make a string list (like you would list aliases).

For API changes, the run conditions are now a LinkedHashMap so the order they are loaded is guarenteed to be preserved and you can control the order. CAEvents can now be listened to :p.

Thank you Selebrator#3894 for contributing this feature and proofing the API.

Many thanks again for all the support, its so nice to see :) You can find support at https://www.elliepotato.de/support

Ellie
----------, Apr 25, 2020

Hi,

Back so soon, forgot to add one thing (thank you Selebrator#3894 :p).
Console commands now support argument placeholders. (In the same way as aliases however trailing arguments are understandably not appended)

Also, for small QOL improvement: you no longer need to have "enabled: true" on all your commands, if it isn't there, the plugin will automatically register it as enabled. Just so your config can look a bit more clean.

Thank you again for all the feedback :) And once again, you can join https://www.elliepotato.de/support for anything you may need.

Ellie
----------, Apr 25, 2020

Hi!

Argument placeholders like {1} and {2} are now avaliable for use in your command aliases.
Example:
Code (Text):
commands:
  'lp user {1} parent set {2}':
    aliases:
      - setgroup
    enabled: true
 
Will allow for "/setgroup xEline Group123".

Additionally, you can now have console commands run when a alias is run. You can do this by appending "console-command: '...'" to an alias section like so:
Code (Text):
  list:
    aliases:
      - peepsonline
    enabled: true
    # A console command that can be run. (you can use any placeholder here), or remove it if you prefer.
    console-command: 'say %name% just ran %alias%!'
Thank you for the recent messages, feedback and support. I really appreciate it :). Next up is an easier way to make aliases!

Thank you and if you need support see https://www.elliepotato.de/support

Ellie
----------, Apr 25, 2020

Hi, I know it was less than 24 hours when I posted the last update but I was hyped to get this one out and I will be away for some days tommorow.

Sorry if you got several notifications for this update, I left a debug message in there and Spigot was a pain.

New things:
  • Run conditions -> if you understandably didn't see the last update, they are set conditions which must be met before the alias is run. See the Default Config (Line 55) to see them in action. (They can also be used in conjuction with each other)
  • New run conditions: args, world (player world(s)), gamemode (player gamemode), health (player health).
  • API -> Whilst will only apply to a very select few, though I might as well do it. Head over to https://github.com/literallyEllie/CommandAlias to see more on that.
Thanks for using my plugin and if you have any suggestions/need help, please tell me at https://discord.gg/c2myRcs or in the plugin discussion page!
:)
----------, Feb 16, 2020

Hi, I hope the new year is going good for you.
In this update, there are two new features.

An advanced option for "let-command-event-run-if-no-perm", something made primarily to be used in conjuction with a young feature of run conditions.
If this is set to true, when a user does the alias command AND they DON'T have the alias permission, the plugin will ignore the event as if it didn't happen.

Run conditions? This is where the alias will only run IF the conditions are met. The only condition as of now is "args", check out the new default config at line 50 to see how that works.

Also, small bug fix: when reloading the plugin, "noPermission" is also reloaded.

Finally, if you want support you can join https://discord.gg/c2myRcs now instead of adding me because sometimes I don't get the notification/forget to add back. (Ping "Me gusta")

Have a good rest of your day :)
----------, Feb 16, 2020

New update!
  • A feature which should have been added when it was added: -msg- now supports multi-line.
  • Tab complete has been added to /ca - looking especially fancy on new clients
  • Support for 1.15.2 is officially here
  • Boring but internal dependencies update: bstats 1.5 -> 1.7 and placeholderapi 2.9.2 -> 2.10.4. No need to worry about that.
Have a good weekend :)
----------, Jan 26, 2020

Happy New Years Eve :)

In this update support for Bungee servers have been added, as requested.
How? Well..
In your "commands" section, similar to "-msg-" you can use the prefix "-server-" and it will connect it to that specific Bungee server using the aliases.

In the default config of 1.4 it will show:
Code (Text):
  -server-hub:
    aliases:
      - lobby
    enabled: true
This will mean, when someone does /lobby, it will send them to "hub". Cool right! You can add as many aliases as you want. Make sure the server matches exactly what is in your Bungee config!

So if in your Bungee config it is called "paIntBall", use "-server-paIntBall".

Hopefully that makes sense (y)

Cya
----------, Dec 31, 2019

If "noPermission" is empty, it won't send a blank message
----------, Nov 3, 2019

Hi!
A new update has appeared. This update was due to feature a cool version checker but I was having some with the server environment so I will just post this.

The plugin is now built on a 1.14.4 environment.

This update also has a new config section of "advanced" with "keep-iterating-when-match" this is basically where after it finds a match on an alias it will keep going, this was implemented after a user was wanting to have it so when they did /god it would do a lot of different commands. Get creative! (See the Advanced tab in the main plugin description for a visual example, kinda)

See you next year, .. haha..
Ellie
----------, Oct 29, 2019

Hello! Welcome to the next update after over 6 months...

Some things that have changed:
  • The default config now has very pretty (and useful!) comments.
  • The default placeholders are forever enabled.
That's about it. Very nice work, I know.

Have a good day!
----------, Sep 15, 2018

Placeholders have arrived!
Bored of plain messages?_Well now you can spice them up with placeholders!


Inbuilt placeholders:
%name% - The name of the sender
%display_name% - The display name of the sender
bOrrring?


FEAR NOT - This plugin now supports PlaceholderAPI
You will have thousands of Placeholders at your fingertips.
Note: when PlaceholderAPI is enabled, the default inbuilt placeholders are disabled.

What are you waiting for? Download now ;D
----------, Mar 11, 2018

Changelog:
Code (Text):

+ Updated Kotlin version
+ Configurable no permission message
+ Plugin capability  to send custom messages which don't relate to any particular command. (see main page)
+ {prefix} placeholder in config
+ Unfixed the default config (oops?)
+ Small code cleanup
+ Rewrote the command system so its more OOP (and more efficient)
+ Now loads all commands regardless of the config boolean "enabled"
+ /ca toggle - actually gives an accurate response message now
+ Better error handling - it tells you error in game and doesn't break your config <3
----------, Sep 16, 2017

This update enables me to see the statistics of my plugin, which really helps :)

Full disclosure, it will track:
  • Player count
  • If server is online
  • Server version (1.8 etc)
  • The plugin version the server is running
  • Server operating system
  • Location of server
  • Java version
You can find more information here: https://bstats.org/
----------, Jul 25, 2017

Added permission to /ca toggle (forgot)
----------, Jul 24, 2017

This update features many new features such as the ability to add completely customizable permissions to aliases (as requested) and features in game commands for you to reload the file and toggle nodes.

To update all you have to do is simply stop your server, put it in, and the plugin will update the old configuration (if you had it before) and all will be well!
----------, Jul 24, 2017

Resource Information
Author:
----------
Total Downloads: 6,761
First Release: Jul 23, 2017
Last Update: Dec 14, 2020
Category: ---------------
All-Time Rating:
16 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings