Commit Graph

4413 Commits

Author SHA1 Message Date
t00thpick1
7917b84eca Hopefully this works. 2014-07-27 11:03:16 -04:00
TfT_02
49f2bf5452 Fix formatting in SQLDatabaseManager 2014-07-27 12:32:48 +02:00
zreed
16b40c3eba Create the UUID index on the right table as well as on table creation 2014-07-26 01:42:27 -04:00
t00thpick1
1396d6d9ad Explicitly close every resource 2014-07-26 00:00:40 -04:00
zreed
b2015d68d1 Work by Zreed 2014-07-25 23:31:41 -04:00
t00thpick1
a3066803d0 Completely untested, needs some more work as follows:
A.  Handle reconnecting on full disconnects.
B.  refactor code to use same connection object in same task(Some tasks go through many methods that each get their own connection object)
C.  Test that it actually works :P
2014-07-24 23:27:56 -04:00
SLiPCoR
d02058ca13 Update player name in case it has changed.
TODO: Check for double names if that happens? In general?
2014-07-24 19:31:38 +02:00
zreed
7d0fd36a2a Further cleanup of SQLDatabaseManager upgrades 2014-07-24 12:12:41 +02:00
TfT_02
1c4ac1d766 Remove hidden interval option 2014-07-24 12:12:41 +02:00
TfT_02
7861e93497 Fixed formatting! 2014-07-24 12:12:41 +02:00
TfT_02
7118f8850d Also update flatfile with uuids 2014-07-24 12:12:40 +02:00
zreed
384bb6306a Add saveUserUUIDs to FlatfileDatabaseManager so mcMMO compiles
Minimal changes were made but it hasn't been tested at all and almost certainly doesn't work.
2014-07-24 01:08:00 +02:00
zreed
8fd9982f69 Optimize SQL side of UUID update 2014-07-24 01:08:00 +02:00
SLiPCoR
c5e1a735f9 Check for uuids instead of usernames when loading a player 2014-07-24 01:08:00 +02:00
SLiPCoR
80754b4426 Add a new fallback method that does the exact same thing; add it when the retry on getting a UUID player would have failed twice 2014-07-24 01:08:00 +02:00
SLiPCoR
4524a3e437 Add saving of UUIDs (used in the UUID Fetcher update task) 2014-07-24 01:08:00 +02:00
TfT_02
83c8d3cdb9 Save if uuid conversion is complete 2014-07-24 01:08:00 +02:00
TfT_02
ed95cfcbfc Update to UUIDFetcher v3 2014-07-24 01:08:00 +02:00
TfT_02
69ebde052d Load UUID with SQL 2014-07-24 01:08:00 +02:00
TfT_02
072e7c8b19 Update playername in database when a name changes 2014-07-24 01:07:59 +02:00
TfT_02
792f21bc20 Save and load profiles using UUIDs
fall back on usernames if neccesary
2014-07-24 01:07:59 +02:00
TfT_02
e619e01c23 UUID flatfile stuff 2014-07-24 01:07:59 +02:00
TfT_02
e7d5aa17bf Add hidden options for uuid conversion 2014-07-24 01:07:59 +02:00
TfT_02
8d6f151a54 Deprecate PlayerProfiles relying on names 2014-07-24 01:07:59 +02:00
TfT_02
d3faff67ad UUID Conversion stuff 2014-07-24 01:07:59 +02:00
TfT_02
dc21e18cc2 Deprecate methods in ExperienceAPI 2014-07-24 01:07:59 +02:00
TfT_02
7643edfdcd Prepare for UUID update 2014-07-24 01:07:58 +02:00
zreed
48c7aa3e84 Add an UpgradeManager 2014-07-23 12:37:02 +02:00
TfT_02
87bce65098 Update twilightforest.blocks.yml 2014-07-20 19:44:13 +02:00
TfT_02
c288dc433b Add Twilightforest mod configs, made by joulesbeef 2014-07-20 17:17:02 +02:00
TfT_02
0cc29d070f Move 1.6.x mod config to their own folder
and add a folder for 1.7.x mod config files
2014-07-20 16:11:41 +02:00
TfT_02
8fd94b625c Fix Blast Mining and change its behavior slightly
Fixed bug where Blast Minings ability "Demolition Expert" would not
work with certain CB versions. DanageCause.BLOCK_EXPLOSION was not
passed, ENTITY_EXPLOSION was used instead.

Changed behavior of the Blast Mining ability "Demolition Expert"; now
only decreases damage for the ability user and for Blast Mining
explosions.
2014-07-20 00:43:53 +02:00
TfT_02
ccca3fff26 Don't use hardcoded unlock levels for Blast Mining 2014-07-20 00:43:52 +02:00
TfT_02
f77446919f Can't use more function modifiers than necessary
Fixes #2139
2014-07-18 17:11:26 +02:00
TfT_02
96fdf265d5 Don't run party chat on a separate thread
Fixes #2080
2014-07-18 17:06:30 +02:00
TfT_02
b964e3f7c3 Show colors in console for party chat
Fixes #2129
2014-07-18 00:51:09 +02:00
TfT_02
d93c83f775 Add a modifier function for each DamageModifier
Must have a modifier function for each DamageModifier

Fixes #2139
2014-07-18 00:16:12 +02:00
TfT_02
6b9f6c29ec Actually fix the isWaterBottle() check
Fixes #2134

For some reason Bukkit wanted to use Potion(PotionType type, int level)
when calling .toPotion(), even though .getDataValue() is 0.
2014-07-17 00:14:06 +02:00
TfT_02
09b0bf62e2 Added SkillAPI used to get a list of skill names
This prevents having to rely on the SkillType enum
2014-07-16 20:07:23 +02:00
TfT_02
15d7d3f8a2 Add Snow to Excavation guide 2014-07-16 11:47:28 +02:00
TfT_02
dedbdf890a Fixed broken isWaterBottle() check 2014-07-15 17:50:39 +02:00
TfT_02
30085e1e34 Add option to control Unarmed item pickup behavior
By default when using Unarmed, picking up items is prevented when a
players entire inventory is full, except for his empty hand.
2014-07-15 15:40:49 +02:00
TfT_02
1c30146491 Fixed bug where Berserk deletes items
when the players inventory is full.

Fixes #1947
2014-07-15 15:25:02 +02:00
TfT_02
037022b175 Fixed bug where falling blocks were not tracked
Fixes #2130
2014-07-15 14:46:20 +02:00
TfT_02
0aa67727f5 Fixed bug with flatfile format updater 2014-07-12 14:02:53 +02:00
TfT_02
8e3e1d5f11 Use deprecated events for damage dealing for now 2014-07-11 21:33:35 +02:00
TfT_02
d2d70089ca Update for modifierFunctions 2014-07-11 14:02:42 +02:00
zreed
94a566acc9 Remove redundant maxReconnects database connection property 2014-07-09 19:03:15 +02:00
TfT_02
daab095557 I was actually using the wrong Map
Fixes #2113
2014-07-03 12:33:03 +02:00
TfT_02
2b9b5df1ee Alter original event and stop firing FakeDamageEvents
Fixes #2105
2014-07-02 11:28:21 +02:00