Fixed a bug with /clan settings sethome. When lang: en, the message was displayed incorrectly, the bug is fixed
Code (YAML):
It was before [-]:
sethome:
errors:
e: '&b/clan settings sethome - Set clan home point'
message:
msg: '&a set clan home'
Change, when fixing a bug [+]:
sethome:
errors:
e: '&b/clan settings sethome - Set clan home point'
message:
msg: '&a set clan home
New features: [!] If you are upgrading from older versions you will have to manually add new values to the files I have listed below. Or recreate them! If you have any questions, please contact the discord server!!!
Added a delay when teleporting /clan home. And also added protection, if the player is beaten or he moves teleport to /clan home will be canceled
Code (YAML):
# If home: 1 (teleportation), then set the teleportation delay (the time after which the player teleports to the house). # Time in seconds. # (default: 3) home_delay: 3
# If home: 1 (teleportation), then allow to move when teleporting to the clan house # When setting 1 - if the player moves or takes damage, the teleport will be canceled! # When set to 0 - the player can move and take damage, teleport will not be canceled # (default: 1) home_protection_tp: 1
Code (YAML):
en: ... home:
errors:
e: '&a/clan home - Clan Home'
e1: '&aThe clan has
no home'
message:
msg: '&a Teleported to clan home'
msg1: '&a Clan home coordinates
: World:&6
%fc_player_clan_home-world% &a:&6%fc_player_clan_home-x% &a:&6%fc_player_clan_home-y% &a:&6%fc_player_clan_home-z%' msg2: '&aTeleportation via
%s seconds...' msg3: '&aTeleportation canceled. You`re moving.'
ru: ... home:
errors:
e: '&a/clan home - Клановый дом'
e1: '&aУ клана нет кланового дома'
message:
msg: '&aВы телепортировались в клановый дом'
msg1: '&aКоординаты кланового дома
: Мир:&6
%fc_player_clan_home-world% &a:&6%fc_player_clan_home-x% &a:&6%fc_player_clan_home-y% &a:&6%fc_player_clan_home-z%' msg2: '&aТелепортация через
%s секунд...' msg3: '&aТелепортация отменена. Вы двигаетесь.'