LoopCommands
LoopCommands
Description
LoopCommands is a plugin that was created for SammyT291, which lets server owners loop an near infinite amount specific commands after a delay of however long they want. To use this plugin, you would need to add the next few lines in the config.yml.
loops:
ANYTHING_1:
command: "say The Command"time: 1D
- "ANYTHING_1" is the name of the repeat. It can be anything. This just helps identify what the commands does
- command is the command that will be sent
- time is the delay between repeats. Demicals are accepted. Use D to specify the time in days, H for hours, and M for minutes
Features
- Server owns can loop commands, and have as many commands as they want.
Commands
- /LoopCommandReload : reloads just the plugin itself if you update the /command folder (e.g. add a new .txt file) (Must have permission "Loop.canReload" )
Dependencies and Compatibility
none
How to Install
- Drop this plugin into you plugins folder
- Restart your server
- Create the Text files with the name of the command on one line, and the time in seconds on the other (NOTE: make sure the text files have at least two lines)
ChangeLog
1.3:
- Fixed some minor bugs
- Added debug control. You can now set it so there will be no debug messages.
1.2:
- Fixed initialization errors
1.1:
- Just released
To-Do
I will add on to this plugin whatever seems needed. If you have an idea for what I could add, post in the comments and I may add it.
Plsssss make a 1.16.5
Idk why is not working someone please help me
loops:
command1:
command: give @a minecraft:gold_ingot
time: 60S
anotherCommand:
command2: say Thank you for spending your time in the Underground!Have some gold!
time: 60S
My config is like this:
loops:
command1:
command: test 123
time: 25S
anotherCommand:
command: test 123
time: 30S
I just wanted to test out how to have the command repeat and im not sure if your supposed to have like /broadcast or /say in fron of the words but notign is coming up in the cmd so I just need some help please
other plugins
world edit
votifier
vault
my commands
minigames
luck perms
essentialsx
buycraft
bstats
and also there are no errors in the cmd
anyone please help?
This is how my config is:
loops:
say:
command: say Hello World! 1
time: 1S
say1:
command: say Hello World! 2
time: 5S
say2:
command: say Hello World! 3
time: 10S
Why isn't it working?
ok so, i dont get how this works i really want to use but i just can get it done. can u help me??? i want to loop a clone command. please help me :)
Can you update for 1.13.2 too?
In reply to gavemalay233:
In reply to Zombie_Striker_bukkit:
I have a 1.12.2 server and the latest version doesn't work, nor does v1.5 of the plugin.
This is how my config is:
loops:
say:
command: say Hello World! 1
time: 1S
say1:
command: say Hello World! 2
time: 5S
say2:
command: say Hello World! 3
time: 10S
In reply to TuT_OrGames:
Are there any errors in the console?
In reply to Zombie_Striker_bukkit:
No errors. Not one.
List of my plugins (Latest Spigot 1.12.2 for my servers):
Advanced Portals
Automessage
BookDuplicationFix
BuycraftX
EnjinMinecraftPlugin
EssentialsNicknameAddon
EssentialsX
EssentialsXChat
EssentialsXSpawn
EssentialsXProtect
GriefPrevention
LoopCommands
LuckPerms
Marriage
NoCheatPlus
NuVotifier
VotingPlugin
OpenInventory
PlayerEmotesPro
PlayerConstructorAPI
Vault
ViaVersion
WorldEdit
WorldGuard
In reply to Zombie_Striker_bukkit:
Wait, never mind. Here is the code:
[16:54:43 WARN]: [Vault] Task #80 for Vault v1.7.2-b107 generated an exception
java.lang.NoClassDefFoundError: me/zombie_striker/pluginconstructor/privatemetrics/Metrics$CustomChart
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_211]
at java.lang.Class.privateGetDeclaredMethods(Unknown Source) ~[?:1.8.0_211]
at java.lang.Class.privateGetMethodRecursive(Unknown Source) ~[?:1.8.0_211]
at java.lang.Class.getMethod0(Unknown Source) ~[?:1.8.0_211]
at java.lang.Class.getMethod(Unknown Source) ~[?:1.8.0_211]
at net.milkbowl.vault.metrics.bukkit.Metrics.submitData(Metrics.java:257) ~[?:?]
at net.milkbowl.vault.metrics.bukkit.Metrics.access$100(Metrics.java:36) ~[?:?]
at net.milkbowl.vault.metrics.bukkit.Metrics$1$1.run(Metrics.java:159) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
Caused by: java.lang.ClassNotFoundException: me.zombie_striker.pluginconstructor.privatemetrics.Metrics$CustomChart
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_211]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:152) ~[spigot.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot.jar:git-Spigot-79a30d7-acbc348]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211]
... 15 more
Hmmm... Works fine, but /LoopCommandReload doesn't work. It says "Unknown command. Type "help" for help.", when I'm trying to use it. I've tried from op console, and from server console.
In reply to Forge_User_44335688:
In reply to ZombieStryker:
In reply to Forge_User_44335688:
In reply to ZombieStryker:
how to post bigger message? without [@] and [console: .....]? pls. do you just use:
-x-x-x-x-x--x-x-x--x-x-x-x--xx--x-xx-xx--x-x-xx-x--
Hello!
x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
? pls help me
In reply to Forge_User_84591262:
-x-x-x-x-x--x-x-x--x-x-x-x--xx--x-xx-xx--x-x-xx-x-- \nHello!\nx-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
@kyleyocats
Essentials Is What You Need
That already exists. There is a bukkit plugin known as Essentials. You can do /kick all. There are around 40 other commands as well, and comes with economy.
Add a variable for a command like "/kick %ALLPLAYERS% u got kicked m8" Also a %Player% for the player.