[⛏️] MiningContest [1.8.x - 1.20.x] icon

[⛏️] MiningContest [1.8.x - 1.20.x] -----

Create mining contest and who get in top list can get custom reward




Add
Code (Text):

settings
  # Times for countdown when near the end of contest
  time_countdown: 3
 
**Recommend reset config!!!**
----------, Jun 20, 2024

Add
Code (Text):
%miningcontest_isStarted%
to check if contest was started or not
----------, Jun 20, 2024

1) Add BossBar with new config (Should reset config)
Code (Text):

bossbar:
  enable: true
  title: "&aThe contest will end in #second# second(s)"
  bar_color: GREEN
  bar_style: SOLID
  bar_per_percent:
    76to100:
      percent: 0.76to1
      title: "&aThe contest will end in #second# second(s)"
      color: GREEN
      style: SOLID
    51to75:
      percent: 0.51to0.75
      title: "&bThe contest will end in #second# second(s)"
      color: BLUE
      style: SOLID
    26to50:
      percent: 0.26to0.5
      title: "&6The contest will end in #second# second(s)"
      color: YELLOW
      style: SOLID
    0to25:
      percent: 0to.25
      title: "&cThe contest will end in #second# second(s)"
      color: RED
      style: SOLID
 
2) Replace #giay# to #second# [Forgetting about replace placeholder to English :D]
----------, Jun 20, 2024

Add placeholder
Code (Text):

%miningcontest_time%
%miningcontest_points%
%miningcontest_top_<number>%
For the 1st top: %miningcontest_top_1%
For the 2nd top: %miningcontest_top_2%
For the 3rd top: %miningcontest_top_3%

 
Bump to 1.3.1-SNAPSHOT
----------, Apr 28, 2024

Add PlaceholderAPI Support
Code (Text):

%miningcontest_time%
%miningcontest_points%
 
----------, Apr 27, 2024

Fix player can re-break block and get points when re-break
Add blacklist world
Add leaderboard when contest is end
----------, Oct 14, 2023

Auto update config.yml
Add new command:
Code (Text):

/mc add <player> <points> [s] - Add points to player when contest starte
/mc remove <player> <points> [s] - Remove points from player when contest started
/mc reset <player> - Reset all points from player
What is [s] ?
If you execute command like this way:
/mc add Danh 1000 s -> Command will execute in silent and do not give any message
/mc add Danh 1000 -> Command will execute in public and give message to admin
 
----------, Aug 16, 2023

- Fix bug with player data when player out but contest doesn't end, player data still save and load on new contest (Please update to fix it)
- Add method to add points (PlayerData#addMinePoints)
----------, Aug 15, 2023

Resource Information
Author:
----------
Total Downloads: 673
First Release: Aug 14, 2023
Last Update: Jun 20, 2024
Category: ---------------
All-Time Rating:
5 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings