This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Adapted from https://gist.github.com/mdjnewman/b9d722188f4f9c6bb277a37619665e77 | |
usage="Usage: $(basename "$0") stack-set-name template-file administration-role-name execution-role-name | |
where: | |
stack-set-name - the stack set name | |
template-file - the file path of the template | |
administration-role-name - the name of the administration role | |
execution-role-name - the name of the execution role | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.bukkit.*; | |
import org.bukkit.enchantments.Enchantment; | |
import org.bukkit.inventory.ItemStack; | |
import org.bukkit.inventory.meta.ItemMeta; | |
import org.bukkit.inventory.meta.LeatherArmorMeta; | |
import org.bukkit.material.MaterialData; | |
import java.util.ArrayList; | |
import java.util.List; |