Work with plugin

The plugin was configured through config files, below we will look at the config itself

lang: en.yml #Language
chanceMoon: 0.1 #chance of the moon appearing at night
bar: true #install bossBar
startMoonSound: true #variable responsible for the sound of the beginning of the moon
stopMoonSound: true #variable responsible for the sound of the moon stopping
colorDamageParticle: RED #Particle color
amountDamageParticle: 7 #Particle amount
particle: REDSTONE #Particle type
blockCmd: false #blocking commands for players during the moon
damageSound: true #variable is responsible for the sound of damage from a mob
deleteMob: false #variable is responsible for removing mobs after the moon
chanceLastHealth: 0.01 #chance with which a mob's lastHealth is activated upon death
powerMobEffect: 3 #the strength of the effects with which the mob will spawn
powerItemEffect: 2 #the strength of the enchantments with which the item will be issued
barColor: RED #Bar color
barStyle: SOLID #Bar style
spawnerSpawn: true #disable/enable spawn via spawner
pvp: true #you can prohibit players from doing damage to each other during the moon


EXPLODER:
  chance_spawn: 0.1 #chance of a dog appearing when there are 3 players within a radius of 10 blocks
  needPlayers: 3

items:
  bloodPearl:
    chance: 0.5 #chance for the moon to spawn when using a tear
    chanceDrop: 0.01 #chance of a tear falling from a mob
FOG:
  active: 60 #the time the fog will hang

In this example config there is no mobs column. Why? - because we will look at working with mobs on the next page Here is shown only a part that needs to be explained

Commands

  • /moon startTimer [IdWorld] - starts a timer in the world, with a certain chance the moon will appear every night

  • /moon cancelTimer [IdWorld] - cancels the timer

  • /moon createMoon [IdWorld] - spawns a moon in the selected world

  • /moon deleteMoon [IdWorld] - removes the moon in the selected world

  • /moon amountMobs [idWorld] - displays the number of lunar mobs

  • /moon deleteMobs - removes all lunar mobs

  • /moon reload - reboots the server

  • /moon allDungeons [idWorld] - shows all dungeons, clicking on which you can teleport

  • /moon info - displays the time until the end of the moon

Permission - moon.moonCmd

Last updated