EpicBosses/plugin-modules/Core/resources-yml/editor.yml
Charles 0134c679ca 1.0.0-SNAPSHOT-U77
+ Added TargetingEditor, BossListTargetingEditor, BossListEditor GUI and modified BossListEquipmentEditorPanel to use a more abstract system
+ Fixed a patch on NotDamagedNearbyTargetHandler where no player would be targeted after all nearby players had hit the boss at least once
2018-11-22 21:49:56 +08:00

710 lines
18 KiB
YAML

# MainPanel: # panel name #
# name: '&b&l{boss} Editor' # panel display name #
# slots: 45 # panel size #
# Settings: # settings section #
# emptySpaceFiller: true # fill in empty space #
# fillTo: 0 # fill to slot #
# backButton: false # use back button #
# exitButton: false # use exit button #
# EmptySpaceFiller: # empty space filler itemstack #
# type: '160:0' # empty space filler type #
# name: '&7' # empty space filler name #
# Buttons: # buttons section #
# backButton: 9 # back button slot #
# exitButton: 9 # exit button slot #
MainMenu:
name: '&b&lEpicBosses'
slots: 18
Settings:
emptySpaceFiller: true
EmptySpaceFiller:
type: WHITE_STAINED_GLASS_PANE
name: '&7'
Items:
'2':
type: ZOMBIE_SPAWN_EGG
name: '&b&lCustom Bosses'
lore:
- '&3Left Click »'
- '&7Edit any of the already created'
- '&7custom bosses.'
- '&7'
- '&3Right Click »'
- '&7Create a new custom boss from'
- '&7scratch.'
Button: CustomBosses
'5':
type: DIAMOND
name: '&b&lCustom Items'
lore:
- '&3Left Click »'
- '&7Edit any of the already created'
- '&7custom items.'
- '&7'
- '&3Right Click »'
- '&7Create a new custom item from'
- '&7an item in your inventory.'
Button: CustomItems
'8':
type: CLOCK
name: '&b&lAuto Spawns'
lore:
- '&3Left Click »'
- '&7Edit any of the already created'
- '&7auto spawns.'
- '&7'
- '&3Right Click »'
- '&7Create a new auto spawn from'
- '&7scratch.'
Button: AutoSpawns
'12':
type: OAK_PRESSURE_PLATE
name: '&b&lDrop Tables'
lore:
- '&3Left Click »'
- '&7Edit any of the already created'
- '&7drop tables.'
- '&7'
- '&3Right Click »'
- '&7Create a new drop table from'
- '&7scratch.'
Button: DropTables
'16':
type: BLAZE_POWDER
name: '&b&lCustom Skills'
lore:
- '&3Left Click »'
- '&fEdit any of the already created'
- '&fcustom skills.'
- '&7'
- '&3Right Click »'
- '&fCreate a new custom skill from'
- '&fscratch.'
Button: CustomSkills
ListPanel:
name: '{panelName}'
slots: 54
Settings:
backButton: true
fillTo: 45
Buttons:
backButton: 50
Items:
'46':
type: GLASS_PANE
name: '&7'
'47':
type: GLASS_PANE
name: '&7'
'48':
type: GLASS_PANE
name: '&7'
'49':
type: ARROW
name: '&e&l&m<-&e&l Previous Page'
lore:
- '&7Click here to go to the previous'
- '&7page of custom drops.'
PreviousPage: true
'50':
type: REDSTONE
name: '&cClick here to go back'
lore:
- '&7Click this button to go back to'
- '&7the main page where you can choose'
- '&7to configure blocks or mobs.'
'51':
type: ARROW
name: '&e&lNext Page &e&l&m->'
lore:
- '&7Click here to go to the next'
- '&7page of custom drops.'
NextPage: true
'52':
type: GLASS_PANE
name: '&7'
'53':
type: GLASS_PANE
name: '&7'
'54':
type: GLASS_PANE
name: '&7'
AddItemsMenu:
name: '&b&lAdd Item Menu'
slots: 27
Settings:
emptySpaceFiller: true
EmptySpaceFiller:
name: '&7'
type: LIGHT_BLUE_STAINED_GLASS_PANE
Items:
'11':
type: REDSTONE
name: '&c&lCancel'
lore:
- '&7Click here to cancel the transaction'
- '&7of adding the item to the EpicBosses'
- '&7database.'
Button: Cancel
'14':
type: AIR
Button: SelectedSlot
'17':
type: LIME_DYE
name: '&a&lAccept'
lore:
- '&7Click here to accept the transaction'
- '&7of adding the item to the EpicBosses'
- '&7database.'
Button: Accept
MainEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
emptySpaceFiller: true
EmptySpaceFiller:
type: WHITE_STAINED_GLASS_PANE
name: '&7'
Items:
'12':
type: DIAMOND
name: '&a&lDrops Manager'
lore:
- '&7Click here to manage the drop table'
- '&7that is attached to this boss.'
Button: Drops
'14':
type: DIAMOND_HELMET
name: '&c&lEquipment Manager'
lore:
- '&7Click here to manage the equipment'
- '&7that the boss has equipped.'
Button: Equipment
'16':
type: BONE
name: '&a&lTargeting Manager'
lore:
- '&7Click here to edit how the boss handles'
- '&7targeting of players and mobs.'
Button: Targeting
'22':
type: BOW
name: '&c&lWeapon Manager'
lore:
- '&7Click here to manage the weapon(s)'
- '&7that the boss has equipped.'
Button: Weapon
'23':
type: BARRIER
name: '&c&l!&4&l!&c&l! &4&lWARNING &c&l!&4&l!&c&l!'
lore:
- '&7While editing is enabled for this boss'
- '&7no one will be able to spawn it, nor'
- '&7will it spawn naturally.'
'24':
type: BLAZE_POWDER
name: '&c&lSkill Manager'
lore:
- '&7Click here to manage the assigned'
- '&7skill(s) the boss has and their occurrence'
- '&7chances.'
Button: Skill
'32':
type: LAPIS_LAZULI
name: '&a&lStatistics Manager'
lore:
- '&7Click here to edit the statistics of the'
- '&7boss, including things like: health,'
- '&7potion effects, commands on spawn, etc.'
Button: Stats
'39':
type: BOOK
name: '&a&lCommand Manager'
lore:
- '&7Click here to manage the commands that are'
- '&7called when the boss spawns, dies, etc.'
Button: Command
'41':
type: LEVER
name: '&a&lToggle Boss Editing'
lore:
- '&7Click here to edit how to toggle the boss'
- '&7editing mode.'
- '&7'
- '&bCurrently: &f{mode}'
Button: Editing
'43':
type: BOOK
name: '&a&lText Manager'
lore:
- '&7Click here to edit the taunts, sayings,'
- '&7etc. for this boss.'
Button: Text
DropsEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
fillTo: 45
Items:
'46':
type: DIAMOND
name: '&b&lSelected Drop Table'
lore:
- '&7The current selected drop'
- '&7table is: &b{dropTable}&7.'
- '&7'
- '&b&lHints'
- '&b&l* &7If this shows N/A it means'
- '&7 there was an issue loading the'
- '&7 previous table, or it doesn''t'
- '&7 have one selected.'
- '&b&l* &7Click here to go straight to the'
- '&7 editing screen of the drop table.'
Button: Selected
'47':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'48':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'49':
type: ARROW
name: '&e&l&m<-&e&l Previous Page'
lore:
- '&7Click here to go to the previous'
- '&7page of drop tables.'
PreviousPage: true
'50':
type: DIAMOND_BLOCK
name: '&a&lCreate a new Drop Table'
lore:
- '&7Click here to create a new drop'
- '&7table. It will automatically be'
- '&7assigned to this boss when created.'
Button: CreateDropTable
'51':
type: ARROW
name: '&e&lNext Page &e&l&m->'
lore:
- '&7Click here to go to the next'
- '&7page of drop tables.'
NextPage: true
'52':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'53':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'54':
type: BOOK
name: '&c&lDrops Guide'
lore:
- '&7When selecting the drop table for this custom boss'
- '&7you can either choose from one of the above listed'
- '&7pre-configured drop tables or you can make a'
- '&7new one for this boss.'
- '&7'
- '&c&lHints'
- '&c&l* &7The currently selected drop table will be shown'
- '&7 with an emerald which states so.'
- '&c&l* &7Every drop table from every boss will be listed'
- '&7 here as an available drop table.'
BossListEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
backButton: true
fillTo: 45
Buttons:
backButton: 54
Items:
'46':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'47':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'48':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'49':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'50':
type: DIAMOND_BLOCK
name: '&a&lCreate a new Entity'
lore:
- '&7Click here to create a new entity'
- '&7within this boss.'
Button: CreateEntity
'51':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'52':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'53':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'54':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'
EquipmentEditorPanel:
name: '&b&l{name} Editor'
slots: 9
Settings:
backButton: true
emptySpaceFiller: true
EmptySpaceFiller:
type: WHITE_STAINED_GLASS_PANE
name: '&7'
Buttons:
backButton: 8
Items:
'2':
type: DIAMOND_HELMET
name: '&c&lHelmet'
lore:
- '&7Click here to change the'
- '&7helmet for the &f{name}'
- '&7or add one from your'
- '&7inventory.'
Button: Helmet
'3':
type: DIAMOND_CHESTPLATE
name: '&c&lChestplate'
lore:
- '&7Click here to change the'
- '&7chestplate for the &f{name}'
- '&7or add one from your'
- '&7inventory.'
Button: Chestplate
'4':
type: DIAMOND_LEGGINGS
name: '&c&lLeggings'
lore:
- '&7Click here to change the'
- '&7leggings for the &f{name}'
- '&7or add one from your'
- '&7inventory.'
Button: Leggings
'5':
type: DIAMOND_BOOTS
name: '&c&lBoots'
lore:
- '&7Click here to change the'
- '&7boots for the &f{name}'
- '&7or add one from your'
- '&7inventory.'
Button: Boots
'8':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'
'9':
type: BOOK
name: '&c&lEquipment Guide'
lore:
- '&7here you can choose what equipment'
- '&7this boss has. To choose simply click'
- '&7the desired piece, then click one of'
- '&7the preset pieces or click the diamond'
- '&7block to add a new piece from your'
- '&7inventory.'
HelmetEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
fillTo: 45
backButton: true
Buttons:
backButton: 54
Items:
'46':
type: DIAMOND
name: '&c&lRemove'
lore:
- '&7click here to remove the'
- '&7currently equipped helmet.'
Button: Remove
'47':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'48':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'49':
type: ARROW
name: '&e&l&m<-&e&l Previous Page'
lore:
- '&7Click here to go to the previous'
- '&7page of helmets.'
PreviousPage: true
'50':
type: DIAMOND_BLOCK
name: '&a&lAdd New Helmet'
lore:
- '&7Click here to add a new'
- '&7helmet which you have in your'
- '&7inventory.'
Button: AddNew
'51':
type: ARROW
name: '&e&lNext Page &e&l&m->'
lore:
- '&7Click here to go to the next'
- '&7page of helmets.'
NextPage: true
'52':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'53':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'54':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'
ChestplateEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
fillTo: 45
backButton: true
Buttons:
backButton: 54
Items:
'46':
type: DIAMOND
name: '&c&lRemove'
lore:
- '&7click here to remove the'
- '&7currently equipped chestplate.'
Button: Remove
'47':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'48':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'49':
type: ARROW
name: '&e&l&m<-&e&l Previous Page'
lore:
- '&7Click here to go to the previous'
- '&7page of chestplates.'
PreviousPage: true
'50':
type: DIAMOND_BLOCK
name: '&a&lAdd New Chestplate'
lore:
- '&7Click here to add a new'
- '&7chestplate which you have in your'
- '&7inventory.'
Button: AddNew
'51':
type: ARROW
name: '&e&lNext Page &e&l&m->'
lore:
- '&7Click here to go to the next'
- '&7page of chestplates.'
NextPage: true
'52':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'53':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'54':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'
LeggingsEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
fillTo: 45
backButton: true
Buttons:
backButton: 54
Items:
'46':
type: DIAMOND
name: '&c&lRemove'
lore:
- '&7click here to remove the'
- '&7currently equipped {type}.'
Button: Remove
'47':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'48':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'49':
type: ARROW
name: '&e&l&m<-&e&l Previous Page'
lore:
- '&7Click here to go to the previous'
- '&7page of leggings.'
- '&7'
- '&7Currently viewing page &e{currentPage}/{maxPages}&7.'
PreviousPage: true
'50':
type: DIAMOND_BLOCK
name: '&a&lAdd New Leggings'
lore:
- '&7Click here to add a new'
- '&7leggings which you have in your'
- '&7inventory.'
Button: AddNew
'51':
type: ARROW
name: '&e&lNext Page &e&l&m->'
lore:
- '&7Click here to go to the next'
- '&7page of leggings.'
- '&7'
- '&7Currently viewing page &e{currentPage}/{maxPages}&7.'
NextPage: true
'52':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'53':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'54':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'
BootsEditorPanel:
name: '&b&l{name} Editor'
slots: 54
Settings:
fillTo: 45
backButton: true
Buttons:
backButton: 54
Items:
'46':
type: DIAMOND
name: '&c&lRemove'
lore:
- '&7click here to remove the'
- '&7currently equipped {type}.'
Button: Remove
'47':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'48':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'49':
type: ARROW
name: '&e&l&m<-&e&l Previous Page'
lore:
- '&7Click here to go to the previous'
- '&7page of boots.'
PreviousPage: true
'50':
type: DIAMOND_BLOCK
name: '&a&lAdd New Boots'
lore:
- '&7Click here to add a new'
- '&7boots which you have in your'
- '&7inventory.'
Button: AddNew
'51':
type: ARROW
name: '&e&lNext Page &e&l&m->'
lore:
- '&7Click here to go to the next'
- '&7page of boots.'
NextPage: true
'52':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'53':
type: WHITE_STAINED_GLASS_PANE
name: '&7'
'54':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'
TargetingPanel:
name: '&b&l{name} Editor'
slots: 27
Settings:
backButton: true
emptySpaceFiller: true
EmptySpaceFiller:
type: WHITE_STAINED_GLASS_PANE
name: '&7'
Buttons:
BackButton: 27
Items:
'5':
type: REDSTONE_BLOCK
name: '&b&lHidden Nearby Entity'
lore:
- '&7This target system will target'
- '&7anyone who is nearby and hasn''t'
- '&7attacked the boss. If there is'
- '&7no one nearby who hasn''t attacked'
- '&7the boss then it will choose a random'
- '&7entity/player.'
TargetingSystem: NotDamagedNearby
'12':
type: REDSTONE_BLOCK
name: '&b&lClosest to the Boss'
lore:
- '&7This target system will'
- '&7target the closest player'
- '&7to the boss.'
TargetingSystem: Closest
'13':
type: REDSTONE_BLOCK
name: '&b&lRandom Nearby Entity'
lore:
- '&7This target system will'
- '&7target a random target who is'
- '&7within reach of the boss.'
TargetingSystem: RandomNearby
'14':
type: REDSTONE_BLOCK
name: '&e&lTop Damage'
lore:
- '&7This target system will'
- '&7target the player who has'
- '&7the most damage that is'
- '&7nearby.'
TargetingSystem: TopDamager
'19':
type: ARROW
name: '&b&lSelected'
lore:
- '&7You have currently got &f{selected}'
- '&7as your targeting system.'
'23':
type: BOOK
name: '&c&lTargeting Guide'
lore:
- '&7Here you can choose how'
- '&7the boss handles targeting'
- '&7of players.'
- '&7'
- '&7The default boss target range is'
- '&f50 blocks&7. However this can be'
- '&7adjusted in the config.yml.'
'27':
type: PAPER
name: '&e&lGo Back'
lore:
- '&7Click here to go back.'