Configuration

Permissions

ALL players need mobhunt.player permission to participate in mobhunt.

Configuration

Configuration is quite involve but once you have become familiar with each setting it shouldn't be a problem

The config below shows two defined worlds that will have hunts and the associated settings for those worlds, defined below.

Make sure you double check your rewards and quantities, not doing so could adversely affect your economy!

Config.yml

#Keys eg. World:, StartTime: etc, are case sensetivity.
#Keys use the camel(each word is capitalized) formating for easy of reading.
#config version don't modify EVEN if it doesn't match the mobhunt version.
Version: 4.20
#world name the hunt will take place
#edit this for the worlds you want hunts in
#there must be a definition (as below) for each of these worlds
Worlds: 
  - world
  - world_nether

#hunt setttings per world - change the world: key to match your world
world:
  #ticks 0=6am, 6000=12pm, 12000=6pm, 18000=12am
  StartTime:  14000
  EndTime:    24000
  #Delay for hunt announcer in seconds
  AnnounceDelay: 240
  #minimum hunters required to initated a hunt.
  MinimumHunters: 3
  #Cost to join hunt - how much it costs to play
  Cost: 100
  #% Chance a hunt will cost money eg 15 = 15%.
  PayChance: 15
  #Allow players to join active hunts.
  AllowLateHunters: true
  #game points for each mob
  Points:
    Blaze:        25
    Cavespider:   10
    Creeper:      50
    Enderdragon:  10000
    Enderman:     70
    Ghast:        75
    Giant:        10000
    Magmacube:    10
    Pigzombie:    10
    Silverfish:   5
    Skeleton:     20
    Slime:        5
    Spider:       10
    Witch:        100
    WitherBoss:   1000
    Wither:       50
    Zombie:       10
    Player:       50
  #penalty given to players for dying. 0 = disabled
  DeathPenalty: 150
  #Skip days between hunts 1 skip one day, 2 skip 2 days
  SkipDays: 0
  #if SkipDays: 0, This is a % Chance for hunt to skip a day.
  SkipDayChance: 0
  #% Score modifier range for enchantments
  #%between 30 and 70%, if score modifier is 40, player scores 40% of points each kill
  EnchantmentModifierRange: 30-70
  #% Score modifier range for bows
  #%between 40 and 80%, if score modifier is 50, player scores 50% of points each kill
  BowModifierRange: 40-80
  #Allow PVP chance %
  PvpChance: 10
  #random hunts from the hunt list below, false = all mobs all the time.
  RandomHunts: true
  #Auto teleport hunters to hunt area when useArea: true
  AutoTeleport: true
  #Spawn players in a random location
  RandomSpawn: false
  #Area spawn point if RandomSpawn is false
  AreaSpawn: [0, 0, 0]
  #use a specific area for hunts, not global hunt\
  #if true, Spawner mobs and Cave/Grinder mobs will NOT be Excluded from hunts.
  useArea: false
  #area where hunt will take place
  #square/rectangle defined by two opposite corners
  # o-----
  # |    |
  # -----o
  Area:
    xmax: 20
    zmax: 20
    xmin: -20
    zmin: -20
  #Hunts 
  #Supported Hunts: All Blaze CaveSpider Creeper EnderDragon Enderman Ghast Giant Magmacube PigZombie
  #Silverfish Skeleton Slime Spider Zombie Witch WitherBoss WitherSkeleton 
  #Pay - pay to play, win a cash prize. Area - Hunt is an area hunt (even if useArea is false).
  #Pvp - force pvp true
  Hunts:
    - All
    - Creeper, Slime, Zombie
    - All, Pay, Pvp
    - Zombie, Skeleton, Creeper, Spider
    - Creeper, Zombie, Enderman
    - Silverfish, Skeleton, Zombie, Spider
  #Thresholds for above hunts
  Thresholds:
    #- first, second, third, runnerup.
    #Thresholds for 'All' hunts
    - 1000, 750, 500, 250
    #Thresholds for Creeper Zombie hunt
    - 500, 400, 300, 200
    #Thresholds for All, Pay, Pvp hunt
    - 1000, 750, 500, 250
    #Thresholds for Zombie, Skeleton, Creeper, Spider hunt
    - 800, 600, 400, 200
    #Threshold for Creeper, Enderman hunt
    - 500, 400, 300, 200
    #Threshold for Silverfish, Zombie, Spider hunt
    - 300, 200, 100, 50
  #Everyone gets a reward?
  RewardRunnersUp: true
  #remove spawner mobs when reloading/rebooting
  RemoveSpawnerMobs: true
  #Deny spawner mobs
  DenySpawnerMobs: true
   #outside spawnwed mobs only - set false for nethers / underground hunt areas
  OutsideMobsOnly: true
  #rewards
  Rewards:
    First:
      #Item -> 'id;data;amount;%chance' 
      #Item with enchant -> 'id;data;amount;enchantment;level;%chance'
      #Money -> '$;amount-amount;%chance'
      Items:
        #3 gold block
        - 41;0;3;100
        #1 gold block
        - 267;56;1;sharpness;2;65
        #4th gold block 25% chance
        - 41;0;1;25
        #5th gold block 25% chance
        - 41;0;1;25
        #diamond 25%
        - 264;0;1;25
        #money between 200 and 500 25% chance
        - $;100-300;25
    Second:
      Items:
         #1 gold block
        - 41;0;1;100
         #2 more gold block 50%
        - 41;0;2;50
         #diamond 10%
        - 264;0;1;10
        #money between 200 and 500 25% chance
        - $;50-150;25
    Third:
      Items:
         #3 gold ingot 50%
        - 266;0;3;100
         #2 more gold ingot 50%
        - 266;0;2;50
        #money between 200 and 500 25% chance
        - $;10-30;25
    RunnersUp:
      Items:
         #steak
        - 364;0;1;100
         #2 bread
        - 297;0;2;100
         #1 potato 20%
        - 392;0;1;20
         #Diamond hoe 5% ;3
        - 293;0;1;5
        #money between 200 and 500 25% chance
        - $;5-15;25

