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
284bab397a
Add description string for /skillreset to the locale file
2013-02-04 08:43:42 -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
c231a68bb2
Fixed bad formatting with /mmoedit
2013-02-03 05:52:58 +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
a67e0c1433
Removed the rest of the command disable code from config.yml
2013-02-02 19:22:24 -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
e40095977a
Remove ac command alias due to Essentials compatibility issues.
2013-02-02 00:14:59 -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
aca3d5c4c6
Add back the descriptions to plugin.yml for documentation purposes.
2013-02-01 15:09:22 -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
01723b2d36
Locale file updates.
2013-02-01 10:45:14 -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
GJ
a1d710fe3d
Fixed the remnants of my attempt at refactoring serialized classes...
2013-01-30 19:44:34 -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
GJ
637442149c
Updated locale files, added the start of Hungarian locale file (hu_Hu)
2013-01-30 11:20:09 -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
GJ
755b9bc2a1
Removed files I didn't even know we had...
2013-01-29 19:19:36 -05: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
f5259decab
Update the locale files with recent /ptp command changes
2013-01-28 21:28:52 +01: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