Suggested Name:Autocommand What I Would Like It To Do:I would like a way to autmatically execute a command and bind that command to an individual player so as soon as they come online something happens like they get a potato and when they log off the potato disappears from their inventory now that is a horrible example but what if would do is have a config that would allow you to set up commands for each player or their rank so when they joined they would be given anything from health to food to protection to anything at all really I know there are plugins for most of this but I would like one that can be a bit more basic and work with any command you want or command from another plugin it would just automatically do it when you joined like say send mail or just anything sorry I said that many times I think the point is made. Commands:Just A Config Permissions:Just A Condig When I Would Like To Have It: Don't Care, Whenever works(relatively speaking)
TheDeadStar I have a plugin that will make the player execute a command when they login, would that fill your needs?
I think what he would need is it being executed from console onto the player, so they could get items or something when they join and they don't need to have access to the /give command. I might be wrong though.
Shouldn't you just need: Code:java public final class Main extends JavaPlugin implements Listener { @Override public void onEnable() { getServer().getPluginManager().registerEvents(this, this); } public void onAchievement(PlayerLoginEvent event){ event.getPlayer().getInventory().addItem("potato"); }
timtower do you mean they have to execute it when they log log in like excepting rules or something or do you mean when they join the console automatically executes something now I would mean the console one but if you have one based on in game commands like maybe their stuff gets temporarily guarded that would be a player command but it would like go away after they logged out so well if you have the second part that would be great but this would allow me to use concord and in game commands the in game commands I would hope I could bind to a group of people like a rank and the console command maybe that would have to be a different plugin but both would be nice.
TheDeadStar Well, the plugin that I am talking about will force the player to perform a command when they join, not capable of firing console commands.
Players won't know that they used the command ( unless the command has a message ) And it will perform the command each time they join so it is automatic
Which own of your plugins is it I'd be interested in checking it out. Can it also execute a command when they log off automatically if not maybe could you add it? timtower
TheDeadStar It isn't listed anywhere. Here is the direct download: https://www.dropbox.com/s/runyuu44vj452y9/CommandOnJoin.jar And no, it isn't able to perform commands when the player logs off. Might redo this plugin into a different plugin though.
TheDeadStar I Highly recommand using CommandOnJoin also dough i'm the 1 who requested that plugin ... Link: http://forums.bukkit.org/threads/commandsonjoin.283012/