#18 Příspěvekod fantomas2 » 26 lis 2012, 17:43
Chcem to tiež, tiež mi to nefunguje ... používam chatmanager !
config jobs:
Kód: Vybrat vše
Jobs configuration.
#
# Stores information about each job.
#
# For example configurations, visit http://dev.bukkit.org/server-mods/jobs/.
Jobs:
Woodcutter:
fullname: Woodcutter
shortname: W
ChatColour: GREEN
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Break:
LOG:
income: 5.0
experience: 5.0
Place:
SAPLING:
income: 1.0
experience: 1.0
WOOD:
income: 2.0
experience: 2.0
Kill:
Player:
income: 7.5
experience: 7.5
custom-kill:
Woodcutter:
income: 10.0
experience: 10.0
permissions:
aaaaaatest.node:
value: true
level: 0
aaaaaatest.node2:
value: true
level: 10
Miner:
fullname: Miner
shortname: M
ChatColour: DARK_GRAY
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Break:
STONE:
income: 2.0
experience: 2.0
COAL_ORE:
income: 3.0
experience: 3.0
REDSTONE_ORE:
income: 3.0
experience: 3.0
IRON_ORE:
income: 4.0
experience: 4.0
GOLD_ORE:
income: 5.0
experience: 5.0
LAPIS_ORE:
income: 5.0
experience: 5.0
DIAMOND_ORE:
income: 6.0
experience: 6.0
OBSIDIAN:
income: 7.5
experience: 7.5
MOSSY_COBBLESTONE:
income: 6.0
experience: 6.0
Place:
RAILS:
income: 2.0
experience: 2.0
IRON_ORE:
income: -5.0
experience: -5.0
GOLD_ORE:
income: -6.0
experience: -6.0
Kill:
Player:
income: 7.5
experience: 7.5
custom-kill:
Miner:
income: 10.0
experience: 10.0
Builder:
fullname: Builder
shortname: B
ChatColour: WHITE
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Place:
COBBLESTONE:
income: 1.0
experience: 1.0
WOOD:
income: 1.5
experience: 1.5
FENCE:
income: 1.5
experience: 1.5
WOOL:
income: 1.5
experience: 1.5
STONE:
income: 2.25
experience: 2.25
GLOWSTONE:
income: 3.0
experience: 3.0
SANDSTONE:
income: 2.0
experience: 2.0
GLASS:
income: 3.0
experience: 3.0
BRICK:
income: 4.0
experience: 4.0
LAPIS_BLOCK:
income: 5.0
experience: 5.0
DOUBLE_STEP:
income: 2.0
experience: 2.0
STEP:
income: 2.0
experience: 2.0
BOOKSHELF:
income: 3.0
experience: 3.0
WOOD_STAIRS:
income: 2.0
experience: 2.0
COBBLESTONE_STAIRS:
income: 2.0
experience: 2.0
MOSSY_COBBLESTONE:
income: 5.0
experience: 5.0
DIAMOND_BLOCK:
income: 5.0
experience: 5.0
GOLD_BLOCK:
income: 5.0
experience: 5.0
Kill:
Player:
income: 7.5
experience: 7.5
custom-kill:
Builder:
income: 10.0
experience: 10.0
Digger:
fullname: Digger
shortname: D
ChatColour: GOLD
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Break:
DIRT:
income: 2.0
experience: 2.0
GRASS:
income: 2.0
experience: 2.0
GRAVEL:
income: 2.0
experience: 2.0
SAND:
income: 2.0
experience: 2.0
CLAY:
income: 2.0
experience: 2.0
Kill:
Player:
income: 7.5
experience: 7.5
custom-kill:
Digger:
income: 10.0
experience: 10.0
Farmer:
fullname: Farmer
shortname: Fa
ChatColour: BLUE
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Break:
CROPS-7:
income: 4.0
experience: 4.0
SUGAR_CANE_BLOCK:
income: 4.0
experience: 4.0
Place:
CROPS-0:
income: 3.0
experience: 3.0
SUGAR_CANE_BLOCK:
income: 1.0
experience: 1.0
Kill:
Player:
income: 7.5
experience: 7.5
custom-kill:
Farmer:
income: 10.0
experience: 10.0
Hunter:
fullname: Hunter
shortname: H
ChatColour: RED
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Kill:
Chicken:
income: 2.5
experience: 2.5
Cow:
income: 2.5
experience: 2.5
Pig:
income: 2.5
experience: 2.5
Sheep:
income: 2.5
experience: 2.5
Wolf:
income: 5.0
experience: 5.0
Creeper:
income: 10.0
experience: 10.0
Skeleton:
income: 10.0
experience: 10.0
Spider:
income: 10.0
experience: 10.0
Zombie:
income: 10.0
experience: 10.0
Player:
income: 7.5
experience: 7.5
custom-kill:
Woodcutter:
income: 10.0
experience: 10.0
Miner:
income: 10.0
experience: 10.0
Digger:
income: 10.0
experience: 10.0
Farmer:
income: 10.0
experience: 10.0
Builder:
income: 10.0
experience: 10.0
Hunter:
income: 20.0
experience: 20.0
Fisherman:
fullname: Fisherman
shortname: Fi
ChatColour: AQUA
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Fish:
RAW_FISH:
income: 4.0
experience: 4.0
Kill:
Player:
income: 7.5
experience: 7.5
custom-kill:
Fisherman:
income: 10.0
experience: 10.0
Weaponsmith:
fullname: Weaponsmith
shortname: W
ChatColour: DARK_PURPLE
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Craft:
WOOD_SWORD:
income: 1.0
experience: 1.0
IRON_SWORD:
income: 2.0
experience: 2.0
GOLD_SWORD:
income: 3.0
experience: 3.0
DIAMOND_SWORD:
income: 4.0
experience: 4.0
Smelt:
IRON_INGOT:
income: 2.0
experience: 2.0
GOLD_INGOT:
income: 2.0
experience: 2.0
Brewer:
fullname: Brewer
shortname: Br
ChatColour: LIGHT_PURPLE
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Brew:
NETHER_STALK:
income: 1.0
experience: 1.0
REDSTONE_DUST:
income: 2.0
experience: 2.0
GLOWSTONE_DUST:
income: 2.0
experience: 2.0
SPIDER_EYE:
income: 2.0
experience: 2.0
FERMENTED_SPIDER_EYE:
income: 2.0
experience: 2.0
BLAZE_POWDER:
income: 2.0
experience: 2.0
SUGAR:
income: 2.0
experience: 2.0
SPECKLED_MELON:
income: 4.0
experience: 4.0
MAGMA_CREAM:
income: 4.0
experience: 4.0
GHAST_TEAR:
income: 4.0
experience: 4.0
Enchanter:
fullname: Enchanter
shortname: E
ChatColour: DARK_BLUE
chat-display: full
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Enchant:
WOOD_SWORD:
income: 4.0
experience: 4.0
IRON_SWORD:
income: 6.0
experience: 6.0
GOLD_SWORD:
income: 8.0
experience: 8.0
DIAMOND_SWORD:
income: 10.0
experience: 10.0
None:
fullname: None
shortname: N
ChatColour: WHITE
chat-display: none
leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
income-progression-equation: baseincome*((1.05)^(joblevel-1))
experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
Kill:
Player:
income: 7.5
Genral config
Kód: Vybrat vše
# The general configuration for the jobs plugin mostly includes how often the plugin
# saves user data (when the user is in the game), the storage method, whether
# to broadcast a message to the server when a user goes up a skill level.
# It also allows admins to set the maximum number of jobs a player can have at
# any one time.
# storage method, can be MySQL, sqlite, h2
storage-method: sqlite
# Requires Mysql.
mysql-username: root
mysql-password: ''
mysql-url: jdbc:mysql://localhost:3306/minecraft
mysql-table-prefix: ''
# How often in minutes you want it to save, 0 disables periodic saving and
# the system will only save on logout
save-period: 10
# Do all players get a message when somone goes up a skill level?
broadcast-on-skill-up: false
# Do all players get a message when somone goes up a level?
broadcast-on-level-up: false
# Maximum number of jobs a player can join.
# Use 0 for no maximum
max-jobs: 3
# Hide jobs from player if they lack the permission to join the job
hide-jobs-without-permission: false
# option to allow payment to be made when killing mobs from a spawner
enable-pay-near-spawner: false
# option to allow payment to be made in creative mode
enable-pay-creative: false
# Modifys chat to add chat titles. If you're using a chat manager, you may add the tag {jobs} to your chat format and disable this.
modify-chat: true
# Changes how how many players are paid per payment batch. Setting this too high may cause tick lag.
economy-batch-size: 1
# Changes how often, in seconds, players are paid out. Default is 5 seconds.
# Setting this too low may cause tick lag. Increase this to improve economy performance (at the cost of delays in payment)
economy-batch-delay: 5
Message config
Kód: Vybrat vše
# Configuration file for the messages
#
# Replace the messages if you want.
#
# ChatColor.<Color> will make any words following (including spaces that colour).
#
# Supported colors:
# BLACK
# DARK_BLUE
# DARK_GREEN
# DARK_AQUA
# DARK_RED
# DARK_PURPLE
# GOLD
# GRAY
# DARK_GRAY
# BLUE
# GREEN
# AQUA
# RED
# LIGHT_PURPLE
# YELLOW
# WHITE
#
# Each message has slightly different parameters. The parameters available
# are the ones that are already in the message (and none others)
#
# NOTE:
# Any character other than normal characters will not get read and will crash the
# configuration.
stats-no-job: ChatColor.REDPlease join a job first.
stats-job: 'lvl%joblevel% %jobcolour%%jobname%ChatColor.WHITE : %jobexp%/%jobmaxexp%
exp'
browse-no-jobs: There are no jobs you can join.
browse-jobs-header: 'You are allowed to join the following jobs :'
browse-jobs-footer: For more information type in /jobs info [JobName]
admin-command-success: Your command has been performed.
admin-command-failed: ChatColor.REDThere was an error in the command.
fire-target: You have been fired from %jobcolour%%jobname%.
fire-target-no-job: Plyer does not have the job %jobcolour%%jobname%.
employ-target: You have been employed in %jobcolour%%jobname%.
promote-target: You have been promoted %levelsgained% levels in %jobcolour%%jobname%.
demote-target: You have been demoted %levelslost% levels in %jobcolour%%jobname%.
grantxp-target: You have been granted %expgained% experience in %jobcolour%%jobname%.
removexp-target: You have lost %explost% experience in %jobcolour%%jobname%.
transfer-target: You have been transferred from %oldjobcolour%%oldjobname% to %newjobcolour%%newjobname%.
join-too-many-jobs: ChatColor.REDYou have already joined too many jobs.
break-header: 'Break:'
place-header: 'Place:'
kill-header: 'Kill:'
fish-header: 'Fish:'
craft-header: 'Craft:'
smelt-header: 'Smelt:'
brew-header: 'Brew:'
enchant-header: Enchant
break-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
break-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
place-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
place-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
kill-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
kill-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
fish-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
fish-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
craft-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
craft-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
smelt-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
smelt-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
brew-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
brew-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
enchant-info-no-sub: ChatColor.WHITE %item% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
enchant-info-sub: ChatColor.WHITE %item%:%subitem% - %income% ChatColor.GREENincomeChatColor.WHITE. %experience% ChatColor.YELLOWexp
break-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money for breaking anything.'
place-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money for placing anything.'
kill-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money for killing anything.'
fish-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money for fishing.'
craft-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money from crafting.'
smelt-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money from smelting.'
brew-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money from brewing.'
enchant-none: '%jobcolour%%jobname%ChatColor.WHITE does not get money from enchanting.'
at-max-level: ChatColor.YELLOW-- You have reached the maximum level --
skill-up-broadcast: '%playername% has been promoted to a %titlecolour%%titlename%
%jobcolour%%jobname%ChatColor.WHITE.'
skill-up-no-broadcast: Congratulations, you have been promoted to a %titlecolour%%titlename% %jobcolour%%jobname%ChatColor.WHITE.
level-up-broadcast: '%playername% is now a level %joblevel% %jobcolour%%jobname%ChatColor.WHITE.'
level-up-no-broadcast: You are now a level %joblevel% %jobcolour%%jobname%ChatColor.WHITE.
join-job-success: You have joined the job %jobcolour%%jobname%ChatColor.WHITE.
join-job-failed-already-in: You are already in the job %jobcolour%%jobname%ChatColor.WHITE.
join-job-failed-too-many: You have already joined too many jobs.
join-job-failed-no-slots: You cannot join the job %jobcolour%%jobname%ChatColor.WHITE, there are no slots available.
leave-job-sucess: You have left the job %jobcolour%%jobname%ChatColor.WHITE.
error-no-job: ChatColor.REDThe job you have selected does not exist!
error-no-permission: ChatColor.REDYou do not have permission to do that!
join-too-many-job: ChatColor.REDYou have joined too many jobs.
leave-job-failed-too-many: ChatColor.REDYou have joined too many jobs!
leave-job-success: You have left the job %jobcolour%%jobname%ChatColor.WHITE.
ChatManager config
Kód: Vybrat vše
enable: true
message-format: <%prefix%player%suffix> %message
global-message-format: <%prefix%player%suffix> &e%message
ranged-mode: false
chat-range: 100.0
Tvorba web stránok zdarma pro velké herné portály, ozvi se SZ.