Commit Graph

4473 Commits

Author SHA1 Message Date
ile123ile
a23e8d4c96 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/main/java/com/gmail/nossr50/api/ExperienceAPI.java
	src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java
	src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java
	src/main/java/com/gmail/nossr50/runnables/commands/McrankCommandDisplayTask.java
2014-09-01 20:38:32 -07:00
ile123ile
0dd779fa17 Added javadocs and child skill support 2014-09-01 20:02:16 -07:00
ile123ile
952309ecda Removed unused imports 2014-09-01 19:05:43 -07:00
ile123ile
e3cab3633e Can now check if player has permissions for secondary ability and
whether it's activation was successful
2014-09-01 19:02:32 -07:00
ile123ile
28419e1dc3 Fixed /mccooldown 2014-09-01 18:44:13 -07:00
ile123ile
4b7d748920 Made you able to add new abilities 2014-09-01 18:21:37 -07:00
ile123ile
eb81f7ca96 Made a factory method for abilities 2014-08-31 18:26:54 -07:00
ile123ile
65400bcfae Made Skill API use materials instead of ToolTypes 2014-08-31 17:49:21 -07:00
ile123ile
b18d81836d Turned ToolType to public static final over enum 2014-08-31 17:42:23 -07:00
ile123ile
628f59ba54 Made localized normal bundle take precedence over default custom locale
bundles
2014-08-31 17:14:25 -07:00
ile123ile
db2128daeb Added locale to api 2014-08-31 17:08:18 -07:00
ile123ile
4d4e3a2b47 Fixed loading of config for secondary abilities 2014-08-31 17:07:53 -07:00
TfT_02
eac5d1ee7a Improve auto mod config generator 2014-08-31 19:10:49 +02:00
ile123ile
ba32e725f8 Got /<skillname> command working 2014-08-30 22:21:43 -07:00
ile123ile
cf01241e2d Added api stuff so you can actually add new skills and made it *mostyl*
work
2014-08-30 20:26:21 -07:00
ile123ile
d47a51b91d Added a way to add new localization files 2014-08-28 18:22:30 -07:00
ile123ile
481038fdbf Made SQLDatabaseManager work with list of skill types so new ones can be
added without changing the file
2014-08-27 18:28:29 -07:00
TfT_02
56cb5c092f Should be this 2014-08-26 21:55:35 +02:00
ile123ile
21fcc83f56 Made flatfile expandable 2014-08-25 17:39:00 -07:00
Shevchik
9d7faf9ed9 Fix database loading data for wrong player
Fixes #2223
2014-08-24 15:25:56 -07:00
ile123ile
edd764d5e6 Changed secondary abilities to use constants instead of enum 2014-08-24 11:45:13 -07:00
ile123ile
0700e4354c Moved lists from SkillType into only getters 2014-08-24 10:49:00 -07:00
ile123ile
5e83632004 Changed AbilityTypes from enum to constants 2014-08-24 10:41:55 -07:00
TfT_02
7da661546f Fixed bug where processing message would always get displayed
and the player could never execute /mctop or /mcrank if chat display
was disabled.
2014-08-24 09:21:40 -07:00
ile123ile
3d7b6e13c9 Fixed mcrank and/or mctop 2014-08-23 14:24:47 -07:00
ile123ile
ebd02dc30e Turned skilltypes into constants instead of enum 2014-08-23 14:14:36 -07:00
TfT_02
48d3280e5e Make sure that player has McMMOPlayer object before calling API 2014-08-22 15:50:40 -07:00
TfT_02
b61c65636b Add new ExperienceAPI method to specify if XP can be shared 2014-08-22 15:50:40 -07:00
TfT_02
087a0b079f Fixed bug with new Death API 2014-08-22 15:50:40 -07:00
ile123ile
be690962ee Added a way to get the skill manager of any type from an McMMOPlayer 2014-08-22 12:26:04 -07:00
t00thpick1
2147417322 This seems easier. 2014-08-22 15:16:40 -04:00
t00thpick1
4304970059 This was supposed to be a zero. 2014-08-22 00:59:20 -04:00
t00thpick1
fc981fda20 Better connection validation for us. 2014-08-21 19:42:03 -04:00
t00thpick1
be9ff51fd9 Should fix #2223 for realz this time. 2014-08-21 19:42:03 -04:00
TfT_02
adde56114e Cleanup the changelog 2014-08-21 16:40:06 -06:00
TfT_02
5cfd2dc799 Added API to ExperienceAPI to get the amount of XP needed for a level 2014-08-21 16:38:33 -06:00
TfT_02
c878775c72 Close the statement here as well 2014-08-21 14:33:50 -06:00
t00thpick1
574cdd374b Use a placeholder value. Fixes #2216 #2221 2014-08-20 22:19:36 -04: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
TfT_02
2650d57d8e Added options to experience.yml for Dirt and Sand variations
Adds #2194
2014-08-19 21:28:53 -06:00
t00thpick1
4d402c7229 Use correct element 2014-08-19 19:11:07 -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
d8ad519cd0 Seperate pools for essential tasks like profile loading and profile saving. 2014-08-19 17:58:45 -04:00
TfT_02
a23d093271 Use provided instead of compile 2014-08-18 17:19:14 -06:00
TfT_02
8a35d69540 Move RefreshChunks setting from hidden.yml to config.yml
Adds #2213
2014-08-17 20:21:23 -06:00
t00thpick1
097a5a0894 Change purge a bit. Apparently andrewkm says this works. 2014-08-17 21:23:27 -04:00
t00thpick1
8760c2bbb0 This way is cleaner though. 2014-08-17 20:01:04 -04:00
t00thpick1
dc635fe7d7 SHould fix #2195 2014-08-17 19:57:52 -04:00
TfT_02
f10a1d0ffb Added McMMOPlayerPreDeathPenaltyEvent and McMMOPlayerStatLossEvent
McMMOPlayerPreDeathPenaltyEvent is fired before hardcore calculations
take place, use this if you want to cancel hardcore penalties.

Use McMMOPlayerVampirismEvent and McMMOPlayerStatLossEvent when you
want to know how many levels or experience the player lost or if you
want to modify this.
2014-08-16 21:13:46 -06:00