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
@Braveras
Yes this is possible. Just change the kick command in the config to whatever command is used to temp ban.
A new version is coming out soon. If this (for some reason) to you is buggy, don't worry. It should be fixed.
Can I set that if one player fails 3 times, the server automaticlly tempban the player for about 5 hours?
Expect a new version of TestqUiz within the week! The next version will be a huge step up from previous generations.
@saimon13
Typo :) Thanks. I appreciate the support you are giving me.
@number1Master
Thanks for the shout out :D But im Saimon13 not 12 :D
Add custom commands to be executed after a certain answer (From @saimon12)
@saimon13
Two things:
@number1Master
I know the problem, its because McMyAdmin it only lets swaping the groups in the control panel, no way to change it in-game. Solution: (for users) In mcmyadmin head to - Configuration - Features - Permissions exporting mode and set to none. After thath you will have to configure your permissions thru permissions file, not in-console as you did before.
Fix:(for developer) I read it's possible to add MCMA (MyMCAdmin) compatibility.
I hope this helps others + I heard that MCMA is adding the promote command at some point. :)
@saimon13
The way TestqUiz promotes players is simply by changing the group or adding the group to the player via permissions. So, if I were using bPermissions (for example), it would add / change the group for my user in the users.yml in the world he is in (configurable world in the future).
Before I go into what I'll do with the 3rd and 4th lines, I'm going to simplify the plugin.
@number1Master
umm I use McMyAdmin and I hae a lot of problems with rankinkg/promoting, for some reason I get the new group at first, but when i Relog it resets, plus, player dosent get added to McMyAdmin "users and groups" tab. It stays blank, some wierd stuff, I guess promoting dosent work. I do have an idea how to fix it. My idea is so that if the "Finish" sign is placed the 3rd and 4th lines coul be for server commands?
@saimon13
I already planned adding a custom command instead of going to spawn constantly. That should open up many ideas.
As for cheat mode, I still don't see why you wouldn't use that. I understand what you mean by saying only starters go into that area, but couldn't 1 starter just read the rules / however-the-player-figures-out-the-answer and then show a bunch of his friends the answers? That is what cheat mode will prevent doing.
As for quests, it might be a little off-topic ... but I'll think about multiple quizes.
@number1Master
Yeah I know, but it reseted or something, because if you fail once, you cant go that test again, it just kicks/spawns you :) P.S I don't care about cheat mode, because well.. No one except starters can go there. : ) And would be fun if you add multi quests for ex. You do few Quests and get another rank/group.Because now its only 1 time Group promote :)
@saimon13
By cheat mode do you mean a player following a player, or starting the test too fast?
For starting the test too fast, just set the time to 0.
There is not an option to disable a player following a player, but why would you want that disabled?
When you said you swapped the sign, do you mean you just destroyed the sign and change the way it was facing? The TestqUiz code doesn't care what direction the sign faces. I only say to put it backwards so this way xrayers can't see the text.
@number1Master
Swapped the sign in other direction, fixed :D
Sometimes it appears aggain any way to disable cheat mode compeltely?
@saimon13
There are many possibilites why this is happening. Here are some of them:
Some how when i go thru a correct answer it teleports me to spawn again. Any solution? need pastebin (config) or pic? I use Groupmanager needs any permitions to move thru those signs?
@number1Master
alright ill try it
@Geekin_It_Up
Custom locations after an incorrect answer is something I've been planning.
As for essentials hooking, it might be easier just to kill the player. A work around to do that is this:
This will make it so every time they get a wrong answer, it will kill them, which should send them to their own spawn.
Can u add a set location for first spawn/reset point after u get a question wrong. Also I would like to see essential spawn hookings. It would be cool after u finish the quiz u get tped to ur spaWn(I don't use my actuall world spawn)
@Geekin_It_Up
The World's spawn location
Hey where exactly do peple get tp to iff they get an incorrect answer???