FlyPlugin allows players to activate temporary flight on the server by spending in-game currency (coins). The plugin manages flight control, including time limits, usage costs, fall protection after deactivation, and the ability to reload the configuration.
Features:
Commands:
Technical Details:
Features:
- Flight Activation:
- The /fly command allows players to enable or disable flight.
- Flight is charged based on the configuration (e.g., 5 coins per minute).
- After the allotted time expires, the plugin checks if the player has enough coins:
- If the player has enough coins, flight continues.
- If not, flight is automatically disabled.
- Fall Protection:
- After flight is disabled (manually or due to time expiration), the player receives 10 seconds of fall damage immunity.
- Cooldown:
- After flight is disabled, the player must wait a configurable cooldown period (e.g., 60 minutes) before enabling flight again.
- Configuration Reload:
- Admins can use the /fly reload command to reload the configuration without restarting the server.
- Requires the flyplugin.admin permission.
- Cost per minute of flight:
- price-per-minute: 5
- Initial flight time upon activation:
- initial-flight-time: 1 (in minutes)
- Cooldown time between activations:
- cooldown: 60 (in minutes)
- Messages:
- All messages are fully customizable in the messages section of config.yml. For example:
Code (YAML):
# FlyPlugin Configuration File
# The price per minute of flight
price-per-minute : 5
# Initial flight time (in minutes) given to players after activating flight
initial-flight-time : 1
# Cooldown period (in minutes) after disabling flight before it can be re-enabled
cooldown : 120
# Message prefix
message-prefix : '&7 [FLY ]'
# Customize messages (optional, you can modify these to your preference)
messages:
no-permission : "&7[FLY] &cYou do not have permission to use this command."
flight-enabled : "&7[FLY] &aFlight enabled! Cost: {price} coins per 1 minute."
flight-disabled : "&7[FLY] &eFlight has been disabled."
not-enough-coins : "&7[FLY] &cYou do not have enough coins to enable flight."
cooldown-active : "&7[FLY] &aYou cannot enable flight again. Please wait {time} minutes."
remaining-flight-time : "&7[FLY] &6Remaining flight time: {time} minutes."
flight-time-expired : "&7[FLY] &eFlight has been disabled. Time has expired."
minute-passed : "&7[FLY] &eA minute has passed, {price} coins have been deducted from your account."
fall-immunity-expired : "&7[FLY] &eAYour fall damage immunity has expired."
# The price per minute of flight
price-per-minute : 5
# Initial flight time (in minutes) given to players after activating flight
initial-flight-time : 1
# Cooldown period (in minutes) after disabling flight before it can be re-enabled
cooldown : 120
# Message prefix
message-prefix : '&7 [FLY ]'
# Customize messages (optional, you can modify these to your preference)
messages:
no-permission : "&7[FLY] &cYou do not have permission to use this command."
flight-enabled : "&7[FLY] &aFlight enabled! Cost: {price} coins per 1 minute."
flight-disabled : "&7[FLY] &eFlight has been disabled."
not-enough-coins : "&7[FLY] &cYou do not have enough coins to enable flight."
cooldown-active : "&7[FLY] &aYou cannot enable flight again. Please wait {time} minutes."
remaining-flight-time : "&7[FLY] &6Remaining flight time: {time} minutes."
flight-time-expired : "&7[FLY] &eFlight has been disabled. Time has expired."
minute-passed : "&7[FLY] &eA minute has passed, {price} coins have been deducted from your account."
fall-immunity-expired : "&7[FLY] &eAYour fall damage immunity has expired."
- /fly
- Activates or deactivates flight.
- Available to all players.
- /fly reload
- Reloads the configuration from config.yml.
- Requires the permission: flyplugin.admin.
- flyplugin.admin: Grants permission to use the /fly reload command.
- Vault API:
- The plugin requires Vault to manage the in-game economy.
- Economy Plugin:
- A plugin like EssentialsX or another Vault-compatible economy plugin must be installed.
- Upload the .jar file of FlyPlugin to the plugins folder on your server.
- Restart the server.
- Check or customize the config.yml file as needed.
- Use /fly reload on the server to apply changes without restarting.
Technical Details:
- Supported Versions: Compatible with the latest Minecraft server versions.
- Author: Developed by Mesiacik.
- Email: [email protected]
- Applied and tested on live server: majnuj.com
FlyCoinPLugin is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 36 times (via Spigot). Download it and open it directly in the game.