Giter Club home page Giter Club logo

Comments (7)

Oheers avatar Oheers commented on June 3, 2024

Could you provide the competition reward section of your config.yml please?

from evenmorefish.

CrispyDairy avatar CrispyDairy commented on June 3, 2024

competitions:

When should competitions run?

It will use server's local timezone using a 24hour time format

times:
- "01:00" # midnight
- "13:00" # midday

How long should the competition go on for? (In minutes)

duration: 10

What colour should the bossbar cooldown be? (values can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/boss/BarColor.html)

Set the text and text colour above the bossbar in messages.yml

bossbar-colour: GREEN

winnings:
1:
# Commands are run by the console, it's advised to change these before releasing your server.
- "COMMAND:eco give {player} 100"
- "MESSAGE:&aCongratulations for coming 1st! &a$100 &ehas been added to your account."
# Can't contain decimals.
# formatted as "effect_name,amplifier,duration"
- "EFFECT:SPEED,2,5"
- "EFFECT:JUMP_BOOST,2,5"
2:
- "MESSAGE:&bCongratulations for coming 2nd! &a$50 &ehas been added to your account."
- "COMMAND:eco give {player} 50"
- "EFFECT:SPEED,2,5"
3:
- "EFFECT:SPEED,1,5"
- "MESSAGE:&eCongratulations for coming 3rd! &a$25 &ehas been added to your account."
- "COMMAND:eco give {player} 25"

Add as many more places as you need

This is the minimum needed amount of players for an automatic competition to start.

minimum-players: 4

from evenmorefish.

Oheers avatar Oheers commented on June 3, 2024

Hello, somebody else was also having a similar problem and it was caused by there being a "6" left in messages.yml on line 35. Once that's removed: the leaderboard will be able to show.

from evenmorefish.

CrispyDairy avatar CrispyDairy commented on June 3, 2024

Its not there for me, line 35 is empty

from evenmorefish.

Oheers avatar Oheers commented on June 3, 2024

Cheers, I've just been able to replicate this - I'll look into a fix for the next update.

from evenmorefish.

CrispyDairy avatar CrispyDairy commented on June 3, 2024

Alright, thank you :)

from evenmorefish.

Oheers avatar Oheers commented on June 3, 2024

Hey there, I've just looked at the problem and it's caused by an incorrect potion name being given: use "JUMP" rather than "JUMP_BOOST"

In future generated config.ymls I've set a reference to the javadocs pertaining to potion effects but for now, a full list can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html

You'll want to do a full server restart rather than "/emf admin reload" as well.

from evenmorefish.

Related Issues (20)

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.