t00thpick1
0bb2642d24
Remove metrics
2016-01-11 14:12:54 -05:00
TfT_02
cfa0daefc5
Fix the issues with sticky pistons and slime blocks
...
This is a fix for issues #2419 and #2494
2015-03-21 19:24:06 +01:00
TfT_02
385fe1bb05
Added option for XP gained by killing bred animals
...
Fixes #2402
2015-01-10 12:31:13 +01:00
TfT_02
3ea845cfd9
Changed Flux Mining mechanics
...
Previously, Flux Mining would get unlocked at a specified level with a
specified chance. Once unlocked, the player would have no control over
this ability and some players complained they would like to be able to
turn it on and off.
By adding a new furnace recipe, to craft a special pickaxe - a Flux
Pickaxe - this issue is solved. If a player doesn’t want to use Flux
Mining, they simply shouldn’t mine using a Flux Pickaxe.
Crafting a Flux Pickaxe is simple, just place one of the vanilla
pickaxes in a furnace and cook it up.
Every time the ability is successful, extra durability damage is dealt
to the tool. Just like with other abilities.
Adds #2320
2014-12-22 16:58:22 +01:00
TfT-02
62a767db89
Add enable toggle and per skill thresholds
2014-09-28 11:43:17 +02:00
riking
332860b9ce
Use a DelayQueue to manage rolling diminished returns
2014-09-28 11:34:49 +02:00
TfT_02
2a443cd9db
Diminished instead of Deminished
2014-09-28 11:34:49 +02:00
NuclearW
f4d1004d32
Rolling xp diminishing returns
...
This adds on top of the diminishing returns system a mechanic such that gains will expire the configured number of minutes after they occured, rather than all being reset at once.
This prevents someone from not getting diminishing returns on the xp gain they recieved just before the reset would have occured.
Obligatory explanatory graphs: http://i.imgur.com/uSzicIR.png
2014-09-28 11:34:49 +02:00
TfT_02
9d8aec7eca
Add diminished returns when a player has earned too much XP
...
When a player reaches a certain (configurable) threshold value of total
XP earned in a specific skill, his earned XP in this skill will be
decreased.
Depending on how far the player has exceeded the threshold value, his
XP will decrease more. After the (configurable) time interval of 10
minutes, the registered data will be cleared and the player can earn XP
as normal again.
2014-09-28 11:34:49 +02:00
t00thpick1
d687543910
Prevent players from having more than one database querying command running at once.
2014-08-19 18:11:56 -04:00
t00thpick1
b7774251eb
Remove need for thread locks in profile loading, just reschedule as needed. also stagger based on number of previous attempts.
2014-08-05 23:02:41 -04:00
t00thpick1
df4fc8149d
Stagger load attempts more.
2014-08-05 19:03:55 -04:00
t00thpick1
ae5347bc0f
Purging shouldn't be main thread, also we have no reason to refresh profiles of purged users, as old users aren't online, and powerless users have nothing to wipe.
2014-08-03 21:12:41 -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
zreed
48c7aa3e84
Add an UpgradeManager
2014-07-23 12:37:02 +02:00
TfT_02
906609696b
Workaround a CB bug by tracking piston events
...
There is a bug in Craftbukkit that causes piston events to fire
multiple times. We need to keep track of the extend and retract events
to see which piston events should be processed.
2014-06-15 14:26:02 +02:00
riking
66ccde4310
MCPC+ is now known as Cauldron
2014-06-14 11:34:35 -07:00
TfT_02
38e1947302
Remove PvpLogger checks
...
No longer needed when testing with Combat Tag v6.1.4, the NPCs have
metadata „NPC”.
Fixes #2017
2014-06-08 18:11:18 +02:00
riking
4fb4d6fc0c
Save users asynchronously
2014-06-08 14:12:25 +02:00
TfT_02
4643cf1070
A whole bunch of more work to convert Salvage to a child skill
2014-05-18 17:04:39 +02:00
TfT_02
618cfad100
Prevent accidentally breaking regrown crops
...
Adds #828
2014-04-06 14:41:40 +02:00
TfT_02
f0ee708710
Updater should not be running on the main thread
...
Fixes #1957
2014-04-05 12:10:02 +02:00
TfT_02
beab794c0e
Fixed some issues with the HolidayManager
...
Was severely lacking more lols
2014-03-29 16:52:41 +01:00
TfT_02
862d38b587
Clean up all of the imports
2014-03-03 18:27:45 +01:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
t00thpick1
04a02cfdc8
Store McMMOPlayer objects as metadata
2014-02-15 14:21:25 +01:00
Sean Porter
d63c3fc6d0
Ensure the FlatFile directory exists.
...
Fixes #1842
2014-02-09 12:31:29 +01:00
GJ
734815c58d
No reason to have our scoreboard stuff in a different listener.
2014-02-04 08:34:17 -05:00
GJ
8e040ae8d9
Refactor to match existing conventions
2014-02-03 14:57:45 -05:00
GJ
0c9836eb03
Made mod config files modular. Addresses #1802
2014-02-03 14:48:43 -05:00
TfT_02
a1c1271d21
Fix issues pointed out by the FindBugs plugin
2014-01-20 23:20:51 +01:00
TfT_02
b460f7a564
Add more debug messages in onDisable()
...
So that we can track down why the disable proces slows down
2014-01-18 16:59:16 +01:00
TfT_02
7c891e9ba8
Optimize imports
2014-01-16 22:32:40 +01:00
Eric Hildebrand
8f83e328b0
Introduction of new Alchemy skill!
2014-01-16 22:32:40 +01:00
TfT_02
b4a6ecc58c
Abstract HolidayManager a little more
...
Now we don’t have to manually edit this each year.
2014-01-12 12:08:47 +01:00
TfT_02
cdcda03e92
Moved repair config classes to the config package
2013-12-12 19:53:27 +01:00
t00thpick1
2d577e92f1
AntiTheft option for Disarm Ability
2013-12-01 19:08:22 -05:00
TfT_02
6f9a57751e
We can't schedule tasks in onDisable()
2013-11-01 17:39:03 +01:00
TfT_02
cdfd81a67a
Cleanup ZipLibrary class
2013-11-01 16:44:03 +01:00
TfT_02
408b8b2107
Added automatic cleanup of backups folder
...
By default mcMMO keeps the following files:
* All files from the last 24 hours
* Daily backups of the past week
* Weekly backups of the past months
Adds #1574
2013-11-01 16:43:56 +01:00
GJ
93d586592e
Move these checks up.
...
These checks need to happen sooner because they may impact config
loading, specifically the MCPC+ check.
Fixes #1549
2013-10-31 08:15:30 -04:00
GJ
134e0db2e9
Cleanup more of Riking's mess.
2013-10-25 17:07:56 -04: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
TfT_02
100f2c7e56
Added a warning message if the server is running NoCheatPlus without CompatNoCheatPlus
2013-10-19 00:27:07 +02:00
TfT_02
b100b7bcc7
Gravity's Updater version 2.0
2013-10-18 16:58:12 +02:00
riking
476f426590
Remove RepairableManagerFactory until we actually need it
...
Let's hold off on the factory pattern until we actually offer choices.
2013-10-14 20:48:35 +02:00
TfT_02
67e9d9c535
Fishing TNT traps should not destroy blocks
2013-10-12 03:30:10 +02:00
GJ
9aaea7e44f
Fix old files if they exist.
2013-10-07 10:43:22 -04:00
GJ
c2f8f4d016
User data is now saved in flatfile, not FlatFileStuff
2013-10-07 10:33:14 -04:00
GJ
5131e74349
Save mod config files to "mods" rather than "ModConfigs", mirror directory structure inside the jar file.
2013-10-07 10:32:40 -04:00
GJ
3927427b5b
Refactor all our repairable stuff into a special package.
2013-10-07 10:23:04 -04:00
GJ
3365da7f8d
MCPC+ checks, notify server owners that they're missing out.
2013-10-04 09:50:49 -04:00
TfT_02
5ad0f2c624
Do a little bit of localebending
2013-09-30 11:32:35 +02:00
TfT_02
3a37d0e092
Fixing an error due to confusingly named check
...
Refactored healthBarEnabled to healthBarPluginEnabled to avoid this
from happening again.
2013-09-29 23:57:13 +02:00
GJ
8cb8dea642
Move Updater to independent package due to custom changes being overwritten by other plugins using the updater.
2013-09-26 09:37:31 -04:00
Travis Ralston
239d7e33cb
Revert "Metrics be dead"
...
This reverts commit 0a9fd4a92e
.
2013-09-22 12:33:01 -06:00
TfT_02
b8c479549c
Disable our healthbars when the plugin "HealthBar" is found
...
Adds #1477
2013-09-22 16:55:02 +02:00
t00thpick1
0a9fd4a92e
Metrics be dead
2013-09-20 22:23:38 -04:00
GJ
1ec55c2d7e
Remove the last bits of Spout from our code.
2013-09-16 12:05:39 -04:00
TfT_02
7bac0e2ca5
Dropped SpoutPlugin support
...
Because SpoutPlugin is not being updated to 1.6.x and mcMMO 1.4.07 does
not support any CB version below 1.6.x SpoutPlugin support is no longer
needed.
https://blog.spout.org/minecraft-1-6-and-the-legacy-finale/
2013-09-16 16:48:42 +02:00
GJ
177604e94a
Condense this into one function.
2013-09-13 08:11:32 -04:00
GJ
088015dd4d
Switch to H31ix's updater for security reasons.
2013-09-13 00:59:07 -04:00
TfT_02
93fe2ff504
Cleanup our imports
2013-09-10 15:28:11 +02:00
GJ
89ddf8c4fa
Fixed issues with dealing damage to Entities
2013-09-09 20:41:06 +02:00
GJ
223649ec28
Formatting and localizing.
2013-08-22 22:22:19 +02:00
TfT_02
68e433b3b7
Added new ExperienceFormula config and /mcconvert command
2013-08-22 22:22:19 +02:00
TfT_02
4ff6b5fbc7
Don't try to register listeners when mcMMO was disabled
2013-08-10 19:33:21 +02:00
riking
a4a1ba4331
Make UpdateChecker run asynchronously and not block startup
...
Closes #1049
2013-06-27 09:48:39 -07:00
GJ
050be563bf
Less magic numbers.
2013-06-12 19:26:09 -04:00
GJ
a1792fe125
We were calling deflect twice. Also made individual functions for each
...
type of combat.
2013-06-07 15:47:00 -04:00
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
GJ
41f020bbb7
Cleaning up our listeners, as well as some Spout stuff.
2013-05-15 15:39:40 -04:00
GJ
00dee500e0
Caching options is bad, and so was that way of getting the menu key.
2013-05-15 15:28:05 -04:00
GJ
d8ddd27d71
Calculate bonus XP based on initial arrow location, rather than final
...
shooter location.
2013-05-15 08:35:12 -04:00
GJ
8d5696507a
Add bow force multiplier to Archery XP.
2013-05-15 01:20:12 -04:00
GJ
2e79c8d770
Properly track infinite arrows.
2013-05-14 22:45:09 -04:00
GJ
a77a916fcc
One more time...
2013-04-30 17:31:06 -04:00
GJ
d85a6bec43
Don't create a task we'll possibly never run.
2013-04-30 15:19:41 -04:00
GJ
78eb7787e9
We don't need this any more.
2013-04-30 15:13:55 -04:00
GJ
b55ce30b2d
Clean up our main class a bit more. Still not perfect, but it's getting
...
there.
2013-04-30 15:07:29 -04:00
GJ
88f43d9a91
Add command to clear or change scoreboards.
2013-04-30 09:48:53 -04:00
GJ
339a54b0ac
Replace SkillMonitorTask with 3 unique timers instead. This should greatly
...
optimize our tool and ability cooldown tracking and hopefully reduce
server load.
2013-04-29 15:33:55 -04:00
GJ
b97afb85a1
Only check names if CombatTag is enabled.
2013-04-29 00:29:38 -04:00
GJ
b2dd820507
Clean up a few more things.
2013-04-25 09:27:48 -04:00
GJ
98dc7b853a
Protect our managers.
2013-04-25 09:16:42 -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
TfT_02
3ffcaae122
Track items dropped by a player, prevent them from being party shared
2013-04-17 15:20:09 +02:00
TfT_02
e59c7ac34a
Reduced the amount of info messages in the console when enabling/disabling
2013-04-13 21:53:00 +02: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
GJ
f0c937ad47
Fixed parties and /reload not playing nice together.
2013-04-02 13:47:52 -04:00
GJ
fcc36ee5d7
Trying to fix reload more.
2013-04-02 11:17:40 -04:00
GJ
0f023f627c
Metadata > Hashmap
2013-04-02 08:41:51 -04:00
GJ
fa645b5e00
Clear after saving, save before clearing.
2013-04-02 08:29:38 -04:00
GJ
1fb28eeee0
Because reload is evil.
2013-04-02 08:20:55 -04:00
NuclearW
c53563e7d1
More work GJ didn't ask me to do
2013-03-28 02:18:36 -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
d004361836
Removed functions for getting the PlayerProfile - using API classes is
...
preferred, but if not the McMMOPlayer should be used instead
2013-03-18 14:02:52 -04:00
GJ
c0b4a33346
Importing Bukkit is usually bad.
2013-03-10 15:07:07 -04:00
TfT_02
a07f14e326
Improving Chimaera Wing - part 1
...
* Added cooldown between using Chimaera Wings
* Added shapeless recipe to craft a Chimaera Wing (by default 5
feathers)
2013-03-08 21:46:05 +01:00