-
Notifications
You must be signed in to change notification settings - Fork 26
Adding Cosmetics from Config
This page is for categories that are addable from config. If you try to use it for code-only categories like Final Kill Effects or Bed Break Effects, that will not work. Refer to the Cosmetic-Categories.
- Death Cries
- Glyphs
- Island Toppers
- Kill Messages
- Projectile Trails
- Shopkeeper Skins
- Sprays
- every cosmetic needs a unique ID
- the ID becomes the permission suffix and config key
- use lowercase and hyphens unless you have a good reason not to
-
itemmust be valid -
raritymust match a valid rarity enum - user-facing name and lore should go into language files
Common values you will see:
NONECOMMONRARERANDOM
File: DeathCries.yml
death-cry:
spooky-bell:
item: "BELL:0"
sound: "BLOCK_NOTE_BLOCK_BELL"
volume: 1
pitch: 1
price: 5000
rarity: "COMMON"Then add the language entries:
cosmetics:
death-cry:
spooky-bell:
name: "&eSpooky Bell"
lore:
- "&7Select Spooky Bell as your Death cry"File: Glyphs.yml
glyph:
ruby:
item: "REDSTONE:0"
price: 5000
file: "ruby.png"
rarity: "COMMON"Then place ruby.png in the Glyphs/ folder.
Language:
cosmetics:
glyph:
ruby:
name: "&cRuby"
lore:
- "&7Select Ruby as your Glyph!"Keep glyph images small. Around 50x50 is a good range.
File: IslandToppers.yml
island-topper:
dragon-statue:
item: "DRAGON_EGG:0"
price: 15000
file: "dragon-statue.schematic"
rarity: "RARE"Then place the schematic into IslandToppers/.
Language:
cosmetics:
island-topper:
dragon-statue:
name: "&5Dragon Statue"
lore:
- "&7Select Dragon Statue as your Island Topper!"Do not forget the team position setup command, or the topper won't spawn.
File: KillMessages.yml
kill-message:
frostbite:
item: "ICE:0"
price: 5000
rarity: "COMMON"
PvP-Kill:
- "{victim} &7was frozen by {killer}."
- "{victim} &7was chilled to death by {killer}."
Void-Kill:
- "{victim} &7slipped into the void because of {killer}."Language:
cosmetics:
kill-message:
frostbite:
name: "&bFrostbite"
lore:
- "&7Select Frostbite as your Kill Message"Supported message types:
PvP-KillVoid-KillShoot-KillExplosion-Kill
File: Sprays.yml
sprays:
my-logo:
item: "PAPER:0"
file: "my-logo.png"
price: 5000
rarity: "COMMON"Put my-logo.png in your spray directory.
Default spray directory:
Sprays/
Language:
cosmetics:
sprays:
my-logo:
name: "&aMy Logo"
lore:
- "&7Select My Logo as your"
- "&7Spray!"sprays:
remote-logo:
item: "PAPER:0"
url: "https://example.com/logo.png"
price: 5000
rarity: "COMMON"Use a direct image URL. Not an image page. So the plugin can fetch the raw image or else it may throw errors / not working properly.
File: ShopKeeperSkins.yml
shopkeeper-skins:
blaze:
price: 5000
item: "BLAZE_POWDER:0"
entity-type: "BLAZE"
rarity: "COMMON"shopkeeper-skins:
mage:
price: 15000
item: "player_head:0:<base64>"
skin-value: "<skin-value>"
skin-sign: "<skin-sign>"
rarity: "RARE"shopkeeper-skins:
mirror:
price: 0
item: "PLAYER_HEAD:0"
mirror: true
rarity: "COMMON"This makes the NPC use the player's own skin.
File: ProjectileTrails.yml
projectile-trails:
emerald-trail:
item: "EMERALD:0"
price: 5000
rarity: "COMMON"Language:
cosmetics:
projectile-trails:
emerald-trail:
name: "&aEmerald Trail"
lore:
- "&7Select Emerald Trail as your Projectile,"
- "&7trail!"Again, if you want a truly custom trail effect with unique logic, you will have to either code a custom addon for the plugin or suggest it to me on any platform.
- forgetting the language key
- using a missing file name
- using a non-direct spray URL
- using an invalid material string
- using invalid sound names
- writing names and lore into config files
- adding an entry to a code-only category