GJ
c9a53bdaca
Fixed NPE when trying to tab-complete /mctop
2013-04-15 12:52:11 -04:00
GJ
3a76a111d3
Use the mob name when we have it.
2013-04-14 02:10:48 -04:00
TfT_02
e59c7ac34a
Reduced the amount of info messages in the console when enabling/disabling
2013-04-13 21:53:00 +02:00
TfT_02
f05b9ae365
Use LinkedHashSet instead of List
2013-04-13 18:43:22 +02:00
GJ
c60e5a65d6
Fixed shake drops not working.
...
NOTE: You need to delete your treasures.yml and allow it to regenerate.
2013-04-13 11:34:38 -04:00
TfT_02
1b4eda713f
Moar magical fixes!
...
This will automagically fix bugged players who have joined multiple
parties.
2013-04-13 01:17:07 +02:00
TfT_02
cb133ced80
No longer needed!
2013-04-13 01:16:17 +02:00
TfT_02
062a3028f4
This makes it easier to read
2013-04-13 01:11:26 +02:00
TfT_02
682c2631f0
Fixed bug where players were able to join the same party multiple times
...
This change should automagically fix broken parties which have multiple
instances of the same player in it.
This will not fix bugged players who have joined multiple parties.
2013-04-13 00:41:36 +02:00
GJ
5dc40f3c03
Nerf fishing... again.
2013-04-12 17:48:04 -04:00
GJ
569e87847f
Fixed fishing chance display values.
2013-04-12 10:25:00 -04:00
GJ
875091a1ce
Added ability to configure drops from Shake in treasures.yml
2013-04-11 21:40:09 -04:00
GJ
5ad7716137
Don't need to store that.
2013-04-11 10:24:22 -04:00
GJ
8c97399cec
This is important.
2013-04-11 10:02:08 -04:00
GJ
27e0a9d3b6
Fixed experience commands affecting all skills. Fixes #951
2013-04-11 09:55:39 -04:00
GJ
07f9b287e7
Move exceptions to their own package.
...
This will break plugins that directly catch these exceptions.
2013-04-10 20:21:55 -04:00
GJ
fbee4f1b37
Remove debug messages.
2013-04-10 19:41:55 -04:00
GJ
26542f3d6e
Because otherwise you can't fish at low levels.
2013-04-10 19:32:26 -04:00
GJ
14630fe956
Nerfin' it.
2013-04-10 18:44:11 -04:00
GJ
30f5c761d9
Because some plugins do stupid things.
2013-04-10 17:04:32 -04:00
GJ
365abaaa8f
Reverse the order to avoid NPE
2013-04-10 14:04:46 -04:00
GJ
f4681a282c
Better handling of picking up items with unarmed.
2013-04-10 13:20:44 -04:00
TfT_02
0ab1986202
Set a seperate cooldowns between getting hurt and teleportations
...
Closes #880
2013-04-10 17:19:14 +02:00
TfT_02
e11dc680de
Add configurable warmup and cooldown timers for party teleportation
...
Closes #348
2013-04-10 17:18:06 +02:00
TfT_02
71249334c3
Change the ChimaeraWing timestamp into a general teleportation timestamp
2013-04-10 17:15:48 +02:00
NuclearW
fa41dbce16
Regex used mean look, could not escape!
2013-04-10 00:00:57 -04:00
GJ
4246e6c900
Use char codes instead of symbols, just to be safe.
2013-04-09 23:41:02 -04:00
GJ
1b421a24b0
Remove the drop.
2013-04-09 21:44:27 -04:00
GJ
9cc9eead52
Unbreak the API
2013-04-09 21:09:47 -04:00
GJ
8b21aea9c7
Check Fisherman's Diet permission when checking for display headers.
2013-04-09 20:53:55 -04:00
GJ
4f87cb6446
Added "Master Angler" ability to Fishing.
...
This ability increases the chance that a fish will bite the line while
fishing.
2013-04-09 20:53:54 -04:00
GJ
7525de1a72
ExperienceAPI methods will now throw InvalidSkillException if the skill
...
name passed in is invalid
2013-04-09 20:52:58 -04:00
GJ
78d2fa7520
Only care if it was unarmed.
2013-04-09 16:52:41 -04:00
GJ
7fe8122499
Avoid picking up items to the hotbar while using unarmed. Fixes #939
2013-04-09 16:52:38 -04:00
GJ
532c2e7450
Remove unused import
2013-04-09 16:52:35 -04:00
GJ
b391a53c6b
Make our commands support tab-complete.
2013-04-08 17:34:23 -04:00
GJ
f3c6346b95
Clear mob health display if it gets stuck. Fixes #933
2013-04-08 00:34:54 -04:00
GJ
dd8984314f
Validate here instead.
2013-04-08 00:26:12 -04:00
GJ
b82c3f41d3
Remove metadata, validation checks.
2013-04-08 00:24:38 -04:00
GJ
7d6eb65776
No need to reset.
2013-04-08 00:11:09 -04:00
GJ
dc0800e7e1
Even better regex.
2013-04-08 00:07:07 -04:00
GJ
c151366952
Better regex for this.
2013-04-07 23:58:53 -04:00
GJ
212137ec3e
Fix issues with mob healthbars being used in death messages. Fixes #934
2013-04-07 23:22:59 -04:00
GJ
31f36935d3
Avoid NPE when using experience commands on offline players.
2013-04-07 09:01:31 -04:00
TfT_02
a14fc3e3c9
Fixed broken /party chat command
...
Closes #931
2013-04-06 12:20:20 +02:00
GJ
158b3c43f8
Fixed wolves from Call of the Wild only having 8 health.
2013-04-05 16:17:59 -04:00
GJ
e31c1e33d9
Don't handle removing the name if the entity is dead.
2013-04-05 16:15:24 -04:00
GJ
25dfa6d34d
Better way to get the HUD type.
2013-04-04 23:15:37 -04:00
GJ
d4c8cc28a1
Use new hasConflictingEnchant method.
2013-04-04 22:26:48 -04:00
GJ
ce08405c00
Use new NetherWartState values.
2013-04-04 22:24:02 -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
TfT_02
87feb8c250
Added new API method to McMMOPlayerLevelUpEvent to set levels gained
...
Closes #352
2013-04-04 23:00:21 +02:00
TfT_02
6d47e43ba9
Display partial names when trying to use the ptp command
2013-04-04 22:50:22 +02:00
TfT_02
f6b1643378
Minor formatting, added a missing white space
2013-04-04 22:21:13 +02:00
TfT_02
f1c16df63b
Added new permission node for party teleportation.
...
`mcmmo.commands.ptp.send`
This permission node will be check before sending a teleport request
(or teleporting the sender if no request is required), this allows
admins to grant certain groups of users permissions to accept incoming
party teleport request without being able to send ptp requests
themselves.
Closes #927
2013-04-04 22:20:19 +02:00
TfT_02
c16e5231f4
Changed Chimaera Wing's recipe result to use the ingredient Material
2013-04-04 21:35:09 +02:00
GJ
b74f6e92dc
Fixed party & admin chat errors when not aysnc
2013-04-04 10:14:52 -04:00
GJ
630c3e81e6
Fixed Chimera Wing displaying warmup message if warmup was set to 0
2013-04-04 09:59:10 -04:00
GJ
0f77cf8066
Fixed Chimera Wing spamming console if Metrics was disabled
2013-04-04 09:48:48 -04:00
GJ
52746fca76
Speed up our BlockBreakEvent checks a bit.
2013-04-04 09:29:07 -04:00
GJ
dae25c2f2d
Don't check if we don't watch.
2013-04-04 08:10:24 -04:00
GJ
a272316301
Don't even bother running these checks if we don't watch the block.
2013-04-04 08:05:48 -04:00
GJ
6772f4f169
Track these IF they're somehow full-grown when placed.
2013-04-04 08:02:45 -04:00
GJ
9463e210b8
Compact our checks.
2013-04-04 07:42:33 -04:00
GJ
c849f751bb
Fixed potion buff option not using the appropriate # of ticks
2013-04-03 11:41:43 -04:00
GJ
1cde45599e
Fixed huge mushroom blocks not being properly tracked
2013-04-03 11:16:24 -04:00
GJ
f1a22f5f6b
Shouldn't track this either, just to be safe.
2013-04-02 21:30:18 -04:00
GJ
90d6fbde48
Fix ClassCastException with Taming. Fixes #924
2013-04-02 21:24:02 -04:00
GJ
802ad84613
Fixed Berserk getting "stuck" when /mcrefresh is used.
2013-04-02 17:38:33 -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
TfT_02
d7f67d43b3
I quite liked the fireworks display!
2013-04-02 13:08:07 +02:00
TfT_02
6fd599bd31
Fixed bug where /addxp was not processessing level-ups for online players
...
Fixes #918
2013-04-01 22:54:36 +02:00
GJ
afd706bed8
Fix NPE with smelting & /mctop. Fixes #917
2013-04-01 16:41:58 -04:00
TfT_02
6c3820c747
Because some people really wanted to disable this,
...
mostly due to clientside lag.
2013-04-01 16:38:22 +02:00
TfT_02
0ebc555136
Fixed bug with ChimaeraWings not taking Wings from a players inventory properly
...
Fixes #914
2013-04-01 11:32:28 +02:00
TfT_02
4992c50098
Sharing with the dead is bad, they have nothing to gain.
2013-04-01 00:22:24 +02:00
NuclearW
4e9322485a
Flush write buffer for saving PlayerProfile before closing it.
2013-03-31 17:12:45 -04:00
TfT_02
fc8ad40b00
Fixed bug where /addxp was setting instead of adding experience
...
Fixes #898
2013-03-30 10:50:05 +01:00
T00thpick1
0af3c7ab7d
Just in case.
2013-03-29 22:35:55 -04:00
NuclearW
7f4efe1775
Added option to allow refreshing of chunks after block-breaking abilities.
...
This, if enabled, should fix the problem of clients believing they have broken more blocks than they really have when the enchanced enchantment is removed.
If testing proves it to be useful, could be enabled by default. This currently send a 3x3 set of chunks centered around the player, so some servers may wish to disable it in that case.
2013-03-29 18:29:31 -04:00
GJ
fe89c19969
Passing events is bad.
2013-03-28 09:30:49 -04:00
GJ
f2b1758439
Fix players not being able to pick up items.
2013-03-28 07:52:12 -04:00
GJ
86eaa3b091
These aren't the drops you're looking for.
2013-03-28 07:46:22 -04:00
GJ
24153c2fb1
Dumb ternary statement was dumb.
2013-03-28 07:45:35 -04:00
GJ
5e36683ff2
Fixed Potatoes and Carrots not awarding XP.
2013-03-28 07:45:15 -04:00
NuclearW
c53563e7d1
More work GJ didn't ask me to do
2013-03-28 02:18:36 -04:00
TfT_02
d778293531
Use full player names instead of partial names
2013-03-27 21:25:59 +01:00
GJ
7d8888d47d
Even simpler.
2013-03-27 15:56:03 -04:00
TfT_02
6fbfec48b0
Revert "Deal with the ConcurrentModification issue. Fixes #873 "
...
This reverts commit ca51b2f
.
2013-03-27 20:44:44 +01:00
TfT_02
1f25b0b00b
Use positive page numbers when a player uses /mctop -1
2013-03-27 20:37:03 +01:00
GJ
0118346aaf
ACTUALLY fix our CME.
2013-03-27 15:34:34 -04:00
TfT_02
287842c675
Fixed bug which causes a NPE when trying to use /mcrefresh from the console
2013-03-27 20:17:54 +01:00
TfT_02
ca51b2f70f
Deal with the ConcurrentModification issue. Fixes #873
2013-03-26 15:18:14 +01:00
NuclearW
3cf01cb6f3
Expand ChatAPI
2013-03-26 01:55:24 -04:00
NuclearW
16a4b78580
Slight change to ChatAPI implementation
2013-03-26 01:54:47 -04:00
TfT_02
94b560ba01
Don't activate abilities when a player is in creative mode.
2013-03-25 23:15:09 +01:00
TfT_02
3ae9956df9
Actually fix partial name matching when using /mcrank
...
Fixes #878
2013-03-24 16:53:01 +01:00
TfT_02
78109eb499
Revert "Fixes partial name matching with /mcrank"
...
This reverts commit f9a823e4b0
.
2013-03-24 16:30:27 +01:00
NuclearW
da5238878d
Remove Ender Dragon, Wither, and Witch from granting combat experience and related configuration options
2013-03-24 01:31:50 -04:00
TfT_02
f9a823e4b0
Fixes partial name matching with /mcrank
2013-03-23 16:22:48 +01:00
TfT_02
596f2fa78a
Changed config node name for the skill experience modifiers from "Multiplier" to "Modifier"
...
Because the name was confusing.
This will break config settings, check your config.yml if you have
changed the skill experience modifiers.
2013-03-23 15:18:21 +01:00
TfT_02
fa99ebb391
Check if it's an mcMMO item instead.
...
For when we add more items than just ChimaeraWings
2013-03-22 19:15:29 +01:00
TfT_02
9b685be84e
More inverted checkPlayerExistence() checks
2013-03-22 19:08:10 +01:00
TfT_02
96f9d2a030
Fixed broken /party invite
command
2013-03-22 19:06:21 +01:00
TfT_02
2b7178fb00
Fixed broken /party join command
...
Fixes #863
2013-03-22 19:02:51 +01:00
TfT_02
c47bf84493
Fix an IndexOutOfBoundsException when using /mctop
...
Fixed #861
2013-03-22 17:38:52 +01:00
TfT_02
8cf16d4a1c
Update player inventory after crafting multiple ChimaeraWings
...
Fixes #864
2013-03-22 11:22:03 +01:00
TfT_02
5b5b73cde0
Improving Chimaera Wing - part 2
...
* Added a warmup before using a Chimaera Wing
* Closes #740
2013-03-22 00:38:21 +01:00
Glitchfinder
9f55c25775
Actually adding Nether Quartz to Mining for double drops.
2013-03-21 16:05:34 -07:00
TfT_02
92c6a7bfcf
Added partial name matching
...
Works with commands such as /party kick <name>, /ptp <name>
2013-03-21 23:45:10 +01:00
TfT_02
145a47c890
Fixed a NPE when trying to ptp to a non-existing player
2013-03-21 23:09:44 +01:00
TfT_02
70160468c0
Fix a NPE when trying to join a non-existing player
...
Fixes #860
2013-03-21 22:04:52 +01:00
TfT_02
9730cdb880
Normalize line endings
2013-03-21 20:46:23 +01: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
255dece550
Move Arcane Forging to it's own class to match the structure we used
...
with Blast Mining.
2013-03-18 14:02:53 -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
42bc5065df
Add support for new 1.5 inventory blocks.
2013-03-17 23:58:20 -04:00
GJ
b0d609e9a3
Add Quartz Ore to Mining.
2013-03-17 23:58:19 -04:00
GJ
814ffbe800
Fixed by Bukkit in CB #2654
2013-03-17 23:58:19 -04:00
GJ
e7ee23b871
Fixes NPE with FurnaceExtractEvent. Fixes #847
2013-03-17 21:47:45 -04:00
GJ
c14ceab24d
Remove unused import.
2013-03-17 11:01:30 -04:00
GJ
70e8e534fe
Fixed bug with retrieving a player's party members
2013-03-17 10:46:29 -04:00
GJ
685f901e09
Removed deprecated functions from PartyAPI
2013-03-17 10:41:34 -04:00
GJ
d196710a87
Removed deprecated methods from ChatAPI
2013-03-17 10:40:32 -04:00
GJ
050f97e088
Remove deprecated functions from ExperienceAPI
2013-03-17 10:38:43 -04:00
GJ
c2fea660e7
Added functions to ExperienceAPI for use with offline players.
...
Fixes #836
2013-03-17 10:34:46 -04:00
GJ
b2cdf21de5
Fixed bug where the API would fail if the name of a player's current
...
party is requested when the player isn't in one (Thanks @dualspiral!)
Closes #843
2013-03-17 09:02:15 -04:00
GJ
ed09d1b390
Fixed bug where Shake wouldn't damage mobs whose max health was less
...
than 4.
Fixes #845
2013-03-17 08:11:20 -04:00
GJ
171026ba23
Fixed bug where Mining wasn't awarding double drops
2013-03-17 00:36:40 -04:00
GJ
dafa690a09
Make /mcnotify match the process of the other commands for getting the
...
mcMMOPlayer object.
2013-03-16 16:16:22 -04:00
GJ
4cd4223ee0
Fixed /skillreset being broken.
2013-03-16 16:16:22 -04:00
GJ
3ac5ac385d
Fix issue with double drop display values.
2013-03-16 16:16:21 -04:00
bm01
3f56c8e690
Fixed Treefeller trying to cut too many leaves
2013-03-16 16:49:32 +01:00
TfT_02
c14f3777c0
Fixed bug where trying to activate a Chimaera Wing would require one item too much
2013-03-16 11:42:38 +01: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
TfT_02
5aecedc074
Damage the player when ChimaeraWing use failed
2013-03-14 22:31:44 +01:00
TfT_02
69bf17a619
Added Bat takeoff sound when using a Chimaera Wing
2013-03-14 22:26:02 +01:00
TfT_02
0292d3eefb
Cleanup ChimaeraWing
2013-03-14 22:24:38 +01:00
TfT_02
0cd3e4ed84
Teleport to save spawn locations
...
Changed underground usage check.
2013-03-14 22:13:23 +01:00
GJ
3a26194a71
Optimized a few things with our FFS leaderboards.
2013-03-14 10:25:54 -04:00
GJ
1313e3fe4b
Fix CraftBukkit / Bukkit bug regarding event.getCurrentItem() throwing
...
an ArrayIndexOutOfBounds error.
2013-03-13 15:44:26 -04:00
TfT_02
b2f400f61a
"Splinter the axe into dozens of pieces"
2013-03-12 23:31:44 +01:00
GJ
9aa676cee1
We don't need to have two different executors for these commands.
2013-03-11 22:51:44 -04:00
GJ
eabf0f7f82
No need to use an empty locale string for this.
2013-03-11 21:06:56 -04:00
GJ
d0171809ec
Fixed bug with '/party chat (on|off)' and '/partychat (on|off)' not
...
working
2013-03-11 21:06:26 -04:00