ItemFinder1.0.0 Find all the items before you run out of time or someone else beats you!
Example:
Commands:
/itemfinder start Starts the minigame
/itemfinder stop Ends the minigame
/itemfinder pause Pauses the minigame
/itemfinder resume Resumes the minigame
Permissions:
itemfinder.admin - Allows the user to use the commands mentioned above
config.yml
Code (YAML):
# Game duration game_time: 1h
# You can use 1h, 30m, 90s, etc. [h = hours, m = minutes, s = seconds]
# World configuration # Worlds where the game is allowed to be played allowed-worlds: - world
#- world_nether #- world_the_end
# Reward configuration # You can add multiple commands here. reward-command: -
"give {player} diamond 1" #- "give {player} dirt 1" #- "give {player} stone 1" reward-on-finish: true
# If true, the command will be executed at the end of the game, not when the player finds all items reward-only-first: false
# If true, the command will be executed only for the first player to find all items
# Item list configuration # You can find the item names here: # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html # IMPORTANT: The maximum number of items is 10. If you add more, the plugin will disable itself. items: # MAX 10 items | MIN 1 item - DIAMOND_SWORD
- IRON_INGOT
- EMERALD
- REDSTONE
- LAPIS_LAZULI
- COAL
- NETHER_STAR
- ENDER_PEARL
- BOOK
- DIAMOND
# Hidden items configuration # Hidden items are items that are not shown until the unhidden item is found, once the unhidden item is found, the next hidden item will be shown. hidden_items: false
# Whether to enable hidden items or not hidden_item_format: "&oHidden"# Display name of the hidden item
# Sounds configuration # You can find the sound names here: # https://minecraft.fandom.com/wiki/Sounds.json sounds:
found_item: "entity.player.levelup"# Sound when a player finds an item found_all: "ui.toast.challenge_complete"# Sound when a player finds all items countdown_tick: "block.note_block.hat"# Sound for countdown ticks countdown_start: "entity.experience_orb.pickup"# Sound when the countdown starts
# Messages configuration messages:
found_first: "&b{player}&7 was the &a&lFIRST&r&7 player to find all items!"# Message for the first player to find all items found_second: "&b{player}&7 was the &e&lSECOND&r&7 player to find all items!"# Message for the second player to find all items found_third: "&b{player}&7 was the &6&lTHIRD&r&7 player to find all items!"# Message for the third player to find all items found_nth: "&b{player}&7 finished in position &c#{position}!"# Message for players who finish in positions other than 1st, 2nd, or 3rd found_item: "&b{player}&7 found &e{item}&7. ({found}/{total})"# Message when a player finds an item game_start: "&aThe minigame has started! Find the items on the list."# Message when the game starts game_stop: "&cThe game has ended!"# Message when the game ends not_op: "&cYou don't have enough permissions"# Message when a non-OP player tries to use the command already_started: "&cThe game is already running."# Message when the game is already started not_started: "&cThere is no game in progress."# Message when the game is not started usage: "&eUsage: /itemfinder <start|stop|resume|pause>"# Message for command usage countdown_title: "&eThe game starts in:"# Title message for countdown countdown_number: "&b{number}..."# Countdown number message countdown_go: "&aGO!"# Message when the countdown ends resume: "&aThe game has been resumed!"# Message when the game is resumed pause: "&eThe game has been paused. Use /itemfinder resume to continue."# Message when the game is paused no_paused_game: "&cThere is no paused game to resume."# Message when there is no paused game time_up: "&cTime is up!"# Message when the time is up player_score: "&e{player} &7({found}/{total})"# Message showing the player's score in chat winner_title: "&a{position} Winner!"# Title message for the winner winner_subtitle: "&e{player}"# Subtitle message for the winner
# Scoreboard configuration scoreboard:
title: "&e&lFind these items!"# Title of the scoreboard player_line: "&b ● &7Player: &b{player}"# Line showing the player's name items_line: "&b ● &7Items: &b{found}&7/&b{total}"# Line showing the number of items found position_1: "&a&lYou finished 1st!"# Line showing the player's position position_2: "&e&lYou finished 2nd!"# ... position_3: "&6&lYou finished 3rd!"# ... position_other: "&cYou finished {position}th!"# ... found_prefix: " &a&l✔ "# Prefix for found items not_found_prefix: " &c&l✗ "# Prefix for not found items hidden_prefix: " &7? "# Prefix for hidden items hotbar:
timer_line: "&bTimer &7: &f{time}"# Line showing the remaining time in the hotbar/actionbar