Stationary mode per drone (list)
Two new commands:
/bd cleanup <drones, projectiles, all> <stopDrone - optional (true or false)> (Used to remove stuck drones/projectiles if found any)
/bd move <Move drone if in stationary mode & park mode)
New PlaceholderAPI placeholders:
%battledrones_monsters%
%battledrones_animals%
%battledrones_players%
%battledrones_parked%
%battledrones_stationary%
%battledrones_move%
One new item for the drone gui if default is deleted
Bug fixes
How to update:
# IMPORTANT to change, added an automatic CleanUP task to remove stuck drones and projectiles if found any.
# Will only work with projectiles spawned after installed this update
# And can be manully run by using the new command.
# Minutes
Change
Code (Text):
cleanup: true
to
Code (Text):
config.yml add:
# Stationary mode
# With this mode enabled drones will always be parked at spawn location
# No follow at all.
# List of drones that is stationary.
stationary-mode:
- laser
language.yml replace/add:
park:
permission:
- 'battledrones message {player} &7[&dBattleDrones&7] &cYou dont have access to use this command!'
active:
- 'battledrones message {player} &7[&dBattleDrones&7] &cYou dont have any active drone.'
follow:
- 'battledrones message {player} &7[&dBattleDrones&7] &eYour drone will now follow you again.'
parked:
- 'battledrones message {player} &7[&dBattleDrones&7] &eYour drone is now parked at the current location. -{cost} coins'
enough:
- 'battledrones message {player} &7[&dBattleDrones&7] &cYou cannot park your drone you dont have enough coins. cost: {cost}'
drone:
- 'battledrones message {player} &7[&dBattleDrones&7] &cThis drone cannot be parked.'
stationary-mode:
- 'battledrones message {player} &7[&dBattleDrones&7] &cDrone {drone} is in stationary mode use /bd move to change location.'
move:
permission:
- 'battledrones message {player} &7[&dBattleDrones&7] &cYou dont have access to use this command!'
active:
- 'battledrones message {player} &7[&dBattleDrones&7] &cYou dont have any active drone.'
drone:
- 'battledrones message {player} &7[&dBattleDrones&7] &cThis drone cannot be moved at this time.'
moved:
- 'battledrones message {player} &7[&dBattleDrones&7] &eYour drone is now moved to your location.'
cleanup:
permission:
- 'battledrones message {player} &7[&dBattleDrones&7] &cYou dont have access to use this command!'
usage:
- 'battledrones message {player} &7[&dBattleDrones&7] &cUsage: /battledrones cleanup <drones, projectiles, all> <stopDrone - optional>'
remove:
- 'battledrones message {player} &7[&dBattleDrones&7] &aRemoved &6{amount} &aentities'
drone:
- 'battledrones message {target} &7[&dBattleDrones&7] &aYour &6{drone} &adrone has been caught in an CleanUP task, stopped by an admin.'
enabled: '&aEnabled'
disabled: '&cDisabled'
enabled-yes: '&aYes'
disabled-no: '&cNo'
console:
move:
usage:
- '&7[&dBattleDrones&7] &cUsage: /battledrones move <player>'
online:
- '&7[&dBattleDrones&7] &cThe player is not online!'
cleanup:
usage:
- '&7[&dBattleDrones&7] &cUsage: /battledrones cleanup <drones, projectiles, all> <stopDrone - optional>'
remove:
- '&7[&dBattleDrones&7] &aRemoved &6{amount} &aentities'