WildcardCommands

WClogo

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:

NameVault Required?Description
[all]NoThis will affect all players, online and offline.
[on] / [online]NoThis will affect only players online when the command is run.
[off] / [offline]NoThis will affect only players offline when the command is run.
[p:]NoThis will affect any players listed. (e.g. [p:Player1, Player2, Player3])
[g:]YesThis will affect any permission groups listed. (e.g. [g:Admin, Moderator, Default])
[town:]NoThis will affect members of the town (Towny) specified.
[nation:]NoThis 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!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Devinish Devinish Mar 24, 2013 at 00:17 UTC - 0 likes

    @Marium0505: Go

    I don't see any reason why it wouldn't. :-)

  • Avatar of Marium0505 Marium0505 Mar 24, 2013 at 00:08 UTC - 0 likes

    Does this work on the most recent dev builds of craftbukkit?

  • Avatar of Devinish Devinish Feb 05, 2013 at 22:04 UTC - 0 likes

    @Mohammadtr: Go

    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.

  • Avatar of Mohammadtr Mohammadtr Feb 05, 2013 at 15:31 UTC - 0 likes

    <<reply 1189264>>

    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;
    }

  • Avatar of Devinish Devinish Jan 13, 2013 at 18:04 UTC - 0 likes

    @Ugleh: Go

    You do, however NEED Vault to use the permission aspects of this plugin.

  • Avatar of Ugleh Ugleh Jan 13, 2013 at 09:12 UTC - 1 like

    Also, you DO NOT need to use Vault to set up Permissions.

  • Avatar of Ugleh Ugleh Jan 13, 2013 at 09:10 UTC - 0 likes

    As a nice addition, you should add a permissions wildcard. Like for example:

    /give [perm:bukkit.build] 1 1

  • Avatar of Nickbbeezy Nickbbeezy Jan 12, 2013 at 23:53 UTC - 0 likes

    Towny support? Sweet

    play.cheatsynation.com

    Over 30 minigames, Skyblock, Towny, Jobs, Creative, Craftbook, Lwc, and more.

  • Avatar of Devinish Devinish Jun 23, 2012 at 22:10 UTC - 0 likes

    @XeonG8: Go

    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.

    Last edited Jun 23, 2012 by Devinish
  • Avatar of XeonG8 XeonG8 Jun 23, 2012 at 21:40 UTC - 0 likes

    Like http://dev.bukkit.org/server-mods/marionette/ ??

    just a little different, or a complete replacement?

Facts

Date created
May 21, 2012
Categories
Last update
Jan 12, 2013
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
WildcardCommands
Downloads
1,588
Recent files

Authors

Relationships

Optional dependency
Vault