mathquestions

last built 3 hours ago
Build #28
By downloading this file, you agree to our license terms.
Jenkins CI
Git Mirror
License: MIT
Maintainer: Community Plugin
Source: github.com
This plugin is maintained by the RocketMod Community.
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

MathQuestions

What is MathQuestions?

This add-on generates random numbers and random mathematical operations, and broadcasts them according to the minute(s) or second(s) you set. If players answer the question correctly, they earn the amount of Uconomy money you set.


Commands:

  • /answer <answer> – It answers the question.
  • /re <answer> – It answers the question. (Aliase)

(Example: /re 6 or /answer 6)


Permissions:

  • re

Dependencies:

  • Uconomy

Instructions:

  • Download & Copy MathQuestions.dll to your Plugins folder.
  • Type “rocket reload” in the Server console
  • Change MathQuestions.configuration.xml to your needs, or leave it however you want.
  • Type “rocket reload” in the Server console

Contact:

Discord: CapScroLL#8430

My YT channel: youtube.com/CapScroLL (Turkish & Only Unturned Videos)

My Steam profile: CapScroLL

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<MathQuestionsConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MathQuestionsEnabled>true</MathQuestionsEnabled>
  <Addition>true</Addition>
  <Subtraction>true</Subtraction>
  <Interval>10</Interval>
  <Reward>5</Reward>
  <MessageColor>yellow</MessageColor>
  <UnfavorableMessageColor>red</UnfavorableMessageColor>
</MathQuestionsConfig>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="mathquestions_broadcast_question" Value="[MathQuestions]: '{0} {2} {1} = ?' Know the question and earn {3} {4} '/re &lt;answer&gt;'" />
  <Translation Id="mathquestions_broadcast_winner" Value="[MathQuestions]: {0} answered the question correctly and earned {2} {3}! Answer: {1}" />
  <Translation Id="mathquestions_true_answer" Value="[MathQuestions]: Congratulations! You have earned {0} {1} by answering correctly! Your new balance: {2} {1}" />
  <Translation Id="mathquestions_wrong_answer" Value="[MathQuestions]: Wrong answer!" />
  <Translation Id="mathquestions_invalid_parameter" Value="[MathQuestions]: Usage: '/re &lt;answer&gt;' or '/answer &lt;answer&gt;'" />
  <Translation Id="mathquestions_no_question" Value="[MathQuestions]: No active questions yet!" />
  <Translation Id="mathquestions_disabled" Value="MathQuestions is disabled!" />
</Translations>

Commands and permissions


This plugin doesn't have any commands.

Git changelog


bca17c51468ff8d 2019-05-23 12:09:17

Forgot to fix Uconomy reference.

    a9d3be3b797c625 2019-05-23 12:03:57

    Fixed.

      f6877257aa1cef4 2019-03-13 23:00:43

      Update MathQuestions.cs

        a9805317272052e 2019-03-01 17:50:32

        Update MathQuestions.cs

          3fe4c150163173d 2019-03-01 09:33:49

          Update MathQuestions.cs

            fa091c05dea89d5 2019-03-01 09:17:34

            Update MathQuestions.cs

              50eff9216ac8f82 2019-02-26 05:14:39

              Update MathQuestions.cs

                61ec9a539cb0a0e 2019-02-26 05:08:33

                Update MathQuestions.cs

                  31bfc0546e10195 2019-02-26 00:19:45

                  Update MathQuestions.cs

                    2b5d5e36d6eb3b4 2019-02-25 19:58:39

                    Update MathQuestions.csproj

                      5aad2df5fd2f0c8 2019-02-25 19:50:52

                      Added