TestqUiz
TestqUiz
TestqUiz v.2.1.6 - Light-weight testing!
Description
Tests are good to keep most lazy griefers from griefing your server. The idea is this: Any griefers which are lazy won't bother griefing your server because they have to take a test. This wastes their time. This is what TestqUiz does! TestqUiz allows servers to have tests on them.
Wait ... so what is the difference between this and other testing plugins? With TestqUiz, you can create Tests using signs. Instead of players typing commands to answer a question, they walk down a pathway.
Features
- Answers being executed after walking over a sign
- Three possible Answers: Correct, Incorrect, and Finish
- Announcing, Logging, and notifying after a certain answer
- Kicking and banning when a player gets an incorrect answer
- Ability to bypass incorrect answers
- Anti-Cheating
- Prevents players from starting the test too early (after login)
- Prevents a player from showing another player the answer
- Vault compatible, which unlocks the following features (on finish):
- Permission Group Add or Change
- Economy Rewards
- Item Rewards
- Clears the plugin's memory to prevent server from crashing / lagging
- Various permission nodes
- Configurable settings for: Correct, Incorrect, and Finish Answers
- Configurable messages
- Custom Events (API)
Commands
- /testquiz
- Displays the current version of TestqUiz
- /testquiz bypass
- Turns on or off bypassing and Incorrect Answer
- /testquiz reload
- Reloads the config.yml, messages.yml, and users.yml.
Hooking into TestqUiz
TestqUiz does have custom Events! There is an AnswerPreprocessEvent, CorrectAnswerEvent, IncorrectAnswerEvent, and a FinishAnswerEvent! Clicky here for a tutorial on GitHub.
Plugins which currently use the TestqUiz API: Testquiz
Support
Have any configuration questions? Click this!
Have a problem or want a feature? Comment / Make a ticket!
Want to talk to me differently or see what I'm up to? Follow me on Twitter!
If you think I did a good job stopping griefers, hackers, etc, then buy me a burger! Click the donate button at the top right corner!
TODO List
Add custom messages (From @nhoclesnar)Add a way to ban (From @nhoclesnar)Add a way to rank-up after finishing (using a permissions plugin)- Add per-world support!
- Add custom commands to be executed after a certain answer (From @saimon13)
- Add a message to notify how many incorrect answers you have left before a kick or ban (From @nhoclesnar)
- Add McMyAdmin support (From @saimon13) ?
Add custom teleport locations on incorrect answerBroadcast if someone passes the test (From @nhoclesnar)- Add more commands
- Clean up code
Hello, ty for this plugin i got this error, any idea?
2012-12-24 23:22:22 [WARNING] [TestqUiz] Task #3348 for TestqUiz v2.1.5 generated an exception java.lang.NullPointerException at me.number1_Master.TestqUiz.Utils.Utils.notify(Utils.java:26) at me.number1_Master.TestqUiz.Listeners.IncorrectListener$1.run(IncorrectListener.java:84) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
@spedzior
Award issue: According to your config.yml if the person who passes the test is "Guest" he or she will get items. He or she will also get his or her group changed to "Member." Keep in mind that Vault must be installed for permissions to work and you must type /testquiz reload or /reload or restart the server in order for the changes in the configuration to work.
Sign issue: The sign must be under the block the person is walking on, as stated in the tutorial. The sign can be on the ground or on a block as long as it is under the block the person is walking on. Keep in mind that there is an Anti-Spam feature. When walking over a block, you are above the block for more then half a millisecond. The Anti-Spam feature prevents the message from being sent every millisecond. So, if your signs or less then 3 seconds apart, then it will not work.
I plan on reducing the anti-spam to a second and a half.
@number1Master
Also, if you get one answer correctly you can just right through all the other ones. Does the sign actually need to be on the block or can it be on the ground?
I did: http://pastebin.com/fwk5Af11
@spedzior
You have to enable it in the config.yml!
It doesn't reward players with permissionsex or items... why is that?
@lanman14444
Go to plugins -> TestqUiz -> config.yml
Inside the config.yml, go under Incorrect, Kicking, and set Use to false.
how would I turn off the kicking if a answer is incorrect. I just want it to tp them to the spawn
@nhoclesnar
It seems to be an error involving a message sent from the messages.yml. I checked the code where the error occurred. It just involved sending a message.
I got this error while taking a quiz. Do you know what it is?
@Jleeevinnn
You mean the command delay plugin? booscooldowns is one.
Please do. And could you enlighten me with this plugin's name?
@Jleeevinnn
I afraid only Essentials has the power to change the teleportation delay. I'm sure you can find another plugin which allows you to blacklist or whitelist commands that are delayed.
If not, I might create one in the future.
OK All of that works, except I have a 5 second pending teleportation delay on my warps, and if the player moves during these 5 seconds the teleportation is canceled. Could I bypass this somehow?
@Jleeevinnn
PLAYERNAME is replaced by the player's name who is walking over the sign. So ... yes!
If you put 'P: ' before whatever your command is, the command will be executed by the player (automatically). So if I had P: home , the player would execute /home every time he/she went over the sign.
If I just put home, then the console would execute home whenever a player walked over a sign (and it was wrong).
So when I put "PLAYERNAME" your plugin will automatically execute that command for the player that walks over it?
@Jleeevinnn
In the Config.yml there is something called Teleport Command. By default, it is 'P: spawn'. The teleport command is the command which is executed whenever a player gets a wrong answer. If it is set to P: <command here>, the player executes the command. If it only is set to <command>, the console executes the command.
So, if you have a warp to the newbie spawn, you can set the teleport command to 'warp newbiespawn PLAYERNAME'. PLAYERNAME, of course, is replaced by the player's name. newbiespawn would be the name of the newbie spawn.
Still confused? Please ask questions!
So I have a major problem. I have my "newbies" spawn set in the spawn building with the quiz. But I have my "default" users spawn set to the actual town. I don't want to change my spawn inside the spawn building because then EVERYONE in my server would have to go through the test every time. I want to set it so, if you get the incorrect answer, it sets you back to the spawn entitled "newbies" not "default".
If anyone doesnt know, im using Essentials, so the spawn named "newbies" is where only new players spawn. So how would I do this?
@nhoclesnar
No problem!
Yay thank you so much for making this handy plugin. I love how it is so convenient now :)