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
hello, can you at least provide the source so I can ask someone to fix the world change problem?
@Fritz2456
My bad, just trying to find time throughout the day, I say this a lot honestly i'll try and upload a fix tomorrow
@MrInspector
Hello, any progress on "invalid world" problem? my server uses this plugin. but the members are getting annoyed with the invalid world error.
@Goliat24B
Honestly it could be a problem on your part, but theres a bug in this plugin that's really hard to find thats in the latest update, i'll check it out, thanks for your report.
.... The first command join dont work...
all works fine but not first coomand join...
Config:
JoinCommands: - cool3
LeaveCommands: - cool
ConsoleJoinCommands: - cool1
ConsoleLeaveCommands: - lcool2
WorldChangeCommands: - wtf
FirstPlayerJoinCommands: - tutorial %player% - kill %player%
@MrInspector
Cool. No problem :)
@hitshot
What @EN7 said. :P
@EN7
I'll try to add it tommorowish, just been busy lately. :P
@hitshot
That's on your end -.- What's your config?
@MrInspector
ETA on adding per-permission-commands?
It works great BUT the only problem is whenever someone joins they see "Unknown command. Type "/help" for help." So can you fix this?
@patrolman5
Problem #1 is a common problem for this plugin, working on a fix and will upload ASAP :)
Problem #2 Can you show me an exact picture of your config?
Hello,
I really love this plugin, as it has helped me a lot. But I am having some problems with it:
1. When I enter another world, it says "Invalid World. Possible worlds are the numbers 0 through 3. You can also type the name of a specific world." I don't know whats going on, but it pops up twice whenever I enter a world. I can't have this happen as it looks unprofessional.
2. When any player joins in, the first 2 things that pop up are "You do not have permission for this command" and "Unknown command. Type /help for help." My config is as fallows:
JoinCommands: LeaveCommands: ConsoleJoinCommands: - give %player% compass 1 name:&9&lGame_Selector ConsoleLeaveCommands: - clear %player% WorldChangeCommands: FirstPlayerJoinCommands:
Hope you can help :)
@remcov1
Aight, will be adding it soon. Thanks.
can you also create ==== WorldChangeCommandsConsole ====
I like the function WorldChangeCommands only i miss the console version
@BlueFiery
Hmm, i'll check it out, thanks.
There is a glitch that if you leave them empty, like this: LeaveCommands:
ConsoleJoinCommands: - clear %player%
a whenever a player leaves, it would say unknown command.
@CloudeLecaw
That's really weird, i'll see whats wrong. Thanks for the report.
@EN7
Yeah I was planning on adding that. :)
@MrInspector
Thanks :D May I also suggest more variables? A good one would be %displayname% (so player nicknames will show for message commands and similar)
@EN7
I knew it :P
Will work on this!
@MrInspector
So we setup 3 JoinCommands:
basically, the number isn't the command itself, but the number of the command from the list. So jc.consolejoin.1 runs the 1st console command, 2 runs the 2nd.
The permission names are: join, consolejoin, leave, consoleleave.