1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +01:00
Commit Graph

809 Commits

Author SHA1 Message Date
Zrips
75d41356d1 Maps can't be null here... Clear action is more then enough. 2019-08-16 17:12:15 +03:00
Zrips
cb1583790c Id's should not repeat 2019-08-16 16:58:45 +03:00
Zrips
d801dd43ea Cat is not a real thing. 2019-08-16 16:53:10 +03:00
Zrips
f7acc20d2a Location location location 2019-08-16 16:47:53 +03:00
Zrips
7d06f5ad63 This should be enabled by default, doest run schedule if its empty. 2019-08-16 16:47:31 +03:00
Zrips
4ad888ba96 Merge branch 'master' of https://github.com/Zrips/Jobs.git 2019-08-16 16:45:18 +03:00
Zrips
feed9d036f Only one scheduler is needed here 2019-08-16 16:44:42 +03:00
Zrips
9f46a945d9
Create crowdin.yml 2019-08-16 14:29:58 +03:00
Zrips
229be42d64 Lets save block protection in 100's batches whatever it reaches this
limit, instead of doing everything in one go on server shutdown
2019-08-16 14:22:39 +03:00
Zrips
b1d457d2d6 Fix for issue with heads updates 2019-08-16 14:21:27 +03:00
montlikadani
e7b5d6ceee Forgot to remove drink from files 2019-08-15 16:30:59 +02:00
montlikadani
3ee52815a1 Remove bossbar on server shutdown 2019-08-15 09:41:25 +02:00
montlikadani
c164678273 Should fixed issue when the bars are not loaded correctly
This caused the WeakHashMap automatically removing.
2019-08-15 09:17:50 +02:00
montlikadani
f4ed34a00a Drink is not a job action in the whole world 2019-08-15 08:57:42 +02:00
montlikadani
611384922e Important changes for the latest MythicMobs 2019-08-14 19:18:57 +02:00
montlikadani
a4b2b4e6b5 Same changes for giving items 2019-08-14 16:06:44 +02:00
Zrips
a2668474f4 Lets hard limit block protection save to 30 days max 2019-08-14 17:00:55 +03:00
Zrips
75d80d0582 We need this... 2019-08-14 15:25:31 +03:00
Zrips
91da45d6cf Merge branch 'master' of https://github.com/Zrips/Jobs.git 2019-08-14 15:23:03 +03:00
Zrips
f7936dafb7 Lets compact sign save file
Lets save player data if he finished quest
New questtoplist as a sign variable to show top list by quests done on
signs
2019-08-14 15:20:58 +03:00
montlikadani
d1417cc35a Some null checks in playerManager 2019-08-14 14:13:15 +02:00
montlikadani
355074dffd We don't need the x, y, z methods, it can be get from location 2019-08-14 14:09:32 +02:00
Zrips
1b9217393f Better jobs top sign handling 2019-08-14 14:52:17 +03:00
montlikadani
0620cc6965 Signs should work now in older versions 2019-08-13 11:19:15 +02:00
montlikadani
95dda60088 Critical bug fix for fastpayment in for-loop
- Changed the navy and silver to light_blue and light_gray due to version problems, #501
2019-08-12 14:04:15 +02:00
montlikadani
a569f84a73 Resetquest now fully reseting the quest
This is because so many users wanted this command to not only restore time, but the entire completed and completed quest.
2019-08-11 14:36:43 +02:00
montlikadani
3a23f8be31 Implement placeholder for level loss message 2019-08-08 16:32:45 +02:00
montlikadani
13432fe35f Implement some missing codes
Fixed issue when added the schedules to list but cleared in for-loop.
2019-08-04 13:08:47 +02:00
montlikadani
0cef1e8dfd Confirmation for leave commands should work 2019-08-01 15:10:36 +02:00
montlikadani
d4a2add86e Can't call commit when autocommit=true
Should fix SQLException when player limit saved
2019-08-01 12:51:04 +02:00
montlikadani
0abdf99c85 Class register should be in the main thread 2019-07-28 12:39:31 +02:00
montlikadani
030e6b2890 Should fix money dupping issue when interacted block but denied, #487 2019-07-26 09:43:04 +02:00
montlikadani
01898220cc Implement some entity ids 2019-07-24 15:10:10 +02:00
montlikadani
233654daf3 Added option to hide the action names in GUI browse 2019-07-24 09:29:24 +02:00
montlikadani
cf44caa2aa Implement code to unregister all listeners on reload
This reduces the memory leak issue sometimes
- Schedule file now generated when option is enabled in configuration
- Make sure MyPet is enabled when starting plugin
2019-07-23 21:32:32 +02:00
montlikadani
bc97d2aaf6 No need to double check job if null 2019-07-21 17:57:16 +02:00
montlikadani
45d580342e For SQL the truncate is valid command
- Supports 1.14.4
2019-07-20 12:17:21 +02:00
Zrips
c188ec8658 Updating default dynamic payment equatin and some extra comments 2019-07-20 12:53:20 +03:00
montlikadani
466ad912f1 Forgot to add new action to messages
https://github.com/Zrips/Jobs/issues/484#issuecomment-512759409
2019-07-18 12:41:07 +02:00
montlikadani
9ed6ed59ee Implement new actiontype: Collect, #484
To collect sweet berries from bush, and collect from composter
2019-07-18 09:58:09 +02:00
montlikadani
deba8e6f45 Added option to quests to prevent quest progress increase in restricted area
https://github.com/Zrips/Jobs/issues/166#issuecomment-511266927
2019-07-17 21:31:19 +02:00
montlikadani
80ab006084 Added Cat as entity, #480 2019-07-17 12:21:23 +02:00
montlikadani
fb392c0cd1 Fix incorrect entity max health
Monster damage option will work again when using the Kill action for jobs.
https://github.com/Zrips/Jobs/issues/429#issuecomment-511219013
2019-07-14 19:30:27 +02:00
montlikadani
3cc2c97ec8 Added option to disable the ScheduleManager to prevent memory leak issue
By default this has been disabled, because the plugin automatically creates the task, when we don't want to make boosts with scheduleManager.
2019-07-14 14:45:10 +02:00
montlikadani
1f85c13335 Fixed issue when converted the database and the "truncate" is removed in latest sqlite
- Also fixed issue when converted then the player data not show to player
2019-07-12 18:29:00 +02:00
montlikadani
34dcb3d41a Jobs placeholders list now modifiable the page row
- Fixed issue when used the jobs top clear scoreboard then not removed the scoreboard
- Jobs top help info message now executed when the job is specified
- Now if the MySQL settings (account) is incorrect then not send "creating table..."
2019-07-12 17:46:25 +02:00
montlikadani
9d46a689e2 Anyway, without job placeholders not work... 2019-07-11 10:41:58 +02:00
montlikadani
6225848693 Remove some not used values
- Added placeholders to parse when the player not in at least 1 job:
  - %jobsr_user_withoutjob_level%
  - %jobsr_user_withoutjob_exp%
  - %jobsr_user_withoutjob_job%
  - %jobsr_user_withoutjob_points%
  - %jobsr_user_withoutjob_totalpoints%
  - %jobsr_user_withoutjob_archived_jobs%
- Jobs placeholders command should work from console
2019-07-11 10:34:54 +02:00
montlikadani
812b54ffa7 Fix archived jobs are disappeared when switch server, #475 2019-07-10 12:45:02 +02:00
montlikadani
c2cefe784a Temporary level down message
More options will be added later
2019-07-02 14:27:06 +02:00