WildcardCommands
Have you ever wanted to use a command on multiple players at a time? Well now you can with Wildcard Commands. By itself, this plugin is almost useless. But combined with other plugins, it becomes an extremely useful tool.
How does it work?
Step 1: Installation is simple, all you do is drop it into your plugin folder, start your server, and you are done.
Step 2: Type a command from another plugin, or a default Minecraft command. For example /give Devinish 1 64 (This command would give me a stack of smooth stone)
Step 3: Replace the name "Devinish" with "[online]" and the command will then give 64 stone to all of your online players!
What else do I need to know?
You can use the following in place of player names:
Name | Vault Required? | Description |
---|---|---|
[all] | No | This will affect all players, online and offline. |
[on] / [online] | No | This will affect only players online when the command is run. |
[off] / [offline] | No | This will affect only players offline when the command is run. |
[p:] | No | This will affect any players listed. (e.g. [p:Player1, Player2, Player3]) |
[g:] | Yes | This will affect any permission groups listed. (e.g. [g:Admin, Moderator, Default]) |
[town:] | No | This will affect members of the town (Towny) specified. |
[nation:] | No | This will affect members of the nation (Towny) specified. |
Example Usage
So what are some creative ways to use this?
- Reward all of your online players with some bacon, because you are a really nice admin (EXAMPLE: /give [online] 319 1).
- Add multiple people to a protection at once.
- Use SignShop and set signs up to run commands affecting online players.
- Punish players for not playing the game by deducting money from their accounts because you are an evil admin! (EXAMPLE: /money grant [offline] -100,000,000,000,000,000).
- Users bugging you? /lightning [online]
There are tons of fun and creative ways to use this plugin!
Permissions
- wc.use - Allows players to use WildcardCommands.
Issues
If you encounter a bug with WC, you can open up a ticket here.
Like this plugin? Buy us a beer and/or caffeinated beverage!
Good plugin! Would it be possible to take a percent of the money of the offline players, instead of a fixed amount?
Thanks!
I know this is a very old plugin, but it worked perfectly in 1.8, can you possibly fix this for 1.9, or allow me access to the source code?
@Barnsey3017
I answered you on our SignShop page :-)
how do you use on sign?
@Marium0505
I have not had any issues with it running on 1.5.2. Let us know if you do, however.
I really hope this plugin works on 1.5.2! I'm for sure going to test it out! :)
@Marium0505
I don't see any reason why it wouldn't. :-)
Does this work on the most recent dev builds of craftbukkit?
@Mohammadtr
Again, if you want to use [g:], where you are DIRECTLY dealing with groups for a permission plugin, you need Vault. wc.use will work without Vault, but doing things to your permission groups will not.
@Devinish
No you don't..
if(player.isOp() | player.hasPermission("bukkit.build"){
// TODO Your command function here
} else {
player.sendMessage(ChatColor.RED + "You do not have permission for this command!");
return;
}
@Ugleh
You do, however NEED Vault to use the permission aspects of this plugin.
Also, you DO NOT need to use Vault to set up Permissions.
As a nice addition, you should add a permissions wildcard. Like for example:
/give [perm:bukkit.build] 1 1
Towny support? Sweet
@XeonG8
This plugin is different. You can do /give [on] 1 1 and it will give everyone online 1 stone. This plugin listens for commands you would normally use but have replaced a username with one of the variables, and enacts them on multiple users. Marionette does not. If you only wanted to give a permission's group some items you could do that as well with WC and vault. This plugin does not allow you to run commands AS other users, however.
Like http://dev.bukkit.org/server-mods/marionette/ ??
just a little different, or a complete replacement?
@MegaNarwhal
That is very well possible. Do you have a cool suggestion for a Permission node?
Could you add a permissions node to allow players other than the operator to use this? I'm the only op on my server for security reasons, and I would really like to allow the admins and moderators to use this as well.
@Malikk65
That has been implemented as of now and will be released with the next version. The syntax is just slightly different: /tp [u:Arzeyt, Thep1Alex] wargamer2010 That way I can tell you mean Users and not Groups.
Also permission groups will be supported but Vault will be needed for that to work. Vault will NOT be mandatory though, just needed if you want to use the permission group feature. Syntax for that will look like: /tp [g:Admins] wargamer2010
If you have a plugin you'd like to also see supported (Towny, SimpleClans, Factions?) just reply or create a ticket (the second option is prefered).
@Malikk65
That's a good idea, I'll see what we can do about that.