Commit Graph

504 Commits

Author SHA1 Message Date
Nathan Wolf
4dd8780d07 Don't kick people out of quests when they change. This is too picky and glitchy, I'd rather just deal with the consequences of broken quests, I think. 2015-12-02 08:36:56 -08:00
Nathan Wolf
fccd3f03ec Point the compass at the player's next target. TODO: Needs config options, etc. 2015-12-02 08:36:11 -08:00
Nathan Wolf
ebfa61646a Delay sending quest finish messages by seconds. TODO: Needs a config option or quest parameter. 2015-12-02 08:07:36 -08:00
Nathan Wolf
5b18275c49 More lore/display color fixes 2015-11-25 21:04:37 -08:00
Nathan Wolf
d5731d324b Fix /quests list when there's barely more than one page of quests 2015-11-25 18:53:12 -08:00
Nathan Wolf
50b3c272bb Preserve colored item names 2015-11-25 18:52:54 -08:00
Nathan Wolf
83c602e0f5 Merge branch 'CustomModuleFixes' 2015-11-18 11:09:51 -08:00
Nathan Wolf
ed0440092f Fix parameterization of custom rewards messages 2015-11-18 10:37:36 -08:00
Nathan Wolf
4fa7bb4594 Fix CustomObjective equals method, which would cause the Listener to randomly unregister 2015-11-18 08:31:55 -08:00
Nathan Wolf
877b593e7e Prevent NPE on null items- though not sure how it gets here. 2015-11-18 08:29:46 -08:00
Nathan Wolf
65862a5bd1 Only register Objective Listeners once. 2015-11-18 08:29:37 -08:00
Nathan Wolf
f11e679325 Add event registration debug message... something weird is going on here :( 2015-11-18 08:29:30 -08:00
Nathan Wolf
a31f0ab8fa Fix custom rewards (much thanks to @wintermaples !!) 2015-11-18 08:28:09 -08:00
Nathan Wolf
08982649e8 Fix CustomObjective equals method, which would case the Listener to randomly unregister (OMG GRRRRRRRRRR) 2015-11-17 12:47:53 -08:00
Nathan Wolf
2abb699f4e Revert registration delay, didn't seem to help. 2015-11-12 21:49:10 -08:00
Nathan Wolf
b623f5eec8 Prevent NPE on null items- though not sure how it gets here. 2015-11-12 14:50:27 -08:00
Nathan Wolf
c847fd0c37 Delay objective event registration to hopefully prevent random failures. 2015-11-12 10:12:36 -08:00
Nathan Wolf
1afeff873c Only register Objective Listeners once. 2015-11-12 09:19:50 -08:00
Nathan Wolf
2389adb648 Add event registration debug message... something weird is going on here :( 2015-11-12 05:53:51 -08:00
Nathan Wolf
8a06b00c6e Remove build number from plugin version 2015-11-11 19:34:01 -08:00
Nathan Wolf
013172939b Fix custom rewards (much thanks to @wintermaples !!) 2015-11-10 15:56:38 -08:00
HappyPikachu
163de45dea For for #188 2015-08-07 23:26:48 -04:00
HappyPikachu
be8b52361a Test fix 4 for #130 2015-06-12 23:32:28 -04:00
HappyPikachu
b5443d9813 Test fix 3 for #130 2015-06-11 10:29:37 -04:00
HappyPikachu
a7df3ac897 Test fix 2 for #130 2015-06-09 15:42:09 -04:00
HappyPikachu
7ee164ef5c Test fix for #130 2015-06-07 11:26:10 -04:00
HappyPikachu
80aafcfab5 Add try/catch for #130 2015-06-06 22:49:26 -04:00
HappyPikachu
eced37a101 Merge branch 'master' of ssh://git@github.com/FlyingPikachu/Quests.git 2015-06-06 16:09:50 -04:00
HappyPikachu
9addf7c5ac Check for null delivery items/npcs, should fix #93 and #134 2015-06-06 16:09:37 -04:00
FlyingPikachu
1cdcdd7a68 Merge pull request #96 from DNx5/patch-1
Ignore error for non module class.
2015-06-06 07:41:49 -04:00
HappyPikachu
e2bab24d34 Update for Spigot 1.8.7, increment version number 2015-06-05 10:25:19 -04:00
HappyPikachu
4da96dee7e Do not break after checking first Quest, fixes #57 2015-06-03 04:44:49 -04:00
HappyPikachu
2bcdb69257 Update for Spigot 1.8.4+ 2015-05-29 22:52:54 -04:00
HappyPikachu
36a530f3cf Fix killing NPCs with bow/arrow. Issue was combination of NPCs counting
as Players, and Quests treating them as mobs. Fixes #102
2015-05-20 19:27:26 -04:00
HappyPikachu
a518accd74 Finalize version handling 2015-05-19 09:07:02 -04:00
HappyPikachu
1239685c10 Attempt version handling 2015-05-18 23:18:44 -04:00
HappyPikachu
46c38c486b Attempt fix for #111 2015-05-09 09:48:59 -04:00
HappyPikachu
629c80b2a0 Add debug for #93 2015-04-29 21:29:11 -04:00
Dani
26899369ec Ignore error for non module class. 2015-04-27 05:39:15 +07:00
HappyPikachu
a7d6ea8885 Correct fix for #71, fixes #83 2015-04-20 09:02:54 -04:00
HappyPikachu
81b24b4b50 Add debug for #89 2015-04-16 15:30:10 -04:00
PikachuEXE
2fbea95b39 ! Fix NPE in player listeners 2015-04-16 07:28:56 +08:00
HappyPikachu
7783144b68 Increment version number, include author 2015-04-15 14:16:26 -04:00
HappyPikachu
d2b0d33d48 Remove debug message 2015-04-15 14:07:32 -04:00
HappyPikachu
f1b527064d Disallow Quest Journals in Item Frames, fixes #86 2015-04-15 12:55:29 -04:00
FlyingPikachu
6f3271d0d0 Merge pull request #80 from PikachuEXE/fix/kill-mob-location
! Fix world name not being checked for kill mob location when specified
2015-04-15 12:26:57 -04:00
HappyPikachu
ee57773668 Revise new commands 2015-04-15 12:11:44 -04:00
PikachuEXE
1af53440ba ! Fix world name not being checked for kill mob location when specified 2015-04-11 07:52:52 +08:00
FlyingPikachu
0ebc32f40a Merge pull request #76 from PikachuEXE/refactor/player-finder-find-exact-match-first
* Return a player with exact name match first when trying to partial match
2015-04-10 17:23:47 -04:00
FlyingPikachu
c760ee2fff Merge pull request #75 from PikachuEXE/feature/cmd/admin/remove-completed-quest-offline
Feature/cmd/admin/remove completed quest offline
2015-04-10 17:23:11 -04:00
HappyPikachu
dbe6973d65 Output message for no quests 2015-04-10 00:05:38 -04:00
PikachuEXE
357edac77b * Return a player with exact name match first when trying to partial match
This avoids player "fakedude" being return instead of player "dude" when searching for "dude"
2015-04-10 11:57:09 +08:00
PikachuEXE
b294b59788 * Make /quest removecompletedquest offline player compatible 2015-04-10 09:39:47 +08:00
PikachuEXE
150e524855 * Make /quest stats offline player compatible 2015-04-10 09:39:41 +08:00
PikachuEXE
ec074573a7 + Add PlayerFinder.findOfflinePlayerWithNameByExactCaseInsensitiveNameMatch 2015-04-10 09:38:55 +08:00
PikachuEXE
9d3ced7e76 + Add PlayerFinder.findOfflinePlayerByExactCaseInsensitiveNameMatch 2015-04-10 08:44:53 +08:00
PikachuEXE
dfe36bfdd6 + Add command /questadmin removecompletedquest 2015-04-09 08:56:44 +08:00
PikachuEXE
ed3492cea2 + Add command /questadmin stats 2015-04-09 08:50:35 +08:00
PikachuEXE
6ab4b52eb9 + Add Utility class PlayerFinder 2015-04-08 18:10:53 +08:00
HappyPikachu
380a299dd5 Amend giving quest names with spaces, fixes #62 2015-04-02 00:41:31 -04:00
HappyPikachu
7123f29981 Remove unused command 2015-04-02 00:04:35 -04:00
HappyPikachu
bff39b92cc Update blacklist, add purge sub-command 2015-03-23 10:20:15 -04:00
HappyPikachu
dd75ec12ef Increment version number 2015-03-19 15:45:53 -04:00
HappyPikachu
e8a437c285 Add missing * permissions 2015-03-19 15:44:47 -04:00
HappyPikachu
dfcc339e1d Accept seconds for delays/durations, adds #23 2015-03-18 13:16:05 -04:00
HappyPikachu
3670e4eb89 Update GUI color for Stone Miner 2015-03-18 11:13:16 -04:00
HappyPikachu
14d9636b09 Lower char limit for GUI lore newline, fixes #53 2015-03-16 15:48:05 -04:00
HappyPikachu
7298c490c7 Load redo-delay as Long, not Int 2015-03-13 20:16:50 -04:00
HappyPikachu
2b5beebfa2 Increment version number 2015-03-13 13:37:35 -04:00
HappyPikachu
afb044479f Fix error when right-clicking, fixes #54 2015-03-13 13:33:54 -04:00
HappyPikachu
9538fba9b7 Check for Citizens before loading config values 2015-03-12 23:26:39 -04:00
HappyPikachu
3ce4b4fe53 Increment version number 2015-03-12 22:31:52 -04:00
HappyPikachu
3137d99b29 Add files 2015-03-12 22:19:25 -04:00
HappyPikachu
f8cb20c042 Increment version number 2015-03-12 22:18:39 -04:00
HappyPikachu
f215bca7a4 Update for Spigot 1.8.3 2015-03-12 21:03:15 -04:00
HappyPikachu
4c83d7a86d Use item names for enchantments, fixes #51 2015-03-12 11:17:35 -04:00
HappyPikachu
58c16ba2ba Add Horse to tameable mobs, fixes #49 2015-03-11 17:46:24 -04:00
HappyPikachu
b3e61a50a2 Increment version number 2015-03-10 11:12:26 -04:00
Morphan1
25dd3759ae Update pom to use the Maven repository for Denizen and Citizens2 2015-03-07 15:01:58 -05:00
HappyPikachu
127f6bfdf2 Compile against Denizen 0.9.6 2015-03-06 23:21:07 -05:00
FlyingPikachu
138a55663f Merge pull request #42 from SXRWahrheit/patch-1
Update imports for Denizen, fixes #41
2015-03-06 23:09:51 -05:00
SXRWahrheit
769ed81623 Remove full core import per mcmonkey 2015-03-05 15:50:00 -08:00
Spencer Alderman
33a728dca8 Make Map field implementation non-specific to avoid NoSuchMethodError between Java versions 2015-03-05 18:09:32 -05:00
SXRWahrheit
cd8779b051 Update imports for Denizen
I haven't tested this myself, but I mucked around in the Denizen repositories and this appears to be the correct pathing.

https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/net/aufdemrand/denizencore/DenizenCore.java
https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/net/aufdemrand/denizencore/scripts/ScriptRegistry.java
2015-03-05 07:11:40 -08:00
HappyPikachu
83b7e9e15e GUIs will display item lore if set, fixes #38 2015-03-04 17:36:30 -05:00
HappyPikachu
4a29398fc3 Add Depth Strider enchantment 2015-03-04 14:40:15 -05:00
HappyPikachu
865c3d2f02 Increment version number 2015-03-01 03:45:14 -05:00
HappyPikachu
45e52d8030 Update GUI implementation and correct some text, fixes #34 2015-03-01 03:35:44 -05:00
HappyPikachu
72f0416dd9 Remove Blackvein's snooper 2015-02-28 12:35:46 -05:00
HappyPikachu
7d17c31e67 Increment version number 2015-02-27 23:51:11 -05:00
HappyPikachu
6a11e4fc39 Stone Miner should mine stone 2015-02-27 23:50:41 -05:00
HappyPikachu
3a6a645339 Clear console spam, fixes #26 and #29 2015-02-27 23:49:55 -05:00
HappyPikachu
05e2e5c9de Increment version number 2015-02-27 14:14:44 -05:00
HappyPikachu
f73e99613f Revert previous commit 2015-02-27 13:42:30 -05:00
HappyPikachu
6b6ba2f5ac https://gist.github.com/AlainODea/1375759b8720a3f9f094 2015-02-24 17:51:58 -05:00
HappyPikachu
01e7db0390 Revert 8f0daba6f1, try something else 2015-02-22 19:57:52 -05:00
HappyPikachu
443ac6f3e3 Respond to PlayerMoveEvent less often 2015-02-21 23:07:41 -05:00
HappyPikachu
a2f9119c82 Remove unnecessary class 2015-02-21 23:01:18 -05:00
HappyPikachu
8f0daba6f1 Another possible fix for tickets #4 & #13 2015-02-21 11:01:55 -05:00
HappyPikachu
a221acc313 Increment version number 2015-02-20 11:41:20 -05:00
HappyPikachu
a7f5312579 Better parsing of mob names, fixes #22 2015-02-20 00:02:27 -05:00
HappyPikachu
10ec9b17d9 Update current language file 2015-02-19 13:24:22 -05:00
HappyPikachu
822b0f32d5 Revert building against Spigot, suppress getShooter() warning 2015-02-18 14:12:58 -05:00
HappyPikachu
efd161e97f Journal message for no accepted quests, fixes #21 2015-02-18 13:47:57 -05:00
HappyPikachu
6293ff4282 Increment version number 2015-02-18 13:02:07 -05:00
HappyPikachu
bba87b3233 Match block names correctly in stage prompts 2015-02-18 13:00:53 -05:00
HappyPikachu
040ead52db Increment version number 2015-02-15 21:08:47 -05:00
HappyPikachu
6268966136 Use new EnumParticle, fixes #8 2015-02-15 21:06:29 -05:00
HappyPikachu
084d4f7e0a Output readable error for invalid quester-blacklist 2015-02-15 18:48:17 -05:00
FlyingPikachu
049c3977d8 Merge pull request #15 from elBukkit/master
Fix Issue#10 : Handle TNT and Projectiles in Kill Mob Objective
2015-02-15 18:45:15 -05:00
Nathan Wolf
a8da2268a5 Comment out a stack trace that gave me a 15GB log file 2015-02-15 13:00:46 -08:00
Nathan Wolf
8af8ee74e0 Give credit for killing mobs via TNT 2015-02-15 13:00:25 -08:00
Nathan Wolf
8e5e8d34bd Fix handling of projectile-based kills 2015-02-15 12:40:47 -08:00
HappyPikachu
d3317fc755 Correctly handle invalid dye colors, fixes #9 2015-02-15 12:40:45 -05:00
HappyPikachu
6ced514a1d Use int for particle packets, add check for more effects 2015-02-15 10:45:23 -05:00
HappyPikachu
e5dafd790f Update effects 2015-02-14 22:28:20 -05:00
HappyPikachu
ac09b2da8a Correct server version check for effects 2015-02-14 17:24:48 -05:00
HappyPikachu
6499bf9cac It's blue, not aqua! 2015-02-11 21:54:54 -05:00
HappyPikachu
d0878b395c Increment version number 2015-02-11 20:08:49 -05:00
HappyPikachu
9f9e94422e Fix item prompts (including load from hand), add invalid delivery item
msg and update lang
2015-02-11 20:05:45 -05:00
HappyPikachu
d8bb3718c8 Possible fixes for tickets #4, 5 & 6 2015-02-09 19:45:13 -05:00
HappyPikachu
52c1da74a2 Increment version number 2015-02-09 18:45:32 -05:00
HappyPikachu
549fe3f484 Remove extra enable message 2015-02-09 18:39:46 -05:00
HappyPikachu
cce69e9431 Check for invalid item names correctly 2015-02-09 18:07:27 -05:00
HappyPikachu
a01de064e5 Remove bad parsing of mob names 2015-02-09 18:01:57 -05:00
HappyPikachu
aea3f7ca28 Increment version number 2015-02-08 22:10:59 -05:00
HappyPikachu
48e2cd647c Show item display names correctly 2015-02-08 22:08:40 -05:00
HappyPikachu
1e648acd17 Increment version number 2015-02-05 12:05:45 -05:00
HappyPikachu
e3f17616c2 Disregard default quester-blacklist node value 2015-02-05 12:04:59 -05:00
HappyPikachu
4d51abda67 Increment version number 2015-02-05 00:24:02 -05:00
HappyPikachu
2ee3021645 Support name changing with UUIDs pt. 2 2015-02-05 00:23:21 -05:00
HappyPikachu
d60ded0302 Fix events not being editable after creation 2015-02-05 00:08:54 -05:00
HappyPikachu
9917f81c1c Support name changing with UUIDs 2015-02-04 23:59:03 -05:00
HappyPikachu
a31d435809 Correct Lang issue 2015-02-04 23:19:50 -05:00
HappyPikachu
8fc6242610 Increment version number 2015-02-04 12:00:07 -05:00
HappyPikachu
b8b954cc37 Use item name in default events.yml, update lang phrase 2015-02-04 11:57:12 -05:00
HappyPikachu
db3d21afbc Increment version number 2015-02-03 17:46:20 -05:00
HappyPikachu
ad787f8eeb Final commit. Ready to go! 2015-02-02 12:23:12 -05:00
HappyPikachu
d85e7c5a57 Catch NullPointerException on PlayerQuit 2015-01-30 22:58:47 -05:00
HappyPikachu
02968a47e4 PhatLoots should be soft-depend 2015-01-30 22:26:40 -05:00
HappyPikachu
65a3031a8b Remove debug messages 2015-01-30 22:20:43 -05:00
HappyPikachu
7c333095fc Bug fixes 2015-01-30 22:11:11 -05:00
HappyPikachu
c78a1aae05 Test commit 2015-01-07 21:56:46 -05:00
HappyPikachu
a8754bfa13 Actually return null 2015-01-07 15:55:58 -05:00
HappyPikachu
672f8b9732 Use plugin logger, seperate 'quests.entity.*' check 2015-01-07 15:20:06 -05:00
Valar_Dev
72dbed3173 added permission checks for "quests.admin.*" 2015-01-06 17:12:36 -06:00
Valar_Dev
9194215a11 Merge branch 'master' of https://github.com/FlyingPikachu/Quests.git 2015-01-06 10:30:00 -06:00
Valar_Dev
c7c4d05759 There must have been some malformed config 2015-01-06 10:29:53 -06:00
HappyPikachu
c7b39f9a9b Update config 2015-01-06 00:43:16 -05:00
HappyPikachu
6ae68f16da Reflection attempt 2015-01-05 23:36:35 -05:00
HappyPikachu
ef84a325a6 Sorry Spigot! 2015-01-05 23:19:40 -05:00
HappyPikachu
e19082d89e Update WE/WG and Heroes dependencies, check UUIDs for Heroes players,
dust off deprecated methods
2015-01-05 21:52:43 -05:00
HappyPikachu
1aa81ef940 Update getShooter() to getLastDamageCause() for players 2015-01-05 19:48:38 -05:00
HappyPikachu
84a38a9aa8 Soft-depend PhatLoots 2015-01-05 19:41:04 -05:00
HappyPikachu
75b4d871af Let's go Spigot! 2015-01-05 19:34:29 -05:00
HappyPikachu
a62861374f Update deprecated methods 2015-01-05 19:26:10 -05:00
HappyPikachu
a3f78da996 Add QuestData UUIDs 2015-01-05 19:17:32 -05:00
HappyPikachu
68e60e6111 Replace block/item IDs with names 2015-01-05 18:58:09 -05:00
HappyPikachu
456ff174ba Update getShooter() to getLastDamageCause() 2015-01-05 12:51:59 -05:00
HappyPikachu
65c0c4f3df Update getName() to name(), suppress unchecked types 2015-01-05 12:38:38 -05:00
HappyPikachu
85d5dc0414 Update health to float, begin adding serialVersionUIDs 2015-01-05 12:31:02 -05:00
HappyPikachu
2c10b2a2bc getEyeLocation() workaround 2015-01-05 12:21:09 -05:00
HappyPikachu
001b643b16 Yo index chill out 2014-11-09 20:25:25 -05:00
HappyPikachu
fc45377a1d Nope, let's try !isEmpty() 2014-11-08 13:06:25 -05:00
HappyPikachu
9f026a8cd2 Another .size() 2014-11-08 12:56:33 -05:00
HappyPikachu
f19b094010 Try using .size() 2014-11-08 00:06:54 -05:00
HappyPikachu
cd66df8f79 Fix bad commit 2014-11-07 20:55:50 -05:00
HappyPikachu
4855c5feb4 Die error, die! 2014-11-07 17:59:01 -05:00
HappyPikachu
e1c67a9b0d Yet again, IndexOutOfBoundsException. Revert 9bcec74 2014-11-07 00:22:45 -05:00
Valar_Dev
9bcec74bfa sorry but I undid the previous commit b/c of what i said in the comment
about supering.
2014-11-06 21:38:58 -06:00
HappyPikachu
7d911fe517 Fix login error 2014-11-05 22:49:26 -05:00
Valar_Dev
69152d7061 Attempt at /quests top again 2014-11-05 21:45:41 -06:00
HappyPikachu
19e9ff021a Fix another IndexOutOfBoundsException 2014-11-05 22:15:28 -05:00
Valar_Dev
8ace3d70eb Turns out the quester thing wasnt needed 2014-11-05 20:46:04 -06:00
Valar_Dev
4a9b8009c9 Fixed /quests top (I think) and a possible quester issue 2014-11-05 20:43:08 -06:00
HappyPikachu
a80b1085bd Hopefully fix IndexOutOfBoundsException 2014-11-05 21:36:19 -05:00
Blackvein
32a99bb3f1 Small changes 2014-08-22 02:58:21 -07:00
Blackvein
d5b3513a2f Finished Quest Journal 2014-08-22 01:01:09 -07:00
Blackvein
821af639aa Started Quest Journal 2014-07-29 08:05:33 -07:00
Blackvein
063b8fdd6d Refactoring begun (UNSTABLE) 2014-07-24 15:53:43 -07:00
Blackvein
453cf15f8f Minor changes 2014-07-22 14:00:28 -07:00
Blackvein
75ab54a82e Continued UUID Conversion (Needs testing)
Updated for 1.7.9.10
2014-07-14 22:57:21 -07:00
G Krupa
9e4c076537 extract methods 2014-07-13 09:38:10 -07:00
G Krupa
0e1100f812 multi-string errors when skipping 2014-07-13 09:38:10 -07:00
G Krupa
f4c4f3895b replace print/throw w/single statement 2014-07-13 09:38:10 -07:00
G Krupa
8add179b45 collapse error and exception in one line 2014-07-13 09:38:10 -07:00
G Krupa
3b49c461f1 step toward bigger refactor
- replace 'continue' w/a try/catch/throw to skip loop iterations
  (enables "extract method" refactors later)
2014-07-13 09:38:10 -07:00
G Krupa
b3fc2a432e extract method 2014-07-13 09:38:10 -07:00
G Krupa
164507fd9c refactor and simplify
- rename variables to descriptive names
- cleanup params of earlier extracted method
- only try/catch around code that'll throw, not the entire thing
2014-07-13 09:38:10 -07:00
G Krupa
82d9f774a0 factor out huge for() loop from loadQuests()
modifies two or three flags
- turned one into a private member
- other is return value
- third was converted to a thrown exception

believe no functional change, though wasn't a straight-forward automated refactor
2014-07-13 09:38:10 -07:00
G Krupa
cdc1961782 refactor; extract methods to reduce method size 2014-07-13 09:38:09 -07:00
Blackvein
9df95187fb Started UUID Conversion 2014-07-11 15:50:51 -07:00
Blackvein
79ddad8b9e Finished version 1.9.0
Completed language file
Added legacy support
2014-07-08 17:30:33 -07:00
Blackvein
8a574bc9f3 Updated to 1.7.9-R0.2 2014-06-19 05:24:25 -07:00
Blackvein
0fbcc75cbf Finished GUI Display
Updated libraries
2014-05-14 18:43:25 -07:00
Blackvein
cbb9638d64 Continuing GUI Display 2014-05-13 18:19:16 -07:00
Blackvein
a97b31c26a Started Quest GUI Display 2014-05-13 11:21:55 -07:00
Blackvein
86460d2bdc Fixed item lore requirement bug 2014-03-10 13:26:06 -07:00
Blackvein
fe19fd4fe6 Added multiple password phrase functionality
Fixed redo delay bug
2014-03-08 12:59:58 -08:00
Blackvein
7722ccead4 Started Update (Unstable) 2014-03-04 07:33:13 -08:00