Configuration
It is possible to modify all the parameters of the config.yml file directly in game with the /ghast settings command
A fairly intuitive GUI will open with all the various settings
config.yml
#
# Permissions:
# PLAYER:
# smarthappyghast.lock - Permission to lock/unlock Ghasts
# smarthappyghast.riding.[profile] - Allows the player to set the speed
# smarthappyghast.setname - Permission to customize the ghast's name
# smarthappyghast.passengers - Permission to view and manage ghast passengers
# smarthappyghast.admin - Permission to access /ghast settings|reload command
#
#
# COMMANDS:
# /ghast lock - Command to lock a ghast
# /ghast lock add [player] - Command to add a player to the locked ghast
# /ghast lock remove [player] - Command to remove a player to the locked ghast
# /ghast unlock - Command to unlock the ghast
# /ghast info - Command to display information about a ghast (owner)
# /ghast name set [name] - Command to set custom name to ghast
# /ghast name remove - Command to remove custom name to ghast
# /ghast passengers - Command to View and manage ghast passengers
# /ghast settings - Command to change some plugin parameters (only admin)
# /ghast reload - Command to reload the plugin configuration
#
speed-value:
# Default movement speed of the Happy Ghast when not ridden
# This speed will be applied to all Ghasts within the game.
default: 0.05
# Movement speed of the Happy Ghast when ridden by a player
# the values to be entered can range from 0.01 to 0.3
# Values greater than 0.3 will not be considered by the plugin (can cause lag)
# Use permission smarthappyghast.riding.[profile]
# Example: smarthappyghast.riding.vip - will assign the speed of 0.12
# You can rename the profiles as you like.
riding:
#---profiles---
user: 0.08
vip: 0.12
admin: 0.15
#example: 0.18
# This feature allows you to collect the happy ghast in egg form for transport.
# SHIFT + RIGHT CLICK
pickup-happy-ghast: false
# Automatically lock the ghast when you first mount it
auto-lock-on-mount: false
# When you get off the ghast it is "parked" and will remain there until we return.
ghast-parking: true
# Maximum acceptable distance to execute /lock and /unlock commands on ghast
maximum-locking-distance: 15 # blocks
# Attract the ghast with a snowball when it is too far away in the sky
# It is possible to customize the item
attract-with-item:
enable: true
item: SNOWBALL
max-distance: 50.0 # blocks
# Game messages
messages:
ghast-parking: "&aThe Ghast has been parked, it will wait for your return."
ghast-lock: "&aYou have successfully locked the Ghast!"
lock-error: "&cThis Ghast cannot be locked!"
already-lock: "&eThis Ghast already belongs to you!"
belongs-to: "&cThis Ghast belongs to %player%"
not-looking: "&cYou are not looking at any Ghast!"
ghast-unlock-admin: "&aThe Ghast has been unlocked with Admin permissions!"
ghast-unlock: "&aThe Ghast has been unlocked!"
unlock-error: "&cThis Ghast cannot be unlocked!"
not-yours: "&cThis Ghast does not belong to you!"
no-lock: "&cThis Ghast is not locked!"
add-player: "&aThe player has been assigned to the Ghast!"
already-add: "&eThe player is already assigned to this Ghast!"
remove-player: "§aThe player %player% has been removed from the Ghast!"
no-remove: "&eThe player is not assigned to this Ghast!"
no-owner: "§eThis Ghast does not belong to anyone."
player-not-found: "&cPlayer not found!"
no-permission: "&cYou do not have permission to use this command!"
pickup-ghast: "&aYou've collected a Happy Ghast!"
# Help messages
help:
header: "&e&m &6 SmartHappyGhast Commands &e&m "
line1: "&7/ghast info - View Ghast information"
line2: "&7/ghast lock - Lock a ghast"
line3: "&7/ghast lock [add/remove] [player] - Add or remove a player"
line4: "&7/ghast unlock - Unlock a ghast"
line5: "&7/ghast name set [name] - Customize the ghast's name"
line6: "&7/ghast name remove - Remove ghast's name"
line7: "&7/ghast passengers - View and manage ghast passengers"
line8: "&7/ghast settings - Open settings GUI"
line9: "&7/ghast reload - Reload the config"
footer: "&e&m "
# Information can be viewed in chat with the /ghast info command
chat-info:
show-nearby-players: true
player-distance: 10 #blocks
divider: "&7&m "
spacer: "&f"
associated: "&l &a Associated players:"
owner: "&l &6 ★ &f"
player: " &f★ &f"
remove: " &4[✕]&f"
press-to-remove: "&cPress to remove "
not-associated: "&l &e Players nearby:"
neighbors: " &7★ &f"
add: " &a[+]&f"
press-to-add: "&aPress to add "
# Texts contained in the gui /ghast passengers
passengers-gui:
safety-ejects: true
title: " &2&l Ghast Passengers"
player: "&b %player%"
ejects: "&cEjects %player%"Description of the config.yml file
speed-value: Contains two types of speed, the first one is the "default" one and is applied to all ghasts in the world
(In vanilla Minecraft the speed of the Happy Ghast is 0.05)
The second type contains multiple "profiles" that can be easily assigned to players via the " smarthappyghast.riding.[profile] " permission.
Enable or disable the ability to collect our owned happy ghasts in the form of eggs
auto-lock-on-mount: allows you to automatically lock the ghast the first time you ride it as long as it doesn't already belong to someone
ghast-parking: Allows you to park the ghast wherever you want without it flying around or into the sky
Prevents the player from being kicked if lagged when dismounting from the ghast
Silences the ghast when ridden
Silences the ghast as soon as a harness is applied to it.
Allows you to silence a ghast by applying a renamed tag to it
maximum-locking-distance: Determines the maximum distance you can be from the Happy Ghast to lock it.
attract-with-item: It's a feature that allows you to "recall" your Happy Ghast if it flies too far away in the sky. In this case, up to 50 blocks, holding a snowball and aiming at the Happy Ghast, it will start to approach us
messages: Contains all messages editable/translatable by the plugin
help: Contains all command messages viewable in chat with the /ghast help command
chat-info: Whenever you block a Happy Ghast or add a player to it, the list of players will be displayed in chat You can also view and add nearby players directly from the chat with a simple click
With this feature, running the command /ghast passengers while riding a Happy Ghast will open a GUI to eject passengers.
Last updated