Skip to content

Commit

Permalink
Merge branch 'main' into configuration-sector-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Tapply authored Jun 24, 2024
2 parents f8738c9 + 614352f commit c724147
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/net/jeqo/bloons/balloon/BalloonCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ public void initialize() {
* Copies the example balloons folder to the plugin's data folder if it doesn't exist
*/
public void copyExampleBalloons() {
// List of example balloon files
String[] exampleBalloons = new String[] {
"/color_pack_example.yml",
"/dyeable_example.yml",
"/multipart_example.yml"
};

// Save all example files in the balloons folder in /resources
for (String example : this.getExampleBalloons()) {
File file = new File(Bloons.getInstance().getDataFolder() + File.separator + ConfigConfiguration.BALLOON_CONFIGURATION_FOLDER + File.separator + example);
Expand Down
12 changes: 12 additions & 0 deletions src/main/resources/balloons/dyeable_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ dyeable_example:
- '&8Bloons Example Balloon'
- ''
- '&eᴄʟɪᴄᴋ ᴛᴏ ᴇǫᴜɪᴘ'
single_meg_example:
id: single_meg_example
permission: balloon.single_meg_example
meg-model-id: single_meg_example
icon:
material: FLINT
custom-model-data: 7
name: '<white>Single MEG Balloon'
lore:
- '&8Bloons Default Balloon'
- ''
- '&eᴄʟɪᴄᴋ ᴛᴏ ᴇǫᴜɪᴘ'

0 comments on commit c724147

Please sign in to comment.