TfT_02
2e94eecda0
Fix a small error with the config validation of advanced.yml
...
Fixes #1769
2014-01-08 13:19:51 +01: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
GJ
26174d88f4
Remove unused import
2014-01-03 08:30:59 -05:00
Sean Porter
c12d4319ac
Don't cancel death message fixes for NPCs.
2013-12-27 15:21:25 -08: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
f94343f13b
Only grant taming XP once when taming a horse
...
Fixes #1651
2013-12-15 23:36:43 +01: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
TfT_02
6c2b1f555f
Improve CleanBackupsTask a bit
...
* Print proper file names to the console when the date could not be
determined
* Skip all directories
* Skip every file that doesn’t have .zip in the file name
2013-12-13 00:17:56 +01:00
TfT_02
cdcda03e92
Moved repair config classes to the config package
2013-12-12 19:53:27 +01:00
TfT_02
65aa05a660
Fix /addlevels all
and /skillreset all
commands
...
Fixes #1675
2013-12-12 16:50:36 +01:00
riking
2aec4a69ea
Database conversion bug: Integral division in output format
2013-12-10 14:56:07 -08:00
Glitchfinder
06c9ea7068
Minecraft handles block drop chances internally.
...
Fixes #1678
2013-12-08 12:49:43 -08:00
TfT_02
c88583c1c0
Use Matcher.quoteReplacement here!
...
Fixes #1676 - for real this time
2013-12-08 17:07:45 +01:00
TfT_02
c9f1f8f662
Fixed bug where party chat broke if the display name contained special characters
...
Fixes #1676
2013-12-08 11:35:02 +01:00
TfT_02
7a08343304
Actually keep all weeks, not just from the past year
...
Week numbers are obviously the same every year, we need to check the
year as well as the week number to determine if we should keep the
backup file or not.
2013-12-07 13:18:14 +01:00
riking
3b1bb3e08a
Minor changes to Tree Feller - use a HashSet, move comment
...
LinkedHashSet doesn't actually do anything for us - we were never using the consistent ordering it promises, and openjdk-7 doesn't even provide that consistent ordering. Better to just not use it.
2013-12-06 23:55:26 -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
GJ
696bf71962
Remove unused import
2013-12-02 08:13:53 -05:00
t00thpick1
2d577e92f1
AntiTheft option for Disarm Ability
2013-12-01 19:08:22 -05:00
GJ
24c1dec046
Fix missing import & broken build.
...
That's what I get for editing through Github's web UI...
2013-11-25 09:32:16 -05:00
GJ
6c478a26c4
Fix issue with custom axes not working with Tree Feller.
...
Most custom materials don't properly report their max durability, so we need to use our repairable manager to handle them instead.
2013-11-25 09:29:41 -05:00
t00thpick1
2d3da6daf8
Space not underscore
2013-11-24 18:01:05 -05:00
t00thpick1
de3b2b8024
Damage should probably actually be fatal I would think.
2013-11-23 12:34:14 -05:00
t00thpick1
02a064ffc6
These need spaces to be called pretty
2013-11-23 00:45:12 -05:00
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
GJ
3f56a8fbcf
Importing Bukkit.java is bad, always use getServer() instead
2013-10-18 08:54:05 -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
TfT_02
e125700b43
Fixed Fishing ability "Shake"
2013-10-18 12:25:49 +02:00
Bestle
4bc446e306
Add missing ignoreCancelled checks
...
If a plugin cancels a piston retract or extend event, mcMMO still considers that block or blocks to have moved.
This allow players to gain xp and double drops from blocks that they shouldn't. Checking for cancelled events fixes this.
2013-10-17 21:05:29 +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
TfT_02
b9c652ef2b
This check shouldn't be inverted
...
Fixes #1545
2013-10-16 00:57:56 +02:00
GJ
bf4e8d43ea
Because the entity that exploded might be null (or might not be TNT)
2013-10-15 13:10:29 -04: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
riking
44e3e4d1e1
Localize several command results
...
Also don't nullcheck the null-guarded mcMMOPlayer in PartyManager
2013-10-14 20:48:36 +02:00
riking
476f426590
Remove RepairableManagerFactory until we actually need it
...
Let's hold off on the factory pattern until we actually offer choices.
2013-10-14 20:48:35 +02:00
riking
766f1f4127
Oh! So that's why it's never used here
2013-10-14 20:48:35 +02:00
riking
b3cf9bf839
When an error occurs updating the leaderboards, print out the current player name if possible
2013-10-14 09:53:42 -07: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
dd64c4008b
Account for Master Angler config values in /fishing
...
Fixes #1537
2013-10-14 16:28:48 +02:00
TfT_02
3a5de8e2ce
This should be on LOWEST
2013-10-14 09:28:16 +02:00
TfT_02
2d78c0738d
Color party leader names only once
2013-10-12 20:50:42 +02:00
TfT_02
67e9d9c535
Fishing TNT traps should not destroy blocks
2013-10-12 03:30:10 +02:00
TfT_02
800786111c
Fix apostrophe issues
...
Fixes #1523
2013-10-12 02:41:13 +02:00
TfT_02
ed8197bd50
Remove level based bonus from Master Angler
...
Let's try this another way, instead of removing this passive ability all togheter I think it would be nice to keep the boat/biome catch rate boost. The level based boost was out of hand and counter-intuitive as it made leveling easier on high skill levels.
2013-10-12 02:41:13 +02:00
TfT_02
82f8c4ce36
Fishing Treasure Hunter overhaul
2013-10-12 02:41:13 +02:00
TfT_02
b1cf7d0348
Fire FakeBlockBreakEvent when using Hylian Luck
...
Fixes #1528
2013-10-11 23:47:42 +02:00
TfT_02
49cbaad47f
Clean up advanced.yml comments and keys
2013-10-11 16:22:30 +02:00
TfT_02
1d96ed72dc
Move Acrobatics XP settings to experience.yml
2013-10-11 15:18:57 +02:00
TfT_02
ec378d046f
Reformat advanced.yml making the keys consistent
2013-10-11 15:18:56 +02:00
GJ
a25dc24c6c
No reason to have this many functions...
2013-10-11 15:18:56 +02:00
TfT_02
68eb51a3d0
Removed Shake_UnlockLevel config option
...
because it is no longer needed.
2013-10-11 15:18:56 +02:00
TfT_02
2eda3a9c83
Add extra tiers! Every ability now has 8 tiers
2013-10-11 15:18:55 +02:00
GJ
ad8e200a84
Make sure we update the blocks config after this too.
2013-10-09 11:45:49 -04:00
GJ
0c83bf2a80
Improve our drop handling.
2013-10-09 11:44:45 -04:00
GJ
6eaec5ffab
We don't need this anymore.
2013-10-09 10:27:06 -04:00
GJ
8a2c5fb051
Check 0 first.
2013-10-09 10:26:51 -04:00
GJ
9485869014
Move these functions to SkillType.
2013-10-09 09:20:32 -04:00
GJ
e1bf55b077
Backup old mod configs & replace with new.
2013-10-08 13:10:09 -04:00
GJ
81140824e4
Backup and replace updated treasures.yml file.
2013-10-07 13:09:46 -04:00
GJ
d5545de81f
Backup & replace the repair config files that have been updated.
2013-10-07 13:04:36 -04:00
GJ
8632baed27
No reason to handle this ourselves, Bukkit does it for us.
2013-10-07 11:54:23 -04:00
GJ
9aaea7e44f
Fix old files if they exist.
2013-10-07 10:43:22 -04:00
GJ
c2f8f4d016
User data is now saved in flatfile, not FlatFileStuff
2013-10-07 10:33:14 -04:00
GJ
5131e74349
Save mod config files to "mods" rather than "ModConfigs", mirror directory structure inside the jar file.
2013-10-07 10:32:40 -04:00
GJ
3927427b5b
Refactor all our repairable stuff into a special package.
2013-10-07 10:23:04 -04:00
TfT_02
4aef4c63fc
Split the locale skill guides into seperate sections
...
This will make it easier for translators to keep up with translating our skill guides. Closes #560
2013-10-07 16:05:11 +02:00
GJ
fb4777e7f0
Added XP boost to Acrobatics when wearing Boots of Feather Falling.
...
Adds #1098
2013-10-07 09:53:32 -04:00
GJ
d8f3a54f9b
Compiler throws warnings all over the place about our close methods, this one is no different.
2013-10-07 07:56:13 -04:00
GJ
de964a3a60
This naming bothers me.
2013-10-07 07:53:42 -04:00
t00thpick1
ce3bc07aa8
Reasonably sure this needs to be this way
2013-10-06 17:46: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
3f9c98d72e
Update changelog & minor formatting fixes
2013-10-06 10:25:28 +02:00
riking
96b54387fe
SQL database - split loadProfile to have retry flag
...
Instead of assuming that newUser() worked as intended, we cycle back around into the method.
This also removes the possibility of infinite loops from the writeMissingRows() code path.
2013-10-06 10:09:09 +02:00
riking
70eb67dd6a
Flatfile loadProfile - place newUser() inside of try block
...
This fixes incorrect behavior in the edge-case where an IOException occurs when reading (but not writing) the flatfile database.
2013-10-06 10:09:09 +02:00
riking
77f9f40065
Do not save an un-loaded PlayerProfile
2013-10-06 10:09:09 +02:00
riking
14ae1a69c4
Attempt clean recovery from an unloaded PlayerProfile
...
This change should cause McMMOPlayer to create a graceful recovery when the database is temporarily unavailable.
When a McMMOPlayer is constructed and recieves an unloaded PlayerProfile, it schedules a task to re-attempt profile retrieval. This task can run for a maximum of 5 seconds, after which a second warning is printed indicating that it has given up (and a message given to the user).
2013-10-06 10:09:09 +02:00
riking
c9858dfd49
Do not mark a PlayerProfile as clean if it failed to save
...
DatabaseManager.saveUser() now returns a success value, which is used by PlayerProfile to determine whether or not it should be considered clean.
2013-10-06 10:09:09 +02:00
riking
f75fe3cc89
Potential fix for loss of data due to SQL connection dropping
...
The idea behind this change is to send a ping every hour, which is shorter than the driver's 'dead connection' threshold of 8 hours.
As a side effect, this also will fix a subset of the situations where the MySQL server is restarted.
2013-10-06 10:09:08 +02:00
TfT_02
c19ccbccac
Use only 1 extra durability by default, instead of 2
2013-10-06 10:08:06 +02:00
TfT_02
2f90e533a5
Improve validation messages of treasures.yml
2013-10-06 09:51:33 +02:00
Kane York
0cd0919447
/mcconvert: Fix mismatched type in list.remove() call
...
The databaseTypes collection is a List<String>, so attempting to remove a DatabaseType object will have no effect.
2013-10-05 14:07:06 -07:00
TfT_02
e8b886fcc6
This check somehow got removed
2013-10-05 01:18:51 +02:00
GJ
b8e937a234
ALWAYS remove pots broken by swords.
2013-10-04 13:16:41 -04:00
GJ
eb2e0d3abf
Fixed Hylian Luck not working at all.
...
Fixes #1508
2013-10-04 10:27:18 -04:00
GJ
3365da7f8d
MCPC+ checks, notify server owners that they're missing out.
2013-10-04 09:50:49 -04:00
TfT_02
a0e37a4a09
I forgot to invert this check
2013-10-03 22:04:39 +02:00
GJ
5541c15753
Try/catch was stupid.
2013-10-02 09:07:30 -04:00
GJ
f87110749e
ACTUALLY fix the NPE here.
2013-10-02 09:03:09 -04:00
GJ
a0ef0d5708
Check vanilla's maxDurability here as well, just to be safe.
...
Fixes #1504
2013-10-02 08:56:48 -04:00
TfT_02
2e2abcd645
Handle this nicer
2013-10-02 10:42:06 +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
GJ
7c9356955e
ACTUALLY handle SQL passwords (or other fields) with '#' in them properly.
2013-09-30 16:17:44 -04:00
GJ
57541ec233
This can never be null, and there's no reason to pass that as a variable.
2013-09-30 14:19:07 -04:00
TfT_02
9c6d1ce020
Fixing these infinite recursing methods
...
Oops, that was silly. Thanks @t00thpick1
2013-09-30 19:38:22 +02:00
TfT_02
c72ead9d0a
Prevent breaking other plugins who use this API
2013-09-30 19:03:44 +02:00
TfT_02
eb589b6e78
Renamed some config options in the Commands section.
...
The following keys have been renamed:
* General => Generic
* p => partychat
* a => adminchat
2013-09-30 15:43:37 +02:00
GJ
98e5e53fda
Ignore "#" in SQL passwords.
2013-09-30 08:36:32 -04:00
TfT_02
00918fbdc1
Change this back, getPlayerExact() is faster
2013-09-30 14:04:34 +02:00
TfT_02
5ad0f2c624
Do a little bit of localebending
2013-09-30 11:32:35 +02:00
TfT_02
babb9baa2b
Handle joining disbanded parties properly
2013-09-30 11:22:15 +02:00
TfT_02
45143836e5
Fixed /party kick
...
Fixes #1499
2013-09-30 10:39:33 +02:00
TfT_02
ceacd7dc52
Fixed /party disband
2013-09-30 10:39:14 +02:00
TfT_02
6eb255632f
Clean this up a little bit
2013-09-30 10:24:36 +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
TfT_02
4c7fb1854d
addRawXP should use float instead of int
2013-09-29 15:48:11 +02:00
TfT_02
763cff6898
Fixed a bug where Repair wasn't asking for confirmation
2013-09-28 19:46:47 +02:00
riking
fa34d06341
Clear child skill FamilyTree on reload
2013-09-27 15:46:19 -07:00
TfT_02
1ca53da0e2
Also try to count recipe ingredients regardless of repairMaterial
...
when the normal counting and the config value result in 0
Fixes #1484
2013-09-27 13:42:50 +02:00
TfT_02
57dfa00541
Fixed a NPE when an invalid repair material was entered
...
#1484
2013-09-27 10:46:54 +02:00
GJ
7f290504ad
Set random jump strength for horses as well.
2013-09-26 10:43:45 -04:00
GJ
92b4be9a01
We don't use these parts of the updater.
2013-09-26 09:39:13 -04:00
GJ
8cb8dea642
Move Updater to independent package due to custom changes being overwritten by other plugins using the updater.
2013-09-26 09:37:31 -04: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
dddeeefff
1254ab232a
Add randomized Horse appearance to Call Of The Wild
2013-09-23 22:29:02 +02:00
dddeeefff
b49e56c857
Added missing COTW message when there are too many Horses nearby
2013-09-23 22:29:01 +02:00
TfT_02
d5bd9a1693
Fixed some small mistakes in CommandUtils
2013-09-23 20:22:41 +02:00
TfT_02
6a3a564bd4
Use cooldownExpired here as well.
2013-09-22 23:28:09 +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
TfT_02
4c96161acb
Don't throw errors about dropped columns
2013-09-20 21:39:20 +02:00
TfT_02
ce7a7a31a7
A bit of cleaning up
2013-09-20 00:15:22 +02:00
TfT_02
834e26b44e
Minor improvements
2013-09-19 21:47:12 +02:00
GJ
f71b302f6f
Don't need this anymore.
2013-09-19 15:19:16 -04:00
GJ
566a381e95
Remove debug message, use recipe method for salvage.
2013-09-19 15:17:19 -04:00
GJ
5d7d779a49
Changed format of repair.vanilla.yml. **YOU WILL NEED TO UPDATE YOUR FILE TO THE NEW FORMAT**
2013-09-19 11:02:47 -04:00
GJ
59a35b170c
Oh yeah, that's why.
2013-09-18 15:42:54 -04:00
GJ
14eb473355
Why we were making this so complicated, I'll never know.
2013-09-18 14:55:17 -04:00
GJ
a8e23e08ee
Remove HudType from Flatfile records.
2013-09-18 11:54:23 -04:00
GJ
15f5dcf860
Removed HudType references from the database.
2013-09-18 09:57:28 -04:00
GJ
9be9908a22
Remove unused imports.
2013-09-18 09:39:54 -04:00
GJ
446b6c107b
Remove empty lines from FlatFile - the plugin will not enable if these are present.
2013-09-18 08:34:47 -04:00
GJ
5a3f8ad15f
Add COTW info for horses to the Taming command.
2013-09-17 14:13:11 -04:00
GJ
e865acd871
Fix locale parsing issues.
...
Fixes #1463
2013-09-17 14:03:00 -04:00
GJ
1a88b0b944
Better way to handle ink sacks, allows for dropping of multiple types.
2013-09-16 12:48:08 -04:00
GJ
e0592b3f62
Don't try to ever pull the mcMMOPlayer here.
...
Fixes #1466
2013-09-16 12:12:31 -04:00
GJ
1ec55c2d7e
Remove the last bits of Spout from our code.
2013-09-16 12:05:39 -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
GJ
816b08b14a
Make sure the attacker is a valid player too.
...
Fixes #1464
2013-09-16 08:53:55 -04:00
GJ
64e1448782
Added ability to give items names & lore through treasures.yml.
...
Adds #1419
2013-09-15 21:09:32 -04:00
TfT_02
f1b82dcbe6
Fixed regex of version string parsing
2013-09-15 23:09:06 +02:00
GJ
de07316261
Just in case there's something broken in the file.
2013-09-15 16:49:41 -04:00
GJ
8af41975ff
Don't keep trying to load if they've got an old file.
2013-09-15 16:09:41 -04:00
GJ
957bbbc9b2
Warn if treasures.yml is outdated.
2013-09-15 15:59:29 -04:00
TfT_02
17faf1561f
Refactor to getMaxLength
2013-09-15 21:45:16 +02:00
TfT_02
ec6419f0ff
Fix formatting of the new Updater
2013-09-15 21:45:16 +02:00
GJ
f6e60bebcc
Fix dropping sideways logs and leaf blocks.
...
Fixes #1460
2013-09-15 15:09:48 -04:00
GJ
797ac20567
Added Horses to the "Shake" ability.
...
Witches no longer drop water bottles from Shake, since they no longer drop them in Vanilla.
Changed format of treasures.yml.
**YOU WILL NEED TO UPDATE YOUR FILE TO THE NEW FORMAT**
2013-09-15 01:07:04 -04:00
GJ
3bc029a0de
Make Updater work with our versioning setup.
2013-09-13 11:46:55 -04: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
800a452d62
Remove use of deprecated function.
2013-09-13 09:11:34 -04:00
GJ
177604e94a
Condense this into one function.
2013-09-13 08:11:32 -04:00
GJ
088015dd4d
Switch to H31ix's updater for security reasons.
2013-09-13 00:59:07 -04:00
t00thpick1
0f2d0aee5f
Fix NPE on /addxp
2013-09-12 21:21:00 -04:00
t00thpick1
1004e2a32b
These duplicate checks are handled in config validation.
2013-09-12 20:52:26 -04:00
t00thpick1
5c2b523f7a
Allow less than one percentages for hardcore losses
2013-09-12 20:52:26 -04:00
GJ
de42063171
Fixed a bug where Kraken messages couldn't be disabled.
...
Fixes #1174
2013-09-12 15:53:43 -04:00
GJ
25e4700ef9
Changed various values to double in advanced.yml for the sake of consistency.
2013-09-12 14:18:13 -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
GJ
44626c36a9
Nerfed Archery damage to eliminate constant one-hit kills
2013-09-11 11:43:06 -04:00
TfT_02
cfd5bfe2c4
Deal skillShot bonus damage properly
2013-09-11 17:08:59 +02:00
t00thpick1
f7928787dc
Skill shot should be after deflect check
2013-09-11 10:17:24 -04:00
GJ
d6630a0eb5
Prevent multiple events from being fired.
2013-09-11 08:51:51 -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
7eec53d621
Added Horses to Taming.
2013-08-30 14:25:46 -04:00
GJ
7523afffb5
Updated permissions for more control over Call of the Wild.
2013-08-30 13:50:34 -04:00
GJ
2c8b9334b6
THis should stay false.
2013-08-28 13:13:34 -04:00
GJ
d41ccf9072
Don't loop forever if not connected.
2013-08-28 13:12:24 -04:00
GJ
c98d298cf1
Actually make use of the checkConnected calls.
2013-08-28 11:44:58 -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
TfT_02
df29306a1f
Cleanup Javadocs and fix StackOverflowError
2013-08-26 22:09:29 +02:00
GJ
435522415d
This is better too.
2013-08-26 12:20:56 -04:00
GJ
a17d1d3a2f
More cleanup to PartyManager.
2013-08-26 11:55:35 -04:00
GJ
94a5bef62c
Cleaning up PartyManager
2013-08-26 08:39:24 -04:00
GJ
2cd9a5658e
Remove unused import
2013-08-26 08:39:24 -04:00
TfT_02
3c5bd3cedd
Fix a NPE in MobHealthDisplayUpdateTask
...
Band aid for broken isValid() function.
Fixes #1396
2013-08-25 17:35:41 +02:00
GJ
8e02b57369
Align these.
2013-08-23 14:52:21 -04:00
TfT_02
9c54f8fd11
Fix Javadocs issues
2013-08-23 20:14:13 +02: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
956bf2d763
Added McMMOPlayerLevelDownEvent and McMMOPlayerLevelChangeEvent
2013-08-23 19:54:30 +02:00
TfT_02
964b2636fb
Move experience related settings from config.yml to experience.yml
2013-08-23 19:37:44 +02:00
GJ
490bc195d8
We don't care about teleports to the same spot.
2013-08-23 08:58:23 -04: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
GJ
c31ffa5ab4
Remove unused import.
2013-08-22 13:51:01 -04:00
TfT_02
ca6bee07ea
Fix formatting
2013-08-22 00:37:48 +02:00
TfT_02
9acaa7b126
We're expecting a null object here as well.
2013-08-21 16:48:08 +02:00
gmcferrin
2bae937b28
Don't throw a warning if we're expecting a null object.
2013-08-21 14:20:12 +00:00
TfT_02
51bf989418
Counter Attack now only activates when the player is blocking
...
Closes #1018
2013-08-20 23:23:49 +02:00
GJ
07dd460d78
Validate in a seperate function.
2013-08-20 15:51:12 -04:00
GJ
045d74fb9d
These were basically the same function.
2013-08-20 15:15:42 -04:00
GJ
c8c76f4174
Put this function in a better place.
2013-08-20 15:12:38 -04:00
GJ
83c4d09093
Fix formatting
2013-08-20 15:08:10 -04:00
GJ
50ef8d9610
Improvements to mcMMOPlayer lookup.
2013-08-20 14:10:49 -04:00
GJ
98c6abad36
No reason to cast here.
2013-08-19 15:14:33 -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
T00thpick1
d495054eb5
Config Validation
2013-08-18 02:42:13 -04:00
T00thpick1
ce80636141
Min value for IronArm configurable
2013-08-18 02:38:57 -04:00
TfT_02
fe93be66ad
Changed the color of party leader names in Party chat
2013-08-17 13:53:46 +02:00
TfT_02
1f712063bf
Admin and Party chat prefixes are now customizable
...
Closes #578
2013-08-17 12:18:29 +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
36f1a2d78a
Changed the way Repair hands out XP
...
Closes #373
2013-08-15 20:50:19 +02:00
TfT_02
3ddd8d2056
Added API to get a players rank on the leaderboards
2013-08-13 09:37:45 +02:00
TfT_02
5441fcc374
Fix broken Dodge_DamageModifier config node
...
Also fix a derp with the validation of
Arcane_Forging.Keep_Enchants.Chance
2013-08-11 15:55:25 +02:00
TfT_02
1d83784820
Arcane Forging downgrade chance can also be 0
...
Fixes #1367
2013-08-11 09:26:02 +02:00
TfT_02
fb5bab6e92
String values are compared using '.equals()' not '=='
2013-08-10 22:24:13 +02:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02:00
TfT_02
4ff6b5fbc7
Don't try to register listeners when mcMMO was disabled
2013-08-10 19:33:21 +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
dcc18049a1
Removed Abilities.Tools.Durability_Loss_Enabled
...
Set Abilities.Tools.Durability_Loss to 0 to disable instead.
Addresses #1357
2013-08-09 18:13:22 +02:00
TfT_02
fcb8909a54
Kick interval can be disabled with '-1'
...
Fixes #1356
2013-08-09 13:36:04 +02:00
TfT_02
37e3bfe7d9
Fixed formatting
2013-08-07 19:58:49 +02:00
riking
d61b837dcf
Implement checkStructure()
2013-08-07 19:49:00 +02:00
riking
f079e22789
Use provided last-saved information for purge.
...
The new method, OfflinePlayer.getLastPlayed(), is used as a backup for when the data is unparsable.
TODO check if StringUtils is available here
2013-08-07 19:45:27 +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
9fb4e0988b
Save / load party itemshare category states.
...
Closes #1336
2013-08-07 00:38:17 +02:00
TfT_02
d8bbe459b9
Fix minor Javadoc errors
2013-08-07 00:15:51 +02:00
TfT_02
8bd7526b43
String values are compared using '.equals()' not '=='
2013-08-06 21:48:09 +02:00
TfT_02
24b1485555
Validate advanced.yml settings
2013-08-06 21:37:19 +02:00
TfT_02
7683dfc436
Move validation to proper location
2013-08-06 21:27:16 +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
Glitchfinder
a2450d2d07
If a variable can be null, check it before using it.
2013-08-04 11:48:44 -07:00
T00thpick1
c85bd8ab70
One more last try
2013-08-04 11:56:37 -04:00
T00thpick1
3f6bce0fc6
One last try
2013-08-04 11:51:34 -04:00
T00thpick1
e566b20e2b
This might be important
2013-08-04 11:38:52 -04:00
T00thpick1
f37a7d759a
Hack around nms bug
2013-08-04 11:34:04 -04:00
T00thpick1
d1341b0be0
Would help if I actualized the value... Fix dupe bug for realz
2013-08-04 11:05:53 -04:00
T00thpick1
4ea3d690db
Fix Dupe bug...... why was this overlooked?
2013-08-03 11:37:29 -04:00
TfT_02
d5dc9895e4
Move Blast Mining activation check to MONITOR priority
...
Fixes #1331
2013-08-02 21:11:58 +02:00
Glitchfinder
b1fc72e8a9
When a variable can be null, check it before using it. Fixes #1308 .
2013-08-01 08:47:14 -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
a345737b8b
Add more detailed error messages on SQL connection failure.
...
Fixes #1322
2013-07-30 15:09:22 -04:00
GJ
c501ebb357
Clean up after our experience commands. Fixes #1324
2013-07-30 14:47:11 -04:00
GJ
15e0570a8c
Else if > if
2013-07-29 08:45:30 -04:00
GJ
09e77c8c94
Move break event to the initial check.
2013-07-29 08:29:10 -04:00
TfT_02
f5c58f3679
Added config option for Acrobatics teleport cooldown,
...
also updated the changelog.
2013-07-29 00:57:43 +02:00
GJ
ddcbe64db6
Fix some possible issues with handler priority, more javadoc work.
2013-07-28 13:55:48 -04:00
GJ
c5137eb884
Begin work on cleaning up our listeners and their Javadocs.
2013-07-25 14:52:21 -04:00
GJ
e073eca458
Validation is important.
2013-07-24 20:29:32 -04:00
GJ
78f2e0a064
Check the range in a seperate function
2013-07-24 14:13:58 -04:00
TfT_02
df2defe969
Added extra settings for Call of the Wild
...
* Requested in issue #910
* Adds a setting to configure the range check
* Adds a setting to summon multiple pets with one summon
2013-07-24 20:01:26 +02:00
GJ
8939fc09b3
Patch potential exploit relating to teleportation and acrobatics.
2013-07-24 13:57:53 -04:00
GJ
e0e574c19e
Fix a potential issue with PTP and Chimera Wing teleportation cooldowns.
2013-07-24 13:50:33 -04:00
GJ
02126c93b9
This function is never used.
2013-07-24 12:35:28 -04:00
GJ
37671bad9a
We already have the mcMMOPlayer here.
2013-07-24 12:30:02 -04:00
TfT_02
0e8ce005d7
This is also a change
2013-07-24 16:10:26 +02:00
GJ
584a225d6e
Only get the mcMMOPlayer once.
2013-07-24 09:37:45 -04:00
riking
736359056f
Add checkConnected() calls to re-establish dead SQL connections
2013-07-23 15:03:19 -07:00
TfT_02
bf2e527e72
Fixed NPE with Beast Lore
...
Fixes #1289
2013-07-22 11:35:48 +02:00
TfT_02
be7992d541
Disable all abilities when a player quits
...
Fixes #1295
2013-07-22 11:25:56 +02:00
TfT_02
435eb7f8b9
Added new experience curve option
2013-07-21 23:14:42 +02: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
ee86f8244f
Put ShareMode in its own class.
2013-07-15 09:56:45 -04:00
GJ
e518b58b23
Better way to do locale strings there.
2013-07-15 09:48:14 -04:00
GJ
5af1164b5c
Tweak ShareHandler a bit.
2013-07-15 09:40:07 -04:00
GJ
c9aba059e2
Don't provide direct access to the players map.
2013-07-15 09:14:23 -04:00
GJ
dc9469c0cc
Refactor to match standards set for where datatypes should be located.
2013-07-15 08:44:13 -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
8fdf4042bb
Tweaked for readability.
2013-07-11 13:22:14 -04:00
GJ
621969459a
Use profile instead of mcMMOPlayer
2013-07-11 13:19:04 -04:00
T00thpick1
6fe1c85592
Save on logout
2013-07-11 13:16:51 -04:00
T00thpick1
79346d92d7
Only save on changes
2013-07-11 13:16:42 -04:00
GJ
68727496ad
Useless casting and elses.
2013-07-11 12:49:01 -04:00
GJ
d07b67b5bf
Health and damage are now doubles, not ints.
2013-07-11 12:43:36 -04:00
GJ
69aead58a7
Using getPlayerExact is faster.
2013-07-08 19:15:44 -04:00
T00thpick1
c85d52e594
Make Riking's stuff work
2013-07-02 12:42:09 -04:00
T00thpick1
11e4ff34d6
Flatfile repair
2013-07-01 02:36:21 -04:00
Kane York
f118ac14ca
Specify returning of generated keys before using them
...
This is a herp derp fix
2013-07-01 00:35:07 -04:00
T00thpick1
f5eb7a10de
Only set custom class when valid class
2013-07-01 00:34:54 -04:00
T00thpick1
36b09421e8
These should all be 0 too, for consistancy
2013-06-29 23:42:28 -04:00
T00thpick1
d6b39a11e7
0 is nonexistant, not -1
2013-06-29 23:41:08 -04:00
riking
23729f45ee
Pull changes from dev-dbman (commit f63c5e3
)
2013-06-28 15:02:58 -07:00
T00thpick1
27d7b73e57
Pretty sure this should be Fake
2013-06-28 16:22:55 -04:00
TfT_02
af60f08a8b
Localize the ScoreboardManager
...
Closes #1232
2013-06-28 19:17:39 +02:00
TfT_02
c19d3fd068
Fixed bug with Ice Fishing which allowed players to break protected blocks
...
Fixes #2074
2013-06-28 14:06:54 +02:00
TfT_02
0f8312dd5e
Minor cleanup
2013-06-28 14:06:13 +02:00
TfT_02
1edb11cedf
Disable mob healthbars for boss mobs!
...
Fixes #1210
2013-06-28 13:36:48 +02:00
riking
a4a1ba4331
Make UpdateChecker run asynchronously and not block startup
...
Closes #1049
2013-06-27 09:48:39 -07:00
TfT_02
de46277bea
Realized that it wasn't only happening in the Nether
2013-06-24 17:10:39 +02:00
TfT_02
6d7d811814
Fixed bug with Ice Fishing in the Nether
...
Fixes #1218
2013-06-24 16:25:49 +02:00
GJ
98b98256b7
Make our oldUserRemover actually work...
2013-06-13 12:23:58 -04:00
GJ
abd389f4de
Try to speed up our PartyKickTask a bit.
2013-06-13 12:18:18 -04:00
GJ
602956a555
Fix duplicate prefix sending with party chat & logging.
2013-06-13 11:10:46 -04:00
GJ
8d0601babc
Fix bug where all ranks less than 10 show as 0 with /mctop.
2013-06-13 10:56:46 -04:00
GJ
050be563bf
Less magic numbers.
2013-06-12 19:26:09 -04:00
GJ
965dbda101
Clean up some stuff with our DATS.
2013-06-12 19:20:05 -04:00
GJ
f2b2cd9cc0
Oops.
2013-06-12 15:59:51 -04:00
GJ
3a78e1b487
More code duplication removal.
2013-06-12 15:56:42 -04:00
GJ
db637f0bc9
Remove more code duplication.
2013-06-12 15:41:26 -04:00
GJ
b15f1dde28
We don't need that potato.
2013-06-12 15:15:56 -04:00
GJ
28a78d820a
Tidy up our InventoryListener.
2013-06-12 15:10:43 -04:00
GJ
a1792fe125
We were calling deflect twice. Also made individual functions for each
...
type of combat.
2013-06-07 15:47:00 -04:00
T00thpick1
3f7b17961f
Reset mob healthbars on death to avoid conflicting with loot plugins
2013-06-07 15:46:59 -04:00
GJ
0ea07d4bc7
Fixed bug where spawned arrows could throw
...
ArrayIndexOutOfBoundsException. Fixes #1171
2013-06-07 15:46:59 -04:00
GJ
190b7ee1f5
ChatManagers...
2013-06-07 15:46:58 -04:00
GJ
4ff4271da2
These should be protected.
2013-06-07 15:46:57 -04:00
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
TfT_02
de0487d16f
This should make it work properly
2013-06-07 15:46:56 -04:00
TfT_02
fc0c386ecb
Fixing this as pointed out by Riking
2013-06-07 15:46:55 -04:00
TfT_02
86db4251a2
Check visibility before range
2013-06-07 15:46:55 -04:00
TfT_02
8fb92292bd
Move adding users to UserManager from onLogin to onJoin
2013-06-07 15:46:54 -04:00
TfT_02
375fa4f75c
Added permission node to prevent inspecting hidden players
2013-06-07 15:46:53 -04:00
TfT_02
da25b02e0a
Only set the item in hand null if it's actually a fishing rod
2013-06-07 15:46:53 -04:00
GJ
d43ae17bd2
Tweak a few things on the UpdateChecker.
2013-06-07 15:46:52 -04:00
Kane York
f81a763d6c
Use finally to close the update checker stream
2013-06-07 15:46:52 -04:00
Kane York
385f8ca0b3
Reduce code duplication in ExperienceAPI
2013-06-07 15:46:46 -04:00
GJ
0ba4bc25c7
Use player objects instead of names - should be more efficient and less
...
buggy.
2013-05-28 13:33:20 -04:00
GJ
b0eb4b93a8
Cleaner way to avoid salvaging chainmail.
2013-05-28 12:59:10 -04:00
GJ
54f135aebd
We're checking this twice and shouldn't be.
2013-05-28 12:53:12 -04:00
GJ
10e369f9c5
Increased auto-fishing detection.
2013-05-28 12:42:39 -04:00
TfT_02
1ae9b0f4d2
Animals can also have the "Spawned Entity" tag
2013-05-26 17:55:24 +02:00
T00thpick1
198ee6a7ed
I think this is case sensitive
2013-05-26 11:51:42 -04:00
TfT_02
2414ddf485
Fix broken Tree Feller
...
Fixes #1139
2013-05-25 14:45:24 +02:00
GJ
2cd52db8c9
The ; is important.
2013-05-22 22:30:40 -04:00
GJ
5e00636761
And a little more...
2013-05-22 22:30:09 -04:00
GJ
a82cc9609b
Cleaning up a bit.
2013-05-22 22:13:40 -04:00
T00thpick1
45c6c20ccd
Null parties! Hurray!
2013-05-22 21:20:35 -04:00
GJ
7a61f55e49
Remove some code duplication in our ShareHandler.
2013-05-22 17:22:06 -04:00
GJ
aa0b77a64c
Updates to our parties.
2013-05-22 13:02:26 -04:00
GJ
030c8e59d7
The other way leaks memory like a sieve.
2013-05-22 00:01:19 -04:00
GJ
f21fbe2d40
Make repair & salvage respect the sneaking settings. Fixes #1108
2013-05-21 22:34:06 -04:00
GJ
9a5f4b638f
Little more cleaning.
2013-05-21 14:15:28 -04:00
GJ
9aa49a09da
Little more cleanup.
2013-05-21 14:03:00 -04:00
GJ
bf8945ac59
Try to clean CombatUtils a bit...
2013-05-21 13:36:44 -04:00
GJ
d9926bab4e
Try to clean up our poor EntityListener...
2013-05-21 13:27:52 -04:00
GJ
92ec04bd46
Better boolean handling.
2013-05-21 11:44:16 -04:00
GJ
0b6372a6ea
Don't run these calculations twice. Also, pretty sure one of these was
...
bugged.
2013-05-21 11:41:39 -04:00
GJ
4f8b66f94d
Clean up our block listener some.
2013-05-21 11:11:55 -04:00
GJ
0c52b3016c
We've got these functions, might as well use them.
2013-05-21 10:02:09 -04:00
GJ
a2f80569e3
Fire McMMOPlayerLevelUp events for our experience commands, when
...
applicable. Fixes #921
2013-05-21 09:31:25 -04:00
GJ
87df536a1f
Only check for kraken if you're actually fishing.
2013-05-21 09:14:54 -04:00
T00thpick1
12e70490d8
Cooldowns messages need to be affected by perks too
2013-05-20 22:35:34 -04:00
TfT_02
23b1518dc0
More formatting :)
2013-05-20 17:28:02 -04:00
T00thpick1
6dbf2e0d95
FishingTreasureEvent, FishingShakeEvent and MagicHunterEvent
2013-05-20 17:27:59 -04:00
GJ
60304e9643
Because Minecraft does stupid things with "/" in the chat.
...
Fixes #994
2013-05-20 08:56:02 -04:00
GJ
614557e2fa
It'd be nice if Ice Fishing actually worked.
2013-05-20 08:07:39 -04:00
TfT_02
e312e95aed
Refactor to a more descriptive name,
...
also fixes a small typo.
2013-05-20 10:55:17 +02:00
T00thpick1
22f6ae858b
Update inventories after chimera wing
2013-05-19 16:13:19 -04:00
T00thpick1
3c3b4af2c4
No salvaging chainmail - FIXES 1118
2013-05-19 12:55:18 -04:00
T00thpick1
feb0d1fe5d
Things that should never happen, but are.
2013-05-18 22:15:32 -04:00
TfT_02
2d66b8ed12
Cleanup - fixing various formatting issues
2013-05-18 22:41:42 +02:00
TfT_02
483f348403
Fixed bug with Blast Mining where the Ability refreshed message was being send too early
2013-05-18 22:27:17 +02:00
TfT_02
7f1ef61657
Get rid of the SuccessModifier
...
There's no need for this modifier, because the user can define the
exact chance for Rolls and Gracefull Rolls in the config file. This
means that the ratio between the two is already configurable.
2013-05-18 14:12:07 +02:00
TfT_02
2e74c079b0
Set the enchant buff level to 1 if it's lower than 0
...
Prevents issue #1006 from happening again.
If a user wants to disable SuperBreaker, they should do this using
permissions and not by setting the Enchant Buff level to zero.
2013-05-18 11:37:40 +02:00
TfT_02
ce4295289a
Changed powerlevel display setting to disabled by default.
...
Because scoreboards are being cached by Minecraft in scoreboard.dat it
is no user friendly to enabled this by default. Users will have to
manually delete this file in order to actually disable this.
Described in #1105
2013-05-18 11:27:17 +02:00
T00thpick1
7fde04851d
Typo
2013-05-17 18:44:23 -04:00
riking
71d030e5ad
Change rounding strategy to ceiling for mob healthbars
2013-05-17 00:19:59 -04:00
T00thpick1
b08649d0a4
Not much help if not static
2013-05-16 23:58:49 -04:00
T00thpick1
0a11a9a2c8
More methods for SkillType
2013-05-16 22:00:40 -04:00
T00thpick1
068f47b523
Option for any distance
2013-05-16 19:53:58 -04:00
T00thpick1
79aab57abc
Configure the inspect distance
2013-05-16 19:31:12 -04:00
T00thpick1
2cf58f1b5b
Why break when we can return?
2013-05-16 18:04:14 -04:00
T00thpick1
9678875b4b
We do enjoy killing off orphans
2013-05-16 17:26:16 -04:00
GJ
24e5147a2a
This was never an issue.
2013-05-16 16:13:53 -04:00
T00thpick1
0423a7831d
Those were right the first time...
2013-05-16 15:55:25 -04:00
T00thpick1
feea22b3a4
Correctly order
2013-05-16 15:52:49 -04:00
T00thpick1
7f40a9f284
Explicitely state columns wanted to account for altered tables
2013-05-16 15:50:19 -04:00
GJ
bc706109e0
Fix issue with tables without party names.
2013-05-16 13:37:22 -04:00
GJ
a7861fc54b
Move all miscellaneous Spout code to a single location.
2013-05-16 10:51:18 -04:00
GJ
936bec8ff5
Unused import.
2013-05-16 09:32:48 -04:00
GJ
01d10971a1
Calling things that many times is BAD.
2013-05-16 09:32:27 -04:00
T00thpick1
12e388a392
Null checks
2013-05-16 09:30:02 -04:00
T00thpick1
fb450671d6
Alternative SQL player loading
2013-05-16 09:29:59 -04:00
GJ
fca5f9ec98
We shouldn't need to do this. If issues arise, then there's a bug in
...
Bukkit that needs patching.
2013-05-16 09:23:35 -04:00
GJ
c9ae6436bd
Because we forget things too often.
2013-05-16 08:41:57 -04:00
GJ
b6c4d2b4ad
Fixed bug where Nether Quartz wasn't included in Smelting or item
...
sharing
2013-05-16 08:13:01 -04:00
T00thpick1
9b08062a58
Typo
2013-05-15 20:36:43 -04:00
T00thpick1
401bdfa9ac
Reset ability modes safely
2013-05-15 20:35:30 -04:00
TfT_02
68d8d6dd30
Added permission node to bypass the fishing exploit prevention
...
Permission node: `mcmmo.bypass.kraken` false by default.
2013-05-15 23:35:17 +02:00
GJ
2a57d7007d
Don't go through everything twice. Also, those were horrible variable
...
names.
2013-05-15 17:28:47 -04:00
GJ
fd675ac291
Changed Spout notification tiers to be stored in SpoutConfig instead of
...
AdvancedConfig. Also restructured some Spout stuff for easier
readability.
2013-05-15 17:08:43 -04:00
GJ
41f020bbb7
Cleaning up our listeners, as well as some Spout stuff.
2013-05-15 15:39:40 -04:00
GJ
00dee500e0
Caching options is bad, and so was that way of getting the menu key.
2013-05-15 15:28:05 -04:00
GJ
36bdb8a63e
Fixed mcMMO overwritting Spout titles set by other plugins.
2013-05-15 15:14:47 -04:00
GJ
aa9eb0868c
Add option to use scoreboards for power level display, similar to the
...
Spout titles. This will NOT override any existing plugin that uses the
overhead scoreboard slot.
2013-05-15 15:13:11 -04:00
T00thpick1
48aafa9834
Unused import
2013-05-15 14:27:31 -04:00
T00thpick1
78f53f294a
Debris should drop normal drops
2013-05-15 13:02:21 -04:00
TfT_02
3158c7e3eb
List /party itemshare and /party expshare in /party ?
...
Closes #913
2013-05-15 19:00:34 +02:00
GJ
bc3773ae75
Because apparently you can have metadata and an empty list too.
...
Fixes #1080
2013-05-15 09:29:24 -04:00
GJ
d8ddd27d71
Calculate bonus XP based on initial arrow location, rather than final
...
shooter location.
2013-05-15 08:35:12 -04:00
GJ
8d5696507a
Add bow force multiplier to Archery XP.
2013-05-15 01:20:12 -04:00
T00thpick1
9ec376a228
Unused import and update changelog
2013-05-15 00:53:01 -04:00
T00thpick1
a05a0da9fb
Mob Spawner XP multiplier
2013-05-15 00:48:18 -04:00
T00thpick1
5029ad9d93
Apply Perks after cutoff
2013-05-14 23:54:54 -04:00
T00thpick1
1444be665c
No reason to specify MyISAM
2013-05-14 23:54:52 -04:00
GJ
3dedb94bdc
Add new Experience API functions and clarify some old ones.
2013-05-14 23:30:36 -04:00
T00thpick1
c0f6c15a80
Fix SQL Syntax
2013-05-14 23:28:45 -04:00
T00thpick1
b416a59bb7
Don't cache config options to prepare for eventual config reload support
2013-05-14 22:59:16 -04:00
GJ
2e79c8d770
Properly track infinite arrows.
2013-05-14 22:45:09 -04:00
T00thpick1
6c9d1c4953
Make SQL removes delete from all tables
2013-05-14 22:20:06 -04:00
T00thpick1
e5f43462c8
Certain operations do not work with child skills
2013-05-14 19:31:40 -04:00
GJ
1867a3e040
If they aren't in a party, they shouldn't be in party chat mode.
2013-05-14 13:10:54 -04:00
GJ
6818f98de3
Feedback is good.
2013-05-14 13:10:07 -04:00
GJ
f910c76248
Conventions.
2013-05-14 12:46:45 -04:00
GJ
975cbf0bf8
The cache should be here, not in the manager.
2013-05-14 12:46:04 -04:00
GJ
f10b3cef01
Config option for escaping from the Kraken.
2013-05-14 12:43:02 -04:00
T00thpick1
ad39c94773
AbilityDeactivateEvent
2013-05-14 12:18:52 -04:00
T00thpick1
f189ab30e5
Default should be default
2013-05-14 11:32:57 -04:00
GJ
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
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
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
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
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
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
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
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
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
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
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
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
bm01
d3ec976f44
I'd say no
...
But if the player can actually be off-line, be sure to add a comment
explaining why.
2013-03-03 13:43:56 +01:00
GJ
79a5732c4d
Fixed bug where ptp permissions weren't being handled properly
2013-03-02 23:53:25 -05:00
GJ
12c6bfc2e8
Fix another potential issue with recentlyHurt & /ptp.
2013-03-02 23:34:39 -05:00
GJ
31fff0623d
Fixed bug where the PTP cooldown was set improperly.
2013-03-02 21:48:44 -05:00
GJ
0d2b87834c
Fixed bug where the wrong flag was being set when taking damage.
2013-03-02 20:59:29 -05:00
GJ
2feba8f64c
Fixed bug where using '/party chat message...' would result in the first
...
word of the message being printed repeatedly. Fixes #760
2013-03-02 20:07:01 -05:00
GJ
cf82ae4c66
Fixed bug where repairing an mcMMO ability-buffed item with mcMMO repair
...
could take the enchant but leave the lore tag
2013-03-02 19:38:29 -05:00
GJ
0d7c402c01
Fixed bug where Smelting would throw consistent errors due to offline
...
players. Fixes #754
2013-03-01 18:45:44 -05:00
GJ
ae8b70be0f
Fixed bug where /mctop and /mcrank wouldn't show overall power levels
...
for servers using Flatfile. Fixes #750
2013-03-01 16:08:44 -05:00
GJ
a87336b7ee
Fixed bug where trying to use /mctop or /xplock with the Smelting child
...
skill caused NPEs.
Fixes #748
2013-03-01 10:38:14 -05:00
NuclearW
a542d6cf3e
Squashed commit of the following:
...
commit cb3e057dee1f2b29838ab654a526baac1baab7d6
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:43:57 2013 -0500
1.4.00 release
commit 4f9628d2e4cde31c8946e9a911ee6f10e1fb6b35
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:07:30 2013 -0500
\r -> \n
commit b2ca22e0477c747143b0f08a28a096967ee6ffd7
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:53:56 2013 -0500
Commented-out code shouldn't be done like that.
commit 92f131712cc671e3e616c14a22e22769ef6d6d0b
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:45:36 2013 -0500
More things we missed.
commit 408b03766f6261a03a862a1ab7f5835772feda4a
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 23:20:13 2013 -0500
Format: util through spout and backup lib
commit d6bd2c29bbb51bee3607247468cfe145d4f38c9e
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:50:08 2013 -0500
The things we missed the first time through...
commit 393f0b889aa1b7011ee81ee7b15413d8824b8cfb
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:05:29 2013 -0500
Formatting: Skills
commit c097a6e188a7b760dd1b4389ed81dca417146b16
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:30:12 2013 -0500
Organize imports.
commit 34c3e74be7eb5f983f21d969e30155c5d82c01c1
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:45 2013 -0500
Fixed a missing fallthrough comment from ChatCommand
commit b4a76c9f022a2fd98bdd8f083accfea03becfd71
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:36 2013 -0500
Formatting: datatypes.* through events.*
commit 3e57dd41d3265a7c8106c7eb026df926770a4d15
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:56:15 2013 -0500
Fix issue with bad rebase
commit e8c8e06b2971555b7334e49128257e3af6f36892
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 17:35:32 2013 -0500
Formatting: DatabaseManager, LeaderboardManager, DatabaseUpdateType, and
PlayerStat
commit 13ecf1cc41f377a12991e357ac10abdcda24d6de
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:31:43 2013 -0500
Format: listeners.* through runnables.*
commit 71686e3c0d96c2dcf25442b91703fadda1ea3bb0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:13:57 2013 -0500
Format PartyLockCommand
commit d50abed10bf94e1a88df3dc5cc07c259aea920ea
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 16:54:08 2013 -0500
Format: base through config.*
commit 7004823eeebbae5be7728bf9cafc3b04e57b64cf
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:21:40 2013 -0500
Example of using spaces to align like things
commit 534190cfe2481e466fe459d65628550458cc2993
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:12:19 2013 -0500
Capitalization
commit 5b61d3ba4c8d81e6f358b0cf4f460abfe9798414
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:07:43 2013 -0500
Updated readme, added standards.md
commit 5ec0df70fb82c527420a2f437f27f31bd758f884
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 14:42:16 2013 -0500
Markdown was here, Creole is a loser
commit 70d557c59d086b6a5fb5e0e63c0c1d8eb4c8d19c
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 13:46:24 2013 -0500
Move MCStats shading to .metrics.mcstats
commit eb9d67e66b1659d6abd2397ecf403343cfeffdda
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 13:37:37 2013 -0500
Move ALL the packages!
commit 8ffa9e7b75417b6c7f158613d4b4ffb783dcf2d0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 12:37:12 2013 -0500
/r/n -> /n
2013-03-01 00:52:01 -05:00
GJ
13111a8d1b
Fixed a few small bugs with Smelting.
2013-02-28 17:32:36 -05:00
GJ
bbbba12e95
Small TamingManager changes. Halting the rest of the major changes for
...
now to prepare for 1.4.00 release.
2013-02-28 12:13:13 -05:00
GJ
fbd016f86d
Cleaning up our UnarmedManager
2013-02-28 11:52:56 -05:00
GJ
10e7fe5560
Minor Spout cleanup.
2013-02-28 11:24:38 -05:00
GJ
213b4763e7
Check the perms for these commands in the commands, otherwise they don't
...
work in console because they don't default to OP. Fixes #715
2013-02-28 08:58:59 -05:00
TfT_02
c900edb261
Fixed a bug where the near party member counter was off. Closes #745
2013-02-28 11:28:28 +01:00
GJ
8fb8c67148
SwordsManager cleaning
2013-02-27 23:18:17 -05:00
GJ
499411f6a2
SmeltingManager cleaning.
2013-02-27 18:28:20 -05:00
GJ
c3eaec513b
GIANT Blast Mining update. Lots of new config options in advanced.yml
2013-02-27 15:45:15 -05:00
nossr50
a7f858ab03
Added new Tree Feller algorithm for Huge Red Mushroom
2013-02-27 11:51:44 -08:00
GJ
5ba4dc7b77
Leave some room.
2013-02-27 08:33:06 -05:00
GJ
bbcc8f918e
Hire another manager in charge of Herbalism.
2013-02-27 08:33:05 -05:00
bm01
356c97cd67
Fixed CME in BleedTimer
2013-02-27 13:49:56 +01:00
GJ
0bdd5b219f
Finish off FishingManager.
2013-02-26 23:31:00 -05:00
GJ
90368d4ece
Minor cleanup
2013-02-26 22:42:47 -05:00
GJ
ec12303834
Straighten up PartyitemShare a bit.
2013-02-26 22:39:35 -05:00
GJ
294393bd1c
Work on FishingManager.
2013-02-26 22:38:22 -05:00
GJ
4aaaf01ab5
Fix NPE for SpoutPlayers
2013-02-26 19:36:21 -05:00
NuclearW
cbbe436a69
Added party itemShare mode: EQUAL
...
Slightly cleaner way of handling equal item sharing.
Reset the item share modifier back to base when a player leaves the party
Added a new config file for the itemWeights
Removed the debug messages.
Added Lapis_Ore to itemweights.yml
Drop the item on the ground if the winningPlayer's inventory is full.
Unneccesary
Added a feature which allows the party leader to toggle item share categories....
That should be the rest.
ItemWeights to Item_Weights
2013-02-26 18:46:15 -05:00
GJ
18510ba851
Don't check the permissions here.
2013-02-26 18:26:52 -05:00
GJ
0201ed332f
Quit passing this event around.
2013-02-26 18:21:14 -05:00
GJ
e46ed07b94
Goodbye, unused imports.
2013-02-26 18:12:40 -05:00
GJ
3db6762531
Javadoc updates.
2013-02-26 18:08:28 -05:00
GJ
f388948f04
Hire an Excavation manager.
2013-02-26 18:06:30 -05:00
GJ
4392e6b9ab
Minor tweaks.
2013-02-26 16:06:13 -05:00
GJ
38c3891533
Minor JD fixes.
2013-02-26 16:00:15 -05:00
GJ
a28d673eb7
Reworking the AxeManager.
2013-02-26 15:59:16 -05:00
GJ
55138f1599
Managers control everything relating to players.
2013-02-26 12:38:17 -05:00
GJ
0cd07cf2fd
The functions, they do nothing!
2013-02-26 12:03:37 -05:00
GJ
ae1eda915b
Use an iterator rather than that stupid lock boolean.
2013-02-26 10:32:06 -05:00
GJ
38cd395171
Clean up the bleed list a bit.
2013-02-26 10:13:40 -05:00
GJ
3aec0e5ef4
Using UUID is safer.
2013-02-26 10:07:00 -05:00
GJ
56bd782625
Getting it through Bukkit is bad.
2013-02-26 10:02:25 -05:00
GJ
d8904827ec
This should have the same effect.
2013-02-26 10:01:37 -05:00
GJ
f767edba93
Add SpoutHudAPI for other GUI-related plugins to tweak our XP Bar.
2013-02-26 09:53:01 -05:00
GJ
07a0f43825
Don't need that anymore.
2013-02-26 09:42:22 -05:00
GJ
ec8581a835
Pass less events.
2013-02-26 09:41:47 -05:00
GJ
f5290c3256
Name 'em all the same.
2013-02-26 08:22:08 -05:00
GJ
070189a7fd
Don't need those anymore.
2013-02-26 08:19:55 -05:00
GJ
d409610a55
Move Roll checks into the manager.
2013-02-26 08:19:21 -05:00
GJ
d46b134dbb
Don't pass our events around so much.
2013-02-25 18:00:15 -05:00
NuclearW
5026bdcbd4
Add new child.yml config for picking parents of child skills
2013-02-25 16:58:37 -05:00
GJ
3607d0b9a1
Eclipse - still being stupid.
2013-02-25 16:58:06 -05:00
GJ
21b8626366
Put our managers on payroll, rather than firing them at the end of
...
their shift.
2013-02-25 16:54:46 -05:00
NuclearW
4c10fdf34a
Use Debug Filter here
2013-02-25 16:00:09 -05:00
GJ
8001a928ea
Ensure one type of mushroom is held before checking Shroom Terra. Fixes
...
#734
2013-02-25 11:51:29 -05:00
GJ
26c2134484
That's not the right function...
2013-02-25 09:59:35 -05:00
GJ
2373ca82ba
Added "Shroom Thumb" ability to Herbalism. Closes #724
2013-02-25 09:58:25 -05:00
GJ
3bd9a30055
Javadoc fix
2013-02-25 09:23:49 -05:00
GJ
52467075b4
Need to force updates here.
2013-02-25 09:18:53 -05:00
GJ
9888fe6e09
We now need to watch these species too.
2013-02-25 08:02:35 -05:00
GJ
19068dee03
Fix Tree Feller not working but still awarding XP.
2013-02-25 08:01:06 -05:00
TfT_02
ca8204d8f4
Display 'leader' alias instead of 'owner' in /party help
2013-02-25 13:56:24 +01:00
TfT_02
35139815a6
Added alias for /party owner: "/party leader"
2013-02-25 13:42:11 +01:00
GJ
da1e03cbfc
Eclipse is dumb and wasn't including these two files for some reason.
2013-02-25 07:30:06 -05:00
GJ
219667965f
Add a few checks to prevent a player from joining a party more than
...
once.
2013-02-25 07:23:18 -05:00
GJ
ec8221610a
Add a few more checks for sanity on the new ability buffs.
2013-02-24 23:57:30 -05:00
GJ
afe28d54c6
Fix Herbalism not replanting crops properly.
2013-02-24 23:49:55 -05:00
GJ
1eb225cae1
Stages are capped at 4.
2013-02-24 16:35:33 -05:00
GJ
e716e38386
Dividing by 4 was wrong.
2013-02-24 16:31:01 -05:00
GJ
1fe471b005
Fix Green Thumb not removing seeds when only one was left. Also fixed
...
Green Thumb not working on Cobblestone.
2013-02-24 15:32:33 -05:00
GJ
5cd542002e
Only remove seed on greenThumb - Green Terra's already had the seed
...
removed the first time.
2013-02-24 14:04:54 -05:00
GJ
a485308fca
Yes, we do.
2013-02-24 13:57:33 -05:00
GJ
9659ef65b9
Remove unused imports.
2013-02-24 13:57:33 -05:00
NuclearW
214079a3cd
Configuration options for particles
2013-02-24 13:56:24 -05:00
GJ
e9dcb31002
Fixed issue with async chatting. Closes #731
2013-02-24 13:25:55 -05:00
NuclearW
3b05bb96e3
Change for only advanced.yml and config.yml to be auto-updated
2013-02-24 00:18:01 -05:00
NuclearW
54ca6e78f5
Revert "Fixing an IllegalArgumentException related to custom repair configs."
...
This reverts commit 3036d4fa90
.
2013-02-24 00:01:01 -05:00
GJ
9759224690
Changed our custom chat events to be async
2013-02-23 21:29:15 -05:00
GJ
20970e430c
Remove unused imports.
2013-02-23 18:14:15 -05:00
GJ
38155e3af4
Use the same MetadataValue for both of these
2013-02-23 18:13:12 -05:00
Glitchfinder
3036d4fa90
Fixing an IllegalArgumentException related to custom repair configs.
2013-02-23 13:51:21 -08:00
GJ
aba662e3d0
Fix for exploiting new Super Breaker enchants using the anvil.
2013-02-23 15:25:49 -05:00
GJ
301914d94b
Fix ClassCastException with trying to use Woodcutting on Mushrooms.
2013-02-23 15:03:39 -05:00
GJ
8d16c06739
Don't make a new metadata value for every block every time.
2013-02-23 00:29:25 -05:00
NuclearW
920bdde135
NuclearW is a mean person who hates other peoples' code
2013-02-23 00:00:58 -05:00
shatteredbeam
1db9a554dc
Added Graphs determining above or below default values for the global multiplier and the global curve modifier.
2013-02-22 20:54:15 -08:00
GJ
62aaad8707
Added "Holy Hound" ability to Taming
2013-02-22 18:47:34 -05:00
GJ
2fee9df625
Move more event handling back into the main listener to avoid passing
...
the event itself.
2013-02-22 17:55:31 -05:00
GJ
6c6ab4c96e
We only need the block in here.
2013-02-22 17:55:30 -05:00
Glitchfinder
1d316f9420
Making the error reporting for enabling mcMMO more informative.
2013-02-22 11:10:35 -08:00
U-YUE\Sean
d2035f1816
Setting mcMMO to disable itself if it errors on load. Fixes most reloading errors.
2013-02-22 11:10:34 -08:00
U-YUE\Sean
fd821139bd
Fixing an NPE related to the skillreset command.
2013-02-22 11:10:34 -08:00
U-YUE\Sean
7e6550d147
Unregistering events on disable. Should deal with edge cases regarding forced reloads.
2013-02-22 11:10:33 -08:00
GJ
e556b707c9
Fix for NPE when right/left clicking air.
2013-02-22 13:59:07 -05:00
GJ
9282b7bd15
Remove config caching from SkillTools.java
2013-02-22 13:53:16 -05:00
GJ
0d473d232e
Remove config caching from CombatTools.java
2013-02-22 13:47:54 -05:00
GJ
f9ad8ffe93
This check was unneeded, we already verify that the player is, in fact,
...
a player before this check is ever called.
2013-02-22 13:40:36 -05:00
GJ
e85a0f6cfc
Change Acrobatics roll handling to take event.getDamage() instead of the
...
event. Also adds a few new config options in advanced.yml for further
customizing roll behavior.
2013-02-22 13:39:47 -05:00
GJ
63974f3968
Passing the event is bad - pass just event.getDamage() instead.
2013-02-22 12:10:15 -05:00
NuclearW
3b07d4055a
Added config option to make .new config files instead over writing over old ones when updating
2013-02-22 11:59:56 -05:00
NuclearW
d052d7a3ce
Change from using Block to BlockState in many locations
...
Convert Herbalism ability to use BlockState instead of Block.
Move all block checks back to BlockChecks.
Don't need this if we're using BlockState
Convert Excavation to BlockState. We don't need to return booleans here
because we never edit the block state.Switch ModCheck.getCustomBlock to use BlockState
More work on the conversion to BlockState
More conversion to BlockState
Better way to handle mining drops, I believe.
Remove useless imports.
A test of making the diff look nicer
BlockChecks diff cleanup
Herbalism diff cleanup
Gotta update the block states here.
Moar blockstate.
Little more blockState stuff.
Even more blockstate.
2013-02-22 11:23:46 -05:00
GJ
0a68b82078
Fixes wolves gaining combat bonuses based on their owner's held item.
...
Closes #713
2013-02-22 09:53:18 -05:00
NuclearW
3dc1afde7e
Add graph to see if any config values have been changed from the default, or if a server is 100% vanilla configs
2013-02-22 01:08:37 -05:00
GJ
e50eb1963f
Minor typo.
2013-02-20 22:01:18 -05:00
Glitchfinder
fdd6c0a0d8
Fixing an NPE related to Spout players.
2013-02-20 21:55:52 -05:00
GJ
c589c5556b
MASSIVE config overhaul - most keys are now based on the "proper" name
...
given to a material or entity by Bukkit.
This WILL wipe some custom values you may have set, so please verify
that your values are what you want them to be after the new config file
is generated.
2013-02-20 16:44:15 -05:00
GJ
17a85c94c6
Override toString() for upcoming config changes. Also, this ability is
...
"Skull Splitter," not "Skull Spliiter"
2013-02-20 13:29:41 -05:00
NuclearW
4284fe1029
Revert "Add an error message when the config.yml is outdated."
...
This reverts commit 3cff8aba16
.
Closes #639
Signed-off-by: NuclearW <incongruency@gmail.com>
2013-02-20 13:22:52 -05:00
NuclearW
dec3c10ec1
As seen on TV: ConfigLoader v2
...
ConfigLoader will now read the internal and external versions of files it is loading to:
- Prune old keys in the external not in the internal
- Add new keys to the external from the internal
Additionally, while order is not presently preserved, all comments will be copied out, even for new keys.
Old keys will retain their values in the external if they differ from the internal.
Also changed the config.yml to say the version on which the config was last updated, not first generated as this will be updated as part of copying out comments.
Known issue: Extra spacing in the internal config files will not be copied out.
Closes #629
2013-02-20 13:11:06 -05:00
NuclearW
c805a48a87
Add verbose logging option and a debug method to use it.
...
Closes #609
2013-02-20 11:47:08 -05:00
GJ
918d81198f
Cleaner way to handle per-world teleport permissions. Also provides a
...
nice error message now to explain WHY a player can't teleport.
2013-02-20 11:43:23 -05:00
GJ
1d87de0a3e
Move update checking to it's own function.
2013-02-20 11:04:05 -05:00
GJ
fdeadde7f0
This has to be one block lower or it winds up in the sky.
2013-02-20 10:56:05 -05:00
GJ
760432fb41
Fix admin chat showing up twice in the logs.
2013-02-20 10:45:30 -05:00
GJ
240589e9ea
Fix perk messages being displayed even if you have no perks.
2013-02-20 10:44:17 -05:00
GJ
400c93fb7d
Clean up our particle effects a bit.
2013-02-20 10:40:47 -05:00
GJ
1bcf43db63
Better way to handle daze effect.
2013-02-20 08:49:21 -05:00
GJ
79bcd76aa0
Change ability particles due to confusion over glass-breaking sound.
2013-02-20 08:42:25 -05:00
GJ
8833ceb3b5
Added particle effect to Critical Hit.
2013-02-19 19:08:21 -05:00
GJ
ccc265edf9
Add explosion effect for Greater Impact.
2013-02-19 19:08:21 -05:00
GJ
e956988c60
Add particle effect on Dodge.
2013-02-19 19:08:20 -05:00
GJ
fd47d77800
Add chat toggles for the events we have particle effects for.
2013-02-19 13:25:59 -05:00
GJ
5c76ef312f
Added '/mcnotify' command to toggle ability notifications on/off
2013-02-19 13:18:27 -05:00
GJ
f189907ff8
Added visual effects for ability enabling. Also readded chat messages
...
for people who have particle effects disabled.
2013-02-19 13:02:08 -05:00
GJ
6e32843fb4
Add potion effect for Daze.
2013-02-19 11:01:50 -05:00
GJ
a43a5a0861
Don't need to save the manager anymore.
2013-02-19 10:09:29 -05:00
GJ
4ff1e79cc0
Particle effect means you can now easily see when an enemy is bleeding.
2013-02-19 09:21:44 -05:00
GJ
d28794a587
Slightly cleaner way to handle a few of our repair functions.
2013-02-19 08:34:08 -05:00
GJ
a67dd1d9d7
One of these has to be a double if we want this modifier to work.
2013-02-19 08:03:02 -05:00
GJ
9c0f763949
We already check the block data before calling this function.
2013-02-19 01:06:06 -05:00
GJ
6571864b16
Remove unused imports.
2013-02-19 01:03:21 -05:00
GJ
701822c69f
MASSIVE Permissions overhaul. Added a handful of new permissions,
...
renamed a few more. Changed Green Terra to handle blocks based on
perms rather than the config file.
For more details, read the diff.
2013-02-19 01:02:29 -05:00
bm01
2eab93292e
Removed some shouldBeAffected calls
...
I'm pretty sure they aren't needed there
2013-02-19 02:20:12 +01:00
bm01
29fb8b83c2
Fixed combat exp gain when hitting a friendly wolf
2013-02-19 02:06:31 +01:00
bm01
ad68f50b14
Removed isNPCPlayer, isNPCEntity is identical
2013-02-19 01:47:05 +01:00
Glitchfinder
519485f155
Converting entity tracking to use Bukkit metadata. Should greatly reduce lag on chunk loading and unloading.
2013-02-18 16:19:31 -08:00
nossr50
45fbb47ccf
Moving this check up
2013-02-18 15:28:18 -08:00
TfT_02
cf0f075acb
Added an Update Checker, closes #559
2013-02-18 22:54:50 +01:00
GJ
d9aad67ca5
Fix splash potions not properly affecting the player that threw them.
2013-02-18 15:09:25 -05:00
GJ
083a89c1a3
Handle all our donor perks in one class.
2013-02-18 11:41:44 -05:00
GJ
671be42472
SkillTools, not Misc
2013-02-18 10:32:29 -05:00
GJ
add4bc24df
Actually, we CAN use that check here.
2013-02-18 10:29:33 -05:00
GJ
1da1bb7218
These fit better in SkillTools. Plus, we had already duplicated one of
...
them.
2013-02-18 10:26:19 -05:00
GJ
d0d9527d39
These functions fit better in CombatTools.
2013-02-18 10:22:16 -05:00
GJ
c39827ed59
Don't need the same function in two places.
2013-02-18 10:11:43 -05:00
GJ
5d6a35d4ef
Remove unused import.
2013-02-18 10:08:38 -05:00
GJ
0d62688343
If we cancel, should be on Highest priority.
2013-02-18 10:07:54 -05:00
GJ
80b7cc717f
Move profile creation back to Login event, but only if the login is
...
allowed.
2013-02-18 09:57:11 -05:00
GJ
05a9c8b7e5
Make McMMOPlayerLevelUpEvent fully cancellable.
2013-02-18 08:35:52 -05:00
nossr50
e78cbcfcc8
Fixing a comment... wish I could tell jenkins not to compile :|
2013-02-17 16:12:47 -08:00
nossr50
f7b1aea7e0
Fixing mmoupdate to accomodate for party changes
2013-02-17 16:09:35 -08:00
GJ
2744fb122c
isValid already checks isDead
2013-02-17 14:13:29 -05:00
GJ
77638bf56a
Think we may have been adding some entities twice.
2013-02-17 12:14:20 -05:00
NuclearW
57e6e5400b
nope.avi
...
Revert "Protect placeStore. It's ugly and still needs work."
This reverts commit 1fe182babe
.
2013-02-17 10:05:35 -05:00
GJ
f2b03896e2
That wasn't supposed to be committed....
2013-02-17 01:40:52 -05:00
GJ
8a795e6091
Don't need chance anymore.
2013-02-17 01:26:47 -05:00
GJ
946513cb66
Remove unused import.
2013-02-17 00:40:54 -05:00
GJ
1fe182babe
Protect placeStore. It's ugly and still needs work.
2013-02-17 00:40:17 -05:00
bm01
f61aed9f6c
Attempt to fix permanently opened region files
...
This line successfully closes files that are no longer tied to any
loaded chunk. It was sometimes problematic on large servers.
However, since I'm not completely sure if it doesn't provoke any data
loss or error, I've commented it out, waiting for a verification or
approval.
2013-02-17 04:16:51 +01:00
nossr50
08882e58b6
random.nextInt() has 0 inclusive, we need to add 1
2013-02-16 14:44:41 -08:00
nossr50
4c6f2da78a
I guess Minecraft groups nearby itemstacks anyways... whoops
2013-02-16 14:33:17 -08:00
nossr50
3550310e5c
Change randomDropItems() to give an equal chance for all results
2013-02-16 14:29:44 -08:00
bm01
cedd8da9ba
Fixed Tree Feller dropping mushroom "blocks" instead of "items"
2013-02-16 23:09:19 +01:00
bm01
3cb269de4b
TreeFeller.dropBlocks cleanup
2013-02-16 21:31:06 +01:00
bm01
91010f2958
Let's be consistent D:
2013-02-16 21:25:31 +01:00
bm01
f3e823997b
getExperienceFromLog cleanup
2013-02-16 21:22:41 +01:00
bm01
4ae276d1d7
Fixed Tree Feller not being activated on big mushrooms
2013-02-16 21:14:23 +01:00
GJ
f6b38ab32a
Added hidden.yml option for using potion-based buffs instead of
...
enchantment-based buffs.
2013-02-16 14:36:46 -05:00
GJ
6f96a5026b
Take a player, not an item. Also avoids potential for NPE.
2013-02-16 11:34:39 -05:00
GJ
4071f259ad
Handle all the buff removal in BlockDamage. Also removes the config
...
option for using Mining & Excavation without tools.
2013-02-16 11:28:19 -05:00
GJ
593975a255
We don't have to pass the event anymore.
2013-02-16 00:00:24 -05:00
NuclearW
b16cc87ffb
Turn off debug
2013-02-15 22:48:24 -05:00
NuclearW
c5e8b90d71
Reset events for debug
2013-02-15 22:48:24 -05:00
NuclearW
88a6326f87
Debugging for Metrics
2013-02-15 22:48:24 -05:00
NuclearW
c4aedd5323
Use convenience methods
2013-02-15 22:48:23 -05:00
NuclearW
6eb125c913
Chimera Wing Usage Tracker/Graph
2013-02-15 22:48:23 -05:00
NuclearW
704f7374d2
Chimera Wing Enabled Graph
2013-02-15 22:48:23 -05:00
NuclearW
009396cad9
Add in EMetrics
2013-02-15 22:48:23 -05:00
NuclearW
a38b7ca9fa
Move metrics to a class of its own
2013-02-15 22:48:22 -05:00
NuclearW
c5daaffeb1
Change to use turt2live's MetricsExtension
2013-02-15 22:48:22 -05:00
bm01
9c2ab19404
Slight greenThumbWheat cleanup
2013-02-16 03:42:56 +01:00
bm01
ef1a777180
Removed no longer needed check
2013-02-16 03:38:41 +01:00
bm01
77014b03ef
No point in canceling the event
...
And it actually fixes the double call (see previous commit)
2013-02-16 03:36:27 +01:00
bm01
9143051d9f
Run GreenThumbTimer on the current tick
...
It avoids onBlockBreak to be called twice (which basically launched
the task twice). I don't know what were the consequences but that
wasn't right anyway.
Also it would be better if we wouldn't have to cancel the event,
because there is a possibility that plugins like LogBlock don't have a
chance to process it.
2013-02-16 02:56:46 +01:00
bm01
f496ecf7b1
Fixed Green Thumb not checking rank 4 on wheat
2013-02-16 02:49:31 +01:00
GJ
fc3afc4340
Using PlantSize is cleaner.
2013-02-15 19:29:47 -05:00
GJ
fd138eb0b5
This was redundant was redundant
2013-02-15 19:20:42 -05:00
GJ
6d5835849f
Fix issue with GreenThumb command display.
2013-02-15 19:18:43 -05:00
nossr50
800ebf5b64
Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO
2013-02-15 15:33:54 -08:00
nossr50
9df149c489
Huge Mushrooms now work for Tree Feller (UNTESTED)
2013-02-15 15:32:49 -08:00
shatteredbeam
efcf80899e
Permissions class removal from Skillcommand
2013-02-15 14:38:51 -08:00
shatteredbeam
c1b12c027a
Permissions class removed from Listeners
2013-02-15 13:32:23 -08:00
shatteredbeam
476ea80c4e
Permissions class removed from mcMMOPlayer.
2013-02-15 13:21:21 -08:00
GJ
bf4d70e8be
That was an incredibly stupid way to get those permissions.
2013-02-15 14:29:32 -05:00
GJ
284002bf8b
No reason to String.valueOf() these.
2013-02-15 13:56:30 -05:00
GJ
b92b9c6507
Permissions must use the English names.
2013-02-15 13:42:37 -05:00
GJ
a8cfcf31ab
Remove unused import
2013-02-15 13:42:37 -05:00
GJ
d14821e385
Fix a few more missing localized names.
2013-02-15 13:42:36 -05:00
GJ
5e8b036481
Need English name for the permission.
2013-02-15 13:42:34 -05:00
GJ
27ba4ff800
Make /xplock work for localized skill names.
2013-02-15 13:42:34 -05:00
shatteredbeam
c80bb45cad
Inspection references (Remove Permissions class)
2013-02-15 10:41:04 -08:00
GJ
dedcf0469b
Fix teh build.
2013-02-15 13:12:11 -05:00
GJ
9ec6a6d1aa
Add constructor for adding multiple levels at once. Need to work out how
...
to handle level-ups in order for this to be properly cancelled, however.
2013-02-15 13:10:36 -05:00
GJ
1ce01d2043
This should be abstract.
2013-02-15 13:10:36 -05:00
GJ
0701169a7e
Make McMMOPlayerXPGainEvent cancellable.
2013-02-15 13:10:34 -05:00
shatteredbeam
2d0cf6413e
Permissions Murder 6: The quest for more money
2013-02-15 10:08:45 -08:00
T00thpick1
4cf658b629
Make mctop asynchroneous
2013-02-15 12:47:00 -05:00
t00thpick1
8d21883c20
Only try to index tables when we are connected
2013-02-15 12:30:27 -05:00
GJ
fca0847929
Squids are not made of chocolate.
2013-02-15 12:19:02 -05:00
GJ
1d19dab71d
Full change to DyeColor.COLOR.getDyeData() - *REQUIRES* CB 1.4.7
2013-02-15 12:16:31 -05:00
GJ
49fe98ac57
Already locked it once.
2013-02-15 10:46:08 -05:00
TfT_02
bc9e946618
Revert removing Chimaera wing.
...
We've decided to keep it, for now.
2013-02-15 16:36:21 +01:00
GJ
3d3a1abf7b
OfflinePlayer.getName().toString() is pointless.
2013-02-15 10:34:42 -05:00
GJ
1ef1d53fd9
Make our commands respect localized skill names.
2013-02-15 09:26:01 -05:00
GJ
0419dca385
Config files are now backed up even when running in SQL mode
2013-02-15 07:53:44 -05:00
GJ
11bd473f55
Added config option to disable automatic zip backups
2013-02-15 07:53:43 -05:00
TfT_02
5947ad5004
Fixed wrong names names displaying when using /ptp
2013-02-15 13:51:54 +01:00
GJ
894218cac9
Gotta protect this one too.
2013-02-15 07:44:27 -05:00
GJ
4ce06de18a
Nicer way to handle the ConcurrentModification issue.
2013-02-15 07:40:47 -05:00
GJ
6c4ea34811
It's (not) over 5000% - fixes #683
2013-02-15 07:32:22 -05:00
TfT_02
34736836cc
Fixed a bug where a new party leader wasn't appointed, after the previous party leader left
2013-02-15 13:22:31 +01:00
TfT_02
9c09c168f8
Fix a ConcurrentModificationException
2013-02-15 12:32:35 +01:00
NuclearW
20f436c646
Squash alll the bugs
2013-02-14 23:27:19 -05:00
NuclearW
092b9096e6
Locale fallback
2013-02-14 23:27:03 -05:00
GJ
caa1b0d14c
Duplicate code is bad, m'kay?
2013-02-14 19:02:50 -05:00
bm01
d39ff036c7
Fixed NPE when clicking outside of the inventory window
2013-02-14 23:56:09 +01:00
GJ
6702256b4c
Auto-remove buff if a player tries to move the item.
2013-02-14 17:08:06 -05:00
GJ
110fbe9478
Clear buffs on /mcrefresh
2013-02-14 16:56:55 -05:00
GJ
128c24c8f6
Fix enchants hanging around due to server crash or disconnect.
2013-02-14 16:35:14 -05:00
GJ
6cc2497182
THis wasn't removing when it should have.
2013-02-14 16:29:49 -05:00
GJ
615288e635
Things in inventory can be null.
2013-02-14 16:02:42 -05:00
GJ
1b814b937b
Move PlayerDeathEvent handler into main PlayerListener. Also add check
...
to deal with SuperBreaker enchants on death.
2013-02-14 15:53:17 -05:00
GJ
01e26f321d
Fix issues with enchant-based Superbreaker implementation.
2013-02-14 14:35:53 -05:00
GJ
e8319aee81
Changed Super Breaker & Giga Drill Breaker to be an enchantment-based
...
boost, rather than an instabreak.
2013-02-14 13:12:15 -05:00
GJ
ca5bf0bd09
Fix possible fallthrough.
2013-02-14 11:07:41 -05:00
GJ
88b05cd5aa
Fix Super Breaker not working right with custom blocks.
2013-02-14 09:39:22 -05:00
GJ
132fcb8c74
We need to get our priorities straight.
2013-02-14 09:26:05 -05:00
NuclearW
9bd33ab3df
Introducing Block Cracker
2013-02-14 00:34:50 -05:00
NuclearW
7d826a0cdb
Add permission check for green thumb effects during Green Terra ability
2013-02-14 00:21:33 -05:00
GJ
ec6fc30f47
3rd time's the charm?
2013-02-13 19:43:26 -05:00
GJ
25a54ea802
Clean up /ptp a bit more.
2013-02-13 19:29:46 -05:00
GJ
dda9c82940
Attempt to clarify the /ptp code - I don't know that this helps much.
2013-02-13 18:58:17 -05:00
GJ
55b88f0274
These belong better in SkillTools than Misc
2013-02-13 16:45:49 -05:00
GJ
f4da69a205
Fix some missing default cases and possible fall-through issues.
2013-02-13 16:34:36 -05:00
GJ
3a919f3e4c
Fix improper permission making admin chat fail.
2013-02-13 15:25:49 -05:00
GJ
6cfd124804
Remove unused import.
2013-02-13 13:50:38 -05:00
GJ
0879e1f326
Fixed bug where fired arrows could raise skill levels other than Archery
2013-02-13 12:25:57 -05:00
GJ
8312570825
Fixed bug where splash potions could raise a player's unarmed level.
...
Fixes #678
2013-02-13 12:10:10 -05:00
GJ
2ad73e9b2c
Optimized our String/number conversions a bit. Also moved all
...
String-related util functions from Misc.java to StringUtils.java
2013-02-13 11:45:48 -05:00
GJ
b1db0d037d
Fix localized versions of /skillname not working properly. Fixes #669
2013-02-13 10:32:37 -05:00
bm01
776821a988
Readded Impact damage durability cap (and fixed it)
2013-02-13 14:49:35 +01:00
GJ
0319e2cbff
Added '/hardcore' and '/vampirism' commands for toggling these modes on
...
or off, along with the necessary permissions nodes.
2013-02-13 08:15:38 -05:00
GJ
7350fdb99c
Remove unused import.
2013-02-12 23:21:34 -05:00
GJ
25061e7f71
Don't loop, broadcast.
2013-02-12 23:07:01 -05:00
shatteredbeam
0cd8d2b333
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2013-02-12 19:56:47 -08:00
shatteredbeam
28dca6e66f
sender, not player.
2013-02-12 19:54:17 -08:00
shatteredbeam
491a70ad82
util.perms now uses player.hasPermissions() Uniformly.
2013-02-12 19:50:46 -08:00
GJ
aa0acf767b
Log ALL the things!
2013-02-12 22:18:47 -05:00
GJ
e37f5e765e
Forgot to send the permissions message.
2013-02-12 21:58:53 -05:00
GJ
fe1cf40bbb
Get rid of unused functions.
2013-02-12 21:55:41 -05:00
shatteredbeam
9be6a7cf3b
Permissions Murder 4: The quest for revenge
2013-02-12 18:33:55 -08:00
shatteredbeam
0684b1d425
Permissions murder: The Sequel.
2013-02-12 18:26:40 -08:00
shatteredbeam
12a2107601
More permissions murder.
2013-02-12 18:06:36 -08:00
shatteredbeam
163b3d19f9
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2013-02-12 17:49:51 -08:00
shatteredbeam
15113ba7e4
SkillresetCommand.java Permission murder
2013-02-12 17:48:04 -08:00
GJ
5e9f01ac57
Fix party & admin chat not working right from console.
2013-02-12 20:38:35 -05:00
GJ
ec718f04d7
No sense in looping through all online players.
2013-02-12 20:38:35 -05:00
shatteredbeam
bb96c00cb9
Continuing Permissions Murder.
2013-02-12 17:37:34 -08:00
shatteredbeam
697cfeea64
Kill the permissions!
2013-02-12 17:31:46 -08:00
shatteredbeam
0528139c2c
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2013-02-12 17:22:51 -08:00
shatteredbeam
cbe68e7879
Import removal
2013-02-12 17:21:56 -08:00
shatteredbeam
074a798213
Kill the permissions middle man...
2013-02-12 17:16:41 -08:00
GJ
e9b016903b
Removed /mcc command. Replaced with /mcmmo help.
...
NOTE: /mcmmo help seems to be having formatting issues currently - we're
looking into it.
2013-02-12 18:30:03 -05:00
GJ
8f4d5442b1
Better than looping.
2013-02-12 16:47:11 -05:00
GJ
b66c5d7023
Clean up /ptp. Also fix bug where teleportation happened backwards when
...
accepting.
2013-02-12 16:24:17 -05:00
GJ
b21d5bdcc4
Inviting yourself is bad.
2013-02-12 15:08:07 -05:00
GJ
574770c289
Remove unused imports.
2013-02-12 15:05:23 -05:00
GJ
adda85a660
Convert /ptp to use Bukkit CommandAPI
2013-02-12 15:05:02 -05:00
GJ
92473cc56d
True, not false.
2013-02-12 15:00:04 -05:00
GJ
d7e74b9fe0
That was poorly named.
2013-02-12 14:38:49 -05:00
GJ
9db2d50676
These should be under party, not skills.
2013-02-12 14:36:38 -05:00
bm01
048a979375
Minor ImpactEventHandler cleanup
2013-02-12 19:36:10 +01:00
bm01
761fb3b811
Bad copy paste
2013-02-12 19:19:13 +01:00
bm01
505d6e258f
Removed no longer needed method (Misc.hasArmor)
2013-02-12 19:17:53 +01:00
bm01
9f22382506
Restored original behavior of Salvage.isSalvageable
...
It doesn't check for custom armors, I don't know if it's a bug or not
Added isMinecraftTool and isMinecraftArmor for clarity
2013-02-12 19:15:52 +01:00
bm01
f486492c37
For consistency with Bukkit, ItemChecks.isPants -> ItemChecks.isLeggings
2013-02-12 19:15:51 +01:00
bm01
6f1ddee0ac
ItemChecks.isArmor should check for custom armors
2013-02-12 19:15:51 +01:00
bm01
2fac0170e7
Fixed Impact reducing durability of non-armor equipped blocks
2013-02-12 19:15:51 +01:00
GJ
56056797bc
Check config values for exp & item sharing.
2013-02-12 12:08:04 -05:00
GJ
bbc2091b77
Aliased /party chat to work for /partychat and /party teleport to work
...
for /ptp
2013-02-12 12:04:37 -05:00
GJ
51493fab48
Don't pass the plugin.
2013-02-12 11:44:29 -05:00
GJ
5d693c5d8f
Convert /party help to a subcommand
2013-02-12 11:42:13 -05:00
GJ
8cd9942be6
Prevent accidental overtranslation of our commands.
2013-02-12 11:37:37 -05:00
GJ
b2575c9b8f
Cleanup from removal of leader checks.
2013-02-12 11:25:56 -05:00
GJ
a60a6355d2
We check the leader elsewhere.
2013-02-12 11:23:48 -05:00
GJ
6acfba1315
Use an enum to handle our subcommands.
2013-02-12 11:23:32 -05:00
GJ
ab731302e0
Remove unused imports
2013-02-12 10:42:59 -05:00
GJ
5a48d5c5f8
Convert /party info to a subcommand
2013-02-12 10:42:42 -05:00
GJ
e92c6b8f26
Convert /party rename to a subcommand
2013-02-12 09:22:57 -05:00
GJ
200ac53078
Add function to get a list of all players in a party to the API.
2013-02-12 09:22:36 -05:00
GJ
288907cfd4
Convert /party password to a subcommand.
2013-02-12 08:57:35 -05:00
GJ
c822be4a53
Add other usage string.
2013-02-12 08:39:45 -05:00
GJ
70f588cce1
Don't print usage here.
2013-02-12 01:45:56 -05:00
GJ
e5c7e81b08
No point in repeating this check over multiple classes.
2013-02-12 01:41:51 -05:00
bm01
45ebc2b89b
3% != 100%
2013-02-11 23:39:41 +01:00
GJ
76523d2988
3% != 100% - Fixes #671
2013-02-11 17:35:01 -05:00
GJ
98a64a0948
Convert /party lock & /party unlock to a subcommand.
2013-02-11 17:31:09 -05:00
GJ
2d6fb72b9d
Use <>, not []
2013-02-11 15:41:23 -05:00
GJ
e66ff53ca4
Convert /party owner to a subcommand.
2013-02-11 15:33:25 -05:00
GJ
e8ac3c812f
Fix formatting.
2013-02-11 15:24:38 -05:00
GJ
a597a7d281
Add usage string.
2013-02-11 15:24:20 -05:00
GJ
1c0e392552
Convert /party disband to a subcommand
2013-02-11 15:19:41 -05:00
GJ
59a52a73bb
We've got a function, might as well use it.
2013-02-11 15:17:15 -05:00
bm01
0aeff40aaa
Made /party kick work on offline players
2013-02-11 14:14:43 +01:00
shatteredbeam
de9249e523
Added Global Multiplier Graph to Metrics
...
Added Global Curve Modifier Graph to Metrics
2013-02-10 23:29:19 -08:00
shatteredbeam
5160f5c380
Fixed build GJ broke. Silly Hat prepared.
2013-02-10 23:11:03 -08:00
GJ
5da51e78cc
Change /party kick to a subcommand
2013-02-11 00:25:03 -05:00
GJ
2be57414ad
Use <> not []
2013-02-11 00:07:58 -05:00
GJ
c2293396be
Fixing the rest of the issues with entities.yml
2013-02-10 15:57:55 -05:00
bm01
ccedd23342
Fixed NPE on /party join when the sender isn't in a party
...
Also cleaned up PartyManager.joinParty since it's no longer supposed
to create any party.
2013-02-09 16:21:13 +01:00
bm01
46b5746dcc
Fixed bad player names displaying when using /party
2013-02-09 15:54:03 +01:00
bm01
97dafc45fa
Fixed players not joining their parties at login
2013-02-09 15:52:09 +01:00
bm01
adf62fd332
Speeding up mcMMO startup a little
2013-02-09 15:45:41 +01:00
bm01
98bb865062
Load parties before trying to do anything with them
2013-02-09 15:42:02 +01:00
bm01
d50123085f
Fixed bad parties saving
2013-02-09 15:26:41 +01:00
bm01
b628b9eb4d
Attempt to fix IOOBException due getOfflinePlayer at server startup
2013-02-09 15:16:57 +01:00
bm01
317a39177b
Fixed NPE on /party invite when used without a second argument
2013-02-09 14:51:36 +01:00
bm01
73924543df
Fixed /party invite trying to invite "invite"
2013-02-09 14:50:03 +01:00
bm01
457754b6f1
Fixed NPE due to null itemShareMode
2013-02-09 14:35:48 +01:00
bm01
c659f8a9a9
Party now store OfflinePlayer instead of String
2013-02-09 14:34:53 +01:00
TfT_02
74df4a4fb6
Add random item share mode for parties.
...
Use /party itemshare random to enable random item sharing. Disable with
/party itemshare [none | false | off]
Whenever a party member picks up an item, everyone has a chance of
receiving that item instead of the player who picked it up.
2013-02-09 12:24:02 +01:00
TfT_02
b60d9032be
Who knows what we will do next year,
...
but this minor bug has been fixed anyway :)
2013-02-09 10:59:41 +01:00
GJ
a2cbfa2668
We only need the name here, avoids NPE issues in /party create.
...
Fixes #655
2013-02-09 00:57:00 -05:00
GJ
340c47eebd
Switch /party invite to a subcommand
2013-02-08 16:56:54 -05:00
GJ
ae5f39253e
Make this work properly, finally.
2013-02-08 16:30:34 -05:00
GJ
3df5f529eb
Anniversary is over for another year...
2013-02-08 16:30:34 -05:00
Glitchfinder
0fae8be816
Cleaning up minor issue with the ChunkStore.
2013-02-08 13:26:47 -08:00
Glitchfinder
f97e9bd19f
Fixing an NPE with the /mcmmo command.
2013-02-08 12:23:14 -08:00
GJ
4957366beb
Yet another stupid error.
2013-02-08 14:55:09 -05:00
GJ
27e4a2c290
This is a more applicable error message.
2013-02-08 13:28:58 -05:00
GJ
a424d36e96
This is less costly.
2013-02-08 13:27:28 -05:00
GJ
9c0518f251
Fix NPE on PartyJoin - Fixes #653
2013-02-08 13:16:12 -05:00
GJ
794071efb8
Not just for XP sharing.
2013-02-08 11:54:09 -05:00
GJ
787c4e5b73
Just in case they type it wrong.
2013-02-08 11:54:09 -05:00
GJ
33d3cd0522
Had the naming backwards, it's actually /party expshare
2013-02-08 11:54:09 -05:00
GJ
e14f8ad93c
Convert /party shareexp to a subcommand
2013-02-08 11:54:08 -05:00
GJ
7a357634c7
We've already verified that they're in a party by this point.
2013-02-08 11:54:08 -05:00
GJ
ef5f72f56c
Invert this check for clarity's sake.
2013-02-08 11:54:08 -05:00
GJ
ae3a95dd34
Convert /party quit to a subcommand
2013-02-08 11:54:07 -05:00
bm01
6d9db06305
Removed getSkillLevel, it doesn't belong to SkillType
2013-02-08 13:04:26 +01:00
GJ
35f243a6e6
No reason to use the SAME CODE in three different clases.
2013-02-07 23:59:02 -05:00
GJ
114858505c
Remove unused import.
2013-02-07 23:06:22 -05:00
GJ
3da062c4cc
Update /party to use Bukkit CommandAPI for permissions & description -
...
usage is handled internally due to the number of subcommands.
2013-02-07 23:05:59 -05:00
GJ
291393d45d
Update /party create to be a subcommand
2013-02-07 22:54:15 -05:00
GJ
3cc5cd4a04
Fixed playerParty never being initialized.
2013-02-07 22:10:31 -05:00
GJ
70ba4a0f3d
Change /party accept to a subcommand.
2013-02-07 22:09:43 -05:00
GJ
9de6b4724a
Changed names to refer to partyInvite for the sake of clarity.
2013-02-07 22:05:08 -05:00
GJ
79b96c380d
Move handlePartyChangeEvent to PartyManager
2013-02-07 22:01:14 -05:00
GJ
3ccf79cff5
Make /party join into a subcommand.
2013-02-07 21:46:19 -05:00
nossr50
02bccf6dc1
Nerf Enderman default XP value part 2
2013-02-07 17:13:51 -08:00
NuclearW
911f036723
Cancel EntityTargetEvent for when an entity wishes to target a party member without the friendly fire permission being enabled for both.
...
Not sure this can happen except for when an entity is made agressive to a player, then friendly fire is removed later and the player returns in range of the agressive tamed entity.
Thought: Move the permissions check for friendly fire into isFriendlyPet? Not sure where else this is used, but if we always do a permissions check for friendly fire afterwards, it would make sense to move that check.
2013-02-07 18:56:38 -05:00
NuclearW
af1288b6f8
Add Friendly Fire permission for parties
...
This removes the friendly fire config option previously created
Both attacker and defender must have this option
Closes #648
2013-02-07 18:46:41 -05:00
GJ
4f45431dd3
Abstract the Chat commands.
2013-02-07 15:59:18 -05:00
GJ
6c266a8926
We don't need two functions that do the exact same thing.
2013-02-07 12:17:18 -05:00
GJ
c3f83302c5
Abstract our Spout commands.
2013-02-07 11:57:54 -05:00
GJ
57063246fb
Anniversary is over for another year...
2013-02-07 10:23:11 -05:00
GJ
29f47d5ca7
Minor typo.
2013-02-07 10:21:54 -05:00
GJ
7c579a1040
Remove unused import.
2013-02-07 08:26:17 -05:00
GJ
59219e3f33
Update /mchud and /xplock to use the Bukkit CommandAPI
2013-02-07 08:25:54 -05:00
GJ
d5550c8fd1
Changed /p and /a to use /partychat and /adminchat as the default
...
command name. The use of /p, /pc, /a, and /ac is still supported.
2013-02-06 17:57:16 -05:00
GJ
d0ca2b9d4b
Update /mmoupdate to use Bukkit CommandAPI. Addresses #628
2013-02-06 17:10:05 -05:00
GJ
84fb7eec36
Move this out of PlayerLoginEvent and into PlayerJoinEvent -
...
this prevents us from creating DB entries for players that get caught by
a whitelist.
2013-02-06 16:52:36 -05:00
GJ
c04b5dc4d6
Remove unused import
2013-02-06 16:49:14 -05:00
bm01
4b4fb7fd39
Fixed updateLeaderboards causing a memory leak and a bad /mctop display
2013-02-06 22:47:05 +01:00
GJ
215bd0f4a2
Deprecated most functions in ExperienceAPI, replaced them with identical
...
versions that use a String for the SkillName rather than the SkillType
enum values
2013-02-06 16:13:01 -05:00
GJ
a13d28a6ec
Entity config files aren't working properly yet - temporary solution is
...
to use a 1.0 base for any entity with an UNKNOWN type.
2013-02-06 15:33:24 -05:00
GJ
bcdd235b9f
NuclearW, why did you do this?
2013-02-06 12:50:11 -05:00
GJ
6be0714872
Update /mcremove to use the Bukkit CommandAPI.
2013-02-06 12:49:43 -05:00
GJ
7e70c4001b
Move aliases back to plugin.yml since setAliases doesn't work.
2013-02-06 11:45:19 -05:00
GJ
9326921e2a
Revert back to ugly-alias in PlayerCommandPreprocessEvent for /skillname
...
commands.
2013-02-06 11:00:43 -05:00
GJ
7a0f8ea2dd
Tweak a few more things with Salvage.
2013-02-06 10:28:28 -05:00
TfT_02
2799bab206
Minor cleanup
2013-02-06 15:29:21 +01:00
TfT_02
ba4d0451ff
Shears are in isIronTool(), no need to check explicitly
2013-02-06 14:59:36 +01:00
TfT_02
40773ee6f6
Added Shears, Buckets, Fishing rods and Bows to the list of items that can be Salvaged
2013-02-06 14:49:36 +01:00
NuclearW
cd190eebc9
Locale Graph
2013-02-06 01:05:16 -05:00
NuclearW
c13593def1
Refactor LocaleLoader a bit
2013-02-06 01:05:09 -05:00
GJ
bbfbe1e72c
Remove max level check - Bukkit now does the checking for us.
2013-02-05 23:58:15 -05:00
GJ
bb88812668
Added basic support for Mo' Creatures (and other entity mods) - specify
...
mob info in entities.yml
2013-02-05 22:40:19 -05:00
GJ
b9ef701ff1
Changed backup task to include ALL config files
2013-02-05 19:03:54 -05:00
GJ
64d3430455
ACTUALLY ACTUALLY make /mcpurge behave right for flatfile.
2013-02-05 17:19:53 -05:00
GJ
7e4188e776
ACTUALLY make removing powerless players work for Flatfile. Old users
...
will only work from here forward - we never tracked login time before
for FlatFile.
2013-02-05 17:09:20 -05:00
GJ
3f6c07ba6a
Updated /mcpurge for Bukkit CommandAPI, also made it work with Flatfile
2013-02-05 15:29:57 -05:00
GJ
419937f62e
Refactoring - these should be with the rest of the DB files.
2013-02-05 12:56:31 -05:00
GJ
ab92aa3ffa
Update /mcpurge command to use Bukkit CommandAPI. Addresses #628
2013-02-05 12:50:09 -05:00
GJ
2d9dc92f83
Added methods to ChatAPI for retrieving the current chat mode of a
...
player. Fixes #641
2013-02-05 12:30:15 -05:00
GJ
0f214496f2
Fixed a few incorrect usage strings.
2013-02-05 11:19:25 -05:00
GJ
9103914bc9
Update /mctop to use Bukkit CommandAPI. Addresses #628
2013-02-05 10:54:53 -05:00
GJ
aad14169fb
Flip the order to short-circuit faster.
2013-02-05 10:18:24 -05:00
GJ
3550c25b7d
targetParty could have been null going into the PartyChangeEvent.
2013-02-05 09:59:03 -05:00
GJ
2764368089
HerbalismBlock could be null here.
2013-02-05 09:57:03 -05:00
GJ
e46dcb69da
Move setup tasks from onEnable to their own private functions for better
...
readability.
2013-02-05 09:51:45 -05:00
GJ
ef7aeb752e
Update /mcstats to use Bukkit CommandAPI. Addresses #628
2013-02-05 09:30:47 -05:00
GJ
81ba0404b2
Fix issue with /mcstats displaying Integer.MAX_VALUE for the power level
...
cap when there is no power level cap.
2013-02-05 09:26:10 -05:00
GJ
9af470536b
Some things should remain private.
2013-02-05 09:18:37 -05:00
GJ
5349b46122
Update /mcrank to use Bukkit CommandAPI. Addresses #628
2013-02-05 09:18:06 -05:00
GJ
0de7e22408
Adjust how we get the usage strings for the /skillname commands
2013-02-05 08:51:11 -05:00
GJ
03f96daba3
Fix typo in /mcability permissions check
2013-02-05 08:51:11 -05:00
GJ
f6aca88b36
Change /mcmmo to use Bukkit CommandAPI. Addresses #628
2013-02-05 08:51:10 -05:00
GJ
ea32cb9e12
These commands cannot work for online players, period.
2013-02-05 08:51:10 -05:00
TfT_02
1c328e7ac7
Fixed a bug which made it impossible to join other players' parties.
2013-02-05 14:47:09 +01:00
TfT_02
89eef2ce07
Added new config options to allow friendly fire in parties.
2013-02-05 14:47:09 +01:00
TfT_02
433c99e239
Clean up
2013-02-05 14:47:08 +01:00
Glitchfinder
e2faeac505
Updating blast mining permissions and alphabetizing the permissions list.
2013-02-04 15:54:19 -08:00
TfT_02
263cb2823c
Oops, forgot to remove debug messages!
2013-02-05 00:46:50 +01:00
TfT_02
3cff8aba16
Add an error message when the config.yml is outdated.
...
Adressess #626 .
2013-02-05 00:44:22 +01:00
TfT_02
e5e19f77b9
Automatically remove inactive party members after 7 days (default)
...
Inactive meaning, the player has offline for atleast 7 days. This will
prevent the parties.yml file from getting unnecessarily large.
2013-02-05 00:44:22 +01:00
GJ
4d93f3271d
Update /mcability to use Bukkit CommandAPI. Addresses #628
2013-02-04 17:35:48 -05:00
GJ
0683745dd2
Update /inspect to use Bukkit command API. Addresses #628
2013-02-04 16:43:37 -05:00
GJ
49ef013152
Add alias to /xprate through the register instead of plugin.yml
2013-02-04 16:00:04 -05:00
GJ
717a258430
Added the other permissions nodes. Addresses #628
2013-02-04 15:10:07 -05:00
GJ
bb945a765c
Updating /xprate to use Bukkit command API
2013-02-04 15:09:35 -05:00
Glitchfinder
6d486401b5
Adding a permission for the /mcc command.
2013-02-04 11:58:00 -08:00
Glitchfinder
07df5edc86
Adding new permissions for the /xplock command.
2013-02-04 11:47:32 -08:00
Glitchfinder
ae5ab13533
Adding a permission for the /mchud command.
2013-02-04 11:39:43 -08:00
TfT_02
fc40f545fe
Removed Chimaera Wing
...
"RIP Chimera wing, an archaic item from a decadent past" ~ shatteredbeam
2013-02-04 19:41:23 +01:00
TfT_02
37e01f992d
Update the changelog
2013-02-04 17:58:21 +01:00
TfT_02
85dc6e51d2
Bleeding particle effect added.
2013-02-04 17:41:32 +01:00
TfT_02
6d5ce1357e
More party members = more XP share bonus
...
Sorry, broke your party settings in config.yml. So now when there are
more party members near, the party share bonus is increased. :)
2013-02-04 17:41:31 +01:00
TfT_02
ac1d556895
Moved this a bit + minor cleanup
2013-02-04 17:41:31 +01:00
GJ
4aceadd777
== is faster than .equals() for enums.
2013-02-04 11:35:52 -05:00
GJ
49de6614c0
Remove more old code from PlayerProfile
2013-02-04 11:28:59 -05:00
GJ
cc50428646
Remove old code from PlayerProfile.
2013-02-04 11:28:21 -05:00
GJ
b60bdc9b17
Fixed /mcrank not working for SQL power level after removal of
...
SkillType.ALL
2013-02-04 11:22:39 -05:00
bm01
35cdcb62b7
Removed needs for SkillType.ALL
...
Also apparently made /Skillreset work on offline players and fixed
missing permissions check
2013-02-04 16:33:34 +01:00
GJ
458f7f5f5b
Fix /xprate not properly sending "Event started" messages. Fixes #624
2013-02-04 08:47:54 -05:00
GJ
5f306447a0
Convert /skillreset to Bukkit command methods. Also refactored the name
...
to SkillresetCommand to fall in line with the naming of all other
command executor classes.
2013-02-04 08:38:13 -05:00
GJ
44b862c0bb
Get rid of all the deprecated instances of Users.getProfile()
2013-02-04 08:09:24 -05:00
GJ
74c367c069
Remove unused variable
2013-02-04 07:55:01 -05:00
GJ
c3db026fd9
Changed /mmoedit to use Bukkit command info. Also fixed bug where
...
/mcrefresh was registered with the info of /mcgod
2013-02-04 07:54:26 -05:00
GJ
958095d11b
Update /mcrefresh to use Bukkit command info. Also updated a few
...
description strings.
2013-02-04 00:55:17 -05:00
GJ
b21dc8631a
Remove unused imports.
2013-02-04 00:55:17 -05:00
bm01
03354ed1cb
Fixed #630 (null player was used)
2013-02-04 06:32:15 +01:00
Glitchfinder
1a63fc7638
Updating the permissions for the /[skillname] commands.
2013-02-03 16:43:06 -08:00
Glitchfinder
6498c711ba
Updating the permissions for the /ptp command and fixing the event it files to properly show who is teleporting where.
2013-02-03 15:40:29 -08:00
Glitchfinder
57c8c94db7
Updating the permissions for the /mctop command.
2013-02-03 14:17:40 -08:00
Glitchfinder
15f212c384
Updating the permission for the /mcremove command.
2013-02-03 13:53:35 -08:00
Glitchfinder
dee384c8b9
Updating permissions for the /mcrefresh command.
2013-02-03 13:45:37 -08:00
Glitchfinder
93ffd950e9
Further updating the permissions for the /mcrank command.
2013-02-03 13:35:36 -08:00
Glitchfinder
b01d80b1f4
Updating the permissions for the /mcrank command.
2013-02-03 13:14:26 -08:00
Glitchfinder
84d01362f9
Updating the permission for the /mcpurge command.
2013-02-03 13:08:12 -08:00
Glitchfinder
939586ce1a
Adding a permission for the /mcmmo command.
2013-02-03 13:03:04 -08:00
GJ
2888fdff9e
Fixed bug with Hylian Luck when there are no treasures enabled.
2013-02-03 13:31:13 -05:00
bm01
b048cc1e55
Missed that one (formatting issue with /party kick)
2013-02-03 16:49:22 +01:00
bm01
3c94074533
Fixed minor formatting issue with /party owner
2013-02-03 16:47:30 +01:00
bm01
2de8962887
Fixed possible "array overflow" with /party kick
2013-02-03 16:46:46 +01:00
bm01
e37e913f6a
Fixed minor formatting issue with /party invite
2013-02-03 16:37:41 +01:00
bm01
51305118fa
Moving party stuff from PlayerProfile to McMMOPlayer
2013-02-03 16:27:59 +01:00
bm01
52bd48cde7
Fixed bad /Skillreset usage formatting
2013-02-03 14:08:57 +01:00
bm01
ecf32da760
Fixed /Addxp on all skills not working properly
...
It was broken because of one of the previous commits
2013-02-03 13:56:47 +01:00
bm01
1dbe56b026
Replaced deprecated calls to Users.getProfile() in our listeners
2013-02-03 13:40:56 +01:00
bm01
f51bdad6b4
Removed unwanted profile check in isNPCPlayer
...
Is the profile is null, it may be our fault, and because of this check
we would never know about it.
2013-02-03 13:27:47 +01:00
bm01
97d47c19b7
Replaced deprecated calls to Users.getProfile in our APIs
2013-02-03 12:57:29 +01:00
bm01
a1ab6f286b
Made xp sharing less ugly by reworking McMMOPlayer xp methods
...
Notable consequence: checkXP and addLevel in ExperienceAPI are no longer
needed and became deprecated
2013-02-03 12:45:19 +01:00
bm01
6d871c9bdb
Properly fixed the NPE in dropItem
...
It was due to bad logic in Herbalism
2013-02-03 09:12:34 +01:00
bm01
12faebca27
Fixed PlayerFishEvent.getCaught() ClassCastException
2013-02-03 06:00:12 +01:00
bm01
bd3db4a425
Fixed Xp not being awarded in parties because of XpShareMode.NONE
2013-02-03 05:25:02 +01:00
NuclearW
5801981147
Chunkmeta and Storage graphs
2013-02-02 22:47:05 -05:00
NuclearW
727cb029a6
om nom nom donut graph
2013-02-02 22:03:50 -05:00
GJ
dd0933c584
Edit /addlevels a bit, along with some command info in plugin.yml
2013-02-02 21:30:21 -05:00
GJ
e92b57c50c
Return normal usage, not console usage.
2013-02-02 21:29:55 -05:00
GJ
2e3c1d53f5
Update command registration for /mcgod
2013-02-02 21:25:16 -05:00
GJ
a42a1f4a9f
Fixed trying to cast player to SpoutPlayer - need to use
...
SpoutManager.getPlayer(player) instead.
2013-02-02 19:20:31 -05:00
GJ
8f17ec96f0
Fixed teleport exploit in regards to Archery bonus XP.
2013-02-02 19:07:05 -05:00
GJ
b11e28c880
Don't need to add one here, it sends us out of bounds.
2013-02-02 17:04:11 -05:00
TfT_02
a16d5b62cf
Fix issue #620
2013-02-02 20:23:40 +01:00
bm01
e9425625e2
Added missing permissions for mcrank mctop and mcstats
2013-02-02 12:20:02 +01:00
NuclearW
8aabe1c148
Change metrics to be shaded in, add new graph
...
New graph checks if a build came from our Jenkins, and reports that
Started new graph for donut version information, waiting for confirmation on data delimiter before proceeding with enabling that
@md-5 is now in mcMMO
Closes #617
2013-02-02 04:38:15 -05:00
bm01
76ff0374ce
Removed no longer needed check (related to previous commit)
2013-02-02 09:52:24 +01:00
bm01
09373c45f3
We already have a task for Profile saving
2013-02-02 09:33:19 +01:00
bm01
d0a5454333
Partially fixed /Addxp on offline player
...
Xp is awarded but in order to level up the player need to log in
and use his skills.
2013-02-02 09:26:44 +01:00
bm01
9ea693d3ce
Fixed /Addxp not working properly with two arguments
2013-02-02 09:20:05 +01:00
NuclearW
ebca9fc2da
Change getString to use varargs
2013-02-02 02:55:49 -05:00
GJ
c43e8f8f19
Remove unused imports.
2013-02-02 02:13:10 -05:00
GJ
b6b03369f7
Actually use the new /addxp registration function
2013-02-02 02:12:38 -05:00
GJ
0b6e854520
Change some checks around in /addlevels for readability.
2013-02-02 02:11:46 -05:00
GJ
55b17e7d2b
Update /addxp to use Bukkit handling by default rather than ours.
2013-02-02 02:07:35 -05:00
GJ
d1f499f6fd
Moved around a few more commands.
2013-02-02 00:09:47 -05:00
bm01
610bc42815
Fixing no Xp gain from previous commit
2013-02-02 05:06:47 +01:00
bm01
2006356ccd
Fixing Xp share awarding full Xp to the original player
2013-02-02 05:00:39 +01:00
bm01
63e827aefb
isEmpty() is prettier <3
2013-02-02 04:42:24 +01:00
bm01
1898537149
Fixed double rounding of shared Xp, rounding up final result instead
2013-02-02 04:33:26 +01:00
Glitchfinder
60033d47ec
Adding support for both display names and sender names in the chat API.
2013-02-01 18:59:22 -05:00
Glitchfinder
b633f36131
Adding proper children for the deprecated permissions, and removing extra permissions checks.
2013-02-01 14:36:01 -08:00
Glitchfinder
749443454d
Updating permissions for the /mcgod command.
2013-02-01 14:01:11 -08:00
GJ
d68dfe2a32
ACTUALLY fix the NPE this time.
2013-02-01 15:56:23 -05:00
GJ
b0acea3353
Fix bug in previous dev build that would make mcMMO never drop items...
2013-02-01 15:07:18 -05:00
GJ
862f5d73e1
Apparently our ItemStack can be null here.
2013-02-01 14:58:03 -05:00
GJ
52bf73aecc
Remove unused imports.
2013-02-01 14:43:41 -05:00
GJ
54e5be1961
Removed redundant permissions check for skill commands.
2013-02-01 13:43:24 -05:00
GJ
7fbf3d4f27
Refactoring of general commands - the prior package structure made no
...
sense.
New package structure splits commands into those normally reserved for
admin use and commands normally available to all players.
2013-02-01 13:41:26 -05:00
GJ
2df285fd7c
Having an option to disable commands from the config was a bad idea that
...
encouraged lazy admins.
NOTE: If you were using these config options instead of relying on
permissions, you will need to reconfigure these commands to be disabled
via permissions.
2013-02-01 13:34:33 -05:00
GJ
a3e9d12f6a
Rework /addlevels to use the built-in Bukkit command stuff.
2013-02-01 13:27:12 -05:00
GJ
89e5e16aad
This is a much better way to work with our commands dynamically. It
...
allows for localized description strings, aliases, etc.
With this addition, our "ugly alias" method in CommandPreProcessEvent is
no longer needed, nor is our alias map.
This also makes us more friendly with Essentials - if Essentials is
enabled, the /repair command will be changed to /mcrepair for
compatibility reasons.
2013-02-01 12:27:24 -05:00
GJ
b463e4ce6f
Localize a string I missed last time...
2013-02-01 10:38:28 -05:00
GJ
8c7fd7b1a6
Fix issue where the vanilla XP boost for smelting would be called
...
regardless of who took the item out of the furnace. Not only does this
fix the exploit, it also fixes an NPE that could occur if the player who
lit the furnance was offline when someone else extracted the items from
it.
2013-02-01 08:03:03 -05:00
GJ
2762a9d1fd
Fix NPE on startup relating to old party files without an xp share mode
...
set.
2013-02-01 07:57:00 -05:00
bm01
137864dc04
Fixed /addlevels not working on offline players
...
Fixed /addlevels all throwing NPE because of Smelting
Removed use of Users.getProfile()
2013-02-01 11:50:19 +01:00
bm01
ef775f1c24
Removed some deprec(i)ated calls to Users.getProfile()
2013-02-01 11:50:19 +01:00
TfT_02
56617a1c1c
Minor cleanup
...
No need for this here since .addXp() also does xpCheckSkill()
Also, thank you @bm01 for the cleanup! :)
2013-02-01 10:15:28 +01:00
bm01
77e048471e
Forgot to use the ShareHandler enum here
2013-02-01 06:51:02 +01:00
bm01
7d83dd8283
Put McMMOPlayer to use where it made sense
...
It's basically a wrapper for anything related to players, as a
consequence Users.getProfile() is now depreciated.
Also removed SkillTools.xpProcessing() because of some redundancy with
McMMOPlayer.addXp().
+ some cleanup for consistency sake.
2013-02-01 06:38:25 +01:00
GJ
d0c0b9a089
Fixed /mmoedit not giving feedback when modifying another players stats.
...
Addresses #243
2013-01-31 21:58:09 -05:00
GJ
75894c4419
Clean up a little more from our permissions reworking.
2013-01-31 15:39:21 -05:00
GJ
d3c8a5565a
Cleaning up from our deprecated permissions.
...
Also cleaned up the unholy mess that was SkillResetCommand.
2013-01-31 13:29:42 -05:00
GJ
bd2cd07f46
Better way to deprecate these.
2013-01-31 09:00:17 -05:00
GJ
cd35df17ec
Fix a handful of Javadoc issues - need to check through the rest later to ensure that we actually have updated JDs for everything
2013-01-30 19:44:35 -05:00
Glitchfinder
c34d269f33
Adding a new permissions for the /mcability command.
2013-01-30 16:29:58 -08:00
GJ
01c8b8ad4a
Builder > Buffer
2013-01-30 18:58:31 -05:00
GJ
fc5dda78f5
Fixed javadoc issue, also fixed bug where we were trying to compare the Player and a string, rather than the player's name.
2013-01-30 18:49:14 -05:00
GJ
d6e78beb72
More efficient way of handling our strings when setting up Flatfile. Also no reason to initialize those strings.
2013-01-30 18:45:41 -05:00
GJ
f324181190
Remove useless toString() call.
2013-01-30 18:29:44 -05:00
bm01
5c13661c47
Slight cleanup, removed unused import
...
And this is how we go from build 12xx to 14xx in one week
2013-01-30 23:36:33 +01:00
bm01
8b514d631c
Vanilla xp bonus should actually be in beginFishing()
...
or at least be called by beginFishing()
2013-01-30 23:29:36 +01:00
bm01
13a65e875f
Minor Fishing "cleanup"
2013-01-30 22:51:11 +01:00
U-YUE\Sean
a1d4a4b3f8
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2013-01-30 12:26:27 -08:00
U-YUE\Sean
610b87f462
Fixing a permissions loop and reverting a package change to prevent Serialization errors.
2013-01-30 12:25:48 -08:00
TfT_02
374b758700
Fix AxesMastery displaying wrong values
2013-01-30 20:33:19 +01:00
U-YUE\Sean
d32e0962b0
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2013-01-30 11:10:32 -08:00
U-YUE\Sean
1cb9f93f0e
Added permissions to the /xprate command.
2013-01-30 11:10:19 -08:00
U-YUE\Sean
4a24ade442
Adding new permissions for the /skillreset command.
2013-01-30 10:56:58 -08:00
GJ
3f6bd7894d
Added vanilla XP boost for Fishing - includes permissions, config
...
options, etc
2013-01-30 13:24:56 -05:00
U-YUE\Sean
cbb941116f
Adding new permission for the /mmoupdate command.
2013-01-30 10:03:32 -08:00
U-YUE\Sean
bcaa7ecacb
Added new permissions for the /mmoedit command.
2013-01-30 09:55:22 -08:00
U-YUE\Sean
b8eb6186ed
Adding permission for the /mcstats command.
2013-01-30 09:50:15 -08:00
U-YUE\Sean
6d5cf2b139
Adding new permissions for the /inspect command.
2013-01-30 09:38:08 -08:00
TfT_02
5e6b1fe362
BeastLore can now display Offline Owner names
2013-01-30 18:35:57 +01:00
GJ
1c0cafc6c8
Fixed the guide usage string showing up every time /skillname was called
2013-01-30 12:30:45 -05:00
GJ
8eee0cb0b0
Use display name for chat events.
2013-01-30 12:25:31 -05:00
GJ
bfe8403d75
Minor cleanup.
2013-01-30 12:22:14 -05:00
U-YUE\Sean
8a852ce22e
Adding new permissions for the /addxp command.
2013-01-30 09:09:14 -08:00
U-YUE\Sean
64fc7bcaf8
Updating permissions for the /addlevels command.
2013-01-30 09:06:21 -08:00
GJ
599bbe73b4
More major refactoring. My OCD is better now.
2013-01-30 11:53:51 -05:00
GJ
852872f55c
Custom mod support refactoring.
2013-01-30 11:35:33 -05:00
GJ
62a037a4fd
Minor cleanup of new party stuff.
2013-01-30 11:25:44 -05:00
TfT_02
9a89c7c49f
Added party XP sharing.
2013-01-30 15:17:54 +01:00
GJ
c6ef053aac
Fixed a couple of our locale strings getting screwed up due to
...
refactoring.
2013-01-30 08:36:24 -05:00
GJ
d3b0da4186
Finished tidying up our Spout checking.
2013-01-30 08:08:29 -05:00
bm01
d09cd49f01
Attempt to fix Spout NoClassDefFoundError
2013-01-30 08:44:01 +01:00
GJ
bfa29cbf02
Fixed Spout not being able to precache our resources properly, and
...
therefore making our XP bars fail. Fixes #587
2013-01-30 00:09:22 -05:00
bm01
74d9fa422f
Fixed Shake Mob level not being displayed correctly
...
Another bug introduced in previous commits
2013-01-30 05:12:34 +01:00
bm01
b43538ee78
Fixed Shake Mob using "data" value as amount
...
Bug introduced in one of the previous commits
2013-01-30 02:02:42 +01:00
bm01
ae49f0b6e4
Remove unused import
...
Whoops D:
2013-01-30 01:15:07 +01:00
bm01
063de93eb8
Do not break 1.4.6 compatibility yet
2013-01-30 01:13:29 +01:00
bm01
ec997bd2b6
Fixed Shake Mob not dropping the correct Wool
...
Bug introduced by my previous commit
2013-01-30 01:02:03 +01:00
bm01
20aa312173
Removed permanent storage of config value in Woodcutting
2013-01-30 01:02:03 +01:00
bm01
48b0050451
Fishing refactoring, fixed bad enchant distribution
2013-01-30 01:02:02 +01:00
GJ
c04b14c751
Add anvil sounds to Salvage.
2013-01-29 19:00:47 -05:00
GJ
3d8aa29b52
Fix startup error from last build due to the removal of the custom spout
...
repair sound.
2013-01-29 18:58:42 -05:00
GJ
ac7ed67d91
We're now using Bukkit sounds instead of Spout sounds - only
...
current exception is the custom level-up sound.
2013-01-29 18:36:16 -05:00
GJ
20f6a55df2
Remove duplicate checks.
2013-01-29 12:02:32 -05:00
GJ
60041a1253
Added ability to config Hylian Luck drops through treasures.yml
2013-01-29 11:24:41 -05:00
gmcferrin
1e7b54ef0d
Tweak archery distance XP function to reward better.
2013-01-29 10:55:06 -05:00
gmcferrin
d2cb88d93b
No need to check if this is wheat...
2013-01-29 10:07:32 -05:00
GJ
659e982c47
Check if the furnace is actually a furnace - fixes ClassCastExceptions
...
caused by "virtual furnace" plugins.
2013-01-29 08:09:08 -05:00
TfT_02
5bf1e49e43
Edit /mcc
information with new party commands
...
`/party password` can now be used to clear the parties password when no
argument is provided.
Also improved feedback messages when managing your party.
2013-01-29 13:17:38 +01:00
GJ
5b862a4cee
Added XP bonus for Archery based on distance from shooter to target. The
...
farther you are from your target, the more bonus XP you'll earn.
2013-01-29 01:58:03 -05:00
GJ
2aec202e6d
Attempting to make Herbalism cleaner...
2013-01-28 16:56:18 -05:00
TfT_02
0a17bf69c0
Implementing ptp request timeouts.
...
Also fix and improve a few things as suggested by bm01
2013-01-28 21:24:55 +01:00
GJ
6db78d3cda
This might be a bit slower, but it's WAY cleaner. Also prevents us from
...
having to update this function every time Minecraft adds a new
transparent block.
2013-01-28 12:51:20 -05:00
GJ
0692dd82ad
Cleaned up a few things in PartyCommand - removed unnecessary else
...
statements & function args, removed accidental usage of
Bukkit.getServer() command, fixed some spacing issues.
Added new CommandHelper function to take a player when checking
permissions to avoid double-checking when it's already been verified
that the sender is a player.
2013-01-28 09:16:19 -05:00
GJ
088d4ac14a
Removed useless function variable.
2013-01-28 08:36:55 -05:00
GJ
92262d0e47
Cleanup PtpCommand a bit, remove some useless argument passing and else
...
statements.
2013-01-28 08:36:12 -05:00
GJ
1549f66fd7
Removed unused imports.
2013-01-28 08:16:09 -05:00
GJ
1118cd8ca1
Fixed Spout config files loading / generating when they shouldn't have
2013-01-28 08:15:12 -05:00
TfT_02
d744c6a46d
Party teleportation now requires the target player to confirm the teleport request before the teleportation takes place.
2013-01-28 00:52:51 +01:00
TfT_02
cb46040309
Because you can't join your own parties.
2013-01-28 00:35:06 +01:00
TfT_02
abd8223e41
Add /ptp toggle command
2013-01-27 23:35:46 +01:00
TfT_02
e061acb44a
Fixing a bug where deflect and disarm would have wrong values.
...
Adresses issue #593
2013-01-27 22:49:10 +01:00
GJ
cc6850b37d
Fixed bug where Green Terra could possibly activate on crops that
...
weren't fully grown. Also fixed crop growth rates being checked twice.
2013-01-27 16:34:47 -05:00
GJ
a3c92b07cb
Jack O' Lanterns are ALWAYS placed blocks.
2013-01-27 16:24:30 -05:00
GJ
e61581c4e6
Fixed mod config files loading / generating when they shouldn't have
2013-01-27 16:21:02 -05:00
GJ
43dbb94a7f
Changed Excavation to have individual XP values for each block type,
...
rather than a base XP value
2013-01-27 01:09:20 -05:00
bm01
d43e61a49c
Reimplemented TreeFeller on Jungle Trees experience nerf
2013-01-27 04:20:07 +01:00
NuclearW
7ccadae489
Changes to the changes to the ChatAPI.
...
mcMMO will not pass null for any events that it creates about itself.
Older plugins which are using depricated methods in ChatAPI will be null.
Newer plugins passing null to ChatAPI will also be null.
Null guarantees that it is not from mcMMO, but from an external plugin that is not specified.
2013-01-26 22:13:49 -05:00
jgeboski
251c152efa
McMMOChatEvent: added a field to hold the dispatching plugin
...
Currently, there is no sane way to detect which plugin dispatched
an McMMOChatEvent. This is problematic for plugins using the ChatAPI
while also listening for McMMOChatEvents as it leads to a message loop
being created.
A "simple" solution is to store a reference to the dispatching plugin in
the McMMOChatEvent. This allows for a plugin to determine if it is an
event dispatched by itself, or some other plugin. In addition, this can
allow for better control within third party plugins to determine where
McMMOChatEvents are dispatched from.
This patch is backwards with existing interfaces.
2013-01-26 21:07:36 -05:00
bm01
a8fa625b5c
Fixed parties not being loaded at startup
...
+ minor cleanup
2013-01-27 01:32:58 +01:00
bm01
3f44bd8eac
Fixed NPE in Database.checkConnected()
2013-01-27 00:28:03 +01:00
bm01
2eb593e163
Attempt to fix NPE spam when MySQL connection failed
...
This is how it was before my cleanup, I find what the
methods do and/or how they're named a little weird,
We may want to do something about it.
2013-01-27 00:07:30 +01:00
bm01
2356fda67a
Minor cleanup
2013-01-27 00:02:01 +01:00
bm01
bff7919c21
Major cleanup
2013-01-26 23:01:55 +01:00
TfT_02
f1075f800f
Cleanup, no need for this in PartyManager
2013-01-26 19:40:20 +01:00
TfT_02
473b9e8bbe
Add new party command /party rename
2013-01-26 19:31:17 +01:00
TfT_02
b91b88a74b
Better feedback when trying to join a password protected party.
2013-01-26 16:26:32 +01:00
GJ
56e16acce4
Fix bug where smelting allowed for XP gain in Mining/Repair even if
...
permissions were not present.
2013-01-26 00:25:14 -05:00
TfT_02
4692a461eb
burnTimeModifier only needs show two decimal places
2013-01-26 02:13:10 +01:00
GJ
3e04bacf73
Tweak a few things with Herbalism.
2013-01-25 19:21:33 -05:00
bm01
a0a52a3433
Added the possibility to not use a max level for Fishing
...
by using a negative number, changed default
treasure.yml file accordingly
2013-01-26 01:04:24 +01:00
bm01
188ad359fe
Changed Fishing to always give a fish on a successful catch
2013-01-26 01:03:42 +01:00
TfT_02
d601496173
Reworked party commands.
...
Party commands are now all subcommands of /party. Use /party create
<party-name> to create a new party. To join an existing party, player
can now use /party join <player-name>. You can only join unlocked
parties. New parties are locked by default and require the party leader
to invite members.
2013-01-26 00:40:23 +01:00
GJ
85b909a7ab
Change some stuff around with ChatManager, change ChatAPI to route
...
through ChatManager.
2013-01-25 18:21:17 -05:00
GJ
18a4f5ed40
Fixed bug where Iron Grip was using the attacker's skill values rather
...
than the defender's
2013-01-25 17:57:42 -05:00
GJ
c4ec9a6df9
Fixed issues with combat abilities not checking cooldowns in last few
...
dev builds.
2013-01-25 17:21:18 -05:00
bm01
a4aebdc643
Forgot to change references
2013-01-25 22:44:32 +01:00
bm01
b61410b6eb
Make this constant
2013-01-25 22:34:35 +01:00
bm01
51d681974c
Re-added unbreaking enchant handling for Tree Feller
2013-01-25 22:32:52 +01:00
bm01
071f7edade
Fixed inverted check of mob spawner / egg entities
2013-01-25 21:45:52 +01:00
GJ
46f1157030
Clean up more of block listener.
2013-01-25 15:32:11 -05:00
GJ
3cca6d9ab4
Split the listener - those events don't need to happen at HIGHEST
...
priority.
2013-01-25 15:01:32 -05:00
GJ
91e8051cee
Fixed abilities activating with the wrong tool in hand
2013-01-25 13:54:32 -05:00
GJ
c220f0dee5
Fixed Leaf Blower not respected the unlock level set in advanced.yml
2013-01-25 12:41:39 -05:00
GJ
a7be57241c
Cleanup listeners a bit more. Also fix bug in recent dev builds where
...
placed blocks were not properly tracked.
2013-01-25 12:33:48 -05:00
GJ
a35af4dbe6
This is better & cleaner than just comparing the data.
2013-01-25 10:41:43 -05:00
GJ
329f779781
Refactor a bit
2013-01-25 00:56:23 -05:00
GJ
95fa688306
More cleanup.
2013-01-25 00:51:45 -05:00
GJ
3d275a4f53
Hopefully a better fix for the previously mentioned issue.
2013-01-24 23:54:07 -05:00
GJ
06cf0ff2c2
Temporary fix for some of our combat checks not being called properly. A
...
better fix will be coming soon.
2013-01-24 23:03:00 -05:00
GJ
ba7ebe1319
Minor Database refactoring.
2013-01-24 22:53:02 -05:00
GJ
3efc2138d6
Minor Spout refactoring
2013-01-24 22:47:12 -05:00
GJ
9b0cba9dbe
More listener cleanup
2013-01-24 22:43:15 -05:00
GJ
62a5d2db5c
Make sure we ignore cancelled events.
2013-01-24 22:24:07 -05:00
GJ
96d59a2e81
A little more cleanup
2013-01-24 22:22:02 -05:00
GJ
f5179cdcea
Fixing awkward Bukkit bug related to Flame arrows.
2013-01-24 21:55:56 -05:00
GJ
9cdfebda9a
Trying to clean up duplicate checks & whatnot in our listeners.
2013-01-24 20:10:50 -05:00
GJ
7c59621c9e
More cleaning on listeners. Also fixes NPE with itemInHand, because
...
Bukkit is dumb.
2013-01-24 15:46:29 -05:00
GJ
8736aae2ef
Fix NPE when a furnace belonging to a player that has logged out keeps
...
burning.
2013-01-24 15:35:01 -05:00
GJ
76a987e1e0
PlayerListener cleanup
2013-01-24 14:19:26 -05:00
GJ
9dac898c1c
Fixes possible NPE when a furnace is destroyed while someone is still
...
viewing it.
2013-01-24 11:50:12 -05:00
GJ
ab677e941d
Start cleaning up the mess we've made of our listeners.
2013-01-24 11:50:12 -05:00
bm01
29d796b6af
Partially reverted my previous fix
...
ItemStack constructor actually worked,
the issue was about double drops using
the original data, not about TreeFeller.
2013-01-24 16:15:10 +01:00
GJ
276800f999
Change how we handle players not being able to pick up items while using
...
Berserk.
2013-01-24 09:44:48 -05:00
bm01
8d077ff4f2
Cleanup
2013-01-24 15:37:02 +01:00
bm01
58b01021c1
Definitely fixed sideways logs issues
...
... Apparently
2013-01-24 15:28:18 +01:00
bm01
5a6dc8511f
Actually fixed TreeFeller and sideways logs items
2013-01-24 15:13:56 +01:00
GJ
b7bb3f4487
Don't include child skills in these loops. Fixes #577
2013-01-24 09:08:30 -05:00
GJ
121354e489
We don't need two guides guides. Fixes #572
2013-01-24 00:05:10 -05:00
GJ
531e92bda3
It's over 5000!
...
Fixes #571
2013-01-23 23:55:51 -05:00
T00thpick1
135bfc2627
Don't cycle when on child skill
2013-01-23 23:49:01 -05:00
GJ
a01882aea5
Because we need to care about the result, not the source.
...
Also adds a couple of null checks, just to be safe.
2013-01-23 23:09:54 -05:00