#hunt setttings per world - change the world: key to match your world
world_nether:
  #ticks 0=6am, 6000=12pm, 12000=6pm, 18000=12am
  StartTime:  6000
  EndTime:    18000
  #Delay for hunt announcer in seconds
  AnnounceDelay: 240
  #minimum hunters required to initated a hunt.
  MinimumHunters: 3
  #Cost to join hunt - how much it costs to play
  Cost: 100
  #% Chance a hunt will cost money.
  PayChance: 15
  #Allow players to join active hunts.
  AllowLateHunters: true
  #game points for each mob
  Points:
    Blaze:        25
    Cavespider:   10
    Creeper:      50
    Enderdragon:  10000
    Enderman:     70
    Ghast:        75
    Giant:        10000
    Magmacube:    10
    Pigzombie:    10
    Silverfish:   5
    Skeleton:     20
    Slime:        5
    Spider:       10
    Witch:        100
    WitherBoss:   1000
    Wither:       50
    Zombie:       10
    Player:       50
  #penalty given to players for dying. 0 = disabled
  DeathPenalty: 150
  #Skip days between hunts 1 skip one day, 2 skip 2 days
  SkipDays: 0
  #if SkipDays: 0, This is a % Chance for hunt to skip a day.
  SkipDayChance: 0
  #% Score modifier range for enchantments
  #%between 30 and 70%, if score modifier is 40, player scores 40% of points each kill
  EnchantmentModifierRange: 30-70
  #% Score modifier range for bows
  #%between 40 and 80%, if score modifier is 50, player scores 50% of points each kill
  BowModifierRange: 40-80
  #Allow PVP chance %
  PvpChance: 10
  #random hunts from the hunt list below, false = all mobs all the time.
  RandomHunts: true
  #Auto teleport hunters to hunt area when useArea: true
  AutoTeleport: true
  #Spawn players in a random location
  RandomSpawn: false
  #Area spawn point if RandomSpawn is false
  AreaSpawn: [0, 0, 0]
  #use a specific area for hunts, not global hunt\
  #if true, Spawner mobs and Cave/Grinder mobs will NOT be Excluded from hunts.
  useArea: false
  #area where hunt will take place
  #square/rectangle defined by two opposite corners
  # o-----
  # |    |
  # -----o
  Area:
    xmax: 20
    zmax: 20
    xmin: -20
    zmin: -20
  #Hunts 
  #Supported Hunts: All Blaze CaveSpider Creeper EnderDragon Enderman Ghast Giant Magmacube PigZombie
  #Silverfish Skeleton Slime Spider Zombie Witch WitherBoss WitherSkeleton 
  #Pay - pay to play, win a cash prize. Area - Hunt is an area hunt (even if useArea is false).
  #Pvp - force pvp true, regardless of PvpChance
  Hunts:
    #all nether mobs
    - Blaze Ghast Magmacube WitherSkeleton PigZombie
    - Ghast Magmancube
    - PigZombie
    - WitherSkeleton PigZombie
  #Thresholds for above hunts
  Thresholds:
    #- first, second, third, runnerup.
    #Thresholds for 'All nether mobs' hunts
    - 1000, 750, 500, 250
    #Thresholds for Creeper Zombie hunt
    - 800, 600, 400, 200
    #Thresholds for Zombie, Skeleton, Creeper, Spider hunt
    - 500, 400, 300, 100
    #Thresholds for Zombie, Skeleton, Creeper, Spider hunt
    - 800, 600, 400, 200
  #Everyone gets a reward?
  RewardRunnersUp: true
  #remove spawner mobs when reloading/rebooting
  RemoveSpawnerMobs: true
  #Deny spawner mobs
  DenySpawnerMobs: true
  #outside spawnwed mobs only - set false for nethers / underground hunt areas
  OutsideMobsOnly: false
  #rewards
  Rewards:
    First:
      #'id;data;amount;%chance'
      Items:
        #Nether Star %10 chance
        - 399;0;1;10
        #diamond block
        - 57;0;1;100
        #steak
        - 364;0;1;50       
        #Ghast tear
        - 370;0;1;50
        #Ghast tear
        - 370;0;1;100
        #wither head %15 chance
        - 397;1;1;15
    Second:
      Items:
        #Ghast tear
        - 370;0;1;100
        #wither head %5 chance
        - 397;1;1;5
    Third:
      Items:
        #blaze powder
        - 369;0;4;100
        #blaze powder
        - 372;0;4;100
    RunnersUp:
      Items:
         #steak
        - 364;0;1;100
         #2 bread
        - 297;0;2;100
         #1 potato 20%
        - 392;0;1;20
         #Diamond hoe 5% ;3
        - 293;0;1;5
        
#All MobHunt messages!
#use two '' for apstrophies
#normal color codes
#if you have config errors, check you have "keyname:<SPACE>'message'"
Messages:
  Prefix: '&e[&cMobHunt&e] '
  #Player leave and join messages
  PlayerLeftMsg: '&aPlayer&f %s &aleft the hunt!'
  PlayerJoinMsg: '&aPlayer&f %s &ajoined the hunt!'
  PlayersRequired: '&e[&f%i&e]&a hunters required for next hunt!'
  PlayerJoinFail: '&cYou already joined the hunt!'
  LeaveHunt: '&cYou have forfeited the hunt!'
  LeaveHuntFail: '&cYou are not apart of the hunt!'
  JoinPaid: '&aYou paid &e[&f$%i&e]&a to join the next hunt'
  LeavePaid: '&aYou recieved &e[&f$%i&e]&a back.'
  NoFunds: '&cYou don''t have enough money!'
  ToLateToJoin: '&cHunt has already commenced!'
  #Hunt messages
  DeathMsg: '&cYou died! You lose &e[&f%i&e]&c points'
  GamemodeMsg: '&cYou cannot hunt in Creative mode!'
  OutsideHunt: '&cYou are outside the huntarea!'
  Huntspawn: '&aType /huntspawn to join the hunt area.'
  SpawnFail: '&aYou are already inside the hunt area!'
  EnchantmentFail: '&cNo points - Enchantment score chance: &e[&f%i&e]'
  BowFail: '&cNo points - Bow score chance: &e[&f%i&e]'
  HuntPositions: '&f[&a%s&f][&e%s&f][&c%s&f]'
  HuntPoints: '&f----[&a%i&f]--------[&e%i&f]--------[&c%i&f]----'
  HuntKill: '&aYou killed a &e[&f%s&e]&a for &e[&f%i&e]&a points.'
  HuntPlayerPos: '&aYou are &e[&f%i&a/&c%i&e]&a with &e[&f%i&e]&a points.'
  DenySpawnerMobs: '&cMob spawned from spawner!'
  OutsideOnlyMobs: '&cMob didn''t spawn outside!'
  NotInHunt: '&cMob &e[&f%s&e]&c not included in hunt'
  #Rewards messages
  FirstMsg: '&aFirst place is &f%s&a, with &e[&f%i&e] &apoints.'
  SecondMsg: '&aSecond place is &f%s&a, with &e[&f%i&e] &apoints.'
  ThirdMsg: '&aThird place is &f%s&a, with &e[&f%i&e] &apoints.'
  FourthMsg: '&aYou are a runner-up with &e[&f%i&e]&a points.'
  FirstFailMsg: '&f%s &adid not make 1st place threshold &e[&f%i&e]'
  SecondFailMsg: '&f%s &adid not make 2nd place threshold &e[&f%i&e]'
  ThirdFailMsg: '&f%s &adid not make 3rd place threshold &e[&f%i&e]'
  FirstRewards: '&aYou received &e[&fFirst&e]&a place prizes.'
  SecondRewards: '&aYou received &e[&fSecond&e]&a place prizes.'
  ThirdRewards: '&aYou received &e[&fThird&e]&a place prizes.'
  FourthRewards: '&aYou received &e[&fRunnerup&e]&a prizes.'
  FirstPot: '&aYou received &e[&f$%i&e][&fFirst&e]&a place pot.'
  SecondPot: '&aYou received &e[&f$%i&e][&fSecond&e]&a place pot.'
  ThirdPot: '&aYou received &e[&f$%i&e][&fThird&e]&a place pot.'
  FourthPot: '&aYou received &e[&f$%i&e][&fRunnersUp&e]&a pot'
  NoRewards: '&cNo rewards! Score &e[&f%i&e]&c below threshold &e[&f%i&e]'
  NoRunnerupRewards: '&cNo runnerup rewards!'
  MoneyRewards: '&aYou have recieve a &e[&f$%i&e]&a money reward'
  PayHunt: '&aPayHunt: &e[&f%s&e]&a Cost: &e[&f$%i&e]&a'
  #Huntinfo
  Huntinfo:
    Header: '&f~~~~~~~~~~~&e[&fHunt Settings&e]&f~~~~~~~~~~~'
    Mobs: '&aMobs: &e[&f%s&e]&a'
    Thresholds: '&aThresholds: &e[&f1st:%i&e][&f2nd:%i&e][&f3rd:%i&e][&fR:%i&e]'
    PVP: '&aPVP: &e[&f%s&e]&a - Death Penalty: &e[&f%i&e]'
    RunnersupRewards: '&aReward Runners-up: &e[&f%s&e]'
    BowModifier: '&aBow: &e[&f%i% Score Modifier&e]'
    EnchantmentsModifier: '&aEnchants: &e[&f%i% Score Modifier&e]'
    HuntTimes: '&aStart: &e[&f%i&e]&aticks - Finish: &e[&f%i&e]&aticks'
    HuntLength: '&aHunt Length: &e[&f%i&e]&aminutes and &e[&f%i&e]&aseconds.'
    Footer: '&f~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
  NotEnoughPlayers: '&c****NOT ENOUGH PLAYERS****'
  NoHunt: '&aThis world doesnt have a hunt!'
  CanceledHunt: '&aThe hunt has started!'
  HuntActive: '&aHunt is active!'
  HuntWaiting: '&aWaiting to commence the hunt!'
  HuntDisabled: '&cNo hunt tonight!'  
  PlayersWaiting: '&e[&f%i&e]&a players are waiting.'
  JoinMsg: '&aType /joinhunt now to join.'
  NextHunt: '&aNext hunt in &e[&f%i&e]&aminutes and &e[&f%i&e]&aseconds.'
  TooFewPlayers: '&cNo mob hunt tonight, too few players...'
  StartMsg: '&a*****START HUNTING*****'
  EndMsg: '&c*****THE HUNT IS OVER*****'
  StartTimerMsg: '&aHUNT STARTING IN...&f %i'
  EndTimerMsg: '&cHUNT ENDING IN...&f %i'
  SkipdayMsg: '&aNext hunt in &e[&f%i&e]&adays'
  ReloadMsg: '&aConfig reloaded!'
  HuntStatus: '&f~~~~~~~&e[&fHunt Status - %s&e]&f~~~~~~~'
  Commands:
    Title: '&e========[&cMobhunt %s&e]========'
    Join: '&a - Join a hunt.'
    Leave: '&a - leave a hunt.'
    Spawn: '&a - Teleport to the hunter area.'
    Info: '&a - Display current hunt information.'
    Status: '&a - Display status of the hunt.'
    Reload: '&a - Reload mobhunt the config.'
    Next: '&a - Select a new hunt.'

Hunt Areas

Version 4.0 of MobHunt brings the ability for server admins and mods to define an area, where the hunt will take place in that world. This allow for admins to create their own hunting environment, controlling the hunt area more.

Hunt areas are defined by 4 Max and Min values:

Hunt area example.

  • xmax - the maximum X coordinate value.
  • xmin - the minimum X coordinate value.
  • zmax - the maximum Z coordinate value.
  • zmin - the minimum Z coordinate value.

Use Worldedit or F3 info to get these positions:

Hunt area positions - worldedit


Comments

Posts Quoted:
Reply
Clear All Quotes