1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00
Commit Graph

505 Commits

Author SHA1 Message Date
montlikadani
aadf514dba Fix #323 /jobs employ if target has, then checked the permission at the target
- Now checking correctly for plants when break
2019-01-05 19:01:27 +01:00
montlikadani
33c1bb961d Added some 1.13 blocks
- Some command permission fixes
- Now used UTF-8 in the MySQL, #147
- Fix last commit when a player level up or skill up and broadcast
2019-01-04 20:46:32 +01:00
Narimm
b29da9cead Add a feature that will decrease earnings at cap by a factored amount using the equation
(100/((1/factor*percentOver*percentOver)+1)) ie a pop growth curve.
2019-01-04 07:42:17 +10:00
Zrips
0aeb4e383b So lets do it in packets, everyone loves packets. 2019-01-01 18:12:30 +02:00
montlikadani
6709abca2f Fixed issue with colors not work, #267 2018-12-31 13:01:53 +01:00
montlikadani
432cbbbd09 Global toplist scoreboard now work on 1.13
- Fixed if the furnace or brewingstand reassign is disabled then saved the datas to file again again...
2018-12-30 21:22:07 +01:00
Zrips
800aab1a3b Merge branch 'master' of https://github.com/Zrips/Jobs.git 2018-12-28 17:03:27 +02:00
Zrips
46581093fc We dont need this as this should be checking by sender not by target 2018-12-28 17:03:00 +02:00
montlikadani
af54c5c513 Hotfix for running command 2018-12-27 16:29:11 +01:00
montlikadani
82d0af935d New command: /jobs level
Suggested by: Rangewonk / SlVlR (on Discord)
2018-12-27 16:23:56 +01:00
Zrips
64b9b35e58 Lets automatically update plugins version in plugin.yml by pom.xml 2018-12-27 16:10:11 +02:00
Zrips
7c5a03afb6 Slab type correct check when running on older versions 2018-12-27 14:02:47 +02:00
Zrips
98cd4dee23 new command to display posible placeholders
Some complexing for similar placeholders
2018-12-27 13:10:12 +02:00
Zrips
0849d5532d Fix for some placeholders and renaming them to be more obvious what they
do

