JoinCommands
Plugin has been updated to 1.8.
JoinCommands, Leave commands & Console commands
JoinCommands is a command where you can run multiple commands at once when you join the server!
This plugin was suggested through someone from a PM but I forgot to do it, sorry :(!
%player% Variable
%player% gets the name of the player, so for example: eco give %player% 2500
Leave commands
Leave commands have been added to JoinCommands! Check the config file for more information.
Console Leave Commands
Console leave commands have been added to JoinCommands! Check the config file for more information.
Console Join Commands
Console join commands have been added to JoinCommands! Check the config file for more information.
First Join Commands
You may have noticed something new has been added to the config file, this is because I have added a first join command section, what this does is whenever a player joins for the first time, they will execute a command, but this only works on their first join!
World Change Commands
Another thing has changed in the config, a world change command section, this is when a person changes the world he or she is on they will execute a command.
Metrics
This plugin uses metrics to collect data (Such as how many servers are using it), disable this in the config.yml! It will send details such as the mode of the server (Premium or Cracked), the server location, the server software, and the game version!
Commands
/jcreload - Reload the plugins configuration file
Permissions
jc.reload - Access to /jcreload
Config
The config file is how you use the plugin, here is how you use the config and how you do the plugin! (These are just example commands!)
JoinCommands: - heal %player% - othercmd LeaveCommands: - cool - command %player% ConsoleJoinCommands: - welcome command %player% - example command ConsoleLeaveCommands: - leave command example - leave example %player%
Tutorials / Videos
English: https://www.youtube.com/watch?v=TH8z6h5bMCk
Spanish: https://www.youtube.com/watch?v=qD1H1d3ZTrM
German: https://www.youtube.com/watch?v=hLOywm1IU7g
Turkish: https://www.youtube.com/watch?v=70DLmSjw7Ac
Donations
Between the school work and projects I do between, I need some donations to keep me going, would you mind sparing me some coffee money? Just click the "Donate" button on the top right, I really appreciate it!
How to install
Download the plugin, reload the server, then go into the config and set everything up! See above how to configure if you're having trouble!
Art by CookooCam
Is there a version of the plugin that works with 1.7.9 servers? I tried downloading the 1.7.2 version, but it does not seem to be working. The config file loads but I can't type /jcreload in chat. 1.8 will definitely not work.
@elkidz
Could you explain your problem please? Sorry not sure which ones you're refering to, and sorry, I'm not really active too much on bukkitdev, check my spigot page, I check daily there. :)
@johandre
I replied to you on spigot. :)
Love the plugin! Could you however implant a delay option for "Console Join Commands:" which I'm really in need of. So in case one player leaves and then joins again within 300 seconds those commands won't be executed for the player again.
I have the same problem with Console Join Commands.
@pungaan8
No problem. :)
@RA3Unleashed
It's hopefully looking to be fixed soon. It's not that it's a huge bug or anything, just been really busy.
THANK YOU SO MUCH! I have been looking for something like this for weeks!!!!
Your The BEST!
I'm having the same problems as @HAMCHOPS.
The first player join command runs every time someone logs into the server, not just the first time.
@FreeWall1
Just remove the command and leave it like this... -
How tu disable LeaveCommands forexample? If I leave it empty, it executes command "say art by cookocam" - WTF???
@MrInspector
Okay! I'll check it out on the next update, but for now I'll use a different plugin.
Thanks a lot,
Hamchops
@HAMCHOPS
You're correct, that's how it's supposed to be, now sure what happened, I'll check it out soon!
@MrInspector
Hello, In the new update there is a section labeled 'FirstPlayerConsoleJoinCommands:' and I just wanted to clear up that this is where if I type a command it will run it for someone only once, the first time they join. The way I have it is that under that section it says this: - 'pex user %player% add serversigns.use.hat' but it runs that command every single time I log on... Is there a fix to this, or am I just reading it wrong? Thanks!
@ZwPBerserk
Currently you can't with certain worlds, but I'll think about adding that in the next update. :)
@MrInspector
Oh nice.
How can I set it so it only happens when they go to Prison world?
I dont want join commands in my Factions world. (both are on the same server)
@ZwPBerserk
Yes, world join commands are possible and have existed in the last 2 versions. :)
Would it be possible to enable this to run only when a player joins a certain world?
I need this for the Heroes plugin and my prison world.
Example:
Is this possible? (Maybe even make it so you can add worlds with each their own custom commands to run?)
@JacobRocks12
No problem! :)
And yeah haha forgot to change the description.
Lol, there is a command. Its /jcreload. Thanks for the cool plugin, now I can finally force /spawn on my BungeeCord server. :) @MrInspector
@LucasOe
Thanks, and sorry for the late reply, but you should post a ticket instead of using the comment section. :)
Anyways, for your problem, I don't think it's a problem from my plugin, for me to make sure, can you post the error in your console? so I can see if it's from my plugin or another persons, I've tested this plugin top to bottom and never got an error like that.
So if you could just post your error in console, I'll see the problem. Thanks.
The Plugin works fine but when I try to use any command that opens a GUI I get kicked from the Server. Example: If I use "/cc open Class.yml" and I reconnect I get kicked witch the Error "Existing connection closed by the remote host." Is there a way to fix that? I'm using the version 1.8 Spigot.
But great plugin anyways. :)