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
yessss this is what i needet my hub was broken and you spawned somewhere random in the hub i put the hub command on join and its perfect great work man it stil works on 1.18.1
thinking of starting to release updates to all my plugins
In reply to MrInspector:
doesnt work for players who arent OP's..
is it possible to add delays?
I want a join msg to play a title to the player:
/title %player% title [{"text":"Welcome To","color":"green"}]
/title %player% subtitle [{"text":"The Server","color":"dark_green"}]
I know these are valid commands because i have used them but without the player variable. But ive fully reloaded everything and it doesnt take effect.
Any help with this would be perfect thanks.
GREAT PLUGIN! Thank you Developer!
Здравствуйте, добавьте задержку на выполнение команд * Hello, add a delay to the execution of commands * Буду очень признателен * I would be very grateful
Whenever I try to remove a feature (like Leavecommand) or change it to a command that does not show, the plugin fucks up.. Could you add a Enabled: feature please.. I really do not want all of these features.
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at org.mcstats.Metrics.postPlugin(Metrics.java:336) at org.mcstats.Metrics.access$4(Metrics.java:329) at org.mcstats.Metrics$1.run(Metrics.java:224) at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 4 more
Could you add a %world% variable?
Can you please make it so that one of the commands can be disabled?
I dont want to use JoinCommands I only use LeaveCommands, but when I just remove the command, every time a player joins it says "unknown command". With hundreds of players joining its lagging the server
In reply to jet315:
@MerlinK11
What do you mean? There is only one command and already a permission node attached to it. (See above)
/jcreload jc.reload
can't you add Permission too use this plugin?
@nashoxx
Most don't work because most people don't look at the version date their downloading, this plugin currently doesn't work with 1.8.8.
First join commands don't even work. What a waste of time. It's incredible how broken most of these first join plugins are.
Tried to do /jcreload
[16:50:28] [Server thread/WARN]: Unexpected exception while parsing console command "jcreload" org.bukkit.command.CommandException: Unhandled exception executing command 'jcreload' in plugin JoinCommands v4.0.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_45] Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at com.mrinspector.joincommands.JoinCommands.onCommand(JoinCommands.java:37) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24] ... 8 more
Using spigot 1.8.8 and JoinCommands v 4.0
@mat41997
Most likely because JoinCommands doesn't work on the newer snapshot versions.
The next update though I'll add it to make it work with 1.8.8
error,
@SCoFF3D
1.8 Works.
/Jcreload wasn't added in previous updates, so it wont work, i'm making a website though and I'll be uploading better versions of plugins.