Extra placeholders
2018-12-27 12:07:14 +02:00
montlikadani
2b09ae73d6 Added some PAPI placeholders
- Fix double checked Exception throws
2018-12-26 14:08:27 +01:00
Zrips
db0675788a Merge branch 'master' of https://github.com/Zrips/Jobs.git 2018-12-25 22:47:17 +02:00
Zrips
f7a5980a9e Lets catch exceptions on shutdown in case there is issue with that 2018-12-25 22:47:08 +02:00
montlikadani
338e3f92f4 Need code for switch types 2018-12-25 13:03:16 +01:00
Zrips
d9a48b5b97 Lets simplify it even more
Version increment for future release
2018-12-25 12:58:17 +02:00
Zrips
edb943be11 Initial support for built in placeholders for PlaceHolderAPI
Couple base placeholders
2018-12-25 12:52:38 +02:00
montlikadani
3ea901d5c4 Hot fix for creating new words file #317 2018-12-24 13:34:37 +01:00
montlikadani
4b1cbccf17
Bumped version to check for everyone, if someone below using 4.9.4 version 2018-12-23 21:20:27 +01:00
montlikadani
d41b5f7a1f Fix wrong file & folder path
- Code clean up
2018-12-23 17:31:05 +01:00
Zrips
2d974b2066 Lets include new mobs in default config 2018-12-23 18:22:05 +02:00
Zrips
6823891c89 Lets use UUID's 2018-12-23 18:13:34 +02:00
Zrips
b6ae3e7617 better top command pagination handling 2018-12-23 18:06:30 +02:00
Zrips
334ace8286 Lets simplify gtop pagination process
gtop should take into consideration how many we are showing while
extracting data from database
2018-12-23 17:55:36 +02:00
Zrips
24b1272304 Pagination for gtop command 2018-12-23 17:38:21 +02:00
Zrips
46e062d514 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2018-12-23 16:26:01 +02:00
Zrips
87e5fb2935 Lets minimize output and lets record less entries for explorer 2018-12-23 16:24:58 +02:00
montlikadani
b229a0be5f Code clean up
- Copy over all words files before updating active ones.
2018-12-23 14:34:59 +01:00
Zrips
8629a12710 Lest check explorer fly pay by player ground position not a fly state 2018-12-23 11:53:33 +02:00
Zrips
163af81253 We have to copy over all locale files before updating active ones. 2018-12-23 11:15:54 +02:00
Zrips
0439d5eeda Lets properly resize GUI by required slots. 2018-12-23 11:03:18 +02:00
montlikadani
c9f15c8ad4 Re-added payInCreative boolean
If a group has jobs.paycreative permission then this booelean ignores.
2018-12-22 14:26:45 +01:00
montlikadani
dfbf7963da Code clean up
- Updated MythicMobs to the latest version
- Fix player double checking when interacts in world
2018-12-17 20:50:14 +01:00
montlikadani
0592c6da62 Added some new 1.14 materials
- Added some 1.14 enchantments
- Some permission fixes
- Not check for chunk when the player not found
- Removed non-supported plant age checker
2018-12-13 18:54:38 +01:00
sandor111
1e07fd610d
Dutch language file
A base for a Dutch translation.
2018-12-08 19:31:15 +01:00
montlikadani
221ef37ea3 Fix some command permissions
- Trident material has an ID
- Removed boolean pay-in-creative from generalConfig and replaced to jobs.paycreative permission. https://www.spigotmc.org/threads/jobs-reborn.50989/page-232#post-3242807
2018-12-07 19:41:15 +01:00
montlikadani
e52c4fa43b Fixed the plugin not disabling
- Fix some file creation problems
- Fixed when the player has not joined a job, milk a cow and get paid, https://www.spigotmc.org/threads/jobs-reborn.50989/page-231#post-3240788
2018-12-04 18:16:55 +01:00
montlikadani
ed0eadad69 Some code clean up
- Fix 1 color not work (lime)
- We using the default data folder from main class
- We don't need to copy and create a lot of message file
2018-11-25 20:09:48 +01:00
montlikadani
717b0edebe
Merge pull request #301 from Sprungente/patch-4
Expand German Locazion
2018-11-25 07:55:27 +01:00
Sprungente
5f377dcd86
fix 2018-11-24 19:39:53 +01:00
Sprungente
a27ac0f022
Add new Strings 2018-11-24 19:29:16 +01:00
montlikadani
6ea97d6262
Merge pull request #305 from LogGits/patch-6
Fixed an incorrect entity name
2018-11-24 08:53:43 +01:00
montlikadani
6a3723c645
Merge pull request #304 from LogGits/patch-5
Removed more duplicates
2018-11-24 08:50:44 +01:00
LogGits
cf47aeb48a
Fixed an incorrect entity name 2018-11-24 09:03:04 +10:00
LogGits
83bdb6f1a1
Removed more duplicates 2018-11-24 08:32:29 +10:00
LogGits
c708395eff
Removed duplicate experience from woodcutting 2018-11-24 06:56:24 +10:00
Sprungente
b800214272
Translate Penalty / GER Language
and small fix and improve :D
2018-11-23 19:24:01 +01:00
montlikadani
9e7eb97b12 Added custom head setting to the gui shop, #152
- Fix NullPointerException, https://www.spigotmc.org/threads/jobs-reborn.50989/page-227#post-3221066
2018-11-16 15:48:50 +01:00
Zrips
11af61064c We don't need this ones anymore. 2018-11-13 19:14:21 +02:00
montlikadani
855cea13ef Fixed IllegalArgumentException while creating a file, #293
- Some clean up code
2018-11-13 17:40:52 +01:00
Zrips
ee4c7ef10d This should be present 2018-11-12 18:09:00 +02:00
Zrips
6a77f4a695 Default jobConfig file update by roracle 2018-11-12 17:50:05 +02:00
Zrips
4d51308b2f Version increment 2018-11-12 17:43:50 +02:00
montlikadani
e3829d12d2 Some tab-complete fix
- Retrieving colors
2018-11-12 16:31:05 +01:00
Zrips
1d3b6fc73f Lets resize jobs browse GUI if jobs can't fit in current one 2018-11-12 17:17:28 +02:00
Zrips
12232cb9fa Lets check translatable word split lenghtin case its wrong 2018-11-12 14:36:44 +02:00
Zrips
ab70033fb2 Lets add some legacy blocks 2018-11-12 13:26:10 +02:00
Zrips
bd0f124031 Lets update boosts based by permission each time using info command 2018-11-12 13:10:14 +02:00
Zrips
9d8c9532c1 Empty is not empty by Mojang logic... 2018-11-12 12:49:02 +02:00
Zrips
66f2c4e743 Lets remove data value for gui filler and back button as we can use full
names now
Set filler display name to empty field for better looks.
2018-11-12 12:38:08 +02:00
montlikadani
a75b128630 Improved tap-complete problems
- Fixed villager trade not working correctly.
2018-11-09 15:01:20 +01:00
montlikadani
ac77148230 Now if the localestring is empty or not found then create a default message file
- Now if execute the /jobs reload command then load the furnacebrewinghandling event.
- Fix language double loading when plugin startup
2018-11-01 17:00:29 +01:00
sync667
8e07d57ad6 Fixed bug with payments task stops randomly after taxes math get 0 or > 0. One function return fix too. 2018-10-30 18:41:32 +01:00
montlikadani
0240a41665
Merge pull request #273 from Nogapra/Nogapra-patch-1
Update Words_fr.yml
2018-10-26 20:21:06 +02:00
Nogapra
3ebdf1b549
Update Words_fr.yml 2018-10-26 17:54:45 +02:00
montlikadani
f6c251b0be Removed last commit test (error)
- TODO: fixing 3 colors not working correctly #267
- Now the message files, it only creates two files, a default and a specified one.
- Fixed #239 hoppers earn money when baked food. (file creating problem)
2018-10-26 16:54:28 +02:00
Nogapra
b96a5c96ad
Update Words_fr.yml 2018-10-26 13:59:59 +02:00
Nogapra
c156755107
Update Words_fr.yml 2018-10-26 10:58:40 +02:00
montlikadani
7410d86bcc Fix #267 (again) 3 colors not work
Fixed an issue to 3 colors not working correctly.
2018-10-23 17:47:23 +02:00
montlikadani
32db8ef1ea Fix #267
The potion names & the colors not working correctly.
2018-10-22 19:16:06 +02:00
montlikadani
5b4f43b1af Fixed the points are withdraw even if inventory is full in shop. #173
- Fix some bed recognition problem
2018-10-22 18:11:28 +02:00
montlikadani
cbb6c534e2 Let's adding short material names #271
- Some fixes
- Clean up some code
2018-10-19 20:02:03 +02:00
montlikadani
5c18493fc0 Removed last commit test (error)
- Fix some material recognition
- Fix #268 , in the command not find the player, so it not worked the command
2018-10-17 18:10:34 +02:00
montlikadani
e518f7308d Fix #266 2018-10-16 16:59:25 +02:00
Andre_601
9716c2722b
Update messages_de.yml 2018-10-16 15:25:00 +02:00
Zrips
350743a738 Version increment and some missing files from last commit 2018-10-16 15:31:52 +03:00
Zrips
f5183b3bac Lets shorten restrictedBlocks file and use material names instead 2018-10-16 15:17:37 +03:00
Zrips
85ec42abb7 Lets print stack trace and provide better information what happen 2018-10-16 13:53:24 +03:00
Zrips
4af999b7cc NPE 2018-10-16 12:38:31 +03:00
montlikadani
9dfa9177d1 Some changes in config
- Now if the player not joined in the job then the placeholder not showing in the chat.
- Fix NullPointerException (again...)
2018-10-15 17:06:40 +02:00
Zrips
7307b815dc German locale fix 2018-10-15 18:01:48 +03:00
Zrips
d9d7cb628f Version increment 2018-10-15 16:46:16 +03:00
Zrips
b6589bac2f Lets prevent slab error 2018-10-15 15:51:45 +03:00
Zrips
6d239bf83d Glowing Redstone to regular one for 1.13 2018-10-15 14:01:51 +03:00
Zrips
0fb849abca Correct enchant name translation 2018-10-15 13:36:13 +03:00
Zrips
2a1663495c New command resetquest (playerName) (job)
Lets HashMap everything for quest progresion to avoid duplications
2018-10-15 13:20:21 +03:00
Zrips
4fdb037fe9 lets contract potion and color name lists 2018-10-14 19:42:10 +03:00
Zrips
518794e71e Lets make it short 2018-10-14 19:22:24 +03:00
Zrips
a6a02b3ef4 Lets extract item names from CMIMaterial instead of having fixed list 2018-10-14 17:57:21 +03:00
Zrips
081edff7cb Correct entity type check for 1.13+ 2018-10-14 17:17:24 +03:00
Zrips
aa84bde32d Merge branch 'master' of https://github.com/Zrips/Jobs.git 2018-10-14 17:04:49 +03:00
Zrips
e2e3bdbbda Lets keep subtype in 1.13 2018-10-14 17:02:14 +03:00
montlikadani
178c344416 Fix NullPointerExceptions
- Some import changes
2018-10-14 13:37:36 +02:00
Zrips
99f13e5c47 Lets update libraaries includign rawMessage one 2018-10-14 14:01:11 +03:00
Zrips
7b8fa29cd4 Cleaning up item database from duplicates 2018-10-14 13:43:42 +03:00
Zrips
fe9d6960c7 Correct way in checking if entity alive 2018-10-14 12:59:39 +03:00
Zrips
ac31db0927 Lets recognize Crops for legacy settup 2018-10-14 12:34:26 +03:00
Zrips
6fd856a513 Fix for chicken issue 2018-10-14 12:10:29 +03:00
montlikadani
3b365522fb
Merge pull request #255 from LogGits/patch-2
Update of ItemManager
2018-10-14 09:06:46 +02:00
LogGits
bccf89cc77
Removed COD_BUCKET id:data. 2018-10-14 16:55:07 +10:00
LogGits
ae2f9e61ae
Removed cave_air id. 2018-10-14 16:54:13 +10:00
LogGits
4d77e81e03
Removed wood/button id additions. 2018-10-14 16:52:55 +10:00
montlikadani
5e64f83605 Added editable message for /jobs browse on console
- Fix last commit changes not works, so it changed to basic (no edit more)
- Added SEEDS to use all seeds
- Fixed the player get money even when the plant was not ripe (again)
2018-10-13 16:41:13 +02:00
LogGits
05e7292789
Removed COAL_ORE string 2018-10-13 11:29:51 +10:00
LogGits
6cf59f64a1
Resolves CARVED_PUMPKIN 2018-10-13 11:27:54 +10:00
LogGits
c6c86f5c00
Resolved Wooden_Pressure_Plate 2018-10-13 11:22:04 +10:00
Zrips
8601b24ed0 Lets check for possible null 2018-10-12 18:16:15 +03:00
montlikadani
804933a294 Fixed /jobs browse not works in console
- Some changes in version checking message
- CROPS changed to WHEAT for default
(No version update in plugin.yml because of the check)
2018-10-12 15:59:56 +02:00
montlikadani
da9a6e1498 Now the potion drink works correctly
- Fixed integers not finds and throw error (again)
- Fix wheat not recognizing properly
- Fix bukkit material name check
- Some fixes in slab block
- Adds temporary IDs to entitys
2018-10-11 19:06:41 +02:00
montlikadani
655a921efa Fix some problems
- Now, if max-level, vip-max-level, slots, and rejoincooldown integers are missing, there will be no error. (fix last commit error)
- Added support for WOOL, to check all wool.
2018-10-10 16:32:02 +02:00
LogGits
a6eb9a35ee
Updated buttons and pressure plates 2018-10-09 05:26:22 +10:00
LogGits
e5e6ff61a0
Updated a bunch of variables 2018-10-09 05:08:50 +10:00
montlikadani
e05a7f34af Added new potions
- Now, if are missing max-level, vip-max-level, slots, and rejoincooldown integers, it will work without it.
- Fix empty lores
- Minor spell correcting in config
- Fix disabling plugin when the server crash
2018-10-08 18:35:00 +02:00
montlikadani
5950d64506
Update jobConfig.yml 2018-10-08 16:47:35 +02:00
montlikadani
fa0c45dc1b
Update ConfigManager.java 2018-10-08 16:46:52 +02:00
LogGits
e764cdd436
Adds an Item field to GUI
Adds the ability to add the item name instead of using id and data. 
(Please test this before pulling to verify its functionality)

