JoinCommand
The original plugin for forcing commands on join!
I created the original version of JoinCommand in 2011, and posted the original forum thread on November 25, 2011. It gained moderate popularity, and was a great server tool. I dropped support (and stopped using Bukkit altogether), but now I'm back! I'm reviving JoinCommand with its original features, as well as new ones.
JoinCommand allows server operators to define a list of commands that will be ran when a player joins the server. The commands can either be performed by the player, or by the console. Additionally, there is a separate list for commands on a first join, and for every join.
Current features:
- Force commands ran by the user who joins
- Either on every join or
- Only on their first join
- Force commands to be run from console
- Whenever a player joins
- Whenever a player joins for the first time
- Notifies the server when a player joins
- For the first time they join, or every time
- Configurable messages for each
- Each can individually be enabled/disabled
- The variable %player% will be replaced with the player's username
- Tracks the number of unique players who have joined
- Includes a one-time setup on first start to check how many players have already joined for accuracy
- Reports stats to Metrics (http:mcstats.org/plugin/JoinCommand)
- Can be disabled via plugins/metrics/config.yml
Variables:
These variables are to be used in the custom messages.
- %player%
- gets replaced with the player's username
- %count%
- gets replaced with the number of unique players
Planned Features:
- Per-world support
- Play a sound to all players when a player joins (first or every)
- First join spawn point
Suggestions? Submit them on the issue tracker.
None currently implemented.
Permissions are REQUIRED for the commands to be executed.
- joincommand.first
- All users with this permission node will have the first join commands executed.
- Default: everyone
- joincommand.every
- All users with this permission node will have the every join commands executed every time they login.
- Default: everyone
Available for everyone to see, learn from, and contribute towards.
The source code for JoinCommand is available on Github. JoinCommand is licensed under the Mozilla Public License 2.0. If you would like to expand on JoinCommand, please make pull requests to add your code instead of releasing a whole new plugin (although you could if you wanted to).
Along with the source code being available, early plugin releases are also available. These builds have not been approved by the BukkitDev staff; use them at your own risk. They can be found on the Github releases page.
Hello,
I'm having some issues figuring out how to code the plugin. Is there an informational video on this that might help?
Suggestion: Could you please implement a reload command? I hate having to restart the server every time I need to make an edit. Thanks!
can someone please tell me what iam doing wrong.
I want to run an OP command from console on join.
I created:
specificplayerjoin.yml
steve:
- me example specific join
- ''
players:
- Whiskey103NL
- ''
Whiskey103NL:
- op Whiskey103NL
- ''
Everytime i remove steve it created him back and the command isnt working.
Can please someone post an example how he.she did it?
@fr233
@raymart23
Hello all, sorry for not responding in a long time. Truthfully I kind of forgot about this project. Seeing as this project has apparently been used quite a bit recently, I'll be updating it. While I may not be the most active, I do like to provide support.
I am currently away on summer holiday until 7/25. Once I return I will be implementing full UUID support and addressing any concerns and issues, as well as feature requests. I apologize for such a long gap between updates/response on my end. Thanks for using this project.
plz update :/
I like the idea behind the plugin, and this is one of the few that I can find.
Although whenever I try to delete the version and plugin from the first join in the config, it always comes back, and it is really annoying, what should I do to stop it from coming back? And maybe add a a sample config on the page, that would help a lot.
Summoning @ItsKohle how can i put custom command every time they joined ?
can you show me a sample config
@EN7
Sorry for the late reply. I'll be releasing and update this coming weekend!
Update to 1.8
@Meastrofer5
If you could expand on what you mean (be a bit clearer please) I would be more than happy to try to implement it.
Hello, can you make this plugin on player activity? For example: Player first win event and plugin doing command on add new permissions on next event and give to him inventory items and send to player message.