Sueta
UR

Uranium Chat Games

1.0.1

Fun games for chat

·Plugin

Uranium is a plugin aimed at increasing user activity in chat.
It does this by adding numerous games which players can participate in.

Current list of games:
- Hangman (replaces random characters with the character '_')
- Hover (test of speed, fastest person to type the word wins)
- Math (users must solve a math problem and put the answer in chat)
- Trivia (questions and answers)
- Unscramble (rearrange the letters to form a word or phrase)

In each of the games, players win by typing the desired word or phrase in chat.
Each game can be enabled/disabled via config.

You can setup any number of rewards through the reward commands.

Note: All messages are formatted with MiniMessage.
Documentation on how to use it here.

Example config:

Spoiler
time-between-games: 300
auto-end-time: 30
cancel-winning-messages: true
database:
    isEnabled: false
    host: localhost
    port: 3306
    database: database
    user: user
    password: pass
game-config:
    MATH:
        supplementary-file: problems.txt
        command-rewards:
            1:
            - eco give %player% 1500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            2:
            - eco give %player% 1000
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            3:
            - eco give %player% 500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
        is-enabled: true
    HOVER:
        supplementary-file: words.txt
        command-rewards:
            1:
            - eco give %player% 1500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            2:
            - eco give %player% 1000
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            3:
            - eco give %player% 500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
        is-enabled: true
    UNSCRAMBLE:
        supplementary-file: words.txt
        command-rewards:
            1:
            - eco give %player% 1500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            2:
            - eco give %player% 1000
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            3:
            - eco give %player% 500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
        is-enabled: true
    HANGMAN:
        supplementary-file: words.txt
        command-rewards:
            1:
            - eco give %player% 1500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            2:
            - eco give %player% 1000
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            3:
            - eco give %player% 500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
        is-enabled: true
        dash-percentage: 0.5
    TRIVIA:
        supplementary-file: trivia.txt
        command-rewards:
            1:
            - eco give %player% 1500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            2:
            - eco give %player% 1000
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
            3:
            - eco give %player% 500
            - broadcast &a%player%&7 answered &a%place%&7 in &a%time%&7 seconds!
        is-enabled: true
language:
    TYPE_START:
    - <hover:show_text:'<white><word>'><green>Games <dark_gray>» <green>Hover and
        type the word!
    FAILURE:
    - <green>Games <dark_gray>» <gray>Nobody typed <green><word><gray> in time!
    MATH_START:
    - <hover:show_text:'<white><word>'><green>Games <dark_gray>» <green>Hover and
        solve the math problem!
    UNSCRAMBLE_START:
    - <hover:show_text:'<white><word>'><green>Games <dark_gray>» <green>Hover and
        unscramble the word!
    WINNERS_SEPARATOR:
    - ', '
    HANGMAN_INCOMPLETE:
    - '<green>Games <dark_gray>» <gray>Game ended. Winners: <winners>'
    MATH_INCOMPLETE:
    - '<green>Games <dark_gray>» <gray>Game ended. Winners: <winners>'
    HANGMAN_START:
    - <hover:show_text:'<white><word>'><green>Games <dark_gray>» <green>Hover and
        fill in the blanks!
    WINNERS_FORMAT:
    - <green><name><gray>[<green><time>s<gray>]
    TYPE_INCOMPLETE:
    - '<green>Games <dark_gray>» <gray>Game ended. Winners: <winners>'
    UNSCRAMBLE_INCOMPLETE:
    - '<green>Games <dark_gray>» <gray>Game ended. Winners: <winners>'
    TRIVIA_START:
    - <hover:show_text:'<white><word>'><green>Games <dark_gray>» <green>Hover and
        answer this trivia question!
require-player-count: false
minimum-players: 1

For support please join my discord server.

Similar projects

Plugin →