CommandEdit
-=CommandEdit=-
Main - Changelog - Commands - Config - Permissions
This plugin allows the user to wrap / create aliases for existing commands in a very simple and reliable way.
Features
- Create simple alias for a command ( example: "/weather sunny" to "/sunny" )
- Make 1 command that runs multiple commands
- Create your own variables to pass to aliases
- Autocomplete commands using one of the predefined variables
- Usefull functions as ChatAs, Message, Kick, Kill
- Coloured Messages
QuickMenu
Current Build
This build should work on all versions before/on 1.7.2, changes made can be found here: changelog.
Examples
- Shortcut
- Add "/day = /time set 8000" to commands.yml
If you use /day now it will set the time to 8000 - Shorten long payment command
- Add "/pay {TargetPlayer} {Amount} = /money pay {TargetPlayer} {Amount}" to commands.yml
Players can now simply type /pay name amount instead of /money pay name amount - Talk / Execute command as other player [ OP only ]
- Add "/sayas {TargetPlayer} {$String} = [ChatAs] {TargetPlayer} {$String} " to commands.yml
Example use: "/sayas KoffiePatje /rules" this will make KoffiePatje execute command "/rules" - Rules
- Add "/rules = [Message] Don't Grief | [Message] Be Kind | [Message] Say Hi! " to commands.yml
If the player types /rules this will be displayed:
Don't Grief
Be Kind
Say Hi!
Example Config
click here... ( version 1.0 )
click here... ( version 1.1 )
Predefined variables and Functions
These are all explained in the configuration explanation here...
Contribute and Feature requests
I am open for any kind of contribution ! Feature requests are welcome ( Very Welcome ! ( I'm out of ideas )) and if you are a developper / bug tester wanting to help please contact me !
Source: GitHub
Metrics ( Lite )
This plugin uses Hidendra's plugin "Metrics" to gather stats, this information is collected:
- Java Version
- Type of Operating System, Architecture and CPU Cores.
- Authentication mode of the MC Server ( On/Offline )
- Server Location
- Game version and Plugin version
You can check out the results here: CommandEdit Metrics.
<sub>Command Edit - Patrick le Duc / KoffiePatje</sub>
Please fix bug accept command when not logged in! Just accept the command when be edited by commandedit, also default, useless! When using Plugin Authme
Thanks for this plugin! If there was some kind of a rating option I would give this 10 star. I use this plugin and it makes my life so much easier because I can shorten commands that are long.
My server isn't public yet but when it is, a lot of my players will like the shortened commands.
@MajikalBlood
I understand where you coming from and indeed, a plugin is easier to use if all commands start with the plugin name or any short version of that, same for mine...
/ce reload, /ce version.
I think the best solution for U is to let a developper change the plug-in or use "-" instead of " " or any other sign.
Good luck !
Regards, KoffiePatje
@KoffiePatje
Thanks for the reply, I've tested the Simple Alias plugin and it behaves the same way; not being able to separate a command; I hope you and the creator of Simple Alias will beable to figure out how to do this because the person who created my rep plugin decided to not make the method of command as I chose/asked for ; even if he chose "/rep up-down-reset-view <target>" would have been easier however he used rep, negrep, resetrep, and viewrep
@MajikalBlood
Thank you for your reaction, I indeed recognize this problem and this is one of the shortcomings of my plugin in combination with bukkit. A space is seen as seperator and up/down is automaticly seen as its first param. A plugin developper is able to make commands execute differently depending on the params. since I want to enable you guys to create your own commands I can only allow unique identifiers before the first space. I recommend using /aegis-up, /aegis-down or something along that way. I hope my answer is of any help to you.
Kind Regards,
KoffiePatje
@KoffiePatje
It's a great plugin but I seem to have run into an issue with multiple commands starting with the same main command;
I'm not sure if it's commandedit or my plugin but this is what i'm trying to accomplish
I have this made right, however any command below "aegis up" only runs the /rep command.
@Minecrafter9261
Great to hear that my plug-in is such a big help to you :D !
And ofcourse thanks for your offer, I appreciate it, I am however having a hard time of thinking what to translate in my plug-in, the few english words provided by this plug-in shouldn't be that big of a problem I guess...?
Please convince me otherwise and I would love to make it possible to have multiple languages for my plug-in :D
Kind regards, KoffiePatje
@KoffiePatje
Should i translate you plugin to german? I think that could help many people ;) Just ask me, i help where i can :) That is because your plugin is so important for my server! When i type in /reload my server shuts down and it will delete many buildings! But i only configured with this great plugin, that the server does /save-all before it shuts down, so everything is now safe! Thank you KoffiePatje for this awesome plugin! Thank you!
@zakarls
I am afraid that this is not possible, I am afraid that this feature doesn't fit this plugin since my plugins goal is to translate and group commands, you'll probably need to find a different plug in for this feature.
Regards, KoffiePatje
Is there any way you can add cooldowns to the commands. I want to let my players use a certain command once every day.
@ssoylu1996
Because on of the functions returned an error in one of the dev-builds, the sayas function had some problems on one of the dev builds, I doubt that all the builds have this but just to be sure, i downgraded it to 1.6.4 on which im certain that it works, I will check why this happened because bukkit upgrades are highly unlikely to break my plugin due to the way i've set it up.
Kin regards, KoffiePatje
Hey,
I pretty sure I downloaded version 1.7.2 from the right side earlier last month. How come it's 1.6.4 again?
ssoylu1996.
@robotkoer
True that, I was indeed thinking of some kind of error handeling system, and with that I want to make sure that 1 mistyped alias does not break the entire plug-in.
I'll probably implement this in the next version :)
regards, KoffiePatje
Plugin works well, yet there is one big thing missing: errors. People don't know if they have done anything wrong if there is no error sent... Also, it would be awesome if those errors could be customized too :)
Just for everyone ! Version 1.2 has no issues (known) with worldguard, 1.2 also works on 1.6.4 and probably versions before that.
Regards, KoffiePatje
@ssoylu1996
I PMed you back, let's look for a solution :)
regards, KoffiePatje
Hi,
I just tested this plugin on my server, If I use worldguard to block certain commands using the blocked-cmds flag it does not work.
For example, I built a jail and I dont want people teleporting out for example type /spawn so i type
/region flag jail blocked-cmds /spawn
Before i installed this plugin this worked ofcourse no one can teleport out but once i have this plugin working the server says you cant use this command here for the player but also executes the command.
Can you please fix this for 1.6.4 because bukkit 1.7.2 isn't out yet.
Thanks.
@ria80
Yeah i know about accidental double commands, i am afraid that this plugin requires you to create unique names for created commands. So if a command is already taken, you can not use that same command again. I am looking in to a possible fix for this but this requires me to get in front of every other plugin and ignore them till the command is editted by my plugin.
Sorry for my bad english
hello thx for this plugin but your plugin create a double commande in consol ex commandedit /spawn and user /spann, 2 command in console because of this not compatible with others plugin ex plugin cooldowns ect possible fix it ?
and butcher create double butcher
Version 1.2 will be out soon guys, just waiting for approval, i tested this version on 1.7.2 and it was working fine :) check the changelog for the new features !
- KoffiePatje