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