Resolves #233
2018-10-07 13:25:30 +10:00
Sprungente
50c5410658
Improving German Localization
Part 1
2018-10-04 15:40:58 +02:00
montlikadani
0a3df3d434 Moved configs
- Removed iConomy remnants
- Fixed config saving problems
2018-10-03 17:39:21 +02:00
montlikadani
643b9dc842 Fixed the player get money even when the plant was not ripe 2018-09-29 14:47:14 +02:00
montlikadani
36d4eded68 Minor config changes
- Fix jobs.* permission does not work correctly
- Fix potion item main hand
- Removed IConomy support
- Fixing drink job event (not working)...
2018-09-28 19:38:00 +02:00
montlikadani
ebc6c99dc2 Let's clean up code
- We use the default colors from the lang file
- Fixed enchantments not working in GUI
- Fix BossBar console error message
- Now if the signs is enabled then use the command
- Fixed the place of brewing stand stayed when the player break, #205
- Now if the Signs.Enable boolean true, then only create a file
- Fixed version checker not working correctly
2018-09-23 17:02:48 +02:00
montlikadani
5a471f3e6e Fixes a lot of problems with gets the items
- Clean up code
- Minor correcting spelling mistakes
2018-09-20 16:34:41 +02:00
montlikadani
bb8a32a6f0 Back to Vault 1.6.7
- Clean up code
2018-09-17 17:38:58 +02:00
montlikadani
7240f6cb39 Now supports Vault 1.7.1
- Fixed NullPointerException of get lore #177
- Minor code changes
2018-09-11 16:52:49 +02:00
montlikadani
e97f7d777a Replaced Nether_Brick id valid in config by default 2018-09-10 17:35:47 +02:00
montlikadani
32fcc37b68 Removed EnableEnchants boolean, it was unnecessary 2018-09-09 15:31:45 +02:00
montlikadani
d520554b6d Added enchantments for GUI items
https://www.spigotmc.org/threads/jobs-reborn.50989/page-213#post-3151424
2018-09-09 15:24:18 +02:00
montlikadani
e63d86f912 Now if execute the browse cmd in console not send the raw msg
- Now /jobs quest when execute in console not send the message
- Now you can set in config the amount of players to be shown in one page for /jobs top & gtop commands
2018-09-07 17:46:47 +02:00
montlikadani
c084825422 Revert "Now if execute the browse cmd in console not send the raw msg"
This reverts commit 05a6b71775.
2018-09-07 16:20:56 +02:00
montlikadani
05a6b71775 Now if execute the browse cmd in console not send the raw msg
- Now /jobs quest when execute in console not send the message
- Fix brewing stand id
- Now you can set in config the amount of players to be shown in one page for /jobs top command
2018-09-07 16:07:15 +02:00
montlikadani
1e8940124f Let's removing unnecessary code
- Fixed NullPointerException if loading words
- Fix potion ids
- Plugin now disabling when found an issue if the plugin has started
- Now if the SignsEnabled boolean is false does not create a file
- Fix api event bugs #226
2018-09-01 09:07:22 +02:00
Zrips
0172b780de Version increment 2018-08-31 16:06:09 +03:00
montlikadani
5083a2c50a Fix potion names 2018-08-30 13:20:55 +02:00
montlikadani
935e8a4441 OOppss.. PotionDrinkInfo has been left out :( 2018-08-30 10:44:20 +02:00
montlikadani
5f72fabd26 Added potion support
- Added when the player drinking a potion and work a job get money.
- New ActionType
- Now if a BossBar boolean enabled then only send a console error.
- Now if a restricted area is empty (0) not send the message to console.
2018-08-30 10:23:56 +02:00
montlikadani
c700d07c17 Updated to Bukkit/Spigot 1.13.1 version
Other:
- Fixes a lot of item recognizon bugs
2018-08-26 15:34:40 +02:00
montlikadani
1547505a96 Support for dev. Vault
- Clean up code
- Now only create furnaceBrewingStands.yml file if the boolean is enabled
- Fix double permission names
2018-08-24 09:02:30 +02:00
montlikadani
64c541855e Merge branch 'master' of https://github.com/Zrips/Jobs 2018-08-23 09:20:10 +02:00
montlikadani
1852cb5bc3 Fix NullPointerExceptions (again)
Other:
- Add SuppressWarnings deprecation
- Fix skull owner set of offline player
2018-08-23 09:20:07 +02:00
montlikadani
0ab2a61d6b
Merge pull request #215 from Zrips/montlikadani-patch-2
Fixed did not recognize the melon as a block and slice
2018-08-22 11:44:15 +02:00
Zrips
0f74421559 Clay and Clay block is different thing 2018-08-21 13:24:11 +03:00
Zrips
7b585cf803 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2018-08-21 13:05:06 +03:00
Zrips
d61ea61d50 Lets include missing materials 2018-08-21 13:03:31 +03:00
montlikadani
5c93c54236
Merge pull request #216 from Zrips/montlikadani-patch-3
Fix NullPointerExceptions
2018-08-20 19:46:06 +02:00
montlikadani
105acc8531
Update FurnaceBrewingHandling.java 2018-08-20 19:32:26 +02:00
montlikadani
f3c456c046 Clean up code
Other:
- Removed unused imports.
- Removed deprecation methods.
- Support for WorldEdit 7.0.0
- Support for MyPet 3.0
2018-08-20 17:07:20 +02:00
Zrips
7fc27936ab Merge branch 'master' of https://github.com/Zrips/Jobs.git 2018-08-20 17:01:41 +03:00