عکس hamid0740
This is an advanced version of EconomyJob including a UIPHP
موضوع‌ها
۷
فورک‌ها
۵
ستاره‌ها
۱۰
تاریخ ایجاد
۱۱ مرداد ۱۳۹۹
آخرین بروزرسانی
حدود ۱ سال قبل
لایسنس
Apache License 2.0

JobUI

Plugin Status Plugin Version Downloads Total Downloads

  • !!! IMPORTANT !!! if you have installed this plugin before, remove the plugin_data/JobUI folder then the new Yaml files will be created.
  • Simple Mode & Goal Mode Jobs are supported. By joining SimpleMode Jobs when you do 1 mission you will earn the specified money. By joining GoalMode Jobs when you complete the Goal you will earn the specified salary. You can change the Modes of jobs in plugin_data/JobUI/jobs.yml
  • Customisable and Infinite Jobs are supported. You can edit or add jobs in plugin_data/JobUI/jobs.yml.
  • Customisable Messages are supported. You can change them in plugin_data/JobUI/messages.yml
  • I changed the default permissions to "op" to prevent earning money in a "Build and Mine Protected World" like Lobby.
  • You will learn how to let players Join Jobs and Earn Money only in a specified world, but before you need to install the PurePerms plugin.
  • Thanks to @H3xmor to help me on the line 486

    Default Jobs

  • Tree-Cutter: By joining this job, when you break any kind of logs with any directions you will earn 25$.
  • Miner: By joining this job, when you break Stone you will earn 25$, when you break Coal Ore you will earn 30$ and when you break Iron Ore you will earn 35$.
  • Hunter: By joining this job, when you kill a Mob(Animal or Monster) you will earn 30$.
  • Murderer: By joining this job, when you kill a Player you will earn 50$.
  • Tree-Cutter-Goal: By joining this job, when you break 20 Blocks of any kind of logs with any directions you will earn 500$.
  • Miner-Goal: By joining this job, when you break 20 Blocks of Stone, Coal ore or Iron ore you will earn 600$.
  • Hunter-Goal: By joining this job, when you kill 20 Mobs(Animal or Monster) you will earn 600$.
  • Murderer-Goal: By joining this job, when you kill 20 Players you will earn 1000$.

    Dependencies:

  • EconomyAPI by onebone [Download] [GitHub] (Required)
  • PurePerms by 64FF00 [Download] [GitHub] (Optional)
  • MineReset by falkirks [Download] [GitHub] (Optional)
  • PureEntitiesX by RevivalPMMP [Download] [GitHub] (Optional)

    How to let players Join Jobs and Earn Money only in a specified world?

  • As I said you need to install the PurePerms plugin.
  • Before completing the next steps, make sure that enable-multiworld-perms has been set to true in plugin_data/PurePerms/config.yml.
  • Open this file path plugin_data/PurePerms/groups.yml. Then the only thing that you should do is to add the world and permissions to the Group you want. I will give an example below: ```yaml

Guest: alias: gst isDefault: true inheritance: [] permissions: worlds: Mine: isDefault: true permissions: - jobui.job.tree-cutter - jobui.job.miner - jobui.job.tree-cutter-goal - jobui.job.miner-goal - jobui.earn.break - jobui.progress.break Survival: isDefault: true permissions: - jobui.job.hunter - jobui.job.hunter-goal - jobui.earn.hunter - jobui.progress.hunter PvP: isDefault: true permissions: - jobui.job.murderer - jobui.job.murderer-goal - jobui.earn.murderer - jobui.progress.murderer

...

* If a player is in the Guest group, he will be able to join "Tree-Cutter" & "Miner" & "Tree-Cutter-Goal" & "Miner-Goal" job only in the "Mine" world
* If a player is in the Guest group, he will be able to join "Hunter" & "Hunter-Goal" job only in the "Survival" world
* If a player is in the Guest group, he will be able to join "Murderer" & "Murderer-Goal" job only in the "PvP" world
* Also, he will be able to earn money or increase the progress of a job by a "Breaking" MissionType only in the "Mine" world
* Also, he will be able to earn money or increase the progress of a job by a "Hunter" MissionType only in the "Survival" world
* Also, he will be able to earn money or increase the progress of a job by a "Murderer" MissionType only in the "PvP" world
### Image
![Image](http://www.mediafire.com/convkey/c57e/26ld17819ayjny3zg.jpg)
### Video
[![Video](https://img.youtube.com/vi/kkwxWiDJZ2k/0.jpg)](https://www.youtube.com/watch?v=kkwxWiDJZ2k)
### To-Do list
* [X] Adding Customizable feature for jobs, so that you will be able to add more jobs
* [X] Adding Customizable feature for texts of the UI and every messages
* [X] Adding Customizable feature for Button names and Images for JobJoinUI
* [X] Adding "Hunter" & "Murderer" MissionType
* [X] Adding Job Modes(Simple Mode and Goal Mode)
### Permissions and Commands:
Permission | Command | Default | About
---------- | ------- | ------- | -----
jobui.* | - | op | Able to use all commands, all earning ways and join all of the jobs of JobUI plugin
jobui.job.* | - | op | Able to join all of the jobs
jobui.command.job | /job | true | Able to see the UI of the Jobs
jobui.command.retire | /retire | true | Able to be retired 
jobui.earn.break | - | op | Able to earn money by a Breaking Job
jobui.earn.place | - | op | Able to earn money by a Placing Job
jobui.earn.hunter | - | op | Able to earn money by a Killing Mobs Job
jobui.earn.murderer | - | op | Able to increase the progress of a job by a Killing Players Job
jobui.progress.break | - | op | Able to increase the progress of a job by a Breaking Job
jobui.progress.place | - | op | Able to increase the progress of a job by a Placing Job
jobui.progress.hunter | - | op | Able to increase the progress of a job by a Killing Mobs Job
jobui.progress.murderer | - | op | Able to increase the progress of a job by a Killing Players Job
* You can edit each Job permission in `plugin_data/JobUI/jobs.yml`

پروژه‌های مشابه

پروژه ای یافت نشد.