TfT_02
e56d5a0454
Exclude vanished players from tab complete list
...
Part 2 of fixing #1745
2014-02-28 21:56:30 +01:00
TfT_02
53fdf750f4
Pretend like the player is offline when he is vanished
...
Part 1 of fixing #1745
2014-02-28 21:56:30 +01:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
TfT_02
c51fde7f1f
Added new permission node to control who can check version number
...
Negate this permission node to hide the version number from /mcmmo and
motd
2014-02-17 16:31:59 +01:00
TfT_02
9f9de86d21
The defender isn't necessarily a player here
...
Besides, the defender doesn’t need to have the player data key anyways
2014-02-16 00:11:15 +01:00
t00thpick1
04a02cfdc8
Store McMMOPlayer objects as metadata
2014-02-15 14:21:25 +01:00
TfT_02
a2e32179bb
Fix /mcstats command
...
Fixes #1819
2014-02-05 19:24:14 +01: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
GJ
520f5cb116
Fix the broken build. Shame on me.
2014-01-20 14:53:31 -08:00
GJ
43e2c813d1
Clean up some of our messes.
2014-01-20 13:58:40 -08:00
TfT_02
c6ea32f0b0
Added Ender Dragon, Wither, and Witch to combat experience multipliers
...
They do not give any XP by default.
Fixes #1763
2014-01-19 19:40:33 +01:00
TfT_02
82509fb476
Added custom XP boost perk
2014-01-19 01:08:38 +01:00
TfT_02
c27d79cf25
Added new XP perk - 10% boost
...
Adds #1698
2014-01-19 01:08:37 +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
818962e668
Added party levels
...
Parties now have XP and Levels. Party features such as party teleport and party chat have to be unlocked before they can be used by the party members
2014-01-17 18:56:27 +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
103bf593f3
Check null here as well
...
Fixes #1664
2014-01-12 10:30:04 +01:00
Sean Porter
cc524bb2ab
Map.remove() can return Null.
2014-01-09 22:52:25 -08:00
GJ
13a623ea1f
Misc was getting crowded again.
2014-01-03 11:07:13 -05:00
GJ
05b21eae5f
Clean up our inventory event handling.
2014-01-03 10:41:38 -05:00
GJ
e0358d42d6
Ensure we're not dealing with a fake player. Fixes #1749
2014-01-03 09:19:07 -05:00
Sean Porter
a87bd14342
The attack target can still be an NPC without being an instance of Player.
2013-12-27 14:50:01 -08:00
TfT_02
ea4c424e0f
Added level thresholds to hardcore modes
...
Players will not lose stats when their level is below the
Level_Threshold.
2013-12-15 23:27:37 +01:00
riking
f99e5e015d
Add checks to rectify the potential for negative XP
...
Fixes #1573
2013-12-15 23:26:57 +01:00
riking
56b57da077
Only call one Death Penalty Event
2013-12-15 23:26:57 +01:00
TfT_02
4b402d9837
Fixed validation feedback message for Chimaera Wing recipe cost
...
Fixes #1703
2013-12-15 22:25:15 +01:00
riking
2aec4a69ea
Database conversion bug: Integral division in output format
2013-12-10 14:56:07 -08:00
TfT_02
07cafd4866
Fixed bug where disabling hardcore mode for specific skills didn't work
...
Fixes #1661
2013-12-03 22:15:23 +01:00
GJ
48821a710f
Fixed bug with cooldown donor perks
2013-12-02 08:30:45 -05:00
t00thpick1
2d577e92f1
AntiTheft option for Disarm Ability
2013-12-01 19:08:22 -05:00
t00thpick1
2d3da6daf8
Space not underscore
2013-11-24 18:01:05 -05:00
t00thpick1
02a064ffc6
These need spaces to be called pretty
2013-11-23 00:45:12 -05:00
t00thpick1
c0dee19cb0
Missed a refactor :P Also, javadoc event
2013-11-22 12:48:53 -05:00
t00thpick1
870987bba7
SecondaryAbility's API additions
2013-11-22 12:32:23 -05:00
t00thpick1
729f3b1df9
There is no usage of this method in which "all" will not cause NPE's
2013-11-19 21:00:29 -05:00
GJ
69ef7f40d8
Command cleanup.
2013-11-08 23:14:11 +01:00
GJ
f17b5faaf6
Parenthesis are good.
2013-11-06 14:52:19 -05:00
GJ
cf56ca35eb
Tweaked durability handling slightly.
...
Now routes everything through one function to handle enchants and max
durability. Use max durability from RepairableManager by default to
account for mod tools.
2013-11-06 08:45:20 -05:00
TfT_02
c31f5b5782
Account for Unbreaking enchantment when using abilities
2013-11-05 14:51:54 +01:00
TfT_02
b1458840e7
Permissions should be lowercase
2013-11-02 19:29:36 +01:00
TfT_02
1fea786669
Added bypass permission for finding Fishing traps
2013-11-02 19:25:02 +01:00
GJ
2e1c585005
Fix issue with updating players that are offline.
2013-11-01 12:38:40 -04:00
GJ
811626e67b
Cleanup.
2013-11-01 11:54:51 -04:00
GJ
2cdf08de9f
Allow offline players for chat events.
...
This fixes issues with plugins or applications that rely on JSONAPI to
chat. Fixes #1578
2013-11-01 09:12:06 -04:00
GJ
71141a0f8d
Minimum quantity should default to 2.
...
Fixes #1581
2013-11-01 08:22:14 -04:00
TfT_02
bded936af5
Cleanup our imports
2013-10-31 22:30:05 +01:00
GJ
caaac232d7
Cleanup CombatUtils.
...
Opting to stick with the if-else rather than the switch statement,
because I think it's slightly easier to read.
2013-10-31 15:03:06 -04:00
GJ
a9d51dad34
Clean up Smelting checks.
...
Now uses recipes to check if an item is the result of smelting.
2013-10-31 14:29:06 -04:00
GJ
de3c4f8fd7
Smelting now works with custom ores.
...
Also fixed exploit where smelting XP could be awarded for some
non-smeltable materials.
2013-10-31 13:25:06 -04:00
GJ
41da32cd1b
Added options to disable various sound effects.
...
Fixes #1577
2013-10-31 09:03:29 -04:00
GJ
97b9214d6e
Wrap these inside McMMOPlayer for easier access.
2013-10-29 11:02:57 -04:00
GJ
3be443c63c
Cleanup some XP functions, remove unused scoreboard values, minor refactoring.
2013-10-29 09:49:41 -04:00
GJ
cc2c9eb21d
Move this to the skill itself.
2013-10-28 16:32:40 -04:00
GJ
60d69e3cc4
Create wrapper to handle all PTP data.
2013-10-28 15:49:48 -04:00
riking
f64f62492f
Reinstate static color list, clarify intent
2013-10-28 12:47:25 -07:00
GJ
c79f8043ad
Use proper functions where they exist, and move functions to better locations.
2013-10-28 15:12:24 -04:00
GJ
62e03a4ef5
Black is hard to read.
2013-10-28 13:58:34 -04:00
GJ
9ef3c721df
Formatting cleanup from the scoreboard update. Also handle skill permissions differently.
2013-10-28 13:04:46 -04:00
GJ
134e0db2e9
Cleanup more of Riking's mess.
2013-10-25 17:07:56 -04:00
riking
bd611ee11c
Add message to /mcscoreboard keep when a board is not shown
2013-10-25 11:39:24 -07:00
riking
c6ca65f5c9
Create a utility method in SkillUtils to easily check ability cooldowns
2013-10-25 09:49:02 -07: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
GJ
bc51505150
More cleanup.
2013-10-21 08:31:35 -04:00
TfT_02
e0599a0dea
Subtract XP with Hardcore mode
...
Adds #1529
2013-10-20 20:02:16 +02:00
TfT_02
810c74dc2a
Fixed bug which prevented players from leveling up
...
Any affected players will get their levels back when they gain some
more XP in that particular skill.
2013-10-19 14:08:04 +02:00
TfT_02
f4ff8518c2
Cleanup progress feedback
2013-10-18 16:43:37 +02:00
TfT_02
4a428a47af
Fix bug with HolidayManager and some cleanup
2013-10-18 16:24:01 +02:00
TfT_02
e8e2dcff46
-levelsChanged instead of - levelsChanged
2013-10-18 15:26:15 +02:00
GJ
b8c1f868f5
Event updates
2013-10-18 08:54:06 -04:00
Bestle
d8e86d0fc7
Fix logic error in fireworkParticleShower
...
If a player is inside a vehicle, the y position of the spawned firework should be modified, not the x
2013-10-18 12:59:21 +01:00
riking
b4f4de4628
Get all logs in Tree Feller, and optimize performance
...
Tree Feller has been shown, both anecdotally and with timings, to put a strain on the server, and therefore is worthy of the effort of optimization.
Prior to this change, on jungle trees, Tree Feller would take around 20-40 milliseconds to process a Jungle Tree after the JIT kicked in, and around 15-25 milliseconds for a normal tree.
Additionally, logs would be left up in the air for jungle trees.
After this change, Tree Feller takes 2-5 milliseconds on normal trees, and 10-15 milliseconds on jungle trees, and no logs are left up in the air.
2013-10-16 00:59:11 +02:00
GJ
468fbdab56
SkillUtils cleanup, EventUtils creation
...
Move some functions in SkillUtils to more relevant locations.
Begin work on utility class to handle all event calls.
2013-10-15 13:03:33 -04:00
GJ
309dfd50cd
Revert change to smoke particle handling
...
Have to do it this way, because not all block directions are valid for
smoke
2013-10-15 08:38:59 -04:00
GJ
056f7cc93b
Nicer handling of some particle effect code.
2013-10-14 11:29:25 -04:00
TfT_02
741f629ab8
Don't spawn fireworks under a boat (for real this time)
...
Fixes #1534
2013-10-14 17:07:15 +02:00
TfT_02
82f8c4ce36
Fishing Treasure Hunter overhaul
2013-10-12 02:41:13 +02:00
GJ
0c83bf2a80
Improve our drop handling.
2013-10-09 11:44:45 -04:00
TfT_02
5a6bb363cf
Don't spawn fireworks under the player if they're in a vehicle
2013-10-06 12:08:22 +02:00
TfT_02
a0e37a4a09
I forgot to invert this check
2013-10-03 22:04:39 +02:00
TfT_02
6baf820afa
Cleanup and formatting
2013-10-01 22:14:29 +02:00
Kane York
288287badf
Add holiday celebration for the console
2013-10-01 22:06:51 +02: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
a63f745c73
Add custom mobs automatically as they're killed.
2013-09-26 15:06:36 +02:00
GJ
4a0fee5796
Use class names to better find custom entities.
2013-09-26 15:06:21 +02:00
GJ
cf90236e57
Redo blocks.yml
...
** YOU WILL NEED TO UPDATE THIS FILE **
2013-09-26 15:06:21 +02:00
GJ
fc6c7bb1de
Rework custom tool config.
...
** YOU WILL NEED TO UPDATE YOUR CONFIG TO THE NEW FORMAT **
2013-09-26 15:06:21 +02:00
GJ
792ecd6aad
Rework armor.yml to take item names instead of IDs in advance of 1.7 changes.
...
** YOU WILL NEED TO REDO YOUR armor.yml FILE **
2013-09-26 14:58:30 +02:00
TfT_02
933b6f278b
Disable partial name matching for offline players by default
...
#1482
2013-09-25 14:26:24 +02:00
TfT_02
45dfc13ebd
Match playernames using OfflinePlayers instead
...
Fixes #1482
2013-09-24 11:40:53 +02:00
TfT_02
d5bd9a1693
Fixed some small mistakes in CommandUtils
2013-09-23 20:22:41 +02:00
TfT_02
3828f78480
Fixed respawn cooldown checks
...
Thanks @Riking for pointing this out!
2013-09-22 23:28:08 +02: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
f71b302f6f
Don't need this anymore.
2013-09-19 15:19:16 -04:00
GJ
9be9908a22
Remove unused imports.
2013-09-18 09:39:54 -04:00
GJ
e0592b3f62
Don't try to ever pull the mcMMOPlayer here.
...
Fixes #1466
2013-09-16 12:12:31 -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
e8bc2475c3
Add sound for level-up even when not using Spout.
2013-09-16 09:52:09 -04:00
TfT_02
17faf1561f
Refactor to getMaxLength
2013-09-15 21:45:16 +02:00
GJ
4eba33a1c6
Use doubles in config.yml where appropriate. Change item IDs to item names
...
in light of upcoming Minecraft changes that will remove access to item
IDs.
2013-09-13 09:52:52 -04:00
GJ
088015dd4d
Switch to H31ix's updater for security reasons.
2013-09-13 00:59:07 -04:00
t00thpick1
1004e2a32b
These duplicate checks are handled in config validation.
2013-09-12 20:52:26 -04:00
GJ
58c7dcb705
Fix issues with double damage, double death messages, and other damage oddities.
...
Fixes #1450
2013-09-12 11:52:34 -04:00
t00thpick1
f7928787dc
Skill shot should be after deflect check
2013-09-11 10:17:24 -04:00
GJ
af39e84aef
Actually remove /mmoupdate, fix usage strings for /mcconvert, fix tab completion
...
Fixes #1451
2013-09-10 15:47:47 -04:00
TfT_02
93fe2ff504
Cleanup our imports
2013-09-10 15:28:11 +02:00
GJ
b42f2d4073
Refactor, plus store these values rather than checking them twice.
2013-09-10 08:38:06 -04:00
GJ
89ddf8c4fa
Fixed issues with dealing damage to Entities
2013-09-09 20:41:06 +02:00
GJ
71ab678945
Fix bug where mcMMO damage wasn't awarding XP.
...
Fixes #1400
2013-09-09 12:00:37 -04:00
GJ
14daee3b1b
Fixed a bug where squid were not awarding XP.
2013-09-09 10:46:26 -04:00
GJ
d2bbbb0fe7
More deprecation fixes.
2013-09-05 16:36:02 -04:00
GJ
fd8d9b02a9
Begin trying to remove newly-deprecated "magic numbers"
2013-09-05 14:55:08 -04:00
GJ
a639a37637
Add per-skill XP boost perks.
...
Fixes #1412
2013-09-03 09:24:58 -04:00
GJ
7523afffb5
Updated permissions for more control over Call of the Wild.
2013-08-30 13:50:34 -04:00
GJ
73d0b377ae
Reduce code duplication. Also verify that our target is alive before trying to damage them.
...
Fixes #1403
2013-08-28 11:29:30 -04:00
GJ
6bfc1b84de
Let's do this the right way.
2013-08-23 20:14:13 +02:00
TfT_02
59f545d5ce
Fixed FakeEntityDamageByEntityEvent not getting fired
2013-08-23 20:14:13 +02:00
GJ
23983422e0
Cleanup & remove code duplication.
2013-08-23 14:08:16 -04:00
TfT_02
964b2636fb
Move experience related settings from config.yml to experience.yml
2013-08-23 19:37:44 +02:00
TfT_02
0ce41150c6
Vampirism can now be enabled without having Skill Death Penalty enabled
2013-08-22 22:54:05 +02:00
TfT_02
0455416dec
Reorganized Hardcore locale strings
2013-08-22 22:54:05 +02:00
TfT_02
a6e7febf77
Hardcore mode can now be toggled for each skill individually
2013-08-22 22:54:05 +02:00
GJ
ede0757d83
Remove /mmoupdate and replace with /mcconvert database
2013-08-22 22:33:06 +02:00
GJ
8282d84b16
Validate, and nicer loading.
2013-08-22 22:22:19 +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
GJ
1a51b93ec9
Another quick check to avoid issues with NPCs.
2013-08-22 14:45:30 -04:00
TfT_02
ca6bee07ea
Fix formatting
2013-08-22 00:37:48 +02:00
gmcferrin
2bae937b28
Don't throw a warning if we're expecting a null object.
2013-08-21 14:20:12 +00:00
GJ
c8c76f4174
Put this function in a better place.
2013-08-20 15:12:38 -04:00
GJ
50ef8d9610
Improvements to mcMMOPlayer lookup.
2013-08-20 14:10:49 -04:00
GJ
62146480db
Hardcoding this is a bad idea.
2013-08-19 15:12:08 -04:00
TfT_02
6518d192ec
Improved partial name matcher
...
Fixes #1164
2013-08-19 10:37:04 +02:00
TfT_02
3fe9cfee74
Slightly improved update checker feedback
2013-08-18 18:04:20 +02:00
TfT_02
560c3860b4
Fixed bug which allowed players to bypass fishing's exploit prevention
...
Fixes #1319
2013-08-17 10:11:46 +02:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02:00
TfT_02
ead1398132
Super Breaker & Giga Driller now use more durability
...
A configurable amount is added to the vanilla durability loss.
Use `Abilities.Tools.Durability_Loss` to disable (set to 0) or set it
to -1 for no durability loss while using abilities. Closes #1363
2013-08-09 22:21:45 +02:00
TfT_02
6330c4a69e
Move the noErrorsInConfig check to Misc
2013-08-09 19:10:03 +02:00
TfT_02
1f53c62ced
Added McMMOPlayerDeathPenaltyEvent
...
Called when a player dies and mcMMO tries to invoke Hardcore mode or
Vampirism
2013-08-07 01:21:52 +02:00
TfT_02
ccbffca278
Validate config.yml settings
2013-08-06 21:17:14 +02:00
Glitchfinder
aeaab43f44
Fixing a multitude of reported NPEs.
2013-08-04 12:15:01 -07:00
GJ
d1bf48ad79
Fix bug where teleport location was never reset if warmup was set to 0
...
for Chimera Wing.
Fixes #1323
2013-07-30 15:20:18 -04:00
GJ
c5137eb884
Begin work on cleaning up our listeners and their Javadocs.
2013-07-25 14:52:21 -04:00
GJ
e0e574c19e
Fix a potential issue with PTP and Chimera Wing teleportation cooldowns.
2013-07-24 13:50:33 -04:00
GJ
37671bad9a
We already have the mcMMOPlayer here.
2013-07-24 12:30:02 -04:00
GJ
001f1dbd3c
Fix issue with truncating things that don't need truncating.
2013-07-17 13:45:31 -04:00
GJ
7b5372a985
Temporary fix for MCPC+ entity issues. This change will be reverted
...
after the fix is made in MCPC+.
Fixes #1197
2013-07-17 10:29:42 -04:00
GJ
1647ef4fae
Fixed issue where locale strings could cause the scoreboard header to be
...
longer than 16 characters.
Fixes #1278
2013-07-17 08:18:54 -04:00
GJ
c9aba059e2
Don't provide direct access to the players map.
2013-07-15 09:14:23 -04:00
TfT_02
696e82e622
Add missing Axes locale string
...
* Somehow, the message notifying a player that he was struck by Skull
Splitter wasn't in the locale files anymore.
* Re-added this string and renamed it.
* Fixes #1271
2013-07-15 13:18:13 +02:00
GJ
04224b309a
Add snow to excavation. No treasures will drop from snow by default,
...
but they can be added to the treasures.yml file by specifying
"Drops_From:
Snow: true"
Adds #1229
2013-07-11 14:41:23 -04:00
GJ
d07b67b5bf
Health and damage are now doubles, not ints.
2013-07-11 12:43:36 -04:00
riking
23729f45ee
Pull changes from dev-dbman (commit f63c5e3
)
2013-06-28 15:02:58 -07:00
TfT_02
af60f08a8b
Localize the ScoreboardManager
...
Closes #1232
2013-06-28 19:17:39 +02:00
TfT_02
1edb11cedf
Disable mob healthbars for boss mobs!
...
Fixes #1210
2013-06-28 13:36:48 +02: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
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
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
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
375fa4f75c
Added permission node to prevent inspecting hidden players
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
GJ
0ba4bc25c7
Use player objects instead of names - should be more efficient and less
...
buggy.
2013-05-28 13:33:20 -04:00
TfT_02
1ae9b0f4d2
Animals can also have the "Spawned Entity" tag
2013-05-26 17:55:24 +02:00
GJ
5e00636761
And a little more...
2013-05-22 22:30:09 -04:00
GJ
030c8e59d7
The other way leaks memory like a sieve.
2013-05-22 00:01:19 -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
T00thpick1
22f6ae858b
Update inventories after chimera wing
2013-05-19 16:13:19 -04:00
TfT_02
2d66b8ed12
Cleanup - fixing various formatting issues
2013-05-18 22:41:42 +02:00
riking
71d030e5ad
Change rounding strategy to ceiling for mob healthbars
2013-05-17 00:19:59 -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
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
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
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
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
78f53f294a
Debris should drop normal drops
2013-05-15 13:02:21 -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
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
GJ
501f5de55a
Fixing everything you guys broke while I was gone...
2013-05-14 11:28:50 -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
T00thpick1
55f9092aa6
Fireworks adjustment
2013-05-13 21:23:16 -04:00
GJ
8e0a1f4f70
Summon the kraken at will!
2013-05-03 16:14:03 -04:00
TfT_02
f6e9fd9f3a
Add more localisation
2013-05-02 21:02:12 +02: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
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
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
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
6cbf960dea
Use the right value here.
2013-04-30 08:24:16 -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
98dc7b853a
Protect our managers.
2013-04-25 09:16:42 -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
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
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
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
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
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
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
GJ
2be3e3b43c
Changed Berserk to add items to inventory rather than denying pickup
2013-04-16 23:44:41 -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
71249334c3
Change the ChimaeraWing timestamp into a general teleportation timestamp
2013-04-10 17:15:48 +02: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
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
b82c3f41d3
Remove metadata, validation checks.
2013-04-08 00:24:38 -04:00
GJ
e31c1e33d9
Don't handle removing the name if the entity is dead.
2013-04-05 16:15:24 -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
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
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
6772f4f169
Track these IF they're somehow full-grown when placed.
2013-04-04 08:02:45 -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
fcc36ee5d7
Trying to fix reload more.
2013-04-02 11:17:40 -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
86eaa3b091
These aren't the drops you're looking for.
2013-03-28 07:46:22 -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
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
5b5b73cde0
Improving Chimaera Wing - part 2
...
* Added a warmup before using a Chimaera Wing
* Closes #740
2013-03-22 00:38:21 +01: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
70160468c0
Fix a NPE when trying to join a non-existing player
...
Fixes #860
2013-03-21 22:04:52 +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
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
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
9eba2c683b
Use equalsIgnoreCase() instead of equals(), and use == for compaing
...
worlds.
Fixes #815
2013-03-10 18:06:10 -04:00
GJ
c0b4a33346
Importing Bukkit is usually bad.
2013-03-10 15:07:07 -04: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
NuclearW
12709bcd7f
Check hasItemMeta
2013-03-08 22:20:26 -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
GJ
bd45fff1b4
Fixed bug relating to "empty" ItemStacks. Fixes #807
2013-03-08 07:40:25 -05:00
bm01
c0986a1f89
Removed unneeded null checks
2013-03-08 02:09:43 +01: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
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
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
TfT_02
ae741a1b99
Fixed bug where players were unable to salvage leather armor. Closes #788
2013-03-05 14:39:39 +01:00
GJ
4210920c5f
Fixed ClassCastException relating to counter-attack with Swords. Fixes
...
#784
2013-03-04 21:59:16 -05: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
GJ
1b461ac96a
Cleaning up more combat checks.
2013-03-03 15:42:56 -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