GJ
23983422e0
Cleanup & remove code duplication.
2013-08-23 14:08:16 -04:00
TfT_02
956bf2d763
Added McMMOPlayerLevelDownEvent and McMMOPlayerLevelChangeEvent
2013-08-23 19:54:30 +02:00
TfT_02
964b2636fb
Move experience related settings from config.yml to experience.yml
2013-08-23 19:37:44 +02:00
TfT_02
0455416dec
Reorganized Hardcore locale strings
2013-08-22 22:54:05 +02:00
TfT_02
a6e7febf77
Hardcore mode can now be toggled for each skill individually
2013-08-22 22:54:05 +02:00
GJ
ede0757d83
Remove /mmoupdate and replace with /mcconvert database
2013-08-22 22:33:06 +02:00
GJ
223649ec28
Formatting and localizing.
2013-08-22 22:22:19 +02:00
TfT_02
68e433b3b7
Added new ExperienceFormula config and /mcconvert command
2013-08-22 22:22:19 +02:00
TfT_02
9acaa7b126
We're expecting a null object here as well.
2013-08-21 16:48:08 +02:00
gmcferrin
2bae937b28
Don't throw a warning if we're expecting a null object.
2013-08-21 14:20:12 +00:00
GJ
50ef8d9610
Improvements to mcMMOPlayer lookup.
2013-08-20 14:10:49 -04:00
TfT_02
6518d192ec
Improved partial name matcher
...
Fixes #1164
2013-08-19 10:37:04 +02:00
TfT_02
fb5bab6e92
String values are compared using '.equals()' not '=='
2013-08-10 22:24:13 +02:00
TfT_02
90fcf35c34
Javadocs cleanup
2013-08-10 20:10:45 +02:00
GJ
c501ebb357
Clean up after our experience commands. Fixes #1324
2013-07-30 14:47:11 -04:00
GJ
e0e574c19e
Fix a potential issue with PTP and Chimera Wing teleportation cooldowns.
2013-07-24 13:50:33 -04:00
GJ
ee86f8244f
Put ShareMode in its own class.
2013-07-15 09:56:45 -04:00
GJ
c9aba059e2
Don't provide direct access to the players map.
2013-07-15 09:14:23 -04:00
GJ
dc9469c0cc
Refactor to match standards set for where datatypes should be located.
2013-07-15 08:44:13 -04:00
GJ
68727496ad
Useless casting and elses.
2013-07-11 12:49:01 -04:00
GJ
69aead58a7
Using getPlayerExact is faster.
2013-07-08 19:15:44 -04:00
riking
23729f45ee
Pull changes from dev-dbman (commit f63c5e3
)
2013-06-28 15:02:58 -07:00
GJ
190b7ee1f5
ChatManagers...
2013-06-07 15:46:58 -04:00
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
TfT_02
de0487d16f
This should make it work properly
2013-06-07 15:46:56 -04:00
TfT_02
fc0c386ecb
Fixing this as pointed out by Riking
2013-06-07 15:46:55 -04:00
TfT_02
86db4251a2
Check visibility before range
2013-06-07 15:46:55 -04:00
TfT_02
375fa4f75c
Added permission node to prevent inspecting hidden players
2013-06-07 15:46:53 -04:00
GJ
0ba4bc25c7
Use player objects instead of names - should be more efficient and less
...
buggy.
2013-05-28 13:33:20 -04:00
GJ
0b6372a6ea
Don't run these calculations twice. Also, pretty sure one of these was
...
bugged.
2013-05-21 11:41:39 -04:00
GJ
a2f80569e3
Fire McMMOPlayerLevelUp events for our experience commands, when
...
applicable. Fixes #921
2013-05-21 09:31:25 -04:00
GJ
60304e9643
Because Minecraft does stupid things with "/" in the chat.
...
Fixes #994
2013-05-20 08:56:02 -04:00
GJ
a7861fc54b
Move all miscellaneous Spout code to a single location.
2013-05-16 10:51:18 -04:00
TfT_02
3158c7e3eb
List /party itemshare and /party expshare in /party ?
...
Closes #913
2013-05-15 19:00:34 +02:00
GJ
8e0a1f4f70
Summon the kraken at will!
2013-05-03 16:14:03 -04:00
TfT_02
f6e9fd9f3a
Add more localisation
2013-05-02 21:02:12 +02:00
GJ
e7c749ee3a
Added boosts to Fishing chance depending on conditions. Also, the
...
kraken, now with 100% more sound!
2013-05-01 21:57:42 -04:00
GJ
3322677d32
Added "Ice Fishing" ability to Fishing
2013-05-01 10:18:19 -04:00
GJ
d34a0cca30
Fix issue with using /mcpurge, /mcremove, and /mmoupdate from the
...
console. These commands now default to OP, because frankly there are
much worse things someone can do with OP status than mess with the mcMMO
database.
2013-05-01 08:40:01 -04:00
GJ
b55ce30b2d
Clean up our main class a bit more. Still not perfect, but it's getting
...
there.
2013-04-30 15:07:29 -04:00
GJ
88f43d9a91
Add command to clear or change scoreboards.
2013-04-30 09:48:53 -04:00
GJ
50c9649b23
mcMMO - Now with 100% more scoreboards!
...
mcMMO now allows for the use of scoreboards to display information in
several instances. By default, all scoreboards are enabled in the config,
and will only display for 10 seconds. After 10 seconds, the scoreboard
will go away and revert to the previously displayed scoreboard, if one
exists.
A global scoreboard now exists for tracking all player stats, and will be
displayed when /mctop is used. Your name will be highlighted in gold when
looking through the scoreboard. Additionally, the scoreboard will display
players in groups of 15, rather than groups of 10 like in chat.
Unfortunately, due to the limitations of scoreboards, the player's rank
will not be displayed in front of their name.
The scoreboard area is now also used for displaying data for /mcrank,
/inspect. and /mcstats. Due to the way scoreboards are handled, the power
level is not guarenteed to show up at any given location in the
scoreboard, but is instead displayed in gold so that it can be easily
found.
Lastly, the scoreboard area is also now used for displaying current data
on skills when the relevant /<skillname> command is used. The effects and
ability stats will still be shown in chat, but the current level, xp, and
remaining xp will be shown in the scoreboard.
2013-04-29 15:45:07 -04:00
GJ
fba131936a
Fix issue with tab-completing /party commands.
2013-04-28 01:11:51 -04:00
GJ
98dc7b853a
Protect our managers.
2013-04-25 09:16:42 -04:00
GJ
eea5784527
Abstract our database operations into a single class.
...
This allows the logic between SQL and Flatfile to remain more hidden in
most cases and makes the code easier to read.
2013-04-25 07:41:23 -04:00
GJ
8af425d067
Make this a bit more sane.
2013-04-18 09:09:12 -04:00
GJ
c3845abd2a
Clean up a bit, and make the /party itemshare command recognize the new
...
"misc" option
2013-04-18 08:11:47 -04:00
GJ
377ed9e8e5
Fix not being able to change party owners.
2013-04-17 07:07:54 -04:00
GJ
be76fe61d8
Fixed being unable to kick party members.
2013-04-17 07:05:28 -04:00
GJ
07ba7a8d9e
Nerf fishing again... AGAIN
2013-04-16 23:48:36 -04:00
GJ
2be3e3b43c
Changed Berserk to add items to inventory rather than denying pickup
2013-04-16 23:44:41 -04:00
GJ
c9a53bdaca
Fixed NPE when trying to tab-complete /mctop
2013-04-15 12:52:11 -04:00
TfT_02
682c2631f0
Fixed bug where players were able to join the same party multiple times
...
This change should automagically fix broken parties which have multiple
instances of the same player in it.
This will not fix bugged players who have joined multiple parties.
2013-04-13 00:41:36 +02:00
GJ
5dc40f3c03
Nerf fishing... again.
2013-04-12 17:48:04 -04:00
GJ
569e87847f
Fixed fishing chance display values.
2013-04-12 10:25:00 -04:00
GJ
27e0a9d3b6
Fixed experience commands affecting all skills. Fixes #951
2013-04-11 09:55:39 -04:00
GJ
14630fe956
Nerfin' it.
2013-04-10 18:44:11 -04:00
TfT_02
0ab1986202
Set a seperate cooldowns between getting hurt and teleportations
...
Closes #880
2013-04-10 17:19:14 +02:00
TfT_02
e11dc680de
Add configurable warmup and cooldown timers for party teleportation
...
Closes #348
2013-04-10 17:18:06 +02:00
GJ
8b21aea9c7
Check Fisherman's Diet permission when checking for display headers.
2013-04-09 20:53:55 -04:00
GJ
4f87cb6446
Added "Master Angler" ability to Fishing.
...
This ability increases the chance that a fish will bite the line while
fishing.
2013-04-09 20:53:54 -04:00
GJ
b391a53c6b
Make our commands support tab-complete.
2013-04-08 17:34:23 -04:00
GJ
31f36935d3
Avoid NPE when using experience commands on offline players.
2013-04-07 09:01:31 -04:00
TfT_02
a14fc3e3c9
Fixed broken /party chat command
...
Closes #931
2013-04-06 12:20:20 +02:00
GJ
25dfa6d34d
Better way to get the HUD type.
2013-04-04 23:15:37 -04:00
GJ
da29185b7d
Added health display for mobs during combat.
...
During combat, players will now see a healthbar appear over the head of
hostile mobs when they are damaged. This healthbar will have two display
options - HEARTS and BAR - which can be changed via the /mobhealth
command.
New Permissions:
mcmmo.mobhealthdisplay - Allows viewing of mob health display
mcmmo.commands.mobhealth - Allows access to the /mobhealth command
New Config Options (config.yml):
Mob_Healthbar.Display_Type - the default health display type
Mob_Healthbar.Display_Time - the amount of time to show health display
2013-04-04 22:11:11 -04:00
TfT_02
6d47e43ba9
Display partial names when trying to use the ptp command
2013-04-04 22:50:22 +02:00
TfT_02
f1c16df63b
Added new permission node for party teleportation.
...
`mcmmo.commands.ptp.send`
This permission node will be check before sending a teleport request
(or teleporting the sender if no request is required), this allows
admins to grant certain groups of users permissions to accept incoming
party teleport request without being able to send ptp requests
themselves.
Closes #927
2013-04-04 22:20:19 +02:00
GJ
802ad84613
Fixed Berserk getting "stuck" when /mcrefresh is used.
2013-04-02 17:38:33 -04:00
GJ
fa645b5e00
Clear after saving, save before clearing.
2013-04-02 08:29:38 -04:00
TfT_02
6fd599bd31
Fixed bug where /addxp was not processessing level-ups for online players
...
Fixes #918
2013-04-01 22:54:36 +02:00
GJ
afd706bed8
Fix NPE with smelting & /mctop. Fixes #917
2013-04-01 16:41:58 -04:00
TfT_02
fc8ad40b00
Fixed bug where /addxp was setting instead of adding experience
...
Fixes #898
2013-03-30 10:50:05 +01:00
TfT_02
d778293531
Use full player names instead of partial names
2013-03-27 21:25:59 +01:00
TfT_02
1f25b0b00b
Use positive page numbers when a player uses /mctop -1
2013-03-27 20:37:03 +01:00
TfT_02
287842c675
Fixed bug which causes a NPE when trying to use /mcrefresh from the console
2013-03-27 20:17:54 +01:00
TfT_02
3ae9956df9
Actually fix partial name matching when using /mcrank
...
Fixes #878
2013-03-24 16:53:01 +01:00
TfT_02
78109eb499
Revert "Fixes partial name matching with /mcrank"
...
This reverts commit f9a823e4b0
.
2013-03-24 16:30:27 +01:00
TfT_02
f9a823e4b0
Fixes partial name matching with /mcrank
2013-03-23 16:22:48 +01:00
TfT_02
9b685be84e
More inverted checkPlayerExistence() checks
2013-03-22 19:08:10 +01:00
TfT_02
96f9d2a030
Fixed broken /party invite
command
2013-03-22 19:06:21 +01:00
TfT_02
2b7178fb00
Fixed broken /party join command
...
Fixes #863
2013-03-22 19:02:51 +01:00
TfT_02
145a47c890
Fixed a NPE when trying to ptp to a non-existing player
2013-03-21 23:09:44 +01:00
TfT_02
70160468c0
Fix a NPE when trying to join a non-existing player
...
Fixes #860
2013-03-21 22:04:52 +01:00
GJ
399bf8e3b9
Use BukkitRunnable.
2013-03-20 03:11:16 -04:00
GJ
255dece550
Move Arcane Forging to it's own class to match the structure we used
...
with Blast Mining.
2013-03-18 14:02:53 -04:00
GJ
dafa690a09
Make /mcnotify match the process of the other commands for getting the
...
mcMMOPlayer object.
2013-03-16 16:16:22 -04:00
GJ
4cd4223ee0
Fixed /skillreset being broken.
2013-03-16 16:16:22 -04:00
GJ
3ac5ac385d
Fix issue with double drop display values.
2013-03-16 16:16:21 -04:00
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
GJ
9aa676cee1
We don't need to have two different executors for these commands.
2013-03-11 22:51:44 -04:00
GJ
eabf0f7f82
No need to use an empty locale string for this.
2013-03-11 21:06:56 -04:00
GJ
d0171809ec
Fixed bug with '/party chat (on|off)' and '/partychat (on|off)' not
...
working
2013-03-11 21:06:26 -04:00
GJ
410c946faf
Tidying up Permission checks for /mcrank and /mctop
2013-03-11 12:48:00 -04:00
GJ
9eba2c683b
Use equalsIgnoreCase() instead of equals(), and use == for compaing
...
worlds.
Fixes #815
2013-03-10 18:06:10 -04:00
T00thpick1
8059636b62
Permissions for stat displays
2013-03-10 15:50:10 -04:00
GJ
c0b4a33346
Importing Bukkit is usually bad.
2013-03-10 15:07:07 -04:00
GJ
3f71dab0b1
Improved stats display for child skills
2013-03-08 08:39:28 -05:00
GJ
f6a18ef777
Move Salvage functions into Repair
2013-03-06 11:31:51 -05:00
GJ
e5f6da01ec
Create a proper RepairManager to match the others, rename our old
...
RepairManager to RepairableManager.
2013-03-06 09:37:09 -05:00
TfT_02
3440833af8
Fixed bug where the PTP cooldown was being read improperly
2013-03-05 00:48:48 +01:00
TfT_02
1e738263bc
Remove the ptp request after using /ptp accept
2013-03-05 00:30:48 +01:00
TfT_02
9cf322ca0b
Fixed NPE with /ptp <accept|toggle|acceptall>
2013-03-05 00:30:07 +01:00
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
GJ
12c6bfc2e8
Fix another potential issue with recentlyHurt & /ptp.
2013-03-02 23:34:39 -05:00
GJ
31fff0623d
Fixed bug where the PTP cooldown was set improperly.
2013-03-02 21:48:44 -05:00
GJ
2feba8f64c
Fixed bug where using '/party chat message...' would result in the first
...
word of the message being printed repeatedly. Fixes #760
2013-03-02 20:07:01 -05:00
GJ
a87336b7ee
Fixed bug where trying to use /mctop or /xplock with the Smelting child
...
skill caused NPEs.
Fixes #748
2013-03-01 10:38:14 -05:00
NuclearW
a542d6cf3e
Squashed commit of the following:
...
commit cb3e057dee1f2b29838ab654a526baac1baab7d6
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:43:57 2013 -0500
1.4.00 release
commit 4f9628d2e4cde31c8946e9a911ee6f10e1fb6b35
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:07:30 2013 -0500
\r -> \n
commit b2ca22e0477c747143b0f08a28a096967ee6ffd7
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:53:56 2013 -0500
Commented-out code shouldn't be done like that.
commit 92f131712cc671e3e616c14a22e22769ef6d6d0b
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:45:36 2013 -0500
More things we missed.
commit 408b03766f6261a03a862a1ab7f5835772feda4a
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 23:20:13 2013 -0500
Format: util through spout and backup lib
commit d6bd2c29bbb51bee3607247468cfe145d4f38c9e
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:50:08 2013 -0500
The things we missed the first time through...
commit 393f0b889aa1b7011ee81ee7b15413d8824b8cfb
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:05:29 2013 -0500
Formatting: Skills
commit c097a6e188a7b760dd1b4389ed81dca417146b16
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:30:12 2013 -0500
Organize imports.
commit 34c3e74be7eb5f983f21d969e30155c5d82c01c1
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:45 2013 -0500
Fixed a missing fallthrough comment from ChatCommand
commit b4a76c9f022a2fd98bdd8f083accfea03becfd71
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:36 2013 -0500
Formatting: datatypes.* through events.*
commit 3e57dd41d3265a7c8106c7eb026df926770a4d15
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:56:15 2013 -0500
Fix issue with bad rebase
commit e8c8e06b2971555b7334e49128257e3af6f36892
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 17:35:32 2013 -0500
Formatting: DatabaseManager, LeaderboardManager, DatabaseUpdateType, and
PlayerStat
commit 13ecf1cc41f377a12991e357ac10abdcda24d6de
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:31:43 2013 -0500
Format: listeners.* through runnables.*
commit 71686e3c0d96c2dcf25442b91703fadda1ea3bb0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:13:57 2013 -0500
Format PartyLockCommand
commit d50abed10bf94e1a88df3dc5cc07c259aea920ea
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 16:54:08 2013 -0500
Format: base through config.*
commit 7004823eeebbae5be7728bf9cafc3b04e57b64cf
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:21:40 2013 -0500
Example of using spaces to align like things
commit 534190cfe2481e466fe459d65628550458cc2993
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:12:19 2013 -0500
Capitalization
commit 5b61d3ba4c8d81e6f358b0cf4f460abfe9798414
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:07:43 2013 -0500
Updated readme, added standards.md
commit 5ec0df70fb82c527420a2f437f27f31bd758f884
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 14:42:16 2013 -0500
Markdown was here, Creole is a loser
commit 70d557c59d086b6a5fb5e0e63c0c1d8eb4c8d19c
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 13:46:24 2013 -0500
Move MCStats shading to .metrics.mcstats
commit eb9d67e66b1659d6abd2397ecf403343cfeffdda
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 13:37:37 2013 -0500
Move ALL the packages!
commit 8ffa9e7b75417b6c7f158613d4b4ffb783dcf2d0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 12:37:12 2013 -0500
/r/n -> /n
2013-03-01 00:52:01 -05:00
GJ
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
U-YUE\Sean
fd821139bd
Fixing an NPE related to the skillreset command.
2013-02-22 11:10:34 -08:00
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