Skip to content

luvtoxic/KeyAll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeyAll Plugin

The KeyAll plugin automates the distribution of keys to players at regular intervals.

Features

  • Scheduled execution of a command to give keys to all players.
  • PlaceholderAPI integration for displaying countdown timer.

Dependencies

Make sure you have the following plugin installed:

  • ExcellentCrates: This plugin is ESSENTIAL. KeyAll will not work without ExcellentCrates.
  • PlaceholderAPI: This plugin is required for displaying dynamic information, such as the countdown timer.

Installation

  1. Download the latest release from the Releases page.
  2. Place the KeyAll.jar file into the plugins folder of your Bukkit/Spigot server.
  3. Restart your server to enable the plugin.

Configuration

The plugin reads its configuration from the config.yml file. You can customize the following settings:

  • delayInSeconds: The interval between key distributions in seconds.
  • keyName: The name of the key to be given.
  • keyAmount: The number of keys to be given to each player.
# KeyAll Plugin Configuration

# --------------------------------------------------------
# Do not edit (If you edit this the  plugin will not work)
file-version: 1
# --------------------------------------------------------


# Delay in seconds before executing the 'keyall' command
# To convert hours into seconds [https://www.inchcalculator.com/convert/hour-to-second/]
delayInSeconds: 60

# Name of the key to give in the 'keyall' command
# Set to "NONE" to disable the  plugins  features
keyName: "NONE"

# Amount of keys to give in the 'keyall' command
keyAmount: 1

Placeholders

The plugin provides a PlaceholderAPI expansion for displaying the countdown timer. Use the following placeholder:

  • %keyall_timer%: Displays the remaining time until the next key distribution.

Commands

  • /keyall reload: Reloads the plugin configuration.

Usage

Once the plugin is installed, it will automatically start distributing keys at the specified intervals. Players can use the provided PlaceholderAPI placeholder to see the countdown timer.

Permissions

  • keyall.reload: Allows players to use the /keyall reload command.

Issues

If you encounter any issues or have suggestions, please create a new issue.

License

This plugin is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages