Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Jobs nie daje kasy


Rekomendowane odpowiedzi

Opublikowano

title config to ma cos takiego


# Title configuration
#
# Stores the titles people gain at certain levels.
# Each title requres to have a name, short name (used when the player has more than
# 1 job) the colour of the title and the level requrirement to attain the title.
#
# It is recommended but not required to have a title at level 0.
#
# Titles are completely optional.

Titles:
Nowicjusz:
Name: Nowicjusz
ShortName: <N>
ChatColour: WHITE
levelReq: 0
Junior:
Name: Junior
ShortName: <J>
ChatColour: GRAY
levelReq: 30
Senior:
Name: Senior
ShortName: <S>
ChatColour: GOLD
levelReq: 60
Mistrz:
Name: Mistrz
ShortName: <M>
ChatColour: BLACK
levelReq: 90

 

messages config

# Configuration file for the messages
#
# Replace the messages if you want.
#
# ChatColor.<Color> will make any words following (including spaces that colour).
#
# Supported colors:
#    AQUA
#    BLACK
#    BLUE
#    DARK_AQUA
#    DARK_BLUE
#    DARK_GRAY
#    DARK_GREEN
#    DARK_PURPLE
#    DARK_RED
#    GOLD
#    GRAY
#    GREEN
#    LIGHT_PURPLE
#    RED
#    WHITE
#    YELLOW
#
# 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.DARK_REDProsze dolaczyc do prac uzywajac ChatColor.WHITE/jobs browse.
stats-job: 'lvl%joblevel% %jobcolour%%jobname%ChatColor.WHITE : %jobexp%/%jobmaxexp%
 exp'
browse-no-jobs: There are no jobs you can join.
browse-jobs-header: Jak sie zdecydujesz na prace , wpisz /jobs join <nazwa_zawodu>
browse-jobs-footer: Informacje o zawodzie , wpisz /jobs info <nazwa_zawodu>
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: Gratulacje , zostales powolany do pracy
join-too-many-jobs: Mozesz miec tylko jedna prace !
jobs-browse: ChatColor.DARK_RED/jobs browseChatColor.WHITE - Lista wszystkich prac .
jobs-join: ChatColor.DARK_RED/jobs join <nazwa>ChatColor.WHITE - Dolacz do danej pracy .
jobs-leave: ChatColor.DARK_RED/jobs leave <nazwa>ChatColor.WHITE - Opusc dana prace .
jobs-stats: ChatColor.DARK_RED/jobs statsChatColor.WHITE - Statystyki o twoim zawodzie .
jobs-info: ChatColor.DARK_RED/jobs info <nazwa>ChatColor.WHITE - Informacje o twoim zwodzie .
jobs-admin-info: ChatColor.DARK_RED/jobs admininfo <playernick>ChatColor.WHITE - Zobacz informacje o pracy danego gracza
jobs-admin-employ: ChatColor.DARK_RED/jobs employ <playernick> <praca>ChatColor.WHITE - Danie .
jobs-admin-promotte: ChatColor.DARK_RED/jobs promote <playernick> <praca> <lvl>ChatColor.WHITE - Powiekszenie lvl pracy danego gracza .
jobs-admin-demote: ChatColor.DARK_RED/jobs demote <playernick> <praca> <lvl>ChatColor.WHITE - Zmniejszenie lvl pracy danego gracza .
jobs-admin-grantxp: ChatColor.DARK_RED/jobs grantxp <playernick> <praca> <exp>ChatColor.WHITE - Powiekszenie exp'a dla pracy danego gracza
jobs-admin-removexp: ChatColor.DARK_RED/jobs removexp <playernick> <praca> <exp>ChatColor.WHITE - Usuniecie exp'a pracy danego gracza
jobs-admin-transfer: ChatColor.DARK_RED/jobs transfer <playernick> <starapraca> <nowapraca>ChatColor.WHITE	 - Przeniesienie gracza do innej pracy
jobs-admin-reload: ChatColor.DARK_RED/jobs reloadChatColor.WHITE - Odswiezenie pluginu jobs .
break-header: 'ChatColor.DARK_REDRozwalenie:'
place-header: 'ChatColor.DARK_REDPlace:'
kill-header: 'ChatColor.DARK_REDZabijanie:'
fish-header: 'ChatColor.DARK_REDZlowic:'
craft-header: 'Craft:'
break-info-no-sub: ChatColor.WHITE    %item% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
break-info-sub: ChatColor.WHITE    %item%:%subitem% - %income% ChatColorGREENZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
place-info-no-sub: ChatColor.WHITE    %item% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
place-info-sub: ChatColor.WHITE    %item%:%subitem% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
kill-info-no-sub: ChatColor.WHITE    %item% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
kill-info-sub: ChatColor.WHITE    %item%:%subitem% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
fish-info-no-sub: ChatColor.WHITE    %item% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
fish-info-sub: ChatColor.WHITE    %item%:%subitem% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
craft-info-no-sub: ChatColor.WHITE    %item% - %income% ChatColor.DARK_REDZloteChatColor.WHITE. %experience% ChatColor.YELLOWexp
craft-info-sub: ChatColor.WHITE    %item%:%subitem% - %income% ChatColor.DARK_REDZloteChatColor.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.'
at-max-level: ChatColor.DARK_RED-- Osiagnales max poziom --
skill-up-broadcast: '%playername% awansowal na %titlecolour% w zawodzie %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: ChatColor.DARK_RED%playername%ChatColor.WHITE Osiagnal ChatColor.DARK_RED%joblevel% lewel ChatColor.WHITEw zawodzie %jobcolour%%jobname%ChatColor.WHITE
level-up-no-broadcast: You are now a level %joblevel% %jobcolour%%jobname%ChatColor.WHITE.
join-job-success: ChatColor.DARK_REDDolaczyles do zawodu %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.REDWybrales zawod ktorego nie ma!
error-no-permission: ChatColor.DARK_REDNie masz permissions!
join-too-many-job: ChatColor.DARK_REDMozesz miec jeden zawod .
leave-job-failed-too-many: ChatColor.REDMozesz miec tylko jeden zawod
leave-job-success: ChatColor.DARK_REDOpusciles zwod .
jobs-admin-fire: ChatColor.DARK_RED/jobs fire <playernick> <praca>ChatColor.WHITE - .
jobs-admin-promote: ChatColor.DARK_RED/jobs promote <playernick> <praca> <lvl>ChatColor.WHITE - Danie graczowi odpowiedni lvl.

 

Jobs config

 

 

# Jobs configuration.
#
# Stores information about each job.
#
# NOTE: When having multiple jobs, both jobs will give the income payout to the player
# even if they give the pay for one action (make the configurations with this in mind)
# and each job will get the respective experience.
#
# e.g If player has 2 jobs where job1 gives 10 income and experience for killing a player
# and job2 gives 5 income and experience for killing a player. When the user kills a player
# they will get 15 income and job1 will gain 10 experience and job2 will gain 5 experience.
Jobs:
   # must be one word
   Drwal:
    # full name of the job (displayed when browsing a job, used when joining and leaving)
    # also can be used as a prefix for the user's name if the option is enabled.
    # Shown as a prefix only when the user has 1 job.
    #
    # NOTE: Must be 1 word
    fullname: Woodcutter
    # Shortened version of the name of the job. Used as a prefix when the user has more
    # than 1 job
    shortname: <Drw>
    # The colour of the name, for a full list of supported colours, go to the message config.
    ChatColour: GREEN
    # Option to let you choose what kind of prefix this job adds to your name.
    # options are: full, title, job, shortfull, shorttitle, shortjob and none
    chat-display: none
    # [OPTIONAL] - the maximum level of this class
    max-level: 90
    # [OPTIONAL] - the maximum number of users on the server that can have this job at
    # any one time (includes offline players).
    slots: 6
    # Equation used for calculating how much experience is needed to go to the next level.
    # Available parameters:
    #   numjobs - the number of jobs the player has
    #   joblevel - the level the player has attained in the job.
    # NOTE: Please take care of the brackets when modifying this equation.
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    # Equation used for calculating how much income is given per action for the job level.
    # Available parameters:
    #   baseincome - the income for the action at level 1 (as set in the configuration).
    #   joblevel - the level the player has attained in the job.
    # NOTE: Please take care of the brackets when modifying this equation.
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
	 # Equation used for calculating how much experience is given per action for the job level.
    # Available parameters:
    #   baseexperience - the experience for the action at level 1 (as set in the configuration).
    #   joblevel - the level the player has attained in the job.
    # NOTE: Please take care of the brackets when modifying this equation.
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    ########################################################################
    # Section used to configure what items the job gets paid for, how much
    # they get paid and how much experience they gain.
    #
    # For break and place, the block name or id is used.
    # You can select a sub-type by using a '-' between the id and the bit
    # value for the sub-type. e.g LOG-0 = usual log, LOG-2 = birch log
    # 17-2 = birch log.
    #
    # If no sub-type is give, the payout will be for all sub-types.
    #
    # To get a list of all available block types, check the
    # bukkit JavaDocs for a complete list of block types
    # http://jd.bukkit.org/apidocs/org/bukkit/Material.html
    #
    # For kill tags (Kill and custom-kill), the name is the name of the
    # mob.
    # Available mobs:
    #   Chicken
    #   Cow
    #   Pig
    #   Sheep
    #   Wolf
    #   Creeper
    #   Giant
    #   Skeleton
    #   Spider
    #   Zombie
    #   PigZombie
    #   Squid
    #   Ghast
    #   Player
    #   Slime
    #
    # NOTE: mob names are case sensitive.
    #
    # For custom-kill, it is the name of the job (also case sensitive).
    #
    # NOTE: If a job has both the pay for killing a player and for killing a
    # specific class, they will get both payments.
    ########################################################################
    # payment for breaking a block
    Break:
	    # block name/id (with optional sub-type)
	    LOG:
		    # base income
		    income: 5.0
		    # base experience
		    experience: 5.0
    # payment for placing a block
    Place:
	    SAPLING:
		    income: 1.0
		    experience: 1.0
	    WOOD:
		    income: 1.0
		    experience: 2.0
    # killing a mob
    Kill:
	    # mob name
	    Player:
		    # base income
		    income: 15.0
		    # base experience
		    experience: 10.0
    # killing a jobs class
    custom-kill:
	    # full name of the jobs class
	    Drwal:
		    # base income
		    income: 15.0
		    # base experience
		    experience: 10.0
   MPCik:
    fullname: MPCik
    shortname: <G>
    ChatColour: DARK_GRAY
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 1.0
		    experience: 2.0
	    COAL_ORE:
		    income: 2.0
		    experience: 3.0
	    REDSTONE_ORE:
		    income: 3.0
		    experience: 3.0
	    IRON_ORE:
		    income: 3.0
		    experience: 3.0
	    GOLD_ORE:
		    income: 4.0
		    experience: 4.0
	    LAPIS_ORE:
		    income: 7.0
		    experience: 7.0
	    DIAMOND_ORE:
		    income: 8.0
		    experience: 8.0
	    OBSIDIAN:
		    income: 10
		    experience: 10
	    MOSSY_COBBLESTONE:
		    income: 7.0
		    experience: 7.0
    Place:
	    RAILS:
		    income: 4.0
		    experience: 4.0
	    IRON_ORE:
		    income: -4.0
		    experience: -4.0
	    GOLD_ORE:
		    income: -5.0
		    experience: -5.0
	    MOSSY_COBBLESTONE:
		    income: 8.0
		    experience: 8.0
    Kill:
	    Player:
		    income: 7.5
		    experience: 7.5
    custom-kill:
	    MPCik:
		    income: 15.0
		    experience: 10.0
   Budowniczy:
    fullname: Budowniczy
    shortname: <B>
    ChatColour: WHITE
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 0.5
		    experience: 0.5
	    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: 15.0
		    experience: 10
    custom-kill:
	    Budowniczy:
		    income: 15.0
		    experience: 10.0
   Kopacz:
    fullname: Kopacz
    shortname: <K>
    ChatColour: GOLD
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 0.5
		    experience: 0.5
	    GRASS:
		    income: -0.5
		    experience: -0.5
	    GRAVEL:
		    income: 2.0
		    experience: 2.0
	    SAND:
		    income: 2.0
		    experience: 2.0
	    CLAY:
		    income: 3.0
		    experience: 3.0
    Kill:
	    Player:
		    income: 15
		    experience: 10
    custom-kill:
	    Kopacz:
		    income: 15.0
		    experience: 10.0
   Farmer:
    fullname: Farmer
    shortname: <Fa>
    ChatColour: BLUE
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 5.0
		    experience: 5.0
	    SUGAR_CANE_BLOCK:
		    income: 2.0
		    experience: 2.0
    Place:
	    SEEDS:
		    income: 1.5
		    experience: 1.5
	    SUGAR_CANE_BLOCK:
		    income: 1.0
		    experience: 1.0
    Kill:
	    Player:
		    income: 15
		    experience: 10
    custom-kill:
	    Farmer:
		    income: 15.0
		    experience: 10.0
   Mysliwy:
    fullname: Mysliwy
    shortname: <M>
    ChatColour: DARK_RED
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 1.5
		    experience: 1.5
	    Cow:
		    income: 3.0
		    experience: 3.0
	    Pig:
		    income: 3.0
		    experience: 3.0
	    Sheep:
		    income: 1.0
		    experience: 1.0
	    Wolf:
		    income: 10.0
		    experience: 10.0
	    Creeper:
		    income: 5.0
		    experience: 5.0
	    Skeleton:
		    income: 5.0
		    experience: 5.0
	    Spider:
		    income: 5.0
		    experience: 5.0
	    Zombie:
		    income: 4.0
		    experience: 4.0
	    Player:
		    income: 20.0
		    experience: 20.0
    custom-kill:
	    Drwal:
		    income: 20.0
		    experience: 20.0
	    MPCik:
		    income: 20.0
		    experience: 20.0
	    Kopacz:
		    income: 20.0
		    experience: 20.0
	    Farmer:
		    income: 20.0
		    experience: 20.0
	    Budowniczy:
		    income: 20.0
		    experience: 20.0
	    Mysliwy:
		    income: 10.0
		    experience: 10.0

   Rybak:
    fullname: Rybak
    shortname: <Ry>
    ChatColour: AQUA
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 15.0
		    experience: 15.0
    Kill:
	    Player:
		    income: 15.0
		    experience: 15.0
    custom-kill:
	    Rybak:
		    income: 5.0
		    experience: 5.0

   Kowal:
    fullname: Kowal
    shortname: <Ko>
    ChatColour: DARK_PURPLE
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 5.0
		    experience: 5.0
	    IRON_SWORD:
		    income: 10.0
		    experience: 10.0
	    GOLD_SWORD:
		    income: 25.0
		    experience: 25.0
	    DIAMOND_SWORD:
		    income: 20.0
		    experience: 20.0
   Nikt:
    fullname: Nikt
    shortname: <N>
    ChatColour: WHITE
    chat-display: none
    #max-level: 90
    #slots: 6
    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: 15.0

 

 

 

 

GENERAL CONFIG

 

 

# General configuration.
#
#   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, h2
storage-method: h2
# Requires Mysql.
mysql-username: root
mysql-password:
mysql-database: minecraft
mysql-url: jdbc:mysql://localhost:3306/
#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: true
# Do all players get a message when somone goes up a job level?
broadcast-on-level-up: true
# maximum number of jobs a player can join
max-jobs: 1
# option to enable the stats and achievements plugin.
enable-stats: true
# option to allow payment to be made when near a spawner
enable-pay-near-spawner: true
# choose, which economy plugin should be used as default (optional)
# if not set, will use iConomy first
# available options: iConomy, BOSEconomy, Essentials
economy: iConomy

0f075a4ee30d.png.html>szymoczek zaprasza.png
Opublikowano

permission nic nie zdziała bo bez tego powinno dawać kasę.

Jedynie aktualizacja. Ja też tak miałem i aktualizacja pomogla.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...