GJ
5e36683ff2
Fixed Potatoes and Carrots not awarding XP.
2013-03-28 07:45:15 -04:00
NuclearW
c53563e7d1
More work GJ didn't ask me to do
2013-03-28 02:18:36 -04:00
NuclearW
da5238878d
Remove Ender Dragon, Wither, and Witch from granting combat experience and related configuration options
2013-03-24 01:31:50 -04:00
TfT_02
5b5b73cde0
Improving Chimaera Wing - part 2
...
* Added a warmup before using a Chimaera Wing
* Closes #740
2013-03-22 00:38:21 +01:00
TfT_02
92c6a7bfcf
Added partial name matching
...
Works with commands such as /party kick <name>, /ptp <name>
2013-03-21 23:45:10 +01:00
TfT_02
70160468c0
Fix a NPE when trying to join a non-existing player
...
Fixes #860
2013-03-21 22:04:52 +01:00
GJ
399bf8e3b9
Use BukkitRunnable.
2013-03-20 03:11:16 -04:00
GJ
c3a69c8c55
Change to the newer, shorter scheduler methods.
2013-03-20 02:15:15 -04:00
GJ
d004361836
Removed functions for getting the PlayerProfile - using API classes is
...
preferred, but if not the McMMOPlayer should be used instead
2013-03-18 14:02:52 -04:00
GJ
42bc5065df
Add support for new 1.5 inventory blocks.
2013-03-17 23:58:20 -04:00
GJ
b0d609e9a3
Add Quartz Ore to Mining.
2013-03-17 23:58:19 -04:00
TfT_02
c14f3777c0
Fixed bug where trying to activate a Chimaera Wing would require one item too much
2013-03-16 11:42:38 +01:00
GJ
2838a52e0c
Clean up on all of our commands. Abstracted experience commands and
...
hardcore commands. Moved lots of duplicated code to functions in
CommandUtils.java. Split /ptp into individual commands, just like /party.
Used ternary logic to simplify some of our /skillname stat displays. Fixed
skill guide to not allow for negative pages. Simplified logic for many
/skillname data calculations. Use permission checks to prevent calculating
data that will never be displayed. Made the skill guide into its own
command.
2013-03-16 03:17:00 -04:00
TfT_02
5aecedc074
Damage the player when ChimaeraWing use failed
2013-03-14 22:31:44 +01:00
TfT_02
69bf17a619
Added Bat takeoff sound when using a Chimaera Wing
2013-03-14 22:26:02 +01:00
TfT_02
0292d3eefb
Cleanup ChimaeraWing
2013-03-14 22:24:38 +01:00
TfT_02
0cd3e4ed84
Teleport to save spawn locations
...
Changed underground usage check.
2013-03-14 22:13:23 +01:00
GJ
9eba2c683b
Use equalsIgnoreCase() instead of equals(), and use == for compaing
...
worlds.
Fixes #815
2013-03-10 18:06:10 -04:00
GJ
c0b4a33346
Importing Bukkit is usually bad.
2013-03-10 15:07:07 -04:00
TfT_02
ce32792668
Fixed bug where Deflect was calculated based on the attacker, not the defender
...
Closes #794
2013-03-09 14:44:29 +01:00
NuclearW
12709bcd7f
Check hasItemMeta
2013-03-08 22:20:26 -05:00
TfT_02
a07f14e326
Improving Chimaera Wing - part 1
...
* Added cooldown between using Chimaera Wings
* Added shapeless recipe to craft a Chimaera Wing (by default 5
feathers)
2013-03-08 21:46:05 +01:00
GJ
bd45fff1b4
Fixed bug relating to "empty" ItemStacks. Fixes #807
2013-03-08 07:40:25 -05:00
bm01
c0986a1f89
Removed unneeded null checks
2013-03-08 02:09:43 +01:00
GJ
ade9e20cdd
Fixed bug where Beast Lore wouldn't work on friendly pets.
...
Fixes #805
2013-03-07 09:18:27 -05:00
GJ
29520dc95c
Get the mcMMOPlayer outside of the loop so it doesn't have to be
...
recreated every time.
2013-03-07 08:53:13 -05:00
GJ
d40d89f29a
Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice.
...
Fixes #787
2013-03-07 08:07:55 -05:00
GJ
3219674678
Added option to advanced.yml to determine the # of enchant levels used
...
when buffing Super Breaker & Giga Drill Breaker
2013-03-06 23:00:37 -05:00
GJ
c1161da6de
We don't use this function anymore.
2013-03-06 16:23:41 -05:00
TfT_02
80927417f2
Fix the update checker
...
Now it's able to parse x.x.x-type-bxxx and x.x.x-bxxx
2013-03-06 22:20:11 +01:00
TfT_02
ae741a1b99
Fixed bug where players were unable to salvage leather armor. Closes #788
2013-03-05 14:39:39 +01:00
GJ
4210920c5f
Fixed ClassCastException relating to counter-attack with Swords. Fixes
...
#784
2013-03-04 21:59:16 -05:00
GJ
0c027ca697
Straightening up our Managers more, also fixed a few bugs regarding
...
unlock levels and Deflect not working properly.
2013-03-04 09:41:24 -05:00
GJ
1b461ac96a
Cleaning up more combat checks.
2013-03-03 15:42:56 -05:00
GJ
7c28be5e62
Straightening up our InventoryListener, SwordsManager, TamingManager,
...
and UnarmedManager.
2013-03-03 14:59:22 -05:00
GJ
cbe9cae4ea
Straighten up the Taming classes in order to stop passing events around quite so much. Also reordered some checks in our EntityDamage listeners for readability & efficiency purposes.
2013-03-03 14:48:13 -05:00
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
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
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
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
GJ
90368d4ece
Minor cleanup
2013-02-26 22:42:47 -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
38cd395171
Clean up the bleed list a bit.
2013-02-26 10:13:40 -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
NuclearW
214079a3cd
Configuration options for particles
2013-02-24 13:56:24 -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
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
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
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
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
fdeadde7f0
This has to be one block lower or it winds up in the sky.
2013-02-20 10:56:05 -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
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
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
TfT_02
cf0f075acb
Added an Update Checker, closes #559
2013-02-18 22:54:50 +01: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
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
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
8a795e6091
Don't need chance anymore.
2013-02-17 01:26:47 -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
4ae276d1d7
Fixed Tree Feller not being activated on big mushrooms
2013-02-16 21:14:23 +01: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
nossr50
9df149c489
Huge Mushrooms now work for Tree Feller (UNTESTED)
2013-02-15 15:32:49 -08: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
ca5bf0bd09
Fix possible fallthrough.
2013-02-14 11:07:41 -05:00
NuclearW
9bd33ab3df
Introducing Block Cracker
2013-02-14 00:34:50 -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
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
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
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
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
0aeff40aaa
Made /party kick work on offline players
2013-02-11 14:14:43 +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
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
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
bcdd235b9f
NuclearW, why did you do this?
2013-02-06 12:50:11 -05:00
GJ
7a0f8ea2dd
Tweak a few more things with Salvage.
2013-02-06 10:28:28 -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
Glitchfinder
e2faeac505
Updating blast mining permissions and alphabetizing the permissions list.
2013-02-04 15:54:19 -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
GJ
4aceadd777
== is faster than .equals() for enums.
2013-02-04 11:35:52 -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
44b862c0bb
Get rid of all the deprecated instances of Users.getProfile()
2013-02-04 08:09:24 -05:00
GJ
b21dc8631a
Remove unused imports.
2013-02-04 00:55:17 -05: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
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
6d871c9bdb
Properly fixed the NPE in dropItem
...
It was due to bad logic in Herbalism
2013-02-03 09:12:34 +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
NuclearW
ebca9fc2da
Change getString to use varargs
2013-02-02 02:55:49 -05:00
GJ
d1f499f6fd
Moved around a few more commands.
2013-02-02 00:09:47 -05: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
a3e9d12f6a
Rework /addlevels to use the built-in Bukkit command stuff.
2013-02-01 13:27:12 -05:00
bm01
ef775f1c24
Removed some deprec(i)ated calls to Users.getProfile()
2013-02-01 11:50:19 +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
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
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
U-YUE\Sean
d32e0962b0
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2013-01-30 11:10:32 -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
6d5cf2b139
Adding new permissions for the /inspect command.
2013-01-30 09:38:08 -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
c6ef053aac
Fixed a couple of our locale strings getting screwed up due to
...
refactoring.
2013-01-30 08:36:24 -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
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
e61581c4e6
Fixed mod config files loading / generating when they shouldn't have
2013-01-27 16:21:02 -05: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
bff7919c21
Major cleanup
2013-01-26 23:01:55 +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
91e8051cee
Fixed abilities activating with the wrong tool in hand
2013-01-25 13:54:32 -05:00
GJ
ba7ebe1319
Minor Database refactoring.
2013-01-24 22:53:02 -05:00
GJ
96d59a2e81
A little more cleanup
2013-01-24 22:22:02 -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
76a987e1e0
PlayerListener cleanup
2013-01-24 14:19:26 -05:00
GJ
ab677e941d
Start cleaning up the mess we've made of our listeners.
2013-01-24 11:50:12 -05: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
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
GJ
6f0e2437e0
Smelting!
2013-01-23 16:34:01 -05:00
GJ
6b0e7a9c61
Major refactoring. This WILL break any mcMMO-related plugin that
...
does not properly hook into the API classes.
This consolidates the skill-related classes into their own individual
packages, and moves several misc skill classes into the main Skill
package as well. This also moves all Party & Spout related files into
their own respective packages as well.
2013-01-22 12:43:25 -05:00
GJ
e048a6d0d0
Cleanup Swords & Taming commands
2013-01-22 10:48:10 -05:00
GJ
cedfb1a538
Fixed bug with checking if an entity is wearing armor.
2013-01-22 00:59:20 -05:00
bm01
f0f7dee3c2
Optimized Tree Feller
...
And cleaned up WoodCutting a little
2013-01-22 02:39:13 +01:00
GJ
ddbf5a559a
Copy-pasta code is bad.
2013-01-21 20:01:33 -05:00
GJ
ea4048dce9
Regardless of case, we need both a position & stat value for this.
...
Fixes #541
2013-01-21 19:07:17 -05:00
GJ
0711454e31
General cleanup to satisfy my OCD a little while longer.
2013-01-21 17:22:54 -05:00
GJ
900623461a
Useless else statements.
2013-01-21 17:15:53 -05:00
GJ
9512879cc7
Remove unused imports.
2013-01-21 12:36:00 -05:00
bm01
c8013421e6
Few chunk load optimizations
2013-01-21 03:07:18 +01:00
Glitchfinder
77ffc9c3c2
Removing unnecessary ArrayLists
2013-01-20 15:59:57 -08:00
Glitchfinder
9a6ebb0b9a
Slightly reducing the processing required to unload chunks.
2013-01-20 15:52:00 -08:00
Glitchfinder
57d1cd5f63
Further alleviating the time it takes to load chunks.
2013-01-20 15:46:53 -08:00
GJ
b7354779d4
Minor changes to try & reduce method calls.
2013-01-20 16:07:27 -05:00
Glitchfinder
643af1c32b
Fixing a memory leak involving mob tracking.
2013-01-19 14:02:23 -08:00
GJ
b9bf3f96d2
Added new Hylian Luck skill to Herbalism.
2013-01-19 12:33:57 -05:00
GJ
11ea6b269e
Fix issues with properties files & formatting.
2013-01-18 19:34:19 -05:00
Glitchfinder
372950071a
Merge pull request #532 from Glitchfinder/master
...
Removing detritus left over from recent commits.
2013-01-18 15:47:38 -08:00
Glitchfinder
b424ecfd3e
Removing ChunkletUnloader and dependents, since they are no longer necessary.
2013-01-18 15:39:02 -08:00
Glitchfinder
fc38bbd179
Merge pull request #530 from Glitchfinder/master
...
Updating entity tracking and such.
2013-01-18 14:57:52 -08:00
Glitchfinder
00f24fd5bd
Reducing CPU usage on chunk load.
2013-01-18 14:55:29 -08:00
Glitchfinder
ca2673f258
Condensing entity tracking into a single set of storage, to reduce CPU use. Also handily causes invalid falling blocks to be removed. (Fell out of the world, etc)
2013-01-18 14:43:14 -08:00
T00thpick1
7d416a90de
Redundant as they are caught in finally
2013-01-18 16:18:44 -05:00
Glitchfinder
d09526e470
Changing chunk unloading to patch logic hole for entity tracking.
2013-01-18 12:39:57 -08:00
GJ
ed68f227ac
Not closing the objectStream here is BAD.
2013-01-18 15:28:42 -05:00
T00thpick1
2f16dbc9b5
Explicitely state desired order
2013-01-17 21:35:35 -05:00
T00thpick1
c0b3a4e929
Index tables
2013-01-17 18:11:28 -05:00
GJ
0262255bea
Fixed bug where Skull Splitter would be applied twice.
2013-01-17 12:04:56 -05:00
nossr50
9717be3da8
Minor cleanup
2013-01-16 12:09:03 -08:00
nossr50
67a4efa03e
FFS Leaderboards will only update every 10 minutes
2013-01-16 12:02:41 -08:00
nossr50
fd4f0f4096
mcrank FFS output is now consistent with SQL
2013-01-16 11:58:14 -08:00
GJ
957605d46b
More localization updates.
2013-01-16 14:28:59 -05:00
GJ
55f824e0c8
More work on localization update
2013-01-16 14:03:32 -05:00
GJ
faa22002e3
Start of major localization update.
2013-01-16 14:03:31 -05:00
T00thpick1
c0dfcfd9f6
More changes
2013-01-16 13:28:14 -05:00
T00thpick1
c073c7ed3a
Make mcRank Async in SQL
2013-01-16 02:50:18 -05:00
GJ
7fa1a8c6c7
Make /mctop [skillname] work for localized skillnames
2013-01-16 00:06:14 -05:00
GJ
037fd890dc
Use localized skill name in skill guide string.
...
Still need to localize the REST of the strings relating to the skill
guides, though.
2013-01-15 23:40:34 -05:00
t00thpick1
9d70a2a9a6
We have to stop meeting like this, database.java
2013-01-15 22:42:56 -05:00
t00thpick1
9b94fba3a6
The final frontier
2013-01-15 22:27:47 -05:00
t00thpick1
d440876bbb
Close statements correctly, add update function
2013-01-15 22:08:59 -05:00
t00thpick1
32c62fd7eb
Actually fix discrepencies between mcrank + mctop
2013-01-15 22:00:28 -05:00
t00thpick1
9c9a097ff3
Fix discrepencies between mctop and mcrank
2013-01-15 21:20:33 -05:00
t00thpick1
24367b350d
One more change
2013-01-15 19:40:17 -05:00
t00thpick1
ea13ce09c9
Apostrophe's are important
2013-01-15 19:24:10 -05:00
t00thpick1
137c46b8ce
Part two of sql mcRank
2013-01-15 19:03:13 -05:00
nossr50
6c67308a1f
Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO
2013-01-15 14:49:55 -08:00
nossr50
6bbdbee669
FFS Leaderboard rewrites, and new mcrank command.
2013-01-15 14:49:20 -08:00
GJ
5bdf4b5dcc
Finish Axe restructuring, modify a little bit of Swords stuff as well.
2013-01-15 16:38:44 -05:00
GJ
f40433fc99
Axe restructuring.
2013-01-15 16:16:46 -05:00
GJ
81dae8c43d
Fix NPE resulting from using /mcremove command on a Flatfile DB. Fixes
...
#509 .
2013-01-15 10:51:06 -05:00
Glitchfinder
67e1defdb8
Further reducing lag when saving or unloading a world.
2013-01-14 14:18:01 -08:00
Glitchfinder
a64e177c21
Fixing some NPEs related to having an empty leaderboard.
2013-01-14 13:09:11 -08:00
Glitchfinder
75e52bbe66
Making it impossible to attempt to drop air.
2013-01-14 11:31:11 -08:00
GJ
348887f799
Refactoring, removing useless variables, changing ints to doubles, etc.
2013-01-14 12:41:39 -05:00
GJ
0587741437
More Axe restructuring, changing some config values from int to double,
...
added function to duplicate code.
2013-01-14 11:55:43 -05:00
GJ
8e2707d33e
Duplicate code is stupid.
2013-01-14 00:47:47 -05:00
GJ
268db10361
Parameterize our ArrayLists.
2013-01-14 00:34:01 -05:00
GJ
aab532f475
Remove useless else.
2013-01-14 00:27:16 -05:00
GJ
00ee75bb29
Remove unused imports.
2013-01-14 00:26:18 -05:00
TfT_02
664239c567
Fixing a java.io.FileNotFoundException when using SQL
2013-01-14 00:20:48 +01:00
GJ
606195c78a
Added option to disable gaining Acrobatics XP from dodging lightning
...
strikes. Fixes #481
2013-01-13 16:04:02 -05:00
TfT_02
6f29e475ee
Nothing to see here, just some boring patches and fixes!
2013-01-13 00:26:18 +01:00
gmcferrin
e6607783e9
One last time...
2013-01-12 01:43:40 -05:00
gmcferrin
2021a0b065
Finish fixing CASCADE_DELETE issues... I think.
2013-01-12 01:23:16 -05:00
gmcferrin
0871a96399
Fix SQL syntax issue.
2013-01-12 00:34:52 -05:00
gmcferrin
0c61cc8bdc
More things can be enchanted now.
2013-01-11 17:35:28 -05:00
gmcferrin
d0e2358fab
This is a much better way to delete things.
2013-01-11 15:26:56 -05:00
gmcferrin
a8abfdae5e
Start Axe restructuring.
2013-01-10 22:39:08 -05:00
gmcferrin
d25a314d3a
Fix bug with UserPurgeTask...
2013-01-10 21:41:35 -05:00
Glitchfinder
637e826c1b
Adding a cleanup task to remove invalid entities from the spawned mob storage.
2013-01-10 14:12:41 -08:00
Glitchfinder
2513b4ca23
Alleviating hangtime on world save.
2013-01-10 12:33:30 -08:00
Glitchfinder
f8c5c380b1
Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO
2013-01-10 09:27:05 -08:00
Glitchfinder
2708449089
Making errors during the chunk conversion process silent.
2013-01-10 09:26:54 -08:00
gmcferrin
bcfec56300
Because it's not just Citizens that uses NPCs.
2013-01-10 12:18:48 -05:00
gmcferrin
ec6b9d4387
Attempted fix for CombatTag dupe glitch - don't apply AoE damage to
...
NPCs.
2013-01-10 12:18:08 -05:00
gmcferrin
621f739831
Axes restructuring, part 1
2013-01-10 09:26:28 -05:00
gmcferrin
c1463c3257
Because we don't need that many Random objects.
2013-01-09 23:46:35 -05:00
gmcferrin
4a4db675f1
More OCD.
2013-01-09 23:07:32 -05:00
gmcferrin
e193da2cd7
My OCD made me do it.
2013-01-09 23:03:17 -05:00
gmcferrin
8b9432d1d9
So many useless else statements...
2013-01-09 22:43:21 -05:00
gmcferrin
75a5ffcb10
Cleanup our iterators.
2013-01-09 22:18:41 -05:00
gmcferrin
4bb6f68e6f
No sense in repeating static variables.
2013-01-09 21:49:17 -05:00
gmcferrin
00e1521d46
Functions >> copy-paste code.
2013-01-09 21:47:03 -05:00
gmcferrin
1055186e86
Finished Mining restructuring.
2013-01-09 21:44:53 -05:00
gmcferrin
2b6b7b899e
Attempting to fix some possible memory leaks. Son't know if I'm actually
...
helping anything though.
2013-01-09 00:01:33 -05:00
gmcferrin
08b46e1a7c
Cover ALL the bases.
2013-01-08 17:26:11 -05:00
gmcferrin
b78299bbbd
Metadata does nothing, apparently.
2013-01-08 17:24:09 -05:00
gmcferrin
d2f6191615
Starting on cleaning up null checks & type casting
2013-01-08 16:07:29 -05:00
gmcferrin
ccfe1181be
More mining restructuring.
2013-01-08 12:52:16 -05:00
gmcferrin
84994c2b2f
Remove a few unused imports & variables.
2013-01-08 10:50:37 -05:00
gmcferrin
1a2dfb9b19
Fixed parameterization issue.
2013-01-08 10:48:30 -05:00
Glitchfinder
2933f80d69
Fixing yet another concurrency error.
2013-01-08 01:32:42 -08:00
gmcferrin
d69cf09d4e
Removed some unnecessary casting.
2013-01-07 17:08:53 -05:00
Glitchfinder
6565d84cf9
Shutting down more concurrency errors.
2013-01-07 01:20:36 -08:00
Glitchfinder
83888f80d4
Fixing merge conflicts
2013-01-06 17:59:31 -08:00
Glitchfinder
974862a60a
Updating permissions for consistency.
2013-01-06 17:52:31 -08:00
Glitchfinder
d0c051a9c2
Merge pull request #419 from Glitchfinder/master
...
Patching two bugs.
2013-01-02 18:06:34 -08:00
Glitchfinder
d444e088c4
Patching a bug where mcMMO drops too few items, and yet another concurrent modification exception.
2013-01-02 18:03:52 -08:00
Glitchfinder
4161952566
Merge pull request #410 from Glitchfinder/master
...
Fixing a concurrent modification error.
2013-01-01 19:26:39 -08:00
Glitchfinder
5b18abbea0
Fixing a concurrent modification error.
2013-01-01 19:25:35 -08:00
gmcferrin
1ff1704697
Fixed some parameterization issues.
2013-01-01 16:13:33 -05:00
gmcferrin
aeaad41c45
Fix static access issues.
2013-01-01 16:04:53 -05:00
gmcferrin
146fa474a1
Removed unused import
2013-01-01 16:02:39 -05:00
gmcferrin
11468abc98
Fixed update for Mining refactoring
2013-01-01 16:01:51 -05:00
Glitchfinder
707a388c51
Fixed an issue where dropped items did not retain custom NBT data.
2012-12-31 19:57:21 -08:00
Glitchfinder
d33334708d
Fixing recursion errors by switching from an unnecessary btree to a simple ArrayList.
2012-12-31 19:40:33 -08:00
Glitchfinder
e607e04af4
Merge pull request #396 from Glitchfinder/master
...
Fixes and Patches
2012-12-31 10:03:19 -08:00
Glitchfinder
905e92fa4d
Adding the ability to track spawned mobs when chunks unload.
2012-12-30 19:51:26 -08:00
TfT_02
eed8a57ff9
Merge pull request #392 from TfT-02/master
...
Various fixed for issues in the issue tracker
2012-12-30 15:03:12 -08:00
Glitchfinder
28b092a4e3
Adding Bats, Giants, Withers, and Wither Skeletons to the combat experience list.
2012-12-30 12:33:38 -08:00
TfT_02
43de871392
Fixed enchantments being ignored + removed uneccesary code
...
Fixed Unbreaking enchantments being ignored when using Treefelling and
when hit by Armor Impact
2012-12-29 22:38:57 +01:00
Glitchfinder
17169903b4
Merge pull request #391 from Glitchfinder/master
...
Fixing Data Value issues caused by the patch to deprecated ItemStack use.
2012-12-29 13:02:07 -08:00
Glitchfinder
aa70c82824
Fixing issues caused by the patch to deprecated ItemStack changes.
2012-12-29 12:59:18 -08:00
Glitchfinder
d35e56fd37
Merge pull request #383 from Glitchfinder/master
...
Fixing a few more NPEs.
2012-12-28 21:11:58 -08:00
Glitchfinder
cafed2d98c
Fixing remaining NPEs with custom blocks using vanilla IDs.
2012-12-28 21:11:22 -08:00
TfT_02
6f1ee88b78
Fixes issues #259 and #335
2012-12-28 11:40:15 +01:00
TfT_02
de3bae41ae
Implementing an durability cap for ArmorImpact
2012-12-27 17:36:12 +01:00
Glitchfinder
11b5c54c69
Reimplementing skill level and power level caps.
2012-12-26 19:54:20 -08:00
TfT_02
71471d3bbc
Added Wooden button to list of blocks that should not trigger abilities
2012-12-25 15:35:12 +01:00
gmcferrin
07e98ab79f
Fixed Async deprecation issues
2012-12-25 01:06:21 -05:00
gmcferrin
9af66a8e69
Fixed ItemStack deprecation issues.
2012-12-25 01:01:10 -05:00
Grant
36d5344ded
Cleanup formatting.
2012-12-24 16:56:25 -05:00
Grant
9136530618
Removed unused imports
2012-12-24 16:17:33 -05:00
Glitchfinder
52f7120392
Resolving merge conflict.
2012-11-21 13:47:17 -08:00
TfT_02
0d2abb95b5
Adding AdvancedConfig
2012-11-21 21:49:54 +01:00
Grant
6b2adc9359
Merge pull request #318 from mastershake71/master
...
Fixes Nuker Dupe
2012-11-21 12:37:51 -08:00
mastershake71
e8152a3475
Solves nuker dupe glitch. Not all anti-cheat block damage, so check
...
and make sure both are allowed not just one.
2012-11-18 23:31:19 -05:00
Glitchfinder
6d42d14575
Fixed a bug where Herablism magically converted potatoes to carrots.
2012-11-15 16:34:57 -08:00
Glitchfinder
506efec858
Merge pull request #3 from TfT-02/master
...
Salvage ability for Repair
2012-11-13 13:37:04 -08:00
TfT_02
8e3320ad72
Hehe, you were soo right. This is MUCH cleaner to look at. :)
2012-11-13 22:28:56 +01:00
TfT_02
ff279bf633
Moved Salvage check to ItemChecks
2012-11-13 22:17:34 +01:00
TfT_02
a582b07549
Small error fix - As mentioned by Glitchfinder
2012-11-13 22:14:26 +01:00
TfT_02
f8b44cd8ce
New Salvage ability for Repair!
...
Added a fully working ability to Repair. With this ability you can
salvage items and get bars in return.
- Added new permission node for Salvage ability
- Added new config options for Salvage
- Added new locale strings for Salvage
- Added a check to make sure that Repair Anvil != Salvage Anvil
2012-11-13 16:50:00 +01:00
Glitchfinder
01f38537de
Fixing cooldown timers so that they display the proper cooldown for players with perks.
2012-11-12 21:57:57 -08:00
Glitchfinder
4a52135a0b
Nerfing overpowered Herbalism double drops for melons and netherwart.
2012-11-12 19:10:14 -08:00
Glitchfinder
3a467b3da4
Adding Fishermans Diet ability to fishing.
2012-11-12 16:18:27 -08:00
Glitchfinder
e6e8c12735
Merge branch 'master' into fixes
2012-11-12 13:47:31 -08:00
Grant
9c4ff30ce7
Merge pull request #304 from Glitchfinder/master
...
Attempting a minor reduction in lag for larger servers.
2012-11-11 11:45:11 -08:00
Glitchfinder
7859660ece
Adding herbalism green thumb ability to carrots, potatoes, and netherwart.
2012-11-09 16:37:12 -08:00
Glitchfinder
2c613d5b99
Fixing a null pointer error related to skill cooldowns.
2012-11-07 19:04:17 -08:00
Glitchfinder
f023529d37
Reducing filesystem usage. Should help reduce lag on larger servers. THIS IS NOT A PERMANENT SOLUTION.
2012-11-06 23:15:15 -08:00
Glitchfinder
88ed14fe5c
Fixing index error.
2012-11-05 20:14:23 -08:00
Glitchfinder
00a5bc5cf3
Fixing lag caused by conversion.
2012-11-05 19:48:41 -08:00
Glitchfinder
a17d58fe32
Fixing previous commit.
2012-11-05 19:42:18 -08:00
Glitchfinder
c21286dbc3
Offloading chunk conversion. SHould alleviate lag.
2012-11-05 19:28:00 -08:00
Glitchfinder
3129acfc19
General cleanup for pull request.
2012-11-05 16:03:44 -08:00
Glitchfinder
c3dd777e44
Merge remote-tracking branch 'mcmmo/master'
2012-11-05 14:02:07 -08:00
Glitchfinder
c7b3b7a826
Green thumb now converts cobble walls to mossy cobble walls.
2012-11-04 16:06:33 -08:00
Glitchfinder
eb5ac80714
Updating modified block storage to a region-style format.
2012-11-04 13:36:57 -08:00
Glitchfinder
87c4f318a4
Fixing fishing a bit.
2012-10-31 12:39:04 -07:00
U-YUE\Sean
9354831729
Finished fixing issues #272 , #266 , #261 , and #255 .
2012-10-30 13:14:22 -07:00
U-YUE\Sean
8dfa8c20f3
Resolving first half of issue #283 . Recommend closing issue and reopening with a new ticket number for the issue regarding stats. Stat bug probably involves commit @42aa42699129448ef7fa0e4e5de96840004c13ee
2012-10-30 10:26:46 -07:00
Grant
42aa426991
Merge pull request #271 from mcunha/better-db-handling
...
Better db handling
2012-10-29 10:25:49 -07:00
Glitchfinder
11f1889f1f
Added support for carrots and potatoes. Also updated to ignore beacon blocks and anvil blocks.
2012-10-28 20:53:03 -07:00
Marco Cunha
58a15e61dd
Fix refactoring typos
2012-10-22 19:05:13 +02:00
Marco Cunha
896f57f0b4
Force proper disposal of resultsets and statements
2012-10-22 15:03:31 +02:00
Marco Cunha
34ae64706e
Improved DB connection handling
...
Support for aggressive connection timeouts, with exponential backoff
for multiple failures.
2012-10-22 14:45:16 +02:00
Glitchfinder
31513d52d7
Fixing spacing issues and making herbalism drop cocoa beans instead of a cocoa block.
2012-10-17 21:26:16 -07:00
Glitchfinder
70a16fe344
Finished adding skill checks for Emerald Ore and Cocoa.
2012-10-17 13:41:19 -07:00
h31ix
22f6ed324d
Added ender chest to list of blocks that should not cause ability activation
2012-09-30 12:48:20 -04:00
t00thpick1
c084ccde40
Added missing null check
2012-08-17 18:45:08 -03:00
nossr50
f532630d1b
Another fix to make us more compatible with other plugins
2012-08-14 14:21:07 -07:00
Bill Tarbell
8c7d95f9ea
Add player command to reset skill levels
2012-07-29 23:49:42 -04:00
nossr50
ac1c420cb5
Ryokai!
2012-07-13 10:01:51 -07:00
GJ
686bcd5308
Null check ALL the profiles.
...
We should probably find a more elegant way to do this, though.
2012-07-10 14:02:48 -04:00
GJ
07c66378c0
Some optimizations to how we handle our SQL connections and queries.
2012-07-10 12:04:18 -04:00
GJ
f0b2cc1bab
Protect our file paths.
2012-07-09 10:55:33 -04:00
bm01
4469637f27
NPE prevention for Users.getProfile()
2012-07-08 00:02:40 +02:00
NuclearW
3c7bcb990e
NPE Prevention
2012-07-07 17:02:33 -04:00
NuclearW
f7a5678814
Change ChunkletManager to a notify/demand system
...
Allowing NullChunkletManager to bypass the ChunkletUnloader as it is not needed.
2012-07-07 14:43:14 -04:00
NuclearW
646bb32965
Let the Unit testing begin
...
Could use some more test cases on the make test, though
2012-07-07 14:43:14 -04:00
NuclearW
dce7d8fdd3
Format this before GJ finds out
2012-07-07 14:43:14 -04:00
NuclearW
6dd17312f4
Change this back to private
2012-07-07 14:43:14 -04:00
NuclearW
da6b461408
Move our Externalizeable to PrimitveExChunkletStore
...
This will let us deserialize Primitive normally.
In addition, we now enforce all chunklets being of type PrimitiveEx, as any non-Ex are repalced with a new Ex on load.
2012-07-07 14:43:13 -04:00
NuclearW
77dce75108
Formatting a single line
2012-07-07 14:43:13 -04:00
NuclearW
37308917d1
Parenthesis for clarity
2012-07-07 14:43:13 -04:00
NuclearW
21d2229572
Column comment
2012-07-07 14:43:13 -04:00
NuclearW
7d372af51e
Some address byte comments
2012-07-07 14:43:12 -04:00
NuclearW
a3e0753076
We must be sure to flush
2012-07-07 14:43:12 -04:00
NuclearW
a728d1f9c8
These must be called in the reverse order we open them
2012-07-07 14:43:12 -04:00
NuclearW
b893e86f3c
A bit more clear
...
But no functional change
2012-07-07 14:43:12 -04:00
NuclearW
63cf6e9b3a
Do not increment i in this location
2012-07-07 14:43:12 -04:00
NuclearW
67738d811e
Move things around to fit together better
2012-07-07 14:43:12 -04:00
bm01
4d77f6d04d
Introducing external chunklets
2012-07-07 14:43:11 -04:00
bm01
ede08ce5ac
Moved hudType back to PlayerProfile
...
Removed some convenient methods from PlayerProfile to avoid NPE because of
spoutHud
2012-07-07 19:59:10 +02:00
GJ
5b8811bd09
More work on McMMOPlayer
2012-07-06 11:57:17 -04:00
GJ
bc6233541a
Start changing PlayerProfile to use an OfflinePlayer
2012-07-06 09:14:25 -04:00
GJ
cefec723d0
Javadoc typo
2012-07-04 10:12:10 -04:00
GJ
dbc7277ba9
FileWriter is pointless here.
2012-07-04 09:45:47 -04:00
GJ
24d8769b5b
Remove useless FileWriter
2012-07-03 21:23:32 -04:00
GJ
5ee440d9a5
Ensure that our stuff gets closed when working with Chunklets.
2012-07-03 15:10:35 -04:00
GJ
cda3675dc5
More bad variable names.
2012-07-03 10:14:01 -04:00
GJ
caf9c07ba3
Because PP is an awful variable name.
2012-07-03 10:04:04 -04:00
GJ
96e70aa4d2
Fixed "lower tool" messages still being displayed even when ability
...
messages are disabled.
2012-07-03 08:40:56 -04:00
GJ
9f1b77a007
Refactoring
2012-07-03 08:36:21 -04:00
GJ
8257fd8e7c
Tweaked a few switch statements.
2012-07-02 21:05:55 -04:00
GJ
3c10be6d1a
Added some missing defaults to switch cases.
2012-07-02 19:27:07 -04:00
bm01
54e21333a3
Reworked some Spout stuff
...
among other things
2012-07-01 12:54:11 +02:00
bm01
c88ada489a
Chunklets optimization
2012-06-30 02:38:22 +02:00
GJ
189f23f407
Fixed custom tools not handling the Ability_Enabled flag properly.
2012-06-28 11:20:53 -04:00
bm01
533955a9c7
Removed redundant calls
2012-06-28 05:35:56 +02:00
bm01
2faa0356a5
It's better that way
2012-06-27 20:46:45 +02:00
GJ
ee2a5c199a
Added functionality to specify custom blocks that should not trigger
...
abilities.
2012-06-27 14:46:44 -04:00
bm01
bdcc522897
Fixed ConcurrentModificationException on world unload
2012-06-27 20:39:54 +02:00
GJ
24d2c1bc7a
Fix for UTFDataFormatException
2012-06-26 14:58:51 -04:00
GJ
61205989cc
Cleanup cooldown monitoring a bit.
2012-06-25 10:29:29 -04:00
GJ
881f2c023e
Added permission node for Iron Grip
2012-06-25 08:54:05 -04:00
bm01
b8e9269488
Made things cleaner
2012-06-25 14:37:18 +02:00
bm01
dc48d467f5
Return to HashMap!
2012-06-24 22:46:45 +02:00
bm01
6b84d39dda
Fixed AE abilities not being applied correctly
2012-06-22 23:10:17 +02:00
bm01
e61342177d
Simplified combat ability checks
2012-06-22 20:20:28 +02:00
bm01
d51fa92b46
Made 'shooterless' arrows dodgeable
2012-06-22 19:39:14 +02:00
bm01
3e20dc7de6
combatChecks optimization
2012-06-22 18:54:49 +02:00
GJ
dce1d7ba39
Fixed calculations on Reduced Cooldown perk
2012-06-22 10:57:51 -04:00
GJ
adffea1d52
Increased the seconds for activation time perk.
2012-06-22 10:13:37 -04:00
GJ
20b73dcc84
Fixed not checking if an Entity was a LivingEntity before applying the
...
Counter-Attack ability.
2012-06-22 09:47:18 -04:00
GJ
b331fa353b
Added increased activate time donor perks
2012-06-21 23:01:02 -04:00
GJ
8738036f6f
Added Reduced Cooldown perk for donors.
2012-06-21 21:50:48 -04:00
GJ
2bef0e833f
Rework of Swords handling
2012-06-21 09:04:45 -04:00
GJ
9040a2a2e3
Optimizations to Combat.java
2012-06-18 08:50:14 -04:00
NuclearW
4407ed0a6f
Fixed bug with Chunklets not being reloaded on /reload
2012-06-16 21:43:04 -04:00
GJ
8ad6337dde
Avoid calling the same thing 3 times.
2012-06-15 10:58:38 -04:00
GJ
48dd537257
More reworking of Unarmed, renamed ArcheryBonusDamageEventHandler for
...
clarity's sake.
2012-06-14 23:59:36 -04:00
GJ
77b4aaa50d
Updating Unarmed (WIP)
2012-06-14 23:59:35 -04:00
bm01
55e832d4f6
Do not track arrow if the bow has Infinity
2012-06-15 02:53:11 +02:00
GJ
6f63818e5f
Check for the block before throwing the fake break event.
2012-06-14 10:24:58 -04:00
bm01
9d396162f1
Hardcore.java cleanup
2012-06-14 01:22:35 +02:00
bm01
4a0d9a96ab
Fixed minor bug with Vampirism notification
2012-06-14 00:48:40 +02:00
GJ
14d13eb4c7
Archery rework.
2012-06-13 08:53:18 -04:00
GJ
29c629eb22
WIP on Archery rework.
2012-06-12 21:36:17 -04:00
bm01
050b794b42
Fixed NPE with /mmoedit
2012-06-12 23:31:32 +02:00
NuclearW
f589197321
Load the lowest chunklets right now.
...
Thanks for @Glitchfinder for finding this glitch.
Closes #205
2012-06-12 17:00:05 -04:00
NuclearW
09575a68f0
Handle corrupt chunklets by making a new one and not throw stacktrace
2012-06-12 16:45:28 -04:00
NuclearW
c1b838e356
Typo fix
2012-06-12 16:45:00 -04:00
GJ
5ba9fb78fd
More tweaks to Taming.
2012-06-12 14:42:38 -04:00
GJ
2d47447375
Begin rework of Taming skill
2012-06-12 11:07:51 -04:00
GJ
975e13d45f
Tweaked how we check XP gain permissions.
2012-06-12 08:10:18 -04:00
bm01
c382c95d24
Re-added respawnATS
2012-06-12 05:38:32 +02:00
GJ
6ab1996440
Reworking of Acrobatics, plus an Acrobatics bugfix.
2012-06-11 16:11:23 -04:00
bm01
393ac886e2
Removed unneeded method
2012-06-10 06:57:55 +02:00
bm01
81eadc1418
No longer use/save party name in database and users flat file
2012-06-09 19:48:18 +02:00
bm01
3732db2226
Reworked Party
2012-06-09 03:08:36 +02:00
bm01
90c8e57ed7
Reworked a little Users.java
2012-06-08 20:00:02 +02:00
GJ
2f15c71412
Because making it upper case broke all the things.
2012-06-06 18:02:22 -04:00
GJ
e5d2ed4bb2
Because lowercase class names are evil.
2012-06-06 14:49:07 -04:00
bm01
35565bb021
Removed PlayerProfile save on User.removeUser, it's already done in RemoveProfileFromMemoryTask
2012-06-06 02:20:33 +02:00
bm01
56aff1d191
Replaced playerName fields in PlayerProfile and Users by the Player object
2012-06-06 02:03:27 +02:00
GJ
b8be1d1866
Fix the Javadocs
2012-06-05 11:05:51 -04:00
GJ
71446a12af
Static ALL the things!
2012-06-05 10:42:56 -04:00
bm01
7ef72c501e
Cleanup
2012-06-05 16:32:26 +02:00
GJ
6afe0e8a34
Organize imports.
2012-06-05 10:13:10 -04:00
bm01
63c663b8c1
Fixed Archery PVP/PVE enablement not being used properly
2012-06-05 16:00:32 +02:00
GJ
1cca4de9e5
Cleanup!
2012-06-05 09:57:10 -04:00
GJ
7ada587df3
More Spout tool stuff.
2012-06-04 10:36:24 -04:00
GJ
1e58c32a5f
Change XP processing to use a single function.
2012-06-04 09:30:51 -04:00
GJ
2a27048174
Functions that start with capital letters are bad.
2012-06-04 09:08:41 -04:00
GJ
2b291954cf
Javadocs.
2012-06-04 09:03:25 -04:00
GJ
8f8bfc62ca
Cleanup.
2012-06-04 08:51:10 -04:00
nossr50
e3e400f376
This should make us AntiCheat friendly.
2012-06-03 14:38:33 -07:00
GJ
6637758ad0
Fixed Spout item checks.
2012-06-01 15:29:16 -04:00
GJ
41e9bd3cb5
WIP - Spout custom tool support
2012-05-31 16:02:11 -04:00
NuclearW
39c2c5f25f
Handle EOFException in Chunklets by returning a new empty ChunkletStore and printing an error.
2012-05-29 21:02:36 -04:00
GJ
35d4914518
This has to be Arrow to keep Potions from giving XP.
2012-05-24 15:26:01 -04:00
GJ
9775d71c28
Cleanup.
2012-05-24 10:35:46 -04:00
GJ
a104fe45aa
Fix for NoCheatPlus fight.noswing checks
2012-05-24 08:38:44 -04:00
GJ
450e938092
Change Spout Config file to only load if Spout is enabled.
...
Removed unused imports.
2012-05-23 14:31:03 -04:00
GJ
63f683982f
Moved Spout stuff to its own config file.
2012-05-23 10:50:47 -04:00
nossr50
160004fa7e
Hardcore mode now has some exploit prevention and much more information
2012-05-21 23:56:08 -07:00
nossr50
f4332761f9
Many changes to Hardcore / Vampirism
2012-05-21 23:30:16 -07:00
GJ
41c9741b72
Fixed exploit where you could gain tons of Acrobatics XP from spamming
...
Ender Pearls
2012-05-21 23:41:11 -04:00
GJ
f9e5096ceb
Cleanup
2012-05-21 10:31:24 -04:00
GJ
f66c6ab8fc
Cleanup
2012-05-21 09:33:21 -04:00
GJ
73902d5f92
Minor cleanup / refactoring
2012-05-21 09:21:26 -04:00
NuclearW
0bb5f9f297
Max ticks for abilities
2012-05-21 09:17:16 -04:00
GJ
54b4faeeff
Minor cleanup.
2012-05-21 08:39:27 -04:00
NuclearW
a7f69545f2
Emulate unbreaking properly
2012-05-21 08:31:29 -04:00
NuclearW
93ea558ec3
Cleanup
2012-05-21 08:27:26 -04:00
GJ
d0cdc208e3
Avoid a duplicate config call.
2012-05-21 07:53:52 -04:00
NuclearW
0d7c483bd5
Tameable not a part of combat checks at the moment, only wolves
2012-05-21 07:25:20 -04:00
NuclearW
3f211c6277
Generalize Wolf to Tameable
...
Also generalize Arrow to Projectile
For MCCORE-263
2012-05-21 04:44:48 -04:00
NuclearW
01006ed76d
Hidden config and use of NullChunkletManager
...
ChunkletManagerFactory now produces NullChunkletManagers if Chunklets are disabeld in the hidden.yml
2012-05-18 22:01:15 -04:00
NuclearW
2936823d03
NullChunkletManager
2012-05-18 21:44:25 -04:00
GJ
f3074461ed
More cleanup.
2012-05-18 14:29:53 -04:00
GJ
146f832919
Minor refactoring & cleanup.
2012-05-18 13:40:21 -04:00
GJ
a622707608
Cleanup & Silk Touch changes.
2012-05-18 11:15:30 -04:00
NuclearW
6da43b15c8
Move to a more ideal location.
...
Not as efficient as I would like, but certainly better than it was before
2012-05-18 03:14:19 -04:00
NuclearW
d0bb7b075e
This was a bad idea
2012-05-18 03:12:40 -04:00
NuclearW
c1ecd74644
Actually remove from map on unload
2012-05-18 03:12:16 -04:00
GJ
d17fe6bb7a
Mod Support - Item Tiers.
...
1 is Wood, 2 is Stone, 3 is Iron, 4 is Diamond.
2012-05-17 21:19:17 -04:00
GJ
d20c5e1773
Mod Support - Woodcutting now works. Still need to add # of drops from a
...
given block.
2012-05-17 17:03:56 -04:00
GJ
0afc0d59a4
Config refactoring.
2012-05-17 10:26:21 -04:00
NuclearW
c25ddd0dbc
<GJ> MOAR PERMISSIONS!
2012-05-17 09:43:42 -04:00
NuclearW
db59f24873
Cleanup
2012-05-17 03:57:16 -04:00
GJ
5645bf7982
Mod support - XP gain & double drops should now work for custom blocks
...
EXCEPT Woodcutting. Custom excavation blocks will also never drop
treasures.
2012-05-17 00:24:33 -04:00
GJ
bc642deebd
Custom armor can now be repaired.
2012-05-15 16:12:59 -04:00
GJ
e9af0ebdc5
Custom tools - modify XP gain from breaking blocks on a per tool basis.
2012-05-15 14:21:21 -04:00
GJ
29ee8a035b
Custom tools - should now support enabling/disabling ability activation
...
per tool.
2012-05-15 13:44:39 -04:00
GJ
81ac4e8d01
WIP on custom mod support - should now be able to repair custom tools at
...
an anvil.
2012-05-15 10:44:57 -04:00
NuclearW
3032572f18
New factories means more jobs for a better economy
2012-05-15 01:43:34 -04:00
nossr50
7e0b8ddf50
HudType will default to 'STANDARD' for MySQL DB - only good for new users
2012-05-14 15:13:55 -07:00
bm01
cbafa7110a
Fixed minor Green Terra bugs on Stone Brick
2012-05-10 15:54:29 +02:00
bm01
5fa79926db
Fixed arrow boucing off entities on daze proc
2012-05-08 21:58:01 +02:00
bm01
c2b4961b8d
Removed exp gain when an arrow strikes its shooter
2012-05-08 20:12:41 +02:00
bm01
9b3838b912
Improved attacker and defender's party check
2012-05-08 19:42:26 +02:00
NuclearW
b0157c9bd2
Replace Bukkit Metadata for user placed blocks
2012-05-07 22:38:22 -04:00
GJ
1b37ba8daa
Fixed a few issues from the merge, added the mod directory to the zip
...
backup.
2012-05-05 13:51:54 -04:00
nossr50
d9b3eff18f
Changed how a few variables were initialized
2012-05-05 10:16:41 -07:00
GJ
2b4ca80a95
Start of work on allowing custom tool/block mods. This version should
...
allow for XP gain from vanilla blocks with custom tools. Please report
any issues to facilitate further development.
2012-05-04 14:04:42 -04:00
GJ
3e91bc8c1e
Can now enable/disable specific skills for PVP & PVE
2012-05-03 10:39:32 -04:00
GJ
798bd46d0a
Command updates - Repair (Finally done!)
2012-05-01 16:29:52 -04:00
GJ
edaa51593b
Skills refactoring
2012-05-01 13:58:47 -04:00
GJ
e2265dd6f7
Updates to repair command, minor permission node & config updates
2012-05-01 13:53:00 -04:00
nossr50
e1cf89c3bf
Vamprirism updates.
2012-05-01 09:04:29 -07:00
nossr50
8cd1541893
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2012-05-01 08:48:10 -07:00
nossr50
9d510815b4
Vampirism for hardcore mode, needs testing.
2012-05-01 08:47:57 -07:00
GJ
44d22d93da
Command update - Mining. Also fixed typo on new Herbalism permission.
2012-05-01 10:39:50 -04:00
GJ
04f3e44c3a
Command updates - Herbalism
2012-05-01 09:11:56 -04:00
GJ
6cc207a10c
Fixed bug with Chimera Wing failing when used on half-blocks - Fixes
...
MCCORE-221
Also added treasures.yml to the zip backup.
2012-05-01 08:28:54 -04:00
GJ
dbede7f81a
Added config options for specific double drops. Implements MCCORE-226
2012-05-01 01:14:32 -04:00
bm01
18c52a5e23
Cleanup
2012-05-01 01:32:50 +02:00
nossr50
7e96ced4c4
Shortened the hardcore mode message
2012-04-30 07:19:13 -07:00
nossr50
7b2d50e93e
*Actually* fixing the Maths
2012-04-30 07:05:11 -07:00
nossr50
8bec50663f
Fixing some Maths
2012-04-30 07:01:00 -07:00
nossr50
11782ac34d
Bah, don't know why this got deleted.
2012-04-30 06:44:56 -07:00
nossr50
d8c0a56577
Added basic hardcore mode functionality, needs testing.
2012-04-30 06:41:58 -07:00
nossr50
ff1326a44f
Revert "Added basic functionality of Hardcore Mode, needs testing..."
...
This reverts commit 1fa4fccbcc
.
2012-04-30 06:41:09 -07:00
nossr50
1fa4fccbcc
Added basic functionality of Hardcore Mode, needs testing...
2012-04-30 06:39:30 -07:00
GJ
3d2b881b0e
Command cleanup - Fishing. Added 2 new fishing permissions nodes.
2012-04-30 08:26:37 -04:00
GJ
4750aba763
Added permissions node for Greater Impact, cleanup of Axes command
2012-04-30 07:46:08 -04:00
GJ
064fc0a8e2
Command format & permission changes, other minor cleanup.
2012-04-29 22:58:54 -04:00
nossr50
f7532cf5b4
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
2012-04-27 23:38:34 -07:00
nossr50
bd7203dd9c
Making HUD a bit more friendly
2012-04-27 23:38:16 -07:00
bm01
9e98351923
Capped bleeding ticks for monsters, moved players bleeding to BleedTimer
2012-04-28 07:33:57 +02:00
nossr50
47b7780c96
Refactor ALL THE THINGS!
2012-04-27 02:47:11 -07:00
GJ
65e3384a96
Prep for mcLocale update.
2012-03-26 16:17:35 -04:00
nossr50
5038fbadb0
Acrobatics done.
2012-03-03 15:21:39 -08:00
nossr50
a85ca2c984
All thats left is to fill in the locale with information
2012-03-03 13:29:39 -08:00
nossr50
e6e7f10a05
Inform players when they type /skillname that there is a guide
2012-03-03 13:05:52 -08:00
nossr50
212f6ee773
Now you don't need to specify a page number.
2012-03-03 13:04:12 -08:00
nossr50
07699fa651
Excavation ? WIP
2012-03-03 12:43:50 -08:00
nossr50
ccfce843be
Updated changelog. for loops > while loops
2012-03-03 10:39:18 -08:00
nossr50
d1c4efa30d
Finalized page system. Moved grabbing pages to Page.java.
2012-03-03 10:24:47 -08:00
nossr50
12fbaa4361
Wip of Skill Help pages, code is ugly but it works.
2012-03-03 09:54:16 -08:00