Are advanced aliases possible?

Discussion in 'Plugin Development' started by Drakonas, Apr 22, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Drakonas

    Would it be possible to make a plugin that would allow more advanced aliases than CommandHelper? I want to try developing this.

    Example:
    Essentials has a /world command. I use WormholeXTremeWorlds for my multiworld management. I am removing the permission for essentials.world, and adding the wxw.admin.go permission (command: /wxw go [worldname]) to my Builder group.

    I want to be able to make a plugin that can have either in-game addition of aliases, or a config file with a list of them, that are able to have parameter support, like so:

    /alias add /world %1 /wxw go $1
    /alias del /world
    /alias add -global /world %1 /wxw go $1

    I plan to use YAML instead of CommandHelper's format. I can say that the format of the commands are possible, but are plugins able to create aliases like this currently? I was looking at CommandHelper's source, and it looks like it could be, but I'm not sure.
     
Thread Status:
Not open for further replies.

Share This Page