Config File

Default config file (since version 1.3.0)

#==================
#   MoneyThief
#==================

#==================
#     General
#==================

# Check for updates
update-check: true

# Log kills
enable-logging: true

# Notify server if a mob is missing in config
notify-missing-mob: true

#==================
#     Metrics
#==================

#Allows the plugin to send anonymous usage statistics to mcstats.org
metrics: true

#==================
#       PVP
#==================

pvp:
  # Percent of money that a player loses when killed via PVP
  percent-taken: 10
  # Percent of money victim loses that doesn't go to killer
  percent-lost: 10

#==================
#       PVE
#==================
pve:
  # Percent of money that a player loses when killed via PVE
  percent-lost: 5
  # Artificially spawned mobs yeild rewards
  artificial-spawn: true

#==================
#    Messages
#==================
  # All messages can be processed with the following codes:
  #   \n - New line
  #   &X - Colour code
  #
  # == How Majors and Minors work ==
  #   The major is the whole integer, unrounded. The minor is the decimal of a value multiplied by 100.
  #   You can use them to represent for example gold and silver coins.
  #   ex) If a player gains $12.34, the major would be 12 and the minor would be 53. Thus:
  #      "Player gained 12 gold coins and 34 silver coins."

message:
  general:
    no-perms: "&4Bugger off, you don't have the right permissions!"

  pvp:
      # PVP messages can be processed with the following codes:
      #   %VICTIM - Player who was killed
      #   %KILLER - Player who killed %VICTIM
      #   %MONEYTAKEN - Total money take from %VICTIM
      #     %MAJORTAKEN - Major of %MONEYTAKEN
      #     %MINORTAKEN - Minor of %MONEYTAKEN
      #   %MONEYLOST - Money lost from %MONEYTAKEN
      #     %MAJORLOST - Major of %MONEYLOST
      #     %MINORLOST - Minor of %MONEYLOST
      #   %MONEYGAINED - Money given to %KILLER
      #     %MAJORGAINED - Major of %MONEYGAINED
      #     %MINORGAINED - Minor of %MONEYGAINED

    # Sent to the victim/killer respectively upon a pvp event
    victim: "&6You were killed by %KILLER&6.\n&6You lost $%MONEYTAKEN, and $%MONEYLOST of it disappeared into the aether."
    killer: "&6You killed %VICTIM&6, and looted $%MONEYGAINED off of the body."

    # Sent to the victim/killer respectively upon a pvp event when victim has no money
    victim-zero: "&6You were killed by %KILLER&6, but you had nothing to lose!"
    killer-zero: "&6You killed %VICTIM&6, but they had no money to loot."

    # Replaces pvp death messages. Set to "none" to not change message, set to "disable" to disable it entirely.
    death-message: "none"

  pve:
      # PVE messages can be processed with the following codes:
      #   %MOBNAME - Name of the mob in question
      #   %A - 'a' or 'an', depending on %MOBNAME
      #   %MONEY - Money gained/lost (depending on situation)
      #     %MAJOR - Major of %MONEY
      #     %MINOR - Minor of %MONEY
      #   %CAUSE - Cause of death when not a mob

    # Sent to player when they kill a mob
    killer: "&6You gained $%MONEY for killing %A %MOBNAME."

    # Sent to the player when killed by a mob
    victim-mob: "&6You were killed by %A %MOBNAME, and $%MONEY disappeared into the aether."
    victim-mob-zero: "&6You were killed by %A %MOBNAME, but you had nothing to lose!"

    # Sent to player when killed by not a mob
    victim-env: "&6You died from %CAUSE, and $%MONEY disappeared into the aether."
    victim-env-zero: "&6You died from %CAUSE, but had nothing to lose!"

    # Used as %CAUSE when death cause is unknown
    generic-cause: "something"

    # Replaces PVE death messages. Set to "none" to not change message, set to "disable" to disable it entirely.
    death-message: "none"

#==================
#      Groups
#==================
groups:
  # Groups are expandable. First, name the group. Second, you need two arguments.
  # - The first argument is the bonus they receive for killing a mob.
  # - The second argument is the reduction they get for dying to a pve event.
  # Here's an example:
  #vip:
  #- 2.0
  #- 0.5
  # In this example, anyone in the group 'vip' will receive twice as much
  # for killing a mob, and half as much for dying to pve event.
  #
  # To use what's created here, give the player in question the permission node "moneythief.group.<name>".
  # Thus, to use vip you would give the group in your permissions plugin "moneythief.group.vip".
  #   - This is so that it's compatible with any permission plugin you wish to use.


#==================
#       Mobs
#==================
  # Mobs are expandable. If I've missed one, simply put it's name below.
  # Mobs have two values, a high and a low. The value given to the killer
  # randomly calculated between the two values.
mobs:
  PIG:
  - 5.0
  - 10.0
  COW:
  - 5.0
  - 10.0
  SHEEP:
  - 5.0
  - 10.0
  CHICKEN:
  - 5.0
  - 10.0
  BAT:
  - 5.0
  - 10.0
  RABBIT:
  - 5.0
  - 10.0
  SNOWMAN:
  - 5.0
  - 10.0
  IRON_GOLEM:
  - 5.0
  - 10.0
  MUSHROOM_COW:
  - 5.0
  - 10.0
  OCELOT:
  - 5.0
  - 10.0
  SQUID:
  - 5.0
  - 10.0
  VILLAGER:
  - 5.0
  - 10.0
  WOLF:
  - 5.0
  - 10.0
  HORSE:
  - 5.0
  - 10.0
  CAVE_SPIDER:
  - 10.0
  - 20.0
  SLIME:
  - 5.0
  - 10.0
  CREEPER:
  - 10.0
  - 20.0
  SKELETON:
  - 10.0
  - 20.0
  ZOMBIE:
  - 10.0
  - 20.0
  ENDER_DRAGON:
  - 150.0
  - 200.0
  ENDERMAN:
  - 10.0
  - 20.0
  ENDERMITE:
  - 5.0
  - 10.0
  GHAST:
  - 10.0
  - 20.0
  GUARDIAN:
  - 10.0
  - 20.0
  MAGMA_CUBE:
  - 10.0
  - 20.0
  PIG_ZOMBIE:
  - 10.0
  - 20.0
  SILVERFISH:
  - 10.0
  - 20.0
  SPIDER:
  - 10.0
  - 20.0
  WITCH:
  - 10.0
  - 20.0
  WITHER:
  - 150.0
  - 200.0
  # When enabled, DEFAULT will apply to any mob that's not listed here.
  #DEFAULT:
  #- 5.0
  #- 10.0

Old config file (version 1.2.13)

#==================
#   MoneyThief
#==================

#==================
#     Metrics
#==================

#Allows the plugin to send anonymous usage statistics to Metrics
metrics: true

#==================
#       PVP
#==================

#The percentage of money that is taken from the victim
gained: 10
#The percentage of the previous percentage that is lost into nothingness (does NOT go to killer)
lost: 10
#The percentage of money that is lost if a player dies due to a mob or the environment (PVE)
lostpve: 5

#Set this to false to stop update checks
update-check: true

#Whether or not to log kills
enable-logging: true

#Whether or not artificially spawned mobs will return rewards
artificial-spawn: true

#== How Majors and Minors work ==
#The major is the whole integer, unrounded. The minor is the decimal of a value multiplied by 100.
#You can use them to represent for example gold and silver coins.
#ex) If a player gains $12.34, the major would be 12 and the minor would be 53. Thus:
#    "Player gained 12 gold coins and 34 silver coins."
#See the following comments to see what codes you can use for majors and minors.

#Messages that go to killer and victim upon player kill event
pk: #Set any of the messages to "none" to disable them.
    #After %VICTIM or %KILLER, you need to put back the colour code.
    #This is due to how minecraft puts a reset code at the end of usernames.
    # %MAJOR   %MINOR   %VICTIM    %MONEYGAINED
  killerone: "&6You killed %VICTIM&6, and looted $%MONEYGAINED off of the body."
  victimone: "&6You were killed by %KILLER&6."
    # %MAJORTAKEN   %MAJORLOST   %MINORTAKEN   %MINORLOST   %MONEYTAKEN   %MONEYLOST
  victimtwo: "&6You lost $%MONEYTAKEN, and $%MONEYLOST disappeared into the aether."
  #Messages that are sent when the victim has no money
    # %VICTIM
  killerzero: "&6You killed %VICTIM&6, but they had no money to loot."
    # %KILLER
  victimzero: "&6You were killed by %KILLER&6, but you had nothing to lose!"

#Messages that go to the killer upon mob kill event
mk: #Set to "none" to disable
    # %MAJOR    %MINOR   %MONEYGAINED   %MOBNAME
  killer: "&6You gained $%MONEYGAINED for killing %A %MOBNAME."
             #Based on the mob name, '%A' will be replaced with 'a' or 'an'.

#Messages that go to player upon death from a mob    
md: #Set to "none" to disable
    # %MAJOR   %MINOR   %MOBNAME   %MONEYLOST   %A
  victim: "&6You were killed by %A %MOBNAME, and $%MONEYLOST disappeared into the aether."
             #Based on the mob name, '%A' will be replaced with 'a' or 'an'.
  #Messages that are sent when the victim has no money
    # %MOBNAME   %A
  victimzero: "&6You were killed by %A %MOBNAME, but you had nothing to lose!"

#Messages that go to player upon death from environment (not mob or player)
ed:     # %CAUSE   %MONEYLOST   %MAJOR   %MINOR
  victim: "&6You died from %CAUSE, and $%MONEYLOST disappeared into the aether."
        # %CAUSE
  victimzero: "&6You died from %CAUSE, but had nothing to lose!"
        # Generic death cause if no cause could be determined
  genericcause: "something"

#Message that is sent if a player runs a command they don't have perms for
noperms: "&4Bugger off, you don't have the right permissions!"

#Message that replaces default death message on a pvp death event
#Set to "none" to not change message, set to "disable" to disable it
#   %VICTIM    %KILLER
pvpmessage: "none"
#Message that replaces default death message when killed by a mob
#Set to "none" to not change message, set to "disable" to disable it
#   %VICTIM    %MOBNAME
pvemessage: "none"

#==================
#      PVE
#==================

mobs: #Mobs are expandable. If I've missed one, simply put it's name below
      #Mobs have two values, a high and a low. The value given to the killer
      #  randomly set between the two values.
#Passive Mobs
  PIG:
  - 5.0
  - 10.0
  COW:
  - 5.0
  - 10.0
  SHEEP:
  - 5.0
  - 10.0
  CHICKEN:
  - 5.0
  - 10.0
  BAT: 
  - 5.0
  - 10.0
  RABBIT:
  - 5.0
  - 10.0
  SNOWMAN:
  - 5.0
  - 10.0
  IRON_GOLEM:
  - 5.0
  - 10.0
  MUSHROOM_COW:
  - 5.0
  - 10.0
  OCELOT:
  - 5.0
  - 10.0
  SQUID:
  - 5.0
  - 10.0
  VILLAGER:
  - 5.0
  - 10.0
  WOLF:
  - 5.0
  - 10.0
  HORSE:
  - 5.0
  - 10.0
#Hostile Mobs
  CAVE_SPIDER: 
  - 10.0
  - 20.0
  SLIME:
  - 5.0
  - 10.0
  CREEPER:  
  - 10.0
  - 20.0
  SKELETON:  
  - 10.0
  - 20.0
  ZOMBIE:  
  - 10.0
  - 20.0
  ENDER_DRAGON: 
  - 150.0
  - 200.0
  ENDERMAN:  
  - 10.0
  - 20.0
  ENDERMITE: 
  - 5.0
  - 10.0
  GHAST:  
  - 10.0
  - 20.0
  GUARDIAN:  
  - 10.0
  - 20.0
  MAGMA_CUBE:  
  - 10.0
  - 20.0
  PIG_ZOMBIE:  
  - 10.0
  - 20.0
  SILVERFISH: 
  - 10.0
  - 20.0
  SPIDER: 
  - 10.0
  - 20.0
  WITCH:  
  - 10.0
  - 20.0
  WITHER: 
  - 150.0
  - 200.0

Default songOne.yml file (since 1.2.0).

There are three song files, due to the similarities between them only this one will be posted.

#-=-=-==--==-=-=-=-#
#  MUSIC CONFIG 1  #
#-=-=-==--==-=-=-=-#

#In this config, you can set what song plays to KILLER when:
#  KILLER kills MOB
#
#An example of a note to be played is:
#0:
#  tone: A
#  type: 1
#  octave: 0
#  instrum: PIANO
#  time: 0
#
#This will play the note 'A sharp' in the first octave using
#  the piano instrument, after 0 ticks
#
#A breakdown of the syntax:
#0: Can be any integer, is the id of the note. You CANNOT skip any integers.
#  tone: The name of the note to play
#  type: Modifies the note. (0 is natural | 1 is shard | 2 is flat)
#  octave: Octave of the note. Can be 0 or 1.
#  instrum: The instrument.
#  time: Delay before the note plays, in ticks.
#
#Instrument list:
#  BASS_DRUM
#  BASS_GUITAR
#  PIANO
#  SNARE_DRUM
#  STICKS

0:
  tone: E
  type: 0
  octave: 0
  instrum: PIANO
  time: 0
1:
  tone: E
  type: 0
  octave: 0
  instrum: PIANO
  time: 4
2:
  tone: C
  type: 1
  octave: 0
  instrum: PIANO
  time: 8
3:
  tone: E
  type: 0
  octave: 0
  instrum: PIANO
  time: 12
4:
  tone: A
  type: 0
  octave: 1
  instrum: PIANO
  time: 16

Comments

Posts Quoted:
Reply
Clear All Quotes