t00thpick1
cb5303ce4d
These strings return with Spaces, not underscores
2013-11-23 00:42:43 -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
riking
5d63a4b910
Run PlayerProfileSaveTask async, as intended
2013-11-21 12:41:26 -08:00
riking
3236ee5ec9
Harden save() method by making a defensive copy
2013-11-21 11:17:24 -08:00
riking
12ed2ac07b
Have ExperienceCommand and SkillresetCommand explicitly handle 'all'
2013-11-19 18:56:47 -08: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
TfT_02
ee1be3599c
.length doesn't start at 0
2013-11-18 21:01:41 +01:00
TfT_02
12a6aca8cd
Assume that block data = 0 if there isn't one in the config
2013-11-18 20:48:37 +01:00
TfT_02
445f805bb8
Set the treasure drop after using .clone()
...
Fixes #1603
2013-11-12 12:49:16 +01:00
t00thpick1
df77b9d0ed
Parenthesis
2013-11-10 13:56:15 -05:00
t00thpick1
29f2525b58
Tend toward the smaller values, and configurable maximum for horse jump strength
2013-11-10 13:54:45 -05:00
TfT_02
5a68c7a335
Fixed bug which prevented gaining Acrobatics XP
2013-11-10 00:52:30 +01:00
GJ
69ef7f40d8
Command cleanup.
2013-11-08 23:14:11 +01:00
GJ
d1d6b80676
Allow repair of items without a recipe.
2013-11-08 10:52:43 -05:00
GJ
dfe83ff497
Fix divide by zero bug
...
Minimum Level & Minimum Quantity were accidentally flipped.
2013-11-07 09:13:56 -05:00
riking
e5acf6d936
Also clone fishing treasures, use alternate Wool method
...
The alternate wool method is testing, the treasure clone is there to stay ;)
2013-11-06 21:34:16 -08:00
riking
bca0ca6766
Fix Shake poisoning the treasure cache with Wither skeletons
...
The returned ItemStack is modified for both Sheep and Skeletons, so a copy should be returned.
2013-11-06 21:03:13 -08:00
GJ
f17b5faaf6
Parenthesis are good.
2013-11-06 14:52:19 -05:00
GJ
f20fa571f1
Update changelog.
2013-11-06 11:56:50 -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
GJ
af98c8eb59
Best way to handle minimum quantities.
...
Check repair function first, assuming the item isn't null, otherwise
check the config. If not found, check config.
2013-11-04 11:01:14 -05:00
TfT_02
3a10b2d83c
Make sure we're not setting a bite chance > 1.0
...
Fixes #1592
2013-11-04 10:32:05 +01:00
TfT_02
32e7c48fd8
Change this message to something that makes sense
...
The old message was confusing see #1593
2013-11-03 22:49:39 +01:00
Glitchfinder
af578870c7
Defaulted quantities should be defaulted everywhere.
...
Fixes #1581
2013-11-03 09:40:04 -08:00
TfT_02
cd470d5497
Fix a NPE which occured when there was no backups folder
2013-11-03 14:09:41 +01:00
TfT_02
a9c5e2a04f
Don't send a message to the console if no backups were deleted
2013-11-02 21:50:49 +01:00
TfT_02
0196fd8447
Fix the update checker
2013-11-02 21:49:20 +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
TfT_02
6f9a57751e
We can't schedule tasks in onDisable()
2013-11-01 17:39:03 +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
TfT_02
cdfd81a67a
Cleanup ZipLibrary class
2013-11-01 16:44:03 +01:00
TfT_02
408b8b2107
Added automatic cleanup of backups folder
...
By default mcMMO keeps the following files:
* All files from the last 24 hours
* Daily backups of the past week
* Weekly backups of the past months
Adds #1574
2013-11-01 16:43:56 +01:00
GJ
6d5f3a52f4
Don't process chat if the mcMMOPlayer is null.
...
The player should ALWAYS be online when chatting, but depending on
external plugins and applications, this is not always properly
implemented. Fixes #1578
2013-11-01 09:30:10 -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
88296da0af
Removed MCPC+ workaround.
...
This has been fixed by MCPC+ starting with build 112.
Addresses #1549
2013-10-31 13:28:54 -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
1785bab504
Fix bug with Salvage config value.
...
After our renames and updates, Salvage was not reading the config value
for the anvil material properly.
2013-10-31 09:09:52 -04:00
GJ
41da32cd1b
Added options to disable various sound effects.
...
Fixes #1577
2013-10-31 09:03:29 -04:00
GJ
93d586592e
Move these checks up.
...
These checks need to happen sooner because they may impact config
loading, specifically the MCPC+ check.
Fixes #1549
2013-10-31 08:15:30 -04:00
Glitchfinder
d6c6c75157
Experience is occasionally zero or cast to zero.
...
Fixes #1575 and fixes #1576
2013-10-30 15:49:47 -07:00
GJ
4889769522
Workaround MCPC+ shortcomings for now.
...
Fixes #1549
2013-10-30 15:33:37 -04:00
TfT_02
6c70de6a58
Also backup experience.yml
2013-10-30 12:33:34 +01:00
GJ
fd9154e009
Fixed bug with toggle commands not properly displaying the success message.
2013-10-29 11:45:27 -04:00
GJ
97b9214d6e
Wrap these inside McMMOPlayer for easier access.
2013-10-29 11:02:57 -04:00
GJ
a8d1376533
More minor cleanup.
2013-10-29 10:01:30 -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
9b3ae5c729
These belong in their managers, not in McMMOPlayer
2013-10-28 16:14:52 -04:00
GJ
ccb7fc5886
Remove, don't just comment out.
2013-10-28 16:04:55 -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
3fe936306b
Oops.
2013-10-28 15:19:47 -04:00
GJ
c79f8043ad
Use proper functions where they exist, and move functions to better locations.
2013-10-28 15:12:24 -04:00
GJ
8369ae4616
Don't use a class variable here.
2013-10-28 14:14:20 -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
TfT_02
f55039ac6b
Earn XP when using Shake
...
Adds #1564
2013-10-28 17:38:03 +01:00
TfT_02
be792a1052
Fix exploitPrevention() and add Javadocs
2013-10-28 15:39:47 +01:00
GJ
c612036db3
Don't try to find a treasure if there aren't any.
...
Fixes #1572
2013-10-28 08:52:55 -04:00
GJ
ad4ee6f402
Cleanup exploit prevention method.
2013-10-28 08:17:06 -04:00
TfT_02
49a5bd2ba6
We can move this check to exploitPrevention()
2013-10-26 00:50:31 +02:00
GJ
134e0db2e9
Cleanup more of Riking's mess.
2013-10-25 17:07:56 -04:00
GJ
b3415ee2f4
Cleanup some of Riking's mess.
2013-10-25 17:05:36 -04:00
TfT_02
14175a6dfd
Don't complain about missing Guide strings
2013-10-25 22:16:18 +02:00
TfT_02
7b3fb46a9a
Improved AFK Acrobatics prevention mechanism
2013-10-25 22:02:39 +02:00
riking
17b7a9bf10
Add message to /mcscoreboard time [n]
2013-10-25 11:41:21 -07: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
TfT_02
89dabaeb43
Hook location cleanup
2013-10-24 23:14:23 +02:00
TfT_02
c2e100b1e3
Use hook location in Master Angler
2013-10-24 21:19:24 +02:00
GJ
9f33c6cef1
Use addUnsafeEnchantment instead of addEnchantment
...
Since the enchantment was already present on the item, there's no need to check if it's valid. This also avoids any errors that may occur when trying to repair an item with non-standard enchants.
Fixes #1561
2013-10-22 09:57:13 -04:00
GJ
7e241e3993
Useless else statement.
2013-10-21 13:15:41 -04: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
d410251595
Changed kraken default behavior
...
It will no longer broadcast chat messages globally by default, as well as strike lightning on it's target. Instead it will spawn explosion effects.
2013-10-20 17:04:50 +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
100f2c7e56
Added a warning message if the server is running NoCheatPlus without CompatNoCheatPlus
2013-10-19 00:27:07 +02:00
TfT_02
e13e5295e8
Notify about updates if user is running dev1 and beta1 is available
2013-10-18 17:25:21 +02:00
TfT_02
b100b7bcc7
Gravity's Updater version 2.0
2013-10-18 16:58:12 +02:00
TfT_02
f4ff8518c2
Cleanup progress feedback
2013-10-18 16:43:37 +02:00
riking
dbd27b641e
Give periodic status messages to the console in conversion
2013-10-18 16:40:44 +02:00
TfT_02
4a428a47af
Fix bug with HolidayManager and some cleanup
2013-10-18 16:24:01 +02:00
GJ
68c4b99d1b
Oops.
2013-10-18 10:16:51 -04:00
GJ
f282891d0a
More info for armor errors.
2013-10-18 10:15:23 -04:00
GJ
7f4e3fedb3
Need different methods for mod files and regular files.
2013-10-18 10:12:55 -04:00
GJ
2042e0cdbd
How did I not realize this would loop forever...
2013-10-18 10:02:11 -04:00
GJ
2662fee9fb
ACTUALLY use the proper path.
2013-10-18 10:02:10 -04:00
TfT_02
e8e2dcff46
-levelsChanged instead of - levelsChanged
2013-10-18 15:26:15 +02:00
TfT_02
3b09012b35
Also use getServer() here as well
2013-10-18 15:26:14 +02:00
GJ
a774733af4
Use proper path
2013-10-18 09:23:10 -04:00
GJ
b8c1f868f5
Event updates
2013-10-18 08:54:06 -04:00