-
Notifications
You must be signed in to change notification settings - Fork 12
Events Configurations
For creating events you have to define the event type "." the name of the event = file name without extension or multiple file names separated by comma. The way you create an event varies for the main events, special events, the dimensions events and for the regions powered by redstone and note that events have priorities over others.
Main Events are created by: (Highest Priorities Events)
event.[event name] = [music list separated by comma]
Example:
- event.mainMenu=menu1,menu2,menu3
It will play that 3 musics randomly while you are in the game Main Menu.
- advancement - Triggered when the player unlock an advancement
- attacked - Triggered when attacking or beeing attacked
- boat - Triggered when ridding a boat
- boss - Triggered when there is that boss bar overlay in the screen
- bossEnderDragon - Triggered when there is the Ender Dragon bar overlay in the screen
- bossWither - Triggered when there is the Wither bar overlay in the screen
- connecting - Triggered when connecting to a server
- credits - Triggered when you are in the credits screen
- deepUnderground - Triggered when the player is bellow the layer 20 and there isn't any block above him.
- disconnected - Triggered when disconnected from a server
- dripwaterincave - Triggered when there is drip water inside a cave
- dying - Triggered when the player's hp is bellow 7
- end - Triggered when the player is in the End Dimension
- falling - Triggered when the player is falling for more than 15 blocks
- fishing - Triggered when the player is fishing
- flyingelytra - Triggered when the player is flying with an elytra
- gameover - Triggered when the player is in the gameover screen
- generic - Triggered when none of the events get triggered
- highUp - Triggered when the player is above the layer 128
- horde - Triggered when there are more than 5 hostile mobs nearby the player
- horse - Triggered when ridding a horse
- lava - Triggered when the player is inside the lava
- loadingWorld - Triggered when the world is loading
- mainMenu - Triggered when the player is in the Main Menu screen
- minecart - Triggered when ridding a minecart
- nether - Triggered when the player is in the Nether
- night - Triggered when is night
- oceanMonument - Triggered when there are more than 3 guardians near the player
- paused - Triggered when in Game Menu
- pig - Triggered when ridding a pig
- pumpkinHead - Triggered when wearing a pumpkin in the head
- rain - Triggered when it's raining
- ranch - Triggered when there are more than 15 passive animals near the player
- ranchNight- Triggered when there are more than 15 passive animals near the player at night
- riding - Triggered when the player are riding an entity
- sleeping - Triggered when sleeping in a bed
- underground - Triggered when the player is bellow the layer 55 and there isn't any block above him
- underwater - Triggered when the player is in water
- village - Triggered when there at least 3 villagers nearby the player
- villageNight - Triggered when there at least 3 villagers nearby the player and is night
- mineshaft - Triggered when inside a mineshaft
- endcity - triggered when inside end city
- mansion - triggered when inside the mansion
- jungletemple - triggered when inside the jungle temple
- stronghold - triggered when inside the stronghold
- swampHut - triggered when inside the swampHut
- fortress - triggered when inside the Nether Fortress
- deserttemple - triggered when inside the desert temple
- igloo - triggered when inside the igloo
- oceanruin- triggered when inside a ocean ruin
- pillageroutpost - triggered when inside a pillager outpost
- shipwreck - triggered when inside a ship wreck
event.shortcut[0-4] = [music list separated by comma]
Example:
- event.shortcut0=dwarvenhobbit
It will play that 1 music when you press the key linked to that shortcut.
❗Note: If you hold the sneaking key ("CTRL" Key in 1.12) while pressing the shortcut it will send the music to all the players in the server if you are an admin.
dimension.[dimension id] = [music list separated by comma]
Example:
- dimension.-11325=deepdark
It will play that 1 music while you are in the deep dark dimension.
effect.[potion name] = [music list separated by comma]
effect.[potion name].[DimensionID(Optional)] = [music list separated by comma]
Example:
- effect.nightVision=visionbeyondreach (1.12 version)
- effect.night_vision=visionbeyondreach (1.15 version)
It will play that 1 music while the potion effect still on.
❗Note: You can also play diferent music per dimension by putting the dimension ID in the config:
- effect.nightVision.-1=visionbeyondreachNether (1.12 version)
- effect.night_vision.-1=visionbeyondreachNether (1.15 version)
mob.[mob name] = [music list separated by comma]
❗Note: Mobs that have spaces in their names must be replaced with the "+" sign
Examples:
- mob.wroughtnaut=Boss1,Boss2,Boss3
- mob.wither+skeleton=wither
It will play that musics if you are attacking or beeing attacked by the mobs.
event.riding.[mob name] = [music list separated by comma]
❗Note: Mobs that have spaces in their names must be replaced with the "+" sign
Example:
- event.riding.firedragon=ridingDragon
area.[area name] = [music list separated by comma]
Example:
- area.Shop=shop
It will play that 1 music if you are inside the Shop area.
area.[area name].[signal strength] = [music list separated by comma]
Example:
- area.Shop.15=shop
It will play that 1 music if you are inside the Shop area when there is a Song Switcher inside that area receiving a redstone signal with 15 of strength.
ocarina.[song name] = [ocarina buttoms numbers to activate the song]
❗Note: The Ocarina have only 7 possible song names:
- sunssong
- songofstorms
- bolerooffire
- horsesong
- serenadeofwater
- preludeoflight
- minuetofforest
Example:
- ocarina.sunssong=3,2,1,3,2,1
It will play the Sun's Song
biome.[biome name] = [music list separated by comma]
❗Note: Biomes that have spaces in their names replace the spaces with "+" sign
Example:
- biome.Sunflower+Plains=field1,field2,field3
It will play that 3 musics if you are inside the "Sunflower Plains" biome.
These make use of the forge biome dictionary (Casing is ignored) There's primary and secondary tags. All primary tags will get checked before the secondary ones Forge Biomes Dictionary
primarytag.[biome name] = [music list separated by comma]
Example:
- primarytag.ocean=ocean
It will play that 1 music when you are in the ocean biome.
secondarytag.[biome name] = [music list separated by comma]
Example:
- secondarytag.beach=beach
It will play that 1 music when you are in the beach biome.