config.lua 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. interact = {}
  2. interact.configured = false --Change this to true when you've configured the mod!
  3. --Which screens to show.
  4. interact.screen1 = true --The welcome a first question screen.
  5. interact.screen2 = true --The visit or interact screen.
  6. interact.screen4 = true --The quiz screen.
  7. --The first screen--
  8. --The text at the top.
  9. interact.s1_header = "Hello, welcome to this server!"
  10. --Lines one and two. Make sure each line is less than 70 characters, or they will run off the screen.
  11. interact.s1_l2 = "Could you please tell me if you like to grief or not?"
  12. interact.s1_l3 = ""
  13. --The buttons. Each can have 15 characters, max.
  14. interact.s1_b1 = "No, I don't."
  15. interact.s1_b2 = "Yes, I do!"
  16. --The message to send kicked griefers.
  17. interact.msg_grief = "Try out singleplayer if you like griefing, because then you'll only destroy your own stuff!"
  18. --Ban or kick griefers? Default is kick, set to true for ban.
  19. interact.grief_ban = false
  20. --The second screen--
  21. --Lines one and two. Make sure each line is less than 70 characters, or they will run off the screen.
  22. interact.s2_l1 = "So, do you want interact, or do you just want to look around"
  23. interact.s2_l2 = "the server?"
  24. --The buttons. These ones can have a maximum of 26 characters.
  25. interact.s2_b1 = "Yes, I want interact!"
  26. interact.s2_b2 = "I just want to look round."
  27. --The message the player is sent if s/he is just visiting.
  28. interact.visit_msg = "Have a nice time looking round! If you want interact just type /rules, and you can go through the process again!"
  29. --The third screen--
  30. --The header for the rules box, this can have 60 characters, max.
  31. interact.s3_header = "Here are the rules:"
  32. --The buttons. Each can have 15 characters, max.
  33. interact.s3_b1 = "I agree"
  34. interact.s3_b2 = "I disagree"
  35. --The message to send players who disagree when they are kicked for disagring with the rules.
  36. interact.disagree_msg = "Bye then! You have to agree to the rules to play on the server."
  37. --Kick, ban or ignore players who disagree with the rules.
  38. --Options are "kick" "ban" "nothing"
  39. interact.disagree_action = "kick"
  40. --The fouth screen--
  41. --Should there be a back to rules button?
  42. interact.s4_to_rules_button = true
  43. --The back to rules button. 13 characters, max.
  44. interact.s4_to_rules = "Back to rules"
  45. --The header for screen 4. 60 characters max, although this is a bit of a squash. I recomend 55 as a max.
  46. interact.s4_header = "Time for a quiz on the rules!"
  47. --Since the questions are intrinsically connected with the rules, they are to be found in rules.lua
  48. --The trues are limited to 24 characters. The falses can have 36 characters.
  49. interact.s4_question1_true = "Yes."
  50. interact.s4_question1_false = "No."
  51. interact.s4_question2_true = "Yes."
  52. interact.s4_question2_false = "No."
  53. interact.s4_question3_true = "Yes."
  54. interact.s4_question3_false = "No."
  55. interact.s4_question4_true = "Yes."
  56. interact.s4_question4_false = "No."
  57. interact.s4_submit = "Submit!"
  58. --What to do on a wrong quiz.
  59. --Options are "kick" "ban" "reshow" "rules" and "nothing"
  60. interact.on_wrong_quiz = "nothing"
  61. --The message to send the player if reshow is the on_wrong_quiz option.
  62. interact.quiz_try_again_msg = "Have another go."
  63. --The message sent to the player if rules is the on_wrong_quiz option.
  64. interact.quiz_rules_msg = "Have another look at the rules:"
  65. --The kick reason if kick is the on_wrong_quiz option.
  66. interact.wrong_quiz_kick_msg = "Pay more attention next time!"
  67. --The message sent to the player if nothing is the on_wrong_quiz option.
  68. interact.quiz_fail_msg = "You got that wrong."
  69. --The messages send to the player after interact is granted.
  70. interact.interact_msg1 = "Thanks for accepting the rules, you now are able to interact with things."
  71. interact.interact_msg2 = "Happy building!"
  72. --The priv required to use the /rules command. If fast is a default priv, I recomend replacing shout with that.
  73. interact.priv = {shout = true}