
A Minecraft Fabric mod that allows players to fly using experience points in survival mode
A Minecraft Fabric mod that allows players to fly in survival mode using experience points
HyskExpFly Mod is an innovative Minecraft Fabric mod that allows players to consume experience points to gain flight ability in survival mode. Through simple commands and an intuitive interface, players can easily manage their flight status and enjoy the freedom of aerial exploration.
Creator: YkinLing
AI Assistant: Deepseek
QQ Group: 783492881 (Get open source code)
| Command | Permission | Description |
|---|---|---|
/fly |
All players | Enable/disable experience flight mode |
/flystatus |
All players | View own flight status information |
| Command | Permission | Description |
|---|---|---|
/fly reload |
OP Level 4 | Reload configuration files |
/fly cost <points> |
OP Level 4 | Set experience consumption rate |
/fly enable |
OP Level 4 | Enable survival mode flight |
/fly disable |
OP Level 4 | Disable survival mode flight |
/fly ban <player> |
OP Level 4 | Ban player from using flight |
/fly deban <player> |
OP Level 4 | Unban player |
/fly banlist |
OP Level 4 | View ban list |
/fly query |
OP Level 4 | Query flying players list |
/fly debug [player] |
OP Level 4 | View debug information |
/flystatus <player> |
OP Level 4 | View other player's flight status |
/fly lang [language] |
OP Level 4 | View or switch language |
/fly checkconfig |
OP Level 4 | Check configuration integrity |
/fly updateconfig |
OP Level 4 | Update missing configuration items |
/fly command to enable flight mode/fly command to disable flight modeConfiguration files are located in the server's config/hyskexpfly/ directory:
config/
└── hyskexpfly/
├── hyskexpfly.json # Main configuration file
└── lang.json # Language configuration file
{
"costPerSecond": 1,
"enableSurvivalFlight": true,
"bannedPlayers": []
}
| Option | Type | Default | Description |
|---|---|---|---|
costPerSecond |
Integer | 1 | Experience points consumed per second |
enableSurvivalFlight |
Boolean | true | Whether to allow survival mode flight |
bannedPlayers |
Array | [] | List of banned players |
{
"name": "PlayerName",
"uuid": "PlayerUUID",
"banTime": "BanTimestamp"
}
{
"currentLanguage": "zh_cn",
"languages": {
"zh_cn": {
"flyEnabled": "§a飞行模式已开启!",
"flyDisabled": "§c飞行模式已关闭",
"notEnoughExp": "§c你没有足够的经验点来开启飞行!",
"...": "More translation items..."
},
"en_us": {
"flyEnabled": "§aFlight mode enabled!",
"flyDisabled": "§cFlight mode disabled",
"notEnoughExp": "§cYou don't have enough experience points to fly!",
"...": "More translations..."
}
}
}
# Modify experience consumption rate
/fly cost 5
# Enable/disable survival flight
/fly enable
/fly disable
# Switch language
/fly lang en_us
# Reload configuration
/fly reload
config/hyskexpfly/hyskexpfly.json or config/hyskexpfly/lang.json# Execute in-game
/fly reload
The mod provides automatic configuration checking and repair functions:
# Check configuration integrity
/fly checkconfig
# Automatically update missing configurations
/fly updateconfig
{
"costPerSecond": 2,
"enableSurvivalFlight": true,
"bannedPlayers": []
}
{
"costPerSecond": 5,
"enableSurvivalFlight": true,
"bannedPlayers": ["Violator1", "Violator2"]
}
{
"costPerSecond": 1,
"enableSurvivalFlight": false,
"bannedPlayers": []
}
Configuration Files Missing
/fly updateconfig to regenerateConfiguration Format Error
/fly reload to regenerateLanguage Display Abnormal
/fly lang zh_cn to reset languagePermissions Not Working
To add new language support:
lang.json's languages object/fly lang <new-language-code> to switchExample:
{
"currentLanguage": "zh_cn",
"languages": {
"zh_cn": { ... },
"en_us": { ... },
"ja_jp": {
"flyEnabled": "§a飛行モードが有効になりました!",
"flyDisabled": "§c飛行モードが無効になりました",
"...": "More Japanese translations..."
}
}
}
This configuration system is designed to provide maximum flexibility and ease of use, allowing server administrators to easily adjust mod behavior to suit different gaming environments.~~~~