cnr
857cf6ad30
Add PlayerKeyValueRepository and BukkitFuture
...
PlayerKeyValueRepository<V> is a key/value store whose keys are Strings
and whose value type is parameterized by V. Each repository is backed by
a MySQL table in the Accounts database.
Access to PlayerKeyValueRepository's values is restricted via
CompletableFuture to enforce async database access.
BukkitFuture contains helpful utilities for producing, transforming, and
terminating CompletableFutures with actions on the main thread. A
typical PlayerKeyValueRepository action may look similar to the
following, where we retrieve all key/value pairs for a player and
perform an action with the result on the main thread:
PlayerKeyValueRepository<String> repo = [...]; // init repo
UUID uuid = [...]; // a player's UUID
repo.getAll(uuid).thenCompose(BukkitFuture.accept(values -> {
// this will be run on the main thread!
// `values` is of type `Map<String,String>`
}));
2016-05-25 08:35:05 -05:00
samczsun
9da9dce398
Fix mimic, allow chests and invite. Fixes PC-375
2016-05-24 16:40:25 -04:00
samczsun
2991bec44d
Fix listener priorities (again). Fixes PC-370
2016-05-24 16:04:15 -04:00
samczsun
2680c2b244
Don't apply attributes on friendlies. Fixes PC-369
2016-05-24 15:58:44 -04:00
samczsun
9af2c7e9f4
Restore hunger after Hold. Fixes PC-334
2016-05-24 15:38:18 -04:00
samczsun
9acdbd7cbe
Don't allow placing banners and string. Fixes PC-333
2016-05-24 15:38:03 -04:00
Sam Sun
9853ef824e
QA Pass #2 - Comment WorldManager, optimize searching
2016-05-24 12:24:14 -05:00
AlexTheCoder
b952de856e
Add a description for the Magnetic Maul and switch ConcurrentHashMap to HashMap in the Meridian Scepter
2016-05-24 13:15:29 -04:00
samczsun
f32e648691
QA Pass #1
...
Remove potential main thread IO in ItemMapManager
Don't construct search string if limit is reached
Also cleaned up WorldManager to be more efficient
2016-05-24 13:15:29 -04:00
samczsun
2f993dbe66
Fix Wind Blade, Hyper Axe
2016-05-24 13:15:29 -04:00
samczsun
4ba3148df7
Finish invsee
2016-05-24 13:15:29 -04:00
samczsun
ec0e1b9849
New invsee implementation
2016-05-24 13:15:29 -04:00
samczsun
63e3cc8e12
Add nullcheck
2016-05-24 13:15:29 -04:00
samczsun
d8b5dba3fc
Fix Meridian Scepter
2016-05-24 13:15:29 -04:00
AlexTheCoder
1dc5a0d712
Revamped Meridian Scepter attack
2016-05-24 13:15:29 -04:00
samczsun
516ad5a640
Check cancellation before continuing Takedown. Fixes PC-277
2016-05-24 13:15:29 -04:00
samczsun
72a2aa926f
Change event priority again. Fixes PC-216
2016-05-24 13:15:29 -04:00
samczsun
981bed5e37
Limit clan searching. Fixes PC-331
2016-05-24 13:15:29 -04:00
samczsun
e0f4c9cbc8
Update Broadsword regen
2016-05-24 13:15:29 -04:00
samczsun
14c60ec3ba
Delay recall by one tick. Fixes PC-328
2016-05-24 13:15:29 -04:00
samczsun
51c9301799
Consider leap level. Fixes PC-330
2016-05-24 13:15:29 -04:00
samczsun
41846f835d
Bump listener priority, change wording. Fixes PC-308
2016-05-24 13:15:29 -04:00
samczsun
c172d226c4
Add bypass for testing servers to skip tutorials
2016-05-24 13:15:29 -04:00
samczsun
08784d3f0a
Ignore float kick for Wind Blade. Fixes PC-314
2016-05-24 13:15:29 -04:00
samczsun
786c60537e
Remove /c trust from help. Fixes PC-280
2016-05-24 13:15:29 -04:00
Sam Sun
cd0e59087a
Don't drop items from hidden slimes. Fixes PC-276
2016-05-24 13:15:29 -04:00
samczsun
9141ed645a
Fix fissure anvil repair exploit. Fixes PC-312
2016-05-24 13:15:29 -04:00
samczsun
ea43dca9af
Don't allow placing TNT in tutorial. Fixes PC-307
2016-05-24 13:15:29 -04:00
samczsun
d29d5dd5e4
Actually fix PC-279
2016-05-24 13:15:29 -04:00
samczsun
89da8790bf
Clans optimizations
...
Key notes:
* RAM usage decreased on startup
* Startup speed much quicker
* Map is entirely rendered on startup
Details:
Changed TutorialWorldManager Stack -> LinkedList because no need for
synchronization
Documented map methods and magic numbers
Remove loading all chunks on startup
Render map on startup
Optimize map rendering by replacing ArrayList with LinkedList
Optimize map rendering by reading chunk directly from disk and caching to
prevent entity ticking
Optimize map rendering by using a global BlockPosition
Save results for showing zoom
2016-05-24 13:15:29 -04:00
samczsun
7c66c98338
Clean up Farming
2016-05-24 13:15:29 -04:00
samczsun
173a6bb143
Delete IncognitoHidePlayerEvent
2016-05-24 13:15:29 -04:00
samczsun
2675789f59
Compare commands with equals. Fixes PC-116
2016-05-24 13:15:29 -04:00
Ben
1e0b94d870
[BlockHunt,Wizards,Champions] Disable particle effects [PC-156]
2016-05-24 12:08:18 +01:00
Ben
bad9077144
[Ranger/VitalitySpores] Change to if you take damage and then go 10 Seconds without taking more damage, you will receive Regen 2 for 6(+1 pl) Seconds; if you take damage during that regen you lose it [PC-354]
2016-05-24 11:09:05 +01:00
Shaun Bennett
434ada2e86
Fix merge issues
2016-05-24 19:14:52 +10:00
Shaun Bennett
1377e6724f
Merge with develop
2016-05-24 19:10:55 +10:00
Shaun Bennett
b6376cae2f
Remove googles http api (no longer needed) and add apache http to core.common
2016-05-24 17:23:17 +10:00
Shaun Bennett
12c5ba80b7
API Endpoints, Web calls, Gem Fountain Schematics, Game Menu Update, Booster implementation
2016-05-24 17:13:33 +10:00
Ben
bc3ec4088a
[Ranger/Sharpshooter] Missing two shots causes the damage bonus to reset. [PC-352]
2016-05-24 01:16:11 +01:00
Ben
5791cc5dec
[Assassin/Evade] Buff the skill in multiple ways [PC-355]
2016-05-24 01:15:29 +01:00
Ben
8bb9811a80
[Assassin/Blink] When de-blinking set the rotation of the player to the rotation that was present at the time of the de-blinking rather than the rotation of the player when they blinked. [PC-359]
2016-05-24 00:28:48 +01:00
Ben
243044b921
[Skill/Assassin] Remove Rest & Fitness from. [PC-358 AND PC-357]
2016-05-24 00:25:32 +01:00
Ben
5448c42e45
[Assassin/Recall] Don't allow use when in water [PC-360]
2016-05-23 23:46:33 +01:00
Ben
609aa5177a
[Ranger/WolfsPounce] Lower damage [PC-353]
2016-05-23 23:45:42 +01:00
Ben
8da4ac3135
[Brute/FleshHook] Deal more damage/pull velocity when charging up more [PC-340]
2016-05-23 23:42:12 +01:00
cnr
494eafb97f
Use file.mineplex.com for resource packs
2016-05-23 07:52:22 -05:00
LCastr0
3ad7fc5f21
Adds old Mr.Punchman name
...
Adds another fix for winroom speed
2016-05-22 21:46:22 -03:00
Ben
e5b8636298
[Mage/Immolate] Do not allow use whilst in water [PC-351]
2016-05-23 01:23:08 +01:00
Ben
d019d27d23
[Mage/Blizzard] Increase energy usage. [PC-347]
2016-05-23 01:22:39 +01:00