GJ
602956a555
Fix duplicate prefix sending with party chat & logging.
2013-06-13 11:10:46 -04:00
GJ
8d0601babc
Fix bug where all ranks less than 10 show as 0 with /mctop.
2013-06-13 10:56:46 -04:00
GJ
050be563bf
Less magic numbers.
2013-06-12 19:26:09 -04:00
GJ
965dbda101
Clean up some stuff with our DATS.
2013-06-12 19:20:05 -04:00
GJ
f2b2cd9cc0
Oops.
2013-06-12 15:59:51 -04:00
GJ
3a78e1b487
More code duplication removal.
2013-06-12 15:56:42 -04:00
GJ
db637f0bc9
Remove more code duplication.
2013-06-12 15:41:26 -04:00
GJ
b15f1dde28
We don't need that potato.
2013-06-12 15:15:56 -04:00
GJ
28a78d820a
Tidy up our InventoryListener.
2013-06-12 15:10:43 -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
3f7b17961f
Reset mob healthbars on death to avoid conflicting with loot plugins
2013-06-07 15:46:59 -04:00
GJ
0ea07d4bc7
Fixed bug where spawned arrows could throw
...
ArrayIndexOutOfBoundsException. Fixes #1171
2013-06-07 15:46:59 -04:00
GJ
190b7ee1f5
ChatManagers...
2013-06-07 15:46:58 -04:00
GJ
4ff4271da2
These should be protected.
2013-06-07 15:46:57 -04:00
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
TfT_02
de0487d16f
This should make it work properly
2013-06-07 15:46:56 -04:00
TfT_02
fc0c386ecb
Fixing this as pointed out by Riking
2013-06-07 15:46:55 -04:00
TfT_02
86db4251a2
Check visibility before range
2013-06-07 15:46:55 -04:00
TfT_02
effe5ec305
We were deprecating these kind of permission nodes
2013-06-07 15:46:54 -04:00
TfT_02
8fb92292bd
Move adding users to UserManager from onLogin to onJoin
2013-06-07 15:46:54 -04:00
TfT_02
375fa4f75c
Added permission node to prevent inspecting hidden players
2013-06-07 15:46:53 -04:00
TfT_02
da25b02e0a
Only set the item in hand null if it's actually a fishing rod
2013-06-07 15:46:53 -04:00
GJ
d43ae17bd2
Tweak a few things on the UpdateChecker.
2013-06-07 15:46:52 -04:00
Kane York
f81a763d6c
Use finally to close the update checker stream
2013-06-07 15:46:52 -04:00
Kane York
385f8ca0b3
Reduce code duplication in ExperienceAPI
2013-06-07 15:46:46 -04:00
GJ
0ba4bc25c7
Use player objects instead of names - should be more efficient and less
...
buggy.
2013-05-28 13:33:20 -04:00
GJ
b0eb4b93a8
Cleaner way to avoid salvaging chainmail.
2013-05-28 12:59:10 -04:00
GJ
54f135aebd
We're checking this twice and shouldn't be.
2013-05-28 12:53:12 -04:00
GJ
10e369f9c5
Increased auto-fishing detection.
2013-05-28 12:42:39 -04:00
TfT_02
1ae9b0f4d2
Animals can also have the "Spawned Entity" tag
2013-05-26 17:55:24 +02:00
T00thpick1
198ee6a7ed
I think this is case sensitive
2013-05-26 11:51:42 -04:00
TfT_02
2414ddf485
Fix broken Tree Feller
...
Fixes #1139
2013-05-25 14:45:24 +02:00
GJ
2cd52db8c9
The ; is important.
2013-05-22 22:30:40 -04:00
GJ
5e00636761
And a little more...
2013-05-22 22:30:09 -04:00
GJ
a82cc9609b
Cleaning up a bit.
2013-05-22 22:13:40 -04:00
T00thpick1
45c6c20ccd
Null parties! Hurray!
2013-05-22 21:20:35 -04:00
GJ
7a61f55e49
Remove some code duplication in our ShareHandler.
2013-05-22 17:22:06 -04:00
GJ
aa0b77a64c
Updates to our parties.
2013-05-22 13:02:26 -04:00
GJ
030c8e59d7
The other way leaks memory like a sieve.
2013-05-22 00:01:19 -04:00
GJ
f21fbe2d40
Make repair & salvage respect the sneaking settings. Fixes #1108
2013-05-21 22:34:06 -04:00
GJ
9a5f4b638f
Little more cleaning.
2013-05-21 14:15:28 -04:00
GJ
9aa49a09da
Little more cleanup.
2013-05-21 14:03:00 -04:00
GJ
bf8945ac59
Try to clean CombatUtils a bit...
2013-05-21 13:36:44 -04:00
GJ
d9926bab4e
Try to clean up our poor EntityListener...
2013-05-21 13:27:52 -04:00
GJ
92ec04bd46
Better boolean handling.
2013-05-21 11:44:16 -04:00
GJ
0b6372a6ea
Don't run these calculations twice. Also, pretty sure one of these was
...
bugged.
2013-05-21 11:41:39 -04:00
GJ
4f8b66f94d
Clean up our block listener some.
2013-05-21 11:11:55 -04:00
GJ
0c52b3016c
We've got these functions, might as well use them.
2013-05-21 10:02:09 -04:00
GJ
a2f80569e3
Fire McMMOPlayerLevelUp events for our experience commands, when
...
applicable. Fixes #921
2013-05-21 09:31:25 -04:00
GJ
87df536a1f
Only check for kraken if you're actually fishing.
2013-05-21 09:14:54 -04:00
T00thpick1
12e70490d8
Cooldowns messages need to be affected by perks too
2013-05-20 22:35:34 -04:00
TfT_02
23b1518dc0
More formatting :)
2013-05-20 17:28:02 -04:00
T00thpick1
6dbf2e0d95
FishingTreasureEvent, FishingShakeEvent and MagicHunterEvent
2013-05-20 17:27:59 -04:00
GJ
60304e9643
Because Minecraft does stupid things with "/" in the chat.
...
Fixes #994
2013-05-20 08:56:02 -04:00
GJ
614557e2fa
It'd be nice if Ice Fishing actually worked.
2013-05-20 08:07:39 -04:00
TfT_02
e312e95aed
Refactor to a more descriptive name,
...
also fixes a small typo.
2013-05-20 10:55:17 +02:00
T00thpick1
22f6ae858b
Update inventories after chimera wing
2013-05-19 16:13:19 -04:00
T00thpick1
3c3b4af2c4
No salvaging chainmail - FIXES 1118
2013-05-19 12:55:18 -04:00
T00thpick1
feb0d1fe5d
Things that should never happen, but are.
2013-05-18 22:15:32 -04:00
TfT_02
2d66b8ed12
Cleanup - fixing various formatting issues
2013-05-18 22:41:42 +02:00
TfT_02
483f348403
Fixed bug with Blast Mining where the Ability refreshed message was being send too early
2013-05-18 22:27:17 +02:00
TfT_02
a8a5100f58
Update the changelog
...
Also made a minor edit to a comment about the powerlevel display
2013-05-18 14:27:14 +02:00
TfT_02
1f9dc70bb1
I forgot to remove the setting from advanced.yml
2013-05-18 14:12:45 +02:00
TfT_02
7f1ef61657
Get rid of the SuccessModifier
...
There's no need for this modifier, because the user can define the
exact chance for Rolls and Gracefull Rolls in the config file. This
means that the ratio between the two is already configurable.
2013-05-18 14:12:07 +02:00
TfT_02
2e74c079b0
Set the enchant buff level to 1 if it's lower than 0
...
Prevents issue #1006 from happening again.
If a user wants to disable SuperBreaker, they should do this using
permissions and not by setting the Enchant Buff level to zero.
2013-05-18 11:37:40 +02:00
TfT_02
ce4295289a
Changed powerlevel display setting to disabled by default.
...
Because scoreboards are being cached by Minecraft in scoreboard.dat it
is no user friendly to enabled this by default. Users will have to
manually delete this file in order to actually disable this.
Described in #1105
2013-05-18 11:27:17 +02:00
T00thpick1
7fde04851d
Typo
2013-05-17 18:44:23 -04:00
riking
71d030e5ad
Change rounding strategy to ceiling for mob healthbars
2013-05-17 00:19:59 -04:00
T00thpick1
b08649d0a4
Not much help if not static
2013-05-16 23:58:49 -04:00
T00thpick1
0a11a9a2c8
More methods for SkillType
2013-05-16 22:00:40 -04:00
T00thpick1
068f47b523
Option for any distance
2013-05-16 19:53:58 -04:00
T00thpick1
79aab57abc
Configure the inspect distance
2013-05-16 19:31:12 -04:00
T00thpick1
2cf58f1b5b
Why break when we can return?
2013-05-16 18:04:14 -04:00
T00thpick1
9678875b4b
We do enjoy killing off orphans
2013-05-16 17:26:16 -04:00
GJ
24e5147a2a
This was never an issue.
2013-05-16 16:13:53 -04:00
T00thpick1
0423a7831d
Those were right the first time...
2013-05-16 15:55:25 -04:00
T00thpick1
feea22b3a4
Correctly order
2013-05-16 15:52:49 -04:00
T00thpick1
7f40a9f284
Explicitely state columns wanted to account for altered tables
2013-05-16 15:50:19 -04:00
GJ
bc706109e0
Fix issue with tables without party names.
2013-05-16 13:37:22 -04:00
GJ
a7861fc54b
Move all miscellaneous Spout code to a single location.
2013-05-16 10:51:18 -04:00
GJ
936bec8ff5
Unused import.
2013-05-16 09:32:48 -04:00
GJ
01d10971a1
Calling things that many times is BAD.
2013-05-16 09:32:27 -04:00
T00thpick1
12e388a392
Null checks
2013-05-16 09:30:02 -04:00
T00thpick1
fb450671d6
Alternative SQL player loading
2013-05-16 09:29:59 -04:00
GJ
fca5f9ec98
We shouldn't need to do this. If issues arise, then there's a bug in
...
Bukkit that needs patching.
2013-05-16 09:23:35 -04:00
GJ
c9ae6436bd
Because we forget things too often.
2013-05-16 08:41:57 -04:00
GJ
b6c4d2b4ad
Fixed bug where Nether Quartz wasn't included in Smelting or item
...
sharing
2013-05-16 08:13:01 -04:00
GJ
27ab2f5b12
Update localization files.
2013-05-16 07:35:00 -04:00
T00thpick1
9b08062a58
Typo
2013-05-15 20:36:43 -04:00
T00thpick1
401bdfa9ac
Reset ability modes safely
2013-05-15 20:35:30 -04:00
TfT_02
68d8d6dd30
Added permission node to bypass the fishing exploit prevention
...
Permission node: `mcmmo.bypass.kraken` false by default.
2013-05-15 23:35:17 +02:00
GJ
2a57d7007d
Don't go through everything twice. Also, those were horrible variable
...
names.
2013-05-15 17:28:47 -04:00
GJ
fd675ac291
Changed Spout notification tiers to be stored in SpoutConfig instead of
...
AdvancedConfig. Also restructured some Spout stuff for easier
readability.
2013-05-15 17:08:43 -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
36bdb8a63e
Fixed mcMMO overwritting Spout titles set by other plugins.
2013-05-15 15:14:47 -04:00
GJ
aa9eb0868c
Add option to use scoreboards for power level display, similar to the
...
Spout titles. This will NOT override any existing plugin that uses the
overhead scoreboard slot.
2013-05-15 15:13:11 -04:00
T00thpick1
48aafa9834
Unused import
2013-05-15 14:27:31 -04:00
T00thpick1
78f53f294a
Debris should drop normal drops
2013-05-15 13:02:21 -04:00
TfT_02
3158c7e3eb
List /party itemshare and /party expshare in /party ?
...
Closes #913
2013-05-15 19:00:34 +02:00
GJ
bc3773ae75
Because apparently you can have metadata and an empty list too.
...
Fixes #1080
2013-05-15 09:29:24 -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
T00thpick1
9ec376a228
Unused import and update changelog
2013-05-15 00:53:01 -04:00
T00thpick1
a05a0da9fb
Mob Spawner XP multiplier
2013-05-15 00:48:18 -04:00
T00thpick1
5029ad9d93
Apply Perks after cutoff
2013-05-14 23:54:54 -04:00
T00thpick1
1444be665c
No reason to specify MyISAM
2013-05-14 23:54:52 -04:00
GJ
3dedb94bdc
Add new Experience API functions and clarify some old ones.
2013-05-14 23:30:36 -04:00
T00thpick1
c0f6c15a80
Fix SQL Syntax
2013-05-14 23:28:45 -04:00
T00thpick1
b416a59bb7
Don't cache config options to prepare for eventual config reload support
2013-05-14 22:59:16 -04:00
GJ
2e79c8d770
Properly track infinite arrows.
2013-05-14 22:45:09 -04:00
T00thpick1
6c9d1c4953
Make SQL removes delete from all tables
2013-05-14 22:20:06 -04:00
T00thpick1
e5f43462c8
Certain operations do not work with child skills
2013-05-14 19:31:40 -04:00
GJ
1867a3e040
If they aren't in a party, they shouldn't be in party chat mode.
2013-05-14 13:10:54 -04:00
GJ
6818f98de3
Feedback is good.
2013-05-14 13:10:07 -04:00
GJ
f910c76248
Conventions.
2013-05-14 12:46:45 -04:00
GJ
975cbf0bf8
The cache should be here, not in the manager.
2013-05-14 12:46:04 -04:00
GJ
f10b3cef01
Config option for escaping from the Kraken.
2013-05-14 12:43:02 -04:00
T00thpick1
ad39c94773
AbilityDeactivateEvent
2013-05-14 12:18:52 -04:00
T00thpick1
f189ab30e5
Default should be default
2013-05-14 11:32:57 -04:00
GJ
0ad18ee971
Fix some config formatting issues.
2013-05-14 11:32:22 -04:00
GJ
501f5de55a
Fixing everything you guys broke while I was gone...
2013-05-14 11:28:50 -04:00
T00thpick1
0b18ae8ff2
Formatting and things
2013-05-13 22:28:42 -04:00
T00thpick1
de12970486
New api event
2013-05-13 22:28:39 -04:00
Glitchfinder
7550b99aaa
Patching more NPEs involving invbalid players, plus mob health bars.
2013-05-13 18:46:19 -07:00
Glitchfinder
ed5a43966d
Patching NPEs involving invalid player objects and player interactions.
2013-05-13 18:46:18 -07:00
Glitchfinder
95ea6703f1
Fixing an NPE involving invalid players chatting.
2013-05-13 18:46:17 -07:00
T00thpick1
55f9092aa6
Fireworks adjustment
2013-05-13 21:23:16 -04:00
Glitchfinder
5f50a46603
Setting the treasure config to only enforce data limits for blocks.
2013-05-13 20:22:09 -04:00
Paul J Thordarson
c5e6704530
Magic Hunter fix and optimization
...
There was a small bug in magic hunter, where it tried to apply an
enchantment level between 1 and the Enchantment.getMaxLevel(), however
it didn't take into account Enchantment.getStartLevel(), so when it
tried to apply an enchantment level below the start level, an
IllegalArgumentException was being thrown and the magic hunter event
wasn't happening.
Also, it's potentially inefficient to recalculate which enchantments
are possible for each ItemStack every time, so I added a HashMap to
cache the possibleEnchantments for each material type, then check this
cache instead of just looping to regenerate the list each time.
2013-05-13 20:22:08 -04:00
T00thpick1
8552192894
Only apply permissions when skill is enabled
2013-05-13 20:19:50 -04:00
NuclearW
0261d16140
Give no mcMMO xp for skeletons that spawn as a spider jokey pair from spawners.
2013-05-11 18:54:25 -04:00
NuclearW
2b414526e5
Unleash the Quacken!
2013-05-09 11:04:34 -04:00
NuclearW
c0b7eb526a
Change Squid variables to Creature.
2013-05-09 11:00:28 -04:00
t00thpick1
7b7196a8c4
Potatoes shouldn't explode by default
2013-05-05 23:00:14 -03:00
t00thpick1
f648289035
Potato fixes
2013-05-05 22:58:04 -03:00
TfT_02
8a0b1d548d
Add item weights for armor and tools in the default file
2013-05-05 11:32:10 +02:00
NuclearW
1f17d5d11e
Move the comment section attached to the Kraken in advanced.yml
...
This is to fix a shortcoming in the autoupdate-config loader, which will attach related comments to nodes.
Issue: A nodes will get comments from another node of the same name, anywhere else in the config.
Solution: Move the comment to be attached to the "Kraken" node.
Long term: This can be a known bug and worked around by the team, or can be addressed more seriously by looking into changing how comments are applied to configs. For now, this is a patch solution that should work fine.
Fixes #1043
2013-05-05 05:27:11 -04:00
TfT_02
18efd09421
Remove \' since it somehow breaks the name display
...
For some reason using \' will show the pets name as:
"<player-name>'s {1}"
2013-05-05 00:36:58 +02:00
TfT_02
18d3b30647
Add a missing space
2013-05-04 23:34:19 +02:00
GJ
7f0243b2df
For Iaccidentally.
2013-05-03 18:16:42 -04:00
GJ
33610c8997
Whoops.
2013-05-03 16:15:34 -04:00
GJ
8e0a1f4f70
Summon the kraken at will!
2013-05-03 16:14:03 -04:00
GJ
b07cf6bdde
It's now possible to run away from the Kraken.
2013-05-03 15:49:29 -04:00
GJ
7ed218ee7f
Cleanup this task a bit.
2013-05-03 13:43:23 -04:00
GJ
3aedeea220
Remove client-side rain if the player kills the kraken.
2013-05-03 12:11:52 -04:00
GJ
4f9b7b2609
Because you might be legitimately fishing at 5 seconds.
2013-05-03 07:51:59 -04:00
GJ
09abab1b5d
Kraken sounds can now be set to either player-only or global (default).
2013-05-03 07:51:58 -04:00
GJ
499713c8e7
Because autoclicking to shake is OK.
2013-05-03 07:51:57 -04:00
GJ
cb953a1619
Disable global chat spam from the kraken by setting the server message
...
to an empty string in the config.
2013-05-03 07:51:56 -04:00