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!
This is a really awesome idea.
It would be infinitely more useful it you added the ability to read in a String[] of player names, as I'm imagining way more situations where I would only want to use this for 2 or 3 players, rather than everyone online.
So,
/tp [Arzeyt, Thep1Alex] Malikk
would only loop through those two specific players