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 { Command } from '../../helpers/commands' | |
import { announce } from '../../utility/common' | |
const placeholders = { | |
// TODO: Add test to make sure it has % at end and start | |
essentials_Afk: '%essentials_afk%', | |
jobsReborn_Jobs: '%jobsr_user_jobs%', | |
} | |
const __undefined__ = '__undefined__' |
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
export class MobDisguiseClass { | |
clone: () => MobDisguiseClass | |
} | |
export type MobDisguiseApi = { | |
new (disguise: DisguiseTypeItem): MobDisguiseClass | |
} | |
export class DisguiseTypeItem {} | |
export interface LibsDisguisesApi { |
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
const Sound = core.type('org.bukkit.Sound') | |
const ItemStack = core.type('org.bukkit.inventory.ItemStack') | |
const NamespacedKey = core.type('org.bukkit.NamespacedKey') | |
const PersistentDataType = core.type('org.bukkit.persistence.PersistentDataType') | |
const Material = core.type('org.bukkit.Material') | |
const MAX_INVENTORY_COL = 9 | |
const soundKeys = Object.keys(Sound) | |
const materialKeys = Object.keys(Material) |