Managing Packs

Managing packs

Creating packs

Short and quick

/vocab create [name]: Create a new pack called [name]
Add a question
Add multiple solutions
Set the points in between braces (eg. (1))

Commands
#: Exit from anywhere
#undo: Undo last step (works by logic, not by saving the steps)
<n>: Line break in a question

Long and detailed

Create new packs using the /vocab create [name] command. You'll be moved to a temporary chat where no one will hear you when you type. (commands still work)
The name of the project may not contain any special characters such as # or ยง. There are ways to trick the system. I ask you kindly not to do that.

The first line you type into the chat is going to be the question. You can add line breaks to the question using <n>. (v1.1 up) This might be good for multiple choice questions.
Once you have your question, you can add possible solutions one at a time. A solution should not contain the ; character, because this character is used to split up the solutions in the final .txt file.
If you have created the question and solutions you only have to give it a certain value, the amount of points you want to reward the player when he answers correctly. Put the points in between braces, if you want to give a reward of 1 point, type in (1).

During the process, you always have the ability to #undo your last step. It doesn't save the steps you made, it works by logic - it always deletes the latest information the pack received.
If you're done writing down all the vocabs, just type in #, it will create the pack and the next time the server reloads, the file is going to be saved as "plugins/VocabTrainer/packs/[name].txt".

Example

/vocab create german   - Create pack
schlafen               - Add "schlafen" as a question
to sleep               - Add "to sleep" as a solution
slep                   - Add "slep" as a solution
#undo                  - Undo adding last solution, spelled it wrong
sleep                  - Add "sleep" as a solution
(1)                    - Reward player with 1 point
#                      - Finish setup

Adding vocabularies to packs

/vocab add [name]: Add more vocabularies to the pack [name].
#: Cancel
#undo: Undo last step (works also farther farther farther back)
<n>: Line break in questions

Delete packs

/vocab delete [name]: Delete pack called [name]. Cannot be reversed, it will be gone, out of the way, in infinity, lost forever, taken 2.


Comments

Posts Quoted:
Reply
Clear All Quotes