kTriggers
kTriggers
By krinsdeath
This plugin allows the creation of custom commands and scheduled tasks (such as voting reminders, or information commands that display links and other things) to give your server a bit more life.
Commands
Potentially unlimited! The commands are relatively well documented in the config file, but check the command reference for more information.
- /ktrigger reload - Reloads the kTrigger configuration file, and stops and restarts all active timed tasks.
- /ktrigger version - Shows kTrigger's version number and build number.
- Example commands:
- * /example1 - A simple "display this text to the user" command. Provided in the default configuration.
- * /example2 - Displays more text, and executes /example1 as well.
- * /example3 - An example command that includes parameters, kicks the first argument provided (if the player exists)
- * /plugins & /pl - Overrides the plugin list commands so that no one can use them.
Tasks
Provide information to users on a scheduled task! The tasks are fairly easy to understand, but check the task reference for more information.
The 'delay' key specifies how many seconds before the task should execute. The 'target' key specifies who should be notified of the task's execution. The 'source' key specifies where to draw the information you intend to provide from.
More information will become available as I work on this plugin.
Update to 1.8.3?
Could you add variables like %online%?
I installed this plugin back in January and it works fine, just noticed that a /ktrigger reload is taking a long time now about 10 seconds, is that normal? I'm running craftbukkit 1.7.9 RO.2. Not getting any errors in my logs for ktrigger. I was getting slow reloads with PermissionsBukkit and I updated it and now it loads quick. Was hoping an update was coming out soon to fix the slow reload of ktriggers
I would like to rename some of my commands, just cant get it to execute the command. Any one know where I can find a example to see what I'm doing wrong?
i keep getting this error over and over again perhaps needs an update ? or is it conflict, or did i do something wrong ?
06:27:20 [WARNING] [kTriggers] Task #32797 for kTriggers v1.3-b35 for Bukkit 1.2 .3-R0.1 generated an exception java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Unknown Source) at net.krinsoft.ktriggers.TriggerTask.nextIndex(TriggerTask.java:112) at net.krinsoft.ktriggers.TriggerTask.run(TriggerTask.java:68) at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java :53) at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHea rtbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:5 24) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:2 27) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:4 88) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java :421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:5
Is there a way you can add parameters to the custom commands?
For example, let's say you want a command where users can type "/plugin <plugin-name>" and they'll be told what that specific plugin does.
I looked at the command and task reference pages and haven't found anything telling you how to do this, if it's even possible...
where is the RunOnceList put, to make players only use the command once,
ConnorMcf10: Can you please post a ticket with your server.log (from startup to when this issue occurred) and config.yml, so I can find the issue?
NO.
I just downloaded the plugin... I joined the server anddddd All the default messages spammed at me non stop
beastzone: Colors can be parsed with &[color code] in the message. And yes, you can specify a list of commands (with an 'executeAs' entry) to execute with a single command.
i have one quick question, is it possible to make it so that u can put a Colored message and a executable command all under one custom /cmd? I am trying to figure this out, but nothing seems to work for me
THIS IS SO EPIC!! PLEASE ADD MOAR!
Good point, and I had forgotten that I could do that without re-uploading.
It's edited now and the latest build should reflect its compatibility.
You may not need to update the plugin, due to it's proper implementation of the API, but it would be nice if you marked the most recent download as compatible to the most recent RB. Mostly for plugin search / filtering purposes.
There is no reason to update the plugin. It doesn't break between versions.
If it breaks I will be happy to update it.
Please update to 1.4.5! Great plugin no updated replacements!
Update to 1.3 please
Sorry, it's just a leftover debug message. It's fixed locally, I just forgot to remove it before I pushed the latest build. Next update it will be removed.
When someone types a command that isn't in the config the console says [ktriggers] Unknown command. Is this supposed to happen?