The Config contains all the general Settings about the plugin. Everything is changeable. But always use a restart after saving the file to apply the settings to the server.
There are always comments at the specific settings to explain the option a little bit. The more detailed Information's are found here.
This contains all the saved Player Data and should never be deleted, if you want to keep the plugin running.
Depending on what you choose (MariaDB/SQLite), you need to add your own MariaDB Credentials. Otherwise, the default settings will create a SQLite Database (database.sql) in the plugins directory.
For MySQL the best practice is to create an own MariaDB user, which only got access to one and new database. This database should later only contain TempFly data and nothing else. Using only one database with one MariaDB User for all of your plugins would also work, but isn't secure.
If you have decided to run a MariaDB/MySQL database, then also set your Database Server IP. Not necessarily the Minecraft Server IP. You will get the information's from your Server provider. If the connection doesn't work, but your IP is correct, then try disabling useSSL. Also make sure your password and user are correct and that the user has enough Permissions for the database!
Important: Don't change the database later on, if you don't know what you are doing. After the first interaction was made with the plugin, everything gets stored in the set database. Moving from SQLite -> MySQL will be difficult. MySQL Server 1 -> MySQL Server 2 is no problem, as long you restore the backup of the tables and stopped the Minecraft Server.
Those are general misc Settings about the plugin.
Option | Description |
---|---|
UseMetrics | Sends anonymously data do bstats.org to show a statistic about the current use of the plugin. |
UsePlayerpoints | You might want to force the use of Playerpoints for TempFly, even if you got another Economy System on the server. |
Language | This sets the Language for the plugin and uses the correct Messages_%Lang%.yml File. You can also copy the english version and create your own Language File. (f.e. Netherlands -> File: Messages_NL.yml and in the Option: NL) |
Format | Contains the formation settings for different placeholders. |
AFK-Time | How long a Player needs to be AFK until the Flymode will be automaticlly disabled. |
World-Blacklist | Contains a List of Worlds, in there no Flying is allowed. |
The alternative Commands for the Plugin to use. Every listed command works including the main command /tempfly
Disables the Sub-Command that you set to true. This comepletely disables only a Sub-Command from Main Command.
Configure different Countdown Message for no Flytime left or being Afk. There are multiple setup types possible:
For exmaple NoFlytimeLeft:
3m - Sends the message if only 3 Minutes are left.
10s-1s - Every Second from 10 until 1 will print the specified message.
10m-3s - Will not work. They must be the same time unit.
Message: Contains the message, which will be printed.
MessageType: Defines where the message should be displayed.
Actionbar Option | Description |
---|---|
Enabled | Displays the flytime while the player is flying above the item hotbar. |
Always | Always show the flytime. Even if the player isn't currently flying. |
Bossbar Option | Description |
---|---|
Enabled | Displays the flytime while the player is flying as a Bossbar. |
Always | Always show the flytime. Even if the player isn't currently flying. |
Title | The Title of the Bossbar. |
BarStyle | The BarStyle. |
BarColor | The default BarColor. If Colormode active, this may get overwritten. |
If the ColorMode is active, the Bossbar changes depending on the players flytime. The highest set value in the config, that is in between the flytime, will overwrite the default color.
The Animation Mode changes the Bossbar "Health" depending on what max value was set. Meaning, if the player has 35 min Flytime and 30 was set as max, then the bossbar is full. Is the flytime at 15min, then the bossbar "health" will be only to the half.
Plotsquared Option | Description |
---|---|
Enabled | Enables the Integration into the Plotsystem. |
Owning-Plots-Flying | Players can fly in their owned Plots. |
Member-Plots-Flying | Every Member can fly on the Plots as well. |
"Blacklisted-Regions" allows to list regions, in which flying is not allowed. There is also a new Flag tempfly added to Worldguard, which can be set to allow/deny.
Residence Option | Description |
---|---|
Enabled | Enables the Integration into the Residence Plugin. |
Owner-Flying | Only owners can fly in their own residence. |
Flag-Flying | Adds the support, to set up a flag for players/residence to allow flying. |
This is a small System, which disables the TempFly, if a player gets attacked by an Entity (f.e. Player or Skeleton).
If API-Mode is activated, all supported Combat Plugins will be used, but not the Tempfly Combat.
Combat-Time-Cooldown defines how long it takes for the player, until he can fly again.
The Bonus for the player, that is added on each configured Day, that they join the Server.
Bonus Option | Description |
---|---|
firstJoin | How much should a player get, if he joins the first time on the Server. |
Daily-Bonus | Configure Bonus Sections to give the player with permission a Bonus on Server Join. |
The defined Section path, will be used as the permission later. F.e. the Owner Section: Permission -> tempfly.bonus.owner
Streak-Needed makes it only possible for players to claim the reward once, if they connected to the server every day until the defined.
Every-Day defines on which days the player get a reward.
Flytime contains the amount of reward, that the player will get.
(Supported time format: Y(ears), M(onths), D(ays), H(ours), m(inutes))
It's possibile to change the name of the permissions, but there is mostlikely no need for it. No other plugin should use the tempfly prefix. More Information about the Permissions and what they do, can be found here.
#Your MySQL Connection Settings; SQLLite only needs the type. The other settings are ignored.
#Type can be MARIADB, MYSQL and SQLITE
Database:
Type: 'SQLITE'
Host: 'ipaddress'
Port: 3306
UseSSL: false
User: 'admin'
Password: 'S€CR3T'
Database: 'Database'
Options:
#Sends anonymous data to bstats. (OnlinePlayers, Server Version, etc) But no personal Informations!
UseMetrics: true
#TempFly has an own logger for TempFly relevant events. If set to true, no logging will be happening into the tempfly.log
DisableLogger: true
#Use PlayerPoints as the economy System. If false, then Vault is used.
usePlayerPoints: false
# If the server is running in offline mode, please set this to false. Otherwise the offline uuid fetcher won't be correct.
OnlineMode: true
#Select the Language for the Plugin. Restart the Server once and in the Messages directory will be a Messages_&Lang&.yml File
#GUI needs to be done manually
Language: EN
#Format for some values
Format:
Money: '#0.00'
Timestamp: 'dd.MM.yyyy HH:mm'
Flytime-Splitter: ' '
#How many time units should be shown? >= 4 shows all, less cuts the smaller units. 2 shows f.e. only [] and ignores everything else: [10 days 10 minutes] 10 seconds.
Flytime-Limiter: 4
#If true, the temp flytime gets removed, as long as the Fly Mode is active.
#To disable the remove of the time, the players need to turn their flymode off.
#If false, the flytime only gets removed, if the player is in the air.
Flymode-Mode: false
#If true, players don't need to activate the flymode and can always fly.
#The Flymode Option above should be set to false, otherwise players losing their time, without using it.
Always-On: false
#The Default Fly Speed. 1-10
Default-Flyspeed: 2
#World Blacklist in which Flying is not allowed
World-Blacklist:
- 'TheNameOfTheBlacklistedWorld'
#Time in which the player didn't move and flying will be disabled, to disable use -1
AFK-Time: '10m'
#Alternative command names for the main command
Command-Aliases:
TempFly:
- 'tfly'
- 'tf'
#Please use a Server Restart after changing the Settings.
#true means that the command wont work ingame anymore
Disable-Commands:
TempFly:
Reload: true
Activate: false
Shop: false
Particle: false
Info: false
Flyspeed: false
Give: false
Add: false
Remove: false
Set: false
#Countdown Message; The until option doesnt work for different timeunits 5m-3s; only 5m-3m/10s-1s
Countdown:
NoFlytimeLeft:
'3m':
Message: '&6The Fly-Mode is running out in &f&l3 Minutes&6.'
MessageType: 'CHAT'
'10s-1s':
Message: '&6The Fly-Mode is running out in &f&l%time% Seconds&6.'
MessageType: 'CHAT'
'0s':
Message: '&6The Fly-Mode was disabled.'
MessageType: 'TITLE'
AFK:
'3m,2m,1m':
Message: '&7[&c&lAFK&7] &6The Fly-Mode will be disabled &f&l%time% Minutes&6.'
MessageType: 'CHAT'
'5s-1s':
Message: '&7[&c&lAFK&7] &6The Fly-Mode will be disabled &f&l%time% Seconds&6.'
MessageType: 'CHAT'
'0s':
Message: '&7[&c&lAFK&7] &6The Fly-Mode was disabled.'
MessageType: 'TITLE'
#ActionBar to visualize the current Time
ActionBar:
#Disables/Activates the ActionBar.
Enabled: true
#Should the ActionBar be invisible, if players have unlimited fly.
IgnoreInfinite: false
#Should the Actionbar be always active or only if flymode active?
Always: false
#Bossbar to visualize the current Time
Bossbar:
#Disables/Activates the Bossbar.
Enabled: false
#Should the Bossbar be invisible, if players have unlimited fly.
IgnoreInfinite: false
#Should the Bossbar be always active or only if flymode active?
Always: false
#The Title.
Title: '&6&lFlytime&7: &f%flytime%'
#The Style of the BossBar. https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
BarStyle: 'SEGMENTED_20'
#The default Color of the BossBar. Also used
#https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
BarColor: WHITE
#Define Color Limits. This are the possible colors: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
ColorMode:
Enabled: true
Design:
Infinite: BLUE
'60s': RED
'5m': YELLOW
'1h': GREEN
#Animation Mode. The lower the max value is, the more you will see in the Animation.
#Otherwise, there is no big difference to see
AnimationMode:
Enabled: true
Max: '30m'
# PlotSquared specific Settings
PlotSquared:
# Enable Flying only in Plot Areas
Enabled: false
# Players can fly only in their owning Plots
Owning-Plots-Flying: true
# Plot Members can fly in the Plot
Member-Plots-Flying: true
# GriefPrevention specific Settings
GriefPrevention:
# Enable Flying only in owning Plot Areas
Enabled: false
# Players can fly only in their owning Plots
Owning-Plots-Flying: true
# Trusted Players can fly in the Plot (/trust command)
Member-Plots-Flying: false
# HuskClaims specific Settings
HuskClaims:
# Enable Flying only in claimed Areas
Enabled: false
# Players can fly only in their Claims
Owning-Plots-Flying: true
# Trusted Players can fly in the Claim
Member-Plots-Flying: false
# Lands specific Settings
Lands:
# Enable Flying only in Plot Areas
Enabled: false
# Players can fly only in their owning Plots
Owning-Plots-Flying: true
# Trusted Players can fly in the Plot
Member-Plots-Flying: true
# TempFly Flag Settings
Flag:
DisplayName: '&6&lTemp&f&lFly'
Description: 'Fly temporally in the plot'
IconItem: FEATHER
# WorldGuard specific Settings; Plugin also adds a new worldguard flag: tempfly
WorldGuard:
# Flying won't be possible in the following regions
Blacklisted-Regions:
- 'ThisIsABlacklistedRegion'
# Residence specific Settings
Residence:
# Enable Flying only in Player Residences; It wont work anywhere else!
Enabled: false
# Owner is allowed to fly in his own Residence
Owner-Flying: true
# Allows Players with the Flag "TempFly" to fly.
Flag-Flying: true
# Factions specific Settings
Factions:
# Enable Flying in Factions
Enabled: false
# Faction Owner is allowed to fly
Owner-Flying: true
# Faction Memers are allowed to fly
Member-Flying: true
# Allow Flying in the "no faction zones"
Wilderness: true
Warzone: true
Safezone: true
# Skyblock specific Settings
Skyblock:
# Enable Flying on Skyblock islands
Enabled: false
# Allow flying outsite from islands. f.e. spawn
None-Islands: false
# Owner is allowed to fly on his own Island
Owner-Flying: true
# Members of an island are allowed to fly
Member-Flying: true
# Combat Settings
Combat:
# Enable the Combat Mode. Needs a server Restart.
Enabled: true
# Use an API. Needs a server Restart. If no Supported Plugin found, the plugin will be disabled.
API-Mode: false
# How long a Player is an combat and can not turn the tempfly on again. In Seconds
Combat-Time-Cooldown: 10
# Should only PvP be triggered? Disables the combat with Mobs.
Only-PvP: false
# This commands won't work, while being in combat
Disabled-Commands:
- 'cmi spawn'
- 'spawn'
# Login Bonus
Bonus:
# How much should a player get on the first Join (after the Plugin is on the server)
firstJoin: '10m'
#Disables/Activates the DAILY-Bonus on Join. Doesnt affect the first join Bonus
Enabled: true
# How much should a player get on Join, if his Primary Group is configurated here
Daily-Bonus:
owner:
# Does the Player need to be online on every day until the defined day or only at least every defined day.
Streak-Needed: true
# When should the Daily Reward be triggert: 1 = every day; 3 = every 3rd day
Every-Day: 3
# The added Flytime
Flytime: '1D'
vip:
Streak-Needed: false
Every-Day: 3
Flytime: '1h'
default:
Streak-Needed: false
Every-Day: 1
Flytime: '3m'
#Permissions for a real Permissions System/OP
Permissions:
#Permission to use the /tempfly command; Sub Command will be added; tempfly.command.activate (For the /tempfly command)
#Otherwise tempfly.command.give
command: 'tempfly.command'
#For important commands; Sub Command will be added; tempfly.admin.add
admin: 'tempfly.admin'
#Player with this Permission, wont need Flytime
infinite: 'tempfly.infinite'
#Create a new Daily-Bonus Section and use the name as the last part of the permission.
#f.e. tempfly.bonus.vip to recieve the VIP Bonus
bonus: 'tempfly.bonus'
#Player with this permission don't need to buy the particle. f.e.: tempfly.particle.note
particle: 'tempfly.particle'
#This is the max Level (1-10), the player can set for the flyspeed. Permission looks like: tempfly.flyspeed.3 -> for max level 3; (tempfly.command.flyspeed is also needed)
flyspeed: 'tempfly.flyspeed'
#Bypass Permissions
bypass:
#Bypass blacklisted Worlds
blacklist-world: 'tempfly.bypass.bworld'
#Bypass blacklisted Worldguard regions
blacklist-region: 'tempfly.bypass.region'
#Bypass Plotsquare / GriefPrevention
plots: 'tempfly.bypass.plot'
#Bypass Residence
residence: 'tempfly.bypass.residence'
#Bypass Factions
factions: 'tempfly.bypass.factions'
#Bypass Skyblock
skyblock: 'tempfly.bypass.skyblock'
#Bypass Worldgaurd
worldguard: 'tempfly.bypass.worldguard'
#Bypass combat
combat: 'tempfly.bypass.combat'
#Do NOT touch
Version: 14```