DynamicAliases
DynamicAliases
This plugin allows you to create custom commands with tab completion to show messages and/or run different commands.
This plugin has no commands or permissions on its own, it will have an example command when you first start it! This one can be removed and replaced, it shows all features of the plugin.
Config
Look at the example config that will be generated when you run it for the first time!
# Anything that is empty will default to an empty object. # If a command in the commands list of an alias contains {args} then the plugin will put the used command arguments there commands: TimtowerIsAwesome: description: You can give your own description usage: /TimtowerIsAwesome, your own usage permission: TimtowerIsAwesome.use permission-message: You don't have the power to make timtower awesome! commands: - me is not as awesome as timtower - say define commands here - give timtower 278 1 messages: - This is a list of messages - '&aC&bo&cl&do&er&fs &1a&2r&3e &4s&5u&6p&7p&8o&9r&0t&ae&bd'
Anything that is empty will default to an empty object.
If a command in the commands list of an alias contains {args} then the plugin will put the used command arguments there.
Other
If you have any questions then just ask!
Got feature requests or bugs? Please create a ticket about it!
@CoolSeiko_YT
Do you have an error log that shows that it is broken?
Can you update for 1.11 please ?
@Tzzzt123
My plugins aren't build for reloads though.
I assume that the user does it the correct way by stopping, changing, saving, starting.
@timtower @DarkRiseOnline
If you use Plugman you can type /plugman restart DynamicAliases and it reloads the config file! I'm personnaly using plugman and reloading plugin configs without doing /<pluginname> reload or something else! It works on nearly every plugin!!! Regards: Tzzzt123
@DarkRiseOnline
Are you adding that many commands then?
But adding this command would require more code then getting all the commands.
None of my plugins are made to have config reloads, most of them overwrite the config when they are getting disabled.
Restarting is your best option here.
Can you please add a /dyn reload, so we don't have to restart the server to load new commands?
@betterjakers
It isn't implemented at the moment, tricky when working with something like this.
Do you have suggestions on how it should be in the config?
Also need to make sure that {args} can be split, and when there aren't enough arguments etc.
Looks good @Timtower! Just a question, is there any way to add spaces to the alias? If not, thing about adding it, it would be a nice addition! :)
@JaackkMC There is already an args variable.
You can use that to have name variable.
Do you think you could add a placeholder for username?
@AdityaTD
/me facepalm
FIRST!! Anyways nice! Sup Tim?