phrstbrn/Jobs — pull request #14 by megge (2012-03-31 13:29:13+00:00)
Title: Restriction Levels

Hi,
I added "restriction levels" to all job types. I had the problem "Why would one want to buy Armor, Food etc if he is able to craft it himself" on my server, so I wrote this tiny addition.
It works that way: in the jobs config, you can assign a double "restrict" value to blocks, kills etc. When performing an action (ex. Break Block A), all restrict values of your jobs are compared and the sign of highest absolute value decides wether the action is blocked or allowed. I find this useful for servers with heavy RPG orientation, as this leads to depencies and interaction between jobs.

Things todo: Output restriction in stats + bugtesting