Commit Graph

8073 Commits

Author SHA1 Message Date
Keir Nellyer edf63dcafd Print exceptions for everything!!! 2016-07-09 18:09:26 -04:00
Keir Nellyer ac95a59f81 Mark reports as expired when an expired report is detected
Also wrote JavaDocs for expireReport and saveReport methods.
2016-07-09 15:47:31 -04:00
Keir Nellyer d7736e9e02 Wait until report data has been saved to the database, otherwise the
message task will not function until it's second iteration
2016-07-09 15:32:46 -04:00
Keir Nellyer 400a6adab2 Show message when report has been closed
Also run Bukkit API methods synchronously.
2016-07-09 15:24:41 -04:00
Keir Nellyer e26ced1438 First report handler detail message should be instant 2016-07-09 14:59:27 -04:00
Keir Nellyer 5c6cac2849 Remove debug line 2016-07-09 14:57:55 -04:00
Keir Nellyer c909cd4733 A report is active if it is being handled but has not yet been closed 2016-07-09 14:55:42 -04:00
Keir Nellyer 6a78556fda Ninja fix for previous commit 2016-07-09 14:49:00 -04:00
Keir Nellyer aadb3df715 A report is no longer active if a result for it has been set 2016-07-09 14:48:26 -04:00
Keir Nellyer 29b1110f6b Access to SnapshotsManager inside ReportManager is no longer required 2016-07-09 14:40:17 -04:00
Keir Nellyer 1eb3fb4aa3 Modify GET_REPORTS_HANDLING query to ignore closed reports 2016-07-09 14:38:12 -04:00
Keir Nellyer c98c352546 Prevent reputation from being 0, this causes all reports the player
opens to be instantly closed
2016-07-09 14:37:23 -04:00
Keir Nellyer 87df6804c9 Improve code and error logging 2016-07-09 14:36:30 -04:00
Keir Nellyer 0783f3b693 Fix sql error when a report is closed due to expiration 2016-07-09 11:31:51 -04:00
Keir Nellyer abea5bbf81 Merge branches 'develop' and 'feature/report-v2' of github.com:Mineplex-LLC/Minecraft-PC into feature/report-v2 2016-07-08 23:27:07 -04:00
Keir Nellyer 5c83f09456 SnapshotRepository no longer extends MinecraftRepository
It doesn't need to.
2016-07-08 23:26:33 -04:00
Keir Nellyer d9288277d5 Push chat snapshots from all servers
This fixes an issue whereby the handler would not be able to see chat
 snapshots unless they begin the handling process whilst connected to
  the same server as the offender.
2016-07-08 23:22:55 -04:00
xGamingDudex b8650d741d Fixed PC-707
Fixed arrows damaging the shooter.
Fixed all instances of arrows bouncing of targets.
2016-07-08 16:48:17 -05:00
xGamingDudex 96d16be5b7 Fixed PC-706
Tweaked settings to reasonable values in local testing.
2016-07-08 16:48:11 -05:00
Keir Nellyer a0d046ab8b Optimize getting of ReportProfile's from database 2016-07-08 17:14:41 -04:00
cnr 5b98bfddce Update YouTube link to landing + sub confirmation 2016-07-08 15:20:50 -05:00
Alex-The-Coder e8a1c9bcba Add damage check to the Enchantment Handler...
...to avoid performing calculations where it is not necessary
2016-07-08 07:42:00 -04:00
Keir Nellyer 1ce1c796f4 Repository classes no longer need to extend MinecraftRepository 2016-07-07 21:12:08 -04:00
Keir Nellyer b9f1dcbcd5 Make method `getReportPrefix(Report)` simpler 2016-07-07 21:05:41 -04:00
Keir Nellyer 8d2916c23e Create JavaDoc's for all methods in ReportManager 2016-07-07 21:04:16 -04:00
Keir Nellyer cb555a41ab Merge branches 'develop' and 'feature/report-v2' of github.com:Mineplex-LLC/Minecraft-PC into feature/report-v2 2016-07-07 20:47:19 -04:00
Keir Nellyer 0dc17bf6fa Further code cleanup 2016-07-07 18:12:52 -04:00
Keir Nellyer 58df3022a5 Completely remove old staff notifications system 2016-07-07 18:08:19 -04:00
Keir Nellyer dc566c8fb3 Remove redundant ReportServer entry from Maven POM 2016-07-07 17:59:55 -04:00
Keir Nellyer bc2b7884ee Make this code a lot smarter 2016-07-07 17:57:19 -04:00
Keir Nellyer e6de1ec13e Renamed for easier understanding of the class's function 2016-07-07 17:51:05 -04:00
Keir Nellyer aab5daa446 Remove old ReportServer and move site related files to ReportSite
directory
2016-07-07 17:49:06 -04:00
Keir Nellyer 4361379eaa Close expired reports when they are detected
This improves performance and allows for easier database maintenance.
2016-07-07 15:35:47 -04:00
Keir Nellyer 4e0287ad03 Re-import report feature classes in Hub and Arcade 2016-07-07 14:01:18 -04:00
Keir Nellyer 77a98bc250 Remove spammy and useless report notifications 2016-07-07 13:58:09 -04:00
Keir Nellyer fa02b18ffb These shouldn't be batched as there will only ever be a single query 2016-07-07 13:28:08 -04:00
Keir Nellyer 175c3523f8 Remove todo relating to removal of database cleanup of chat entries
after a report has been closed

An external cleanup job/script will be used to remove old data
2016-07-07 13:19:42 -04:00
cnr 443576ba1a Update YouTube link and send shard reward message 2016-07-06 20:15:41 -05:00
samczsun 63b6158fe4 More UHC Fixes
Fixes:
PC-137
PC-138
PC-497
PC-665
PC-710
PC-719
PC-754
Also fixes chunk synchronization issue, plugs potential memory leaks

Fancy spectating

Use enum priorities
2016-07-06 15:55:12 -04:00
Shaun Bennett 8cf470cfd0 Update fountain goals 2016-07-06 13:39:56 -05:00
cnr 17f89f6937 Merge branch 'project-cosmetics' into develop 2016-07-06 13:00:29 -05:00
LCastr0 63500c19c9 Removed commented lines
Added javadocs to GadgetChangeEvent
2016-07-06 14:45:05 -03:00
LCastr0 67adb34311 Fixes for the WinRooms
Removed Freedom Chests from the menu
2016-07-06 00:00:50 -03:00
Thanos Paravantis 0eab6db116 Soccer bug fixes and minor improvements
- Slimeball will no longer be able to get stacked.
- Players in soccer mode will not able to stack others.
- Guardian lazer can no longer be used in the soccer field.
- Players in soccer won't get knockback, except if they double jump.
2016-07-05 15:39:10 -05:00
Keir Nellyer 67213ec696 Tie all these together 2016-07-05 16:14:30 -04:00
Connor James c0680b3511 Merge pull request #130 from Mineplex-LLC/bugfix/mopple-sprint
Numerous Bug fixes
2016-07-05 10:01:58 -05:00
Sam 295711d626 PC-632
Fixes an issue where going under the map in Wither Assault would cause
you to have negative speed and not be able to move
2016-07-04 20:31:59 +01:00
Sam 5644589b10 PC-541
Covers all possible eventualities of redstone ore and glowing redstone
ore
2016-07-03 20:57:58 +01:00
Sam e96f7f1217 PC-508
Fixes a hit box issue with Rocket Slimes
2016-07-03 15:58:54 +01:00
Sam bdc049efe1 PC-508
Fixed an NPE with Inferno
2016-07-03 15:58:19 +01:00