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
TfT_02
3ab4938f3d
Also need to locale these two strings
...
Closes #1019
2013-05-02 21:08:20 +02:00
TfT_02
f6e9fd9f3a
Add more localisation
2013-05-02 21:02:12 +02:00
GJ
8dab75f3cb
Can't use brackets in YAML.
2013-05-02 08:48:17 -04:00
GJ
b36096e54d
Fixed bug where non-player arrows couldn't be deflected.
2013-05-02 08:23:18 -04:00
GJ
0574de4a29
Configure the Kraken!
2013-05-02 07:56:29 -04:00
GJ
6d6bc3de76
Trim player names to 16 chars when needed.
2013-05-02 07:16:07 -04:00
GJ
5c4c3cf59c
The Kraken hates boats.
2013-05-01 22:50:12 -04:00
GJ
0033c8864e
A dead kraken can't attack.
2013-05-01 22:17:48 -04:00
GJ
e7c749ee3a
Added boosts to Fishing chance depending on conditions. Also, the
...
kraken, now with 100% more sound!
2013-05-01 21:57:42 -04:00
GJ
5c026be0cd
Don't need those.
2013-05-01 21:19:29 -04:00
GJ
c465546871
Unleash the Kraken!
2013-05-01 21:17:59 -04:00
GJ
3322677d32
Added "Ice Fishing" ability to Fishing
2013-05-01 10:18:19 -04:00
GJ
76cf0ebb01
Only play ability effects if there's room above the player.
2013-05-01 08:59:45 -04:00
GJ
d34a0cca30
Fix issue with using /mcpurge, /mcremove, and /mmoupdate from the
...
console. These commands now default to OP, because frankly there are
much worse things someone can do with OP status than mess with the mcMMO
database.
2013-05-01 08:40:01 -04:00
GJ
a77a916fcc
One more time...
2013-04-30 17:31:06 -04:00
GJ
e1ebb96545
Still need to remove from pending even if offline.
2013-04-30 15:47:19 -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
14050cf096
Oops.
2013-04-30 14:24:31 -04:00
GJ
5930128b7f
Add soft-depend on CombatTag so it loads before mcMMO, allowing us to
...
ensure the name check is ONLY run if CombatTag is installed.
2013-04-30 13:53:21 -04:00
GJ
08be78fa35
Avoid possible IllegalStateException if player has logged out before
...
this processes.
2013-04-30 10:02:28 -04:00
GJ
88f43d9a91
Add command to clear or change scoreboards.
2013-04-30 09:48:53 -04:00
GJ
6cbf960dea
Use the right value here.
2013-04-30 08:24:16 -04:00
TfT_02
374d34f76d
Fixed that for you
2013-04-30 14:20:16 +02:00
GJ
cc486c2dc7
Update the localization files.
2013-04-29 16:27:25 -04:00
GJ
50c9649b23
mcMMO - Now with 100% more scoreboards!
...
mcMMO now allows for the use of scoreboards to display information in
several instances. By default, all scoreboards are enabled in the config,
and will only display for 10 seconds. After 10 seconds, the scoreboard
will go away and revert to the previously displayed scoreboard, if one
exists.
A global scoreboard now exists for tracking all player stats, and will be
displayed when /mctop is used. Your name will be highlighted in gold when
looking through the scoreboard. Additionally, the scoreboard will display
players in groups of 15, rather than groups of 10 like in chat.
Unfortunately, due to the limitations of scoreboards, the player's rank
will not be displayed in front of their name.
The scoreboard area is now also used for displaying data for /mcrank,
/inspect. and /mcstats. Due to the way scoreboards are handled, the power
level is not guarenteed to show up at any given location in the
scoreboard, but is instead displayed in gold so that it can be easily
found.
Lastly, the scoreboard area is also now used for displaying current data
on skills when the relevant /<skillname> command is used. The effects and
ability stats will still be shown in chat, but the current level, xp, and
remaining xp will be shown in the scoreboard.
2013-04-29 15:45:07 -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
15da9d580b
The previous CombatTag fix should take care of these.
2013-04-28 16:52:14 -04:00
GJ
62aed496cc
Fix issue with CombatTag NPC errors. Fixes #1012
...
NOTE: Do NOT change the default NPC name for CombatTag in your config,
or this fix won't work.
2013-04-28 16:50:41 -04:00
GJ
fba131936a
Fix issue with tab-completing /party commands.
2013-04-28 01:11:51 -04:00
t00thpick1
70601a4560
Debug code - Why you be in main branch
2013-04-28 01:08:07 -03:00
t00thpick1
83604ecb6d
Syntax fixes
2013-04-27 14:18:10 -03:00
TfT_02
b912f7072c
Actually use float experience
2013-04-26 17:28:18 +02:00
GJ
7e7e468408
Fix /mcrank showing everything as unranked...
2013-04-26 10:51:17 -04:00
T00thpick1
748c97f6c1
Expand AbilityAPI capabilities
2013-04-25 21:47:41 -04:00
GJ
a3aab57cf8
I am bad at SQL.
2013-04-25 20:08:27 -04:00
GJ
5548e26dd9
Fixed bug where players could remain in party chat after leaving or
...
being kicked from a party.
2013-04-25 19:52:25 -04:00
GJ
89d2f07c03
Because the block is null if they click air.
2013-04-25 19:36:34 -04:00
GJ
f42a28f34f
Use defaults in case these are null.
2013-04-25 19:26:50 -04:00
TfT_02
bdc753f03c
Also add the cancel feature for the Salvage Anvil
2013-04-25 23:40:21 +02:00
TfT_02
68a7b540c5
Ask a confirmation when a player tries to repair an enchanted item
2013-04-25 23:29:49 +02:00
GJ
b2dd820507
Clean up a few more things.
2013-04-25 09:27:48 -04:00
GJ
612308eb9a
No reason to have those variables.
2013-04-25 09:20:03 -04:00
GJ
98dc7b853a
Protect our managers.
2013-04-25 09:16:42 -04:00
GJ
a2fefd6fb6
Oops.
2013-04-25 07:48:14 -04:00
TfT_02
17a0382283
Changed experience storage from integers to floats
...
This will make sure no experience is lost when the server has high
skill modifiers configured, or when low amounts of experience are being
shared.
2013-04-25 07:42:38 -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
1aff2cf9eb
Cleaning out some crap from our PlayerListener.
2013-04-24 21:18:31 -04:00
GJ
4fc6349824
Move healthbar stuff to it own class.
2013-04-24 11:40:34 -04:00
GJ
7a3921eace
Make these actually random.
2013-04-24 11:05:40 -04:00
GJ
e99599c377
Fixed Smelting returning ink sacs instead of Lapis when double-dropping.
...
Fixes #986
2013-04-24 07:08:24 -04:00
GJ
e1f6366a00
Don't make a new File every time.
2013-04-23 09:32:28 -04:00
GJ
182b01ac2f
Redundant check is redundant
2013-04-23 09:10:22 -04:00
GJ
18f3914428
Use the path we already have.
2013-04-23 09:10:03 -04:00
GJ
bd0a045da3
No need to handle the load ourselves.
2013-04-23 09:00:42 -04:00
t00thpick1
9a4bed8c67
Already set to config default in constructor
2013-04-23 01:25:54 -03:00
t00thpick1
ae0cf692cd
Use defaults when using defaults.
2013-04-23 01:22:01 -03:00
GJ
2ca7d139fe
Fix NPEs relating combat checks and world changing. Fixes #976 , #979
2013-04-22 23:19:26 -04:00
TfT_02
7e67505dfb
Remove redundant ChimaeraWing check
...
Also indent the code
2013-04-21 21:50:08 +02:00
TfT_02
21100de85d
Move the ChimaeraWing permission check and add feedback
2013-04-21 21:48:42 +02:00
TfT_02
d8f799f8b4
Add a few missing items to the Shareables list
2013-04-20 16:11:07 +02:00
TfT_02
cb03a98113
Add pickup sounds to cancelled PlayerPickupItemEvents
...
This will make the player aware that he has picked up an item.
2013-04-20 13:24:50 +02:00
GJ
4b36a11dda
Make sure the target is online.
...
This ensures that the McMMOPlayer object *should* be valid.
2013-04-18 22:18:06 -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
TfT_02
e831f0561a
Changed Call of the Wild, newly summoned pet's will have a custom name
...
Closes #972
2013-04-18 23:04:27 +02: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
150fe730bd
No point in having a class & method for one line of code.
2013-04-18 09:19:48 -04:00
GJ
8af425d067
Make this a bit more sane.
2013-04-18 09:09:12 -04:00
GJ
c3845abd2a
Clean up a bit, and make the /party itemshare command recognize the new
...
"misc" option
2013-04-18 08:11:47 -04:00
GJ
eba6820ec6
Clean this up a bit.
2013-04-18 07:51:53 -04:00
TfT_02
822e40bc1f
Added a new Party item share category "Misc" which contains a list of configurable items.
2013-04-17 16:03:34 +02:00
TfT_02
3ffcaae122
Track items dropped by a player, prevent them from being party shared
2013-04-17 15:20:09 +02:00
GJ
42a30b4521
Fixed Fishing treasures always having the same enchants.
2013-04-17 07:47:43 -04:00
GJ
377ed9e8e5
Fix not being able to change party owners.
2013-04-17 07:07:54 -04:00
GJ
be76fe61d8
Fixed being unable to kick party members.
2013-04-17 07:05:28 -04:00
GJ
07ba7a8d9e
Nerf fishing again... AGAIN
2013-04-16 23:48:36 -04:00
GJ
2be3e3b43c
Changed Berserk to add items to inventory rather than denying pickup
2013-04-16 23:44:41 -04:00
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
NuclearW
faecb9a439
Fix players not having ptp.send by default.
2013-04-12 18:25:52 -04: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
431429a29c
Broken config files are bad.
2013-04-04 23:03:54 -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
13fd522bd4
Updated localization files. Adds Thai (Thailand) and Lithuanian support.
2013-04-04 10:17:55 -04: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
4c44b72f78
50 != 100
2013-04-04 07:06:07 -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
eb20da021d
Correctly format the config.yml comments
2013-03-23 15:19:40 +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
db2bf9ee51
Updated localization files.
2013-03-18 14:28:04 -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
GJ
410c946faf
Tidying up Permission checks for /mcrank and /mctop
2013-03-11 12:48:00 -04:00
GJ
3a7d88db4f
Fixed bug with Blast Mining increasing TNT damage.
2013-03-10 21:30:35 -04:00
GJ
9eba2c683b
Use equalsIgnoreCase() instead of equals(), and use == for compaing
...
worlds.
Fixes #815
2013-03-10 18:06:10 -04:00
T00thpick1
8059636b62
Permissions for stat displays
2013-03-10 15:50:10 -04:00
GJ
d78a1efbf6
Fixed bug with Repair not decreasing enchanting levels properly.
...
Fixes #817
2013-03-10 15:48:16 -04:00
GJ
c0b4a33346
Importing Bukkit is usually bad.
2013-03-10 15:07:07 -04:00
GJ
2cef6700c7
Just to be 100% sure this gets processed correctly.
...
The blockstate DOES current store the metadata of the block, but I'd
rather stick with using the Block every time to be absolutely certain
that things are handled correctly.
2013-03-10 14:53:51 -04:00
t00thpick1
df67bd6720
Message player only when enchants actually exist
2013-03-09 20:05:15 -05:00
TfT_02
655dcb1c9b
Add Cooldown setting for Chimaera Wing to default config.yml
2013-03-09 21:43:06 +01:00
TfT_02
ce32792668
Fixed bug where Deflect was calculated based on the attacker, not the defender
...
Closes #794
2013-03-09 14:44:29 +01:00
TfT_02
4b384abc51
Adding comments to config.yml and itemweights.yml
2013-03-09 10:26:57 +01:00
TfT_02
82bccd357b
Removed trailing whitespace
2013-03-09 10:21:05 +01:00
NuclearW
12709bcd7f
Check hasItemMeta
2013-03-08 22:20:26 -05:00
NuclearW
0b53f8266a
Squashed commit of the following:
...
commit ba0ba3d2881dc672ef3dc40010278a0fbe158436
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 8 16:27:19 2013 -0500
Line endings, yo
commit b93f0f54f5
Author: md-5 <md_5@live.com.au>
Date: Sat Mar 9 08:18:49 2013 +1100
Use correct state, not block refrence to fix compile.
commit 1063ad5c68
Author: md-5 <md_5@live.com.au>
Date: Sat Mar 9 08:12:34 2013 +1100
Fix errors in furnace listener.
Bad GJ!
2013-03-08 16:32:44 -05: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
TfT_02
3349e9cb05
Normalize line endings
2013-03-08 21:42:26 +01:00
bm01
0e2746622d
Fixed the Cacti & Sugar Cane fix!
2013-03-08 19:33:03 +01:00
GJ
d9bd0ace9a
Fixed bug with Smelting not properly tracking furnaces. Fixes #806
2013-03-08 10:23:21 -05:00
GJ
e31b7d5c48
Cacti & Sugar Cane are an exception, because the bottom block is
...
normally player-placed but the top two are grown naturally.
2013-03-08 08:53:54 -05:00
GJ
4bddbbf56e
This must be handled first, else no XP is awarded if double-drops are
...
disabled.
2013-03-08 08:49:07 -05:00
GJ
0654f27599
Fixed bug where Blast Mining was awarding too much XP
2013-03-08 08:45:16 -05:00
GJ
3f71dab0b1
Improved stats display for child skills
2013-03-08 08:39:28 -05:00
GJ
bd45fff1b4
Fixed bug relating to "empty" ItemStacks. Fixes #807
2013-03-08 07:40:25 -05:00
GJ
9618e45a11
That was bothering me.
2013-03-08 07:26:43 -05:00
bm01
3839373f5a
Forgot this one
2013-03-08 10:35:52 +01:00
bm01
1633617006
Minor cleanup
2013-03-08 10:33:20 +01:00
bm01
57e33bbf39
Fixed triple drop awarding experience twice in mining
...
The previous commit also fixed this for Herbalism
2013-03-08 10:31:32 +01:00
bm01
cddcf36016
Reworked some methods related to Herbalism
...
Fixes double seed consumption for Green Terra when used on crops
Fixes wheat consumption instead of seed for Green Thumb
Fixes XP and double drop exploit with some blocks (flowers...)
2013-03-08 10:11:33 +01:00
bm01
dff03109a3
Parties should only be saved once per call
2013-03-08 05:28:40 +01:00
bm01
c0986a1f89
Removed unneeded null checks
2013-03-08 02:09:43 +01:00
bm01
cd4c328320
Improved SkillMonitorTask
2013-03-08 02:03:25 +01:00
NuclearW
03d0ecd450
text=auto
2013-03-07 14:43:03 -05:00
GJ
3a809dab32
Fix downgrade chances all being calculated from Rank4.
2013-03-07 12:52:43 -05:00
GJ
ade9e20cdd
Fixed bug where Beast Lore wouldn't work on friendly pets.
...
Fixes #805
2013-03-07 09:18:27 -05:00
GJ
29520dc95c
Get the mcMMOPlayer outside of the loop so it doesn't have to be
...
recreated every time.
2013-03-07 08:53:13 -05:00
GJ
d40d89f29a
Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice.
...
Fixes #787
2013-03-07 08:07:55 -05:00
GJ
9377de930f
Fixed bug with using Salvage on stacked items. Stacked items will now
...
return the appropriate amount of materials. Fixes #802
2013-03-07 08:03:18 -05:00
GJ
3219674678
Added option to advanced.yml to determine the # of enchant levels used
...
when buffing Super Breaker & Giga Drill Breaker
2013-03-06 23:00:37 -05:00
GJ
a9438ed52b
Move BlockCracker into the UnarmedManager
2013-03-06 19:19:26 -05:00
GJ
09169bd019
Fixed bug where Fishing was becoming less successful at higher levels
2013-03-06 18:17:54 -05:00
GJ
c30fdef615
Removed the option to use Woodcutting without an axe from the config
...
file.
2013-03-06 16:27:10 -05:00
GJ
109e9725a9
No need to create our mcMMOPlayer again.
2013-03-06 16:25:46 -05:00
GJ
44ede5c3f8
Create a WoodcuttingManager
2013-03-06 16:23:41 -05:00
GJ
c1161da6de
We don't use this function anymore.
2013-03-06 16:23:41 -05:00
TfT_02
80927417f2
Fix the update checker
...
Now it's able to parse x.x.x-type-bxxx and x.x.x-bxxx
2013-03-06 22:20:11 +01:00
GJ
91d8cd5da8
Reorganize our imports after Repair refactoring.
2013-03-06 12:21:02 -05:00
GJ
869d731b81
We now have a RepairManager.
2013-03-06 12:19:57 -05:00
GJ
f6a18ef777
Move Salvage functions into Repair
2013-03-06 11:31:51 -05:00
GJ
3e084b3b5d
Unlock levels go in advanced.yml, not config.yml
2013-03-06 11:13:25 -05:00
GJ
2c7f931c4d
Removed option to disable Salvage via the config file. This should be
...
handled via permissions instead.
2013-03-06 10:50:59 -05:00
GJ
6b18cec7fb
Combine our placedAnvil checks into one function.
2013-03-06 10:47:56 -05:00
GJ
08960a2dbc
Move Salvage checks into our RepairManager
2013-03-06 10:02:34 -05:00
GJ
5f4e269efa
Fixed bug with repairing using materials with byte metadata
2013-03-06 09:43:09 -05:00
GJ
e5f6da01ec
Create a proper RepairManager to match the others, rename our old
...
RepairManager to RepairableManager.
2013-03-06 09:37:09 -05:00
TfT_02
ae741a1b99
Fixed bug where players were unable to salvage leather armor. Closes #788
2013-03-05 14:39:39 +01:00
GJ
df53e2fd4f
Fixed issue with some skill activations not activating enough or
...
activating too much.
Fixes #785
2013-03-04 22:45:37 -05:00
GJ
4210920c5f
Fixed ClassCastException relating to counter-attack with Swords. Fixes
...
#784
2013-03-04 21:59:16 -05:00
TfT_02
3440833af8
Fixed bug where the PTP cooldown was being read improperly
2013-03-05 00:48:48 +01:00
TfT_02
1e738263bc
Remove the ptp request after using /ptp accept
2013-03-05 00:30:48 +01:00
TfT_02
9cf322ca0b
Fixed NPE with /ptp <accept|toggle|acceptall>
2013-03-05 00:30:07 +01:00
GJ
0c027ca697
Straightening up our Managers more, also fixed a few bugs regarding
...
unlock levels and Deflect not working properly.
2013-03-04 09:41:24 -05:00
TfT_02
27ed5f7c38
Added API to get level caps
...
Use getLevelCap(String skillType) to get a level cap of a specific
skill.
Use getPowerLevelCap() to get the power level cap.
2013-03-04 15:16:33 +01:00
GJ
2f491b24e2
Updated locale files.
2013-03-03 23:18:46 -05:00
GJ
d2cb55befa
Fixed bug with /ptp display strings when trying to teleport after having
...
been hurt or recently teleporting.
2013-03-03 23:02:37 -05:00
NuclearW
e3e4cf9884
Do not attempt to load an empty treasure config
2013-03-03 19:40:10 -05:00
GJ
1b461ac96a
Cleaning up more combat checks.
2013-03-03 15:42:56 -05:00
GJ
1fc3c8fab2
AnimalTamer already has a getName() method.
2013-03-03 15:22:40 -05:00
GJ
7c28be5e62
Straightening up our InventoryListener, SwordsManager, TamingManager,
...
and UnarmedManager.
2013-03-03 14:59:22 -05:00
GJ
cbe9cae4ea
Straighten up the Taming classes in order to stop passing events around quite so much. Also reordered some checks in our EntityDamage listeners for readability & efficiency purposes.
2013-03-03 14:48:13 -05:00
bm01
c0b7f8a323
Moved everything that could be moved from PlayerProfile to McMMOPlayer
...
PlayerProfile now only store stored (flatfile or MySQL) data
2013-03-03 17:06:32 +01:00
bm01
f8b4412049
Each McMMOPlayer now store its SkillManager objects
...
Should fix a recent memory leak
2013-03-03 17:06:32 +01:00
TfT_02
10e227a5ac
Fixed bug where Chimaera Wing would always teleport to spawn
2013-03-03 17:03:16 +01:00
TfT_02
077431630a
We don't need this here.
2013-03-03 17:02:11 +01:00
bm01
37395a70e6
Combat skills should work on wild wolves / cats
...
Bug introduced in my previous commit
2013-03-03 14:38:00 +01:00
bm01
b779258d69
Fixed Beast Lore not working, fixes #771
2013-03-03 14:21:19 +01:00