GJ
5c76ef312f
Added '/mcnotify' command to toggle ability notifications on/off
2013-02-19 13:18:27 -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
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
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
d14821e385
Fix a few more missing localized names.
2013-02-15 13:42:36 -05:00
shatteredbeam
c80bb45cad
Inspection references (Remove Permissions class)
2013-02-15 10:41:04 -08:00
T00thpick1
4cf658b629
Make mctop asynchroneous
2013-02-15 12:47:00 -05:00
GJ
1ef1d53fd9
Make our commands respect localized skill names.
2013-02-15 09:26:01 -05:00
NuclearW
20f436c646
Squash alll the bugs
2013-02-14 23:27:19 -05:00
GJ
110fbe9478
Clear buffs on /mcrefresh
2013-02-14 16:56:55 -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
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
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
15113ba7e4
SkillresetCommand.java Permission murder
2013-02-12 17:48:04 -08: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
adda85a660
Convert /ptp to use Bukkit CommandAPI
2013-02-12 15:05:02 -05:00
GJ
3df5f529eb
Anniversary is over for another year...
2013-02-08 16:30:34 -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
6c266a8926
We don't need two functions that do the exact same thing.
2013-02-07 12:17:18 -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
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
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
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
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
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
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
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
Glitchfinder
1a63fc7638
Updating the permissions for the /[skillname] commands.
2013-02-03 16:43:06 -08:00
Glitchfinder
57c8c94db7
Updating the permissions for the /mctop command.
2013-02-03 14:17:40 -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
939586ce1a
Adding a permission for the /mcmmo command.
2013-02-03 13:03:04 -08: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
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
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
bm01
e9425625e2
Added missing permissions for mcrank mctop and mcstats
2013-02-02 12:20:02 +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
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
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
52bf73aecc
Remove unused imports.
2013-02-01 14:43:41 -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
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
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
Glitchfinder
c34d269f33
Adding a new permissions for the /mcability command.
2013-01-30 16:29:58 -08: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
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
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
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
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
bm01
bff7919c21
Major cleanup
2013-01-26 23:01:55 +01:00
GJ
ba7ebe1319
Minor Database refactoring.
2013-01-24 22:53:02 -05:00
GJ
76a987e1e0
PlayerListener cleanup
2013-01-24 14:19:26 -05:00
GJ
b7bb3f4487
Don't include child skills in these loops. Fixes #577
2013-01-24 09:08:30 -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
00d50953ad
Update /repair command
2013-01-22 12:26:35 -05:00
GJ
397dd96383
Update Woodcutting command.
2013-01-22 11:52:06 -05:00
GJ
74c32c4e59
Cleanup of UnarmedCommand.java
2013-01-22 11:18:12 -05:00
GJ
e048a6d0d0
Cleanup Swords & Taming commands
2013-01-22 10:48:10 -05:00
GJ
65d71db72f
Cleaning up Herbalism & Mining commands.
2013-01-22 02:20:05 -05:00
GJ
5a9ca96a0f
Cleanup of HerbalismCommand, added config options for Hylian Luck
2013-01-22 01:52:34 -05:00
GJ
176ffcc3d1
Cleanup on FishingCommand, split Farmer's Diet & Fisherman's Diet into
...
distinct config values. Fixes #556
2013-01-22 00:47:56 -05:00
GJ
3cc9672ff3
Fixed an inverted check on Impact.
2013-01-21 23:03:14 -05:00
GJ
0711454e31
General cleanup to satisfy my OCD a little while longer.
2013-01-21 17:22:54 -05:00
GJ
b9bf3f96d2
Added new Hylian Luck skill to Herbalism.
2013-01-19 12:33:57 -05:00
T00thpick1
7e7ab249c2
Order correctly to match mcrank
2013-01-17 21:31:50 -05:00
T00thpick1
1d2298e5f6
Join tables in query
2013-01-17 20:57:06 -05:00
GJ
a9c722de67
Wrapping up the localizations... though I'm sure there are probably
...
still some that got missed.
2013-01-17 11:02:55 -05:00
GJ
49610e372f
Localizing more commands.
2013-01-17 01:36:56 -05:00
GJ
37c92b8d7c
Localize /addlevels and /addxp commands
2013-01-16 23:58:12 -05:00
GJ
ea7fee2a53
Localize /mmoedit, /mmoupdate, and /mcpurge
2013-01-16 23:31:28 -05:00
GJ
89da8b832f
Localize chat commands and /invite
2013-01-16 22:13:30 -05:00
GJ
5f4c83b6a1
Localize /mchud & /ptp
2013-01-16 18:09:02 -05:00
GJ
2e751b1438
Localize XpLock command.
2013-01-16 17:38:00 -05:00
GJ
1a888d3116
Formatting, and reminding myself to come back and fix this even further.
2013-01-16 17:37:35 -05:00
GJ
2a4fe4aa48
Because lowercase class names are just wrong...
2013-01-16 17:13:56 -05:00
GJ
4c81eb3058
Localizing, and removing a duplicate line.
2013-01-16 17:13:04 -05:00
T00thpick1
fb1d48fcae
Output Header along with info for mcRank
2013-01-16 16:13:31 -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
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
d673676a8a
Add localized skill names to Perks.Lucky.Desc in skill commands.
2013-01-15 23:30:58 -05:00
nossr50
793538d4ef
Fixing mcrank reading from FFS when on SQL
2013-01-15 20:09:49 -08:00
t00thpick1
a6144f6dee
Hehe no silly hat for me
2013-01-15 22:24:46 -05:00
t00thpick1
94a4f628c7
Fix mcremove for sql
2013-01-15 22:14:05 -05:00
t00thpick1
7e297ac884
Name methods properly
2013-01-15 19:09:48 -05:00
t00thpick1
e6e8470851
Should be capitalized
2013-01-15 19:08:41 -05:00
t00thpick1
89a36ae47e
Last change
2013-01-15 19:04:30 -05:00