Giter Club home page Giter Club logo

triviaquest's People

Contributors

simonflash avatar

Watchers

 avatar

triviaquest's Issues

Clear Trivia list during reload

https://github.com/SimonFlash/TriviaQuest/blob/master/src/main/java/com/mcsimonflash/sponge/triviaquest/TriviaQuest.java#L92-L98

I noticed that the trivia list isn't being cleared upon reload. This can cause issues like old questions popping up when you don't want them to.
This makes debugging config issues that may not appear in console a big issue, but could also leave an un-fixed question until a server restart.

I would make a PR for this, but I'm just a novice and my solution would include a loop. Glancing at your code I'd guess you'd have a better method.

Runner does not auto enable

runner also does not enable on startup despite
enable-on-startup=true

tq ver 2.0.1

Minecraft: 1.10.2
SpongeAPI: 5.2.0-SNAPSHOT-c675e80
SpongeForge: 1.10.2-2477-5.2.0-BETA-2793
Minecraft Forge: 12.18.3.2488

Runner goes off way more often than it should

config {
    # Enable runner on startup.
    enable-on-startup=true
    # Number of players online for trivia to give rewards.
    enable-rewards-count=3
    # Number of players online for trivia to run automatically.
    enable-trivia-count=3
    # Show answers to to the question after trivia ends.
    show-answers=false
    # Interval between trivia questions by the runner, in seconds.
    trivia-interval=300
    # Length of each trivia question, in seconds.
    trivia-length=30
    # Prefix before trivia messages.
    trivia-prefix="&e&l[Trivia] "
}

Despite this it goes off like 1-2 times a minute

Minecraft: 1.10.2
SpongeAPI: 5.2.0-SNAPSHOT-c675e80
SpongeForge: 1.10.2-2477-5.2.0-BETA-2793
Minecraft Forge: 12.18.3.2488

TQ ver 2.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.