nossr50
592851e80b
Throw errors for child skill leaderboard requests
2020-11-10 11:22:02 -08:00
nossr50
7eae59a0b3
Misc code fixes
2020-07-13 11:39:03 -07:00
nossr50
4795143fca
Fixed a memory leak in MySQL that would cause errors if users were
...
removed from the DB
2019-05-29 10:14:04 -07:00
nossr50
95d60e646d
Diminishing returns now has an optional minimum gains setting
2019-01-14 22:11:58 -08:00
nossr50
6f77bb206d
Refactoring + adding a new skillranks config (not functional yet)
2019-01-12 23:54:53 -08:00
nossr50
0d260a74c9
Refactoring to make my life easier
2018-12-29 05:24:55 -08:00
t00thpick1
d8184fb298
Properly calculate diff times for old user purge. Fixes #2541
2015-06-11 18:12:22 -04:00
t00thpick1
8766d31943
Fix #2182 and Fix #2178
...
NOW() is a numeric representation of the date, not a timestamp.... so thats a nono.
Also, we need to update UUIDs grabbing by name.
2014-08-07 13:54:28 -04:00
t00thpick1
857e12b96e
SQLDatabaseManager optimizations, async profile loading -t00thpick1, zreed
...
This commit changes our shared connection into a connection pool utility to prevent
thread locks from multiple actions attempting to access the database at the same time.
In additon, profile loading has been moved off the main thread at login time, to
allieviate the performance issues caused by it.
Fixes #2138 , Fixes #2119 , Fixes #1982 , Fixes #1953
2014-08-01 20:31:17 +02:00
TfT_02
c10525ada9
Add UUID support! - zreed, slipcor, t00thpick1
...
This commit updates our database managers to use UUIDs instead
of usernames for persistent storage.
Fixes #1979
2014-08-01 20:23:03 +02:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
riking
95f15e68fe
New and Improved Scoreboard System
...
- Scoreboards now AUTO-UPDATE
- Scoreboards now COME IN COLOR
- If you want, they can come in EVERY COLOR (Config setting)
- Scoreboards can be displayed alongside chat output!
- Prevention of denial of service to SQL via spamming /mctop using a cooldown
- Added /mccooldown command to show cooldowns for all available skills
2013-10-25 09:49:02 -07:00
riking
dbd27b641e
Give periodic status messages to the console in conversion
2013-10-18 16:40:44 +02:00
riking
c9858dfd49
Do not mark a PlayerProfile as clean if it failed to save
...
DatabaseManager.saveUser() now returns a success value, which is used by PlayerProfile to determine whether or not it should be considered clean.
2013-10-06 10:09:09 +02:00
GJ
ede0757d83
Remove /mmoupdate and replace with /mcconvert database
2013-08-22 22:33:06 +02:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02:00
riking
23729f45ee
Pull changes from dev-dbman (commit f63c5e3
)
2013-06-28 15:02:58 -07:00
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
GJ
eea5784527
Abstract our database operations into a single class.
...
This allows the logic between SQL and Flatfile to remain more hidden in
most cases and makes the code easier to read.
2013-04-25 07:41:23 -04:00
GJ
8099490213
Minor DB tweaks.
2013-04-18 22:18:05 -04:00
GJ
6cb2843707
Remove a stupid line.
2013-04-18 22:18:05 -04:00
GJ
d57c253b19
Returns in finally are bad.
2013-04-18 11:28:07 -04:00
GJ
c8c68ea7d9
A little file cleanup.
2013-04-18 11:23:45 -04:00
GJ
da29185b7d
Added health display for mobs during combat.
...
During combat, players will now see a healthbar appear over the head of
hostile mobs when they are damaged. This healthbar will have two display
options - HEARTS and BAR - which can be changed via the /mobhealth
command.
New Permissions:
mcmmo.mobhealthdisplay - Allows viewing of mob health display
mcmmo.commands.mobhealth - Allows access to the /mobhealth command
New Config Options (config.yml):
Mob_Healthbar.Display_Type - the default health display type
Mob_Healthbar.Display_Time - the amount of time to show health display
2013-04-04 22:11:11 -04:00
T00thpick1
0af3c7ab7d
Just in case.
2013-03-29 22:35:55 -04:00
GJ
399bf8e3b9
Use BukkitRunnable.
2013-03-20 03:11:16 -04:00
GJ
c3a69c8c55
Change to the newer, shorter scheduler methods.
2013-03-20 02:15:15 -04:00
GJ
2838a52e0c
Clean up on all of our commands. Abstracted experience commands and
...
hardcore commands. Moved lots of duplicated code to functions in
CommandUtils.java. Split /ptp into individual commands, just like /party.
Used ternary logic to simplify some of our /skillname stat displays. Fixed
skill guide to not allow for negative pages. Simplified logic for many
/skillname data calculations. Use permission checks to prevent calculating
data that will never be displayed. Made the skill guide into its own
command.
2013-03-16 03:17:00 -04:00
NuclearW
a542d6cf3e
Squashed commit of the following:
...
commit cb3e057dee1f2b29838ab654a526baac1baab7d6
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:43:57 2013 -0500
1.4.00 release
commit 4f9628d2e4cde31c8946e9a911ee6f10e1fb6b35
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:07:30 2013 -0500
\r -> \n
commit b2ca22e0477c747143b0f08a28a096967ee6ffd7
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:53:56 2013 -0500
Commented-out code shouldn't be done like that.
commit 92f131712cc671e3e616c14a22e22769ef6d6d0b
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:45:36 2013 -0500
More things we missed.
commit 408b03766f6261a03a862a1ab7f5835772feda4a
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 23:20:13 2013 -0500
Format: util through spout and backup lib
commit d6bd2c29bbb51bee3607247468cfe145d4f38c9e
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:50:08 2013 -0500
The things we missed the first time through...
commit 393f0b889aa1b7011ee81ee7b15413d8824b8cfb
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:05:29 2013 -0500
Formatting: Skills
commit c097a6e188a7b760dd1b4389ed81dca417146b16
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:30:12 2013 -0500
Organize imports.
commit 34c3e74be7eb5f983f21d969e30155c5d82c01c1
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:45 2013 -0500
Fixed a missing fallthrough comment from ChatCommand
commit b4a76c9f022a2fd98bdd8f083accfea03becfd71
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:36 2013 -0500
Formatting: datatypes.* through events.*
commit 3e57dd41d3265a7c8106c7eb026df926770a4d15
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:56:15 2013 -0500
Fix issue with bad rebase
commit e8c8e06b2971555b7334e49128257e3af6f36892
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 17:35:32 2013 -0500
Formatting: DatabaseManager, LeaderboardManager, DatabaseUpdateType, and
PlayerStat
commit 13ecf1cc41f377a12991e357ac10abdcda24d6de
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:31:43 2013 -0500
Format: listeners.* through runnables.*
commit 71686e3c0d96c2dcf25442b91703fadda1ea3bb0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:13:57 2013 -0500
Format PartyLockCommand
commit d50abed10bf94e1a88df3dc5cc07c259aea920ea
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 16:54:08 2013 -0500
Format: base through config.*
commit 7004823eeebbae5be7728bf9cafc3b04e57b64cf
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:21:40 2013 -0500
Example of using spaces to align like things
commit 534190cfe2481e466fe459d65628550458cc2993
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:12:19 2013 -0500
Capitalization
commit 5b61d3ba4c8d81e6f358b0cf4f460abfe9798414
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:07:43 2013 -0500
Updated readme, added standards.md
commit 5ec0df70fb82c527420a2f437f27f31bd758f884
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 14:42:16 2013 -0500
Markdown was here, Creole is a loser
commit 70d557c59d086b6a5fb5e0e63c0c1d8eb4c8d19c
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 13:46:24 2013 -0500
Move MCStats shading to .metrics.mcstats
commit eb9d67e66b1659d6abd2397ecf403343cfeffdda
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 13:37:37 2013 -0500
Move ALL the packages!
commit 8ffa9e7b75417b6c7f158613d4b4ffb783dcf2d0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 12:37:12 2013 -0500
/r/n -> /n
2013-03-01 00:52:01 -05:00