t00thpick1
4e013b44d8
Support offline player experience editing
2015-07-18 10:50:38 -04:00
TfT_02
63b332216e
Read summon item from config in /taming command
2014-10-11 11:38:53 +02:00
TfT_02
2dd8e719c8
UUID support for parties
2014-09-28 11:13:23 +02:00
TfT_02
eac5d1ee7a
Improve auto mod config generator
2014-08-31 19:10:49 +02:00
TfT_02
a3943aab24
Add checks for loaded/unloaded profiles in commands
2014-08-19 22:23:19 -06:00
t00thpick1
1503e58d11
More relevant donation information
2014-08-19 23:45:54 -04:00
t00thpick1
d687543910
Prevent players from having more than one database querying command running at once.
2014-08-19 18:11:56 -04:00
t00thpick1
b7774251eb
Remove need for thread locks in profile loading, just reschedule as needed. also stagger based on number of previous attempts.
2014-08-05 23:02:41 -04:00
t00thpick1
df4fc8149d
Stagger load attempts more.
2014-08-05 19:03:55 -04:00
t00thpick1
857e12b96e
SQLDatabaseManager optimizations, async profile loading -t00thpick1, zreed
...
This commit changes our shared connection into a connection pool utility to prevent
thread locks from multiple actions attempting to access the database at the same time.
In additon, profile loading has been moved off the main thread at login time, to
allieviate the performance issues caused by it.
Fixes #2138 , Fixes #2119 , Fixes #1982 , Fixes #1953
2014-08-01 20:31:17 +02:00
TfT_02
c10525ada9
Add UUID support! - zreed, slipcor, t00thpick1
...
This commit updates our database managers to use UUIDs instead
of usernames for persistent storage.
Fixes #1979
2014-08-01 20:23:03 +02:00
TfT_02
fb8592495d
Only set detected durability if it's > 0
2014-08-01 01:09:00 +02:00
TfT_02
a48ada306c
Add magical mod importer
...
Usage: Create a folder called 'import' inside /mcMMO/mods/. Place your latest Cauldron 1.7+ startup log in this folder and rename it to 'import.log'.
It is worth noting that it's advisable to create a short log by starting and stopping the server once, or by manually editing the log file to only include material mapping in order to speed up the import process.
When the server is running, use the command /mcimport. You will see the import progress in the console, once it is done the files are created in /mcMMO/mods/output/.
Any item that wasn't recognised gets placed in a .unknown.yml config file. Durability detection only works if the mod is installed when importing (it should be).
2014-08-01 00:22:29 +02:00
TfT_02
ccca3fff26
Don't use hardcoded unlock levels for Blast Mining
2014-07-20 00:43:52 +02:00
TfT_02
2b9b5df1ee
Alter original event and stop firing FakeDamageEvents
...
Fixes #2105
2014-07-02 11:28:21 +02:00
riking
4fb4d6fc0c
Save users asynchronously
2014-06-08 14:12:25 +02:00
TfT_02
93d63dbca5
Minor cleanup of imports
2014-05-18 17:06:50 +02:00
TfT_02
4643cf1070
A whole bunch of more work to convert Salvage to a child skill
2014-05-18 17:04:39 +02:00
GJ
91bf54019e
Convert Salvage to a child skill.
2014-05-18 17:04:38 +02:00
TfT_02
ead716ef0d
Fix a NPE when tab completing with /ptp
...
Fixes #2013
2014-05-11 18:33:50 +02:00
TfT_02
c14a4e9305
Fix /party teleport command
...
Why did we use getCommand("ptp").getExecutor() again?
Fixes #1995
2014-04-21 14:54:09 +02:00
GJ
b204507a82
Use strings instead of OfflinePlayers for scoreboards.
...
(cherry picked from commit 89b596591ec1974e0201395dc6e76353e4709572)
2014-04-21 14:09:09 +02:00
TfT_02
9f53426511
Added API to XP events to get XP gain reason
2014-04-18 22:32:32 +02:00
Sean Porter
03c2282c3f
Fix the calculations for Iron Arm Style in the Unarmed command.
2014-04-18 02:16:35 -07:00
TfT_02
79a1ef5d3e
Players need to be in a party to use /ptp
...
Fixes #1967
2014-04-06 12:43:42 +02:00
riking
461871327b
Include new 1.7 biomes in fishing biome XP boost and Ice Fishing check
2014-03-29 17:12:36 +01:00
TfT_02
458dc7db42
Make database command cooldown configurable
2014-03-29 17:02:08 +01:00
TfT_02
beab794c0e
Fixed some issues with the HolidayManager
...
Was severely lacking more lols
2014-03-29 16:52:41 +01:00
TfT_02
0fe3ad7432
Reworked COTW config options + made COTW item configurable
...
Adresses #1481 partially
2014-03-23 14:33:57 +01:00
TfT_02
862d38b587
Clean up all of the imports
2014-03-03 18:27:45 +01:00
TfT_02
840f3d9382
Fix /party kick command
2014-02-28 22:32:09 +01:00
TfT_02
e56d5a0454
Exclude vanished players from tab complete list
...
Part 2 of fixing #1745
2014-02-28 21:56:30 +01:00
GJ
0056be2d5f
Assorted cleanup.
2014-02-28 08:36:42 -05:00
TfT_02
c51fde7f1f
Added new permission node to control who can check version number
...
Negate this permission node to hide the version number from /mcmmo and
motd
2014-02-17 16:31:59 +01:00
GJ
988006f913
Alchemy cleanup, part 1.
2014-02-11 16:22:57 -05:00
TfT_02
5c836cdaaf
Check party level before sending party chat
...
Fixes #1847
2014-02-10 16:07:43 +01:00
TfT_02
9e39c3495d
Fix IllegalArgumentException: 1 > 0
2014-02-09 17:15:42 +01:00
TfT_02
b653aa57b7
You can't accept an alliance request when you already have an ally
2014-02-09 16:10:43 +01:00
Sean Porter
2ffdd340af
The command is spelled xpshare, not expshare.
...
Fixes #1841
2014-02-09 12:31:30 +01:00
GJ
43e2c813d1
Clean up some of our messes.
2014-01-20 13:58:40 -08:00
TfT_02
6b653fa606
Changed appearance of party member list
2014-01-17 18:58:07 +01:00
TfT_02
818962e668
Added party levels
...
Parties now have XP and Levels. Party features such as party teleport and party chat have to be unlocked before they can be used by the party members
2014-01-17 18:56:27 +01:00
TfT_02
c729297615
Added party alliances
...
Adds the following commands:
`/party alliance`
`/party alliance invite <target>`
`/party alliance accept`
Allies will share party chat and will not be able to harm eachother.
Item and XP sharing is limitied to a single party. Allowing two parties
to team up without sharing resources and XP.
Closes #1009
2014-01-17 18:55:58 +01:00
TfT_02
7c891e9ba8
Optimize imports
2014-01-16 22:32:40 +01:00
TfT_02
6143003516
Update PR to changes in master
...
- Special thanks, instead of in dev team
- Fix formatting issues
* Remove trailing whitespaces
* Rename method names of event listeners
* Check for negative instead of positive
- Added Alchemy skill guide
2014-01-16 22:32:40 +01:00
Eric Hildebrand
8f83e328b0
Introduction of new Alchemy skill!
2014-01-16 22:32:40 +01:00
TfT_02
9afa8efd7d
No need to hardcode the max tier here
2014-01-15 12:20:05 +01:00
TfT_02
491df2cc82
Changed the appearance of /mcmmo commands
...
Closes #978
2014-01-12 13:51:12 +01:00
TfT_02
b4a6ecc58c
Abstract HolidayManager a little more
...
Now we don’t have to manually edit this each year.
2014-01-12 12:08:47 +01:00
TfT_02
730f786d5b
Fix issue with /ptp command
...
Fixes #1773
2014-01-11 10:30:12 +01:00
GJ
13a623ea1f
Misc was getting crowded again.
2014-01-03 11:07:13 -05:00
TfT_02
65aa05a660
Fix /addlevels all
and /skillreset all
commands
...
Fixes #1675
2013-12-12 16:50:36 +01:00
t00thpick1
c0dee19cb0
Missed a refactor :P Also, javadoc event
2013-11-22 12:48:53 -05:00
t00thpick1
870987bba7
SecondaryAbility's API additions
2013-11-22 12:32:23 -05:00
riking
12ed2ac07b
Have ExperienceCommand and SkillresetCommand explicitly handle 'all'
2013-11-19 18:56:47 -08:00
GJ
69ef7f40d8
Command cleanup.
2013-11-08 23:14:11 +01:00
TfT_02
bded936af5
Cleanup our imports
2013-10-31 22:30:05 +01:00
GJ
fd9154e009
Fixed bug with toggle commands not properly displaying the success message.
2013-10-29 11:45:27 -04:00
GJ
97b9214d6e
Wrap these inside McMMOPlayer for easier access.
2013-10-29 11:02:57 -04:00
GJ
9b3ae5c729
These belong in their managers, not in McMMOPlayer
2013-10-28 16:14:52 -04:00
GJ
60d69e3cc4
Create wrapper to handle all PTP data.
2013-10-28 15:49:48 -04:00
GJ
c79f8043ad
Use proper functions where they exist, and move functions to better locations.
2013-10-28 15:12:24 -04:00
GJ
8369ae4616
Don't use a class variable here.
2013-10-28 14:14:20 -04:00
GJ
9ef3c721df
Formatting cleanup from the scoreboard update. Also handle skill permissions differently.
2013-10-28 13:04:46 -04:00
GJ
b3415ee2f4
Cleanup some of Riking's mess.
2013-10-25 17:05:36 -04:00
riking
17b7a9bf10
Add message to /mcscoreboard time [n]
2013-10-25 11:41:21 -07:00
riking
bd611ee11c
Add message to /mcscoreboard keep when a board is not shown
2013-10-25 11:39:24 -07:00
riking
95f15e68fe
New and Improved Scoreboard System
...
- Scoreboards now AUTO-UPDATE
- Scoreboards now COME IN COLOR
- If you want, they can come in EVERY COLOR (Config setting)
- Scoreboards can be displayed alongside chat output!
- Prevention of denial of service to SQL via spamming /mctop using a cooldown
- Added /mccooldown command to show cooldowns for all available skills
2013-10-25 09:49:02 -07:00
TfT_02
c2e100b1e3
Use hook location in Master Angler
2013-10-24 21:19:24 +02:00
GJ
b8c1f868f5
Event updates
2013-10-18 08:54:06 -04:00
GJ
468fbdab56
SkillUtils cleanup, EventUtils creation
...
Move some functions in SkillUtils to more relevant locations.
Begin work on utility class to handle all event calls.
2013-10-15 13:03:33 -04:00
riking
44e3e4d1e1
Localize several command results
...
Also don't nullcheck the null-guarded mcMMOPlayer in PartyManager
2013-10-14 20:48:36 +02:00
TfT_02
dd64c4008b
Account for Master Angler config values in /fishing
...
Fixes #1537
2013-10-14 16:28:48 +02:00
TfT_02
ed8197bd50
Remove level based bonus from Master Angler
...
Let's try this another way, instead of removing this passive ability all togheter I think it would be nice to keep the boat/biome catch rate boost. The level based boost was out of hand and counter-intuitive as it made leveling easier on high skill levels.
2013-10-12 02:41:13 +02:00
TfT_02
82f8c4ce36
Fishing Treasure Hunter overhaul
2013-10-12 02:41:13 +02:00
TfT_02
ec378d046f
Reformat advanced.yml making the keys consistent
2013-10-11 15:18:56 +02:00
GJ
a25dc24c6c
No reason to have this many functions...
2013-10-11 15:18:56 +02:00
TfT_02
68eb51a3d0
Removed Shake_UnlockLevel config option
...
because it is no longer needed.
2013-10-11 15:18:56 +02:00
GJ
9485869014
Move these functions to SkillType.
2013-10-09 09:20:32 -04:00
GJ
3927427b5b
Refactor all our repairable stuff into a special package.
2013-10-07 10:23:04 -04:00
TfT_02
4aef4c63fc
Split the locale skill guides into seperate sections
...
This will make it easier for translators to keep up with translating our skill guides. Closes #560
2013-10-07 16:05:11 +02:00
Kane York
0cd0919447
/mcconvert: Fix mismatched type in list.remove() call
...
The databaseTypes collection is a List<String>, so attempting to remove a DatabaseType object will have no effect.
2013-10-05 14:07:06 -07:00
Kane York
288287badf
Add holiday celebration for the console
2013-10-01 22:06:51 +02:00
TfT_02
00918fbdc1
Change this back, getPlayerExact() is faster
2013-09-30 14:04:34 +02:00
TfT_02
5ad0f2c624
Do a little bit of localebending
2013-09-30 11:32:35 +02:00
TfT_02
45143836e5
Fixed /party kick
...
Fixes #1499
2013-09-30 10:39:33 +02:00
TfT_02
6eb255632f
Clean this up a little bit
2013-09-30 10:24:36 +02:00
TfT_02
d5bd9a1693
Fixed some small mistakes in CommandUtils
2013-09-23 20:22:41 +02:00
GJ
5d7d779a49
Changed format of repair.vanilla.yml. **YOU WILL NEED TO UPDATE YOUR FILE TO THE NEW FORMAT**
2013-09-19 11:02:47 -04:00
GJ
5a3f8ad15f
Add COTW info for horses to the Taming command.
2013-09-17 14:13:11 -04:00
TfT_02
7bac0e2ca5
Dropped SpoutPlugin support
...
Because SpoutPlugin is not being updated to 1.6.x and mcMMO 1.4.07 does
not support any CB version below 1.6.x SpoutPlugin support is no longer
needed.
https://blog.spout.org/minecraft-1-6-and-the-legacy-finale/
2013-09-16 16:48:42 +02:00
TfT_02
17faf1561f
Refactor to getMaxLength
2013-09-15 21:45:16 +02:00
t00thpick1
0f2d0aee5f
Fix NPE on /addxp
2013-09-12 21:21:00 -04:00
GJ
25e4700ef9
Changed various values to double in advanced.yml for the sake of consistency.
2013-09-12 14:18:13 -04:00
GJ
af39e84aef
Actually remove /mmoupdate, fix usage strings for /mcconvert, fix tab completion
...
Fixes #1451
2013-09-10 15:47:47 -04:00
TfT_02
93fe2ff504
Cleanup our imports
2013-09-10 15:28:11 +02:00
GJ
7523afffb5
Updated permissions for more control over Call of the Wild.
2013-08-30 13:50:34 -04:00
GJ
435522415d
This is better too.
2013-08-26 12:20:56 -04:00
GJ
a17d1d3a2f
More cleanup to PartyManager.
2013-08-26 11:55:35 -04:00
GJ
94a5bef62c
Cleaning up PartyManager
2013-08-26 08:39:24 -04:00
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