Commit Graph

357 Commits

Author SHA1 Message Date
Nathan Wolf
afdc5760ae Reset quest compass target on changing worlds or respawning 2016-03-07 11:28:26 -08:00
Nathan Wolf
41cadcdc0a Force a compass target update when checking on quests, as a failsafe 2016-03-07 11:27:44 -08:00
Nathan Wolf
391daf18e6 Work-around another compass issue, seems like a strange one though. 2016-03-07 11:03:04 -08:00
Nathan Wolf
682da2f55e Update compass target when finishing a quest 2016-03-04 17:24:00 -08:00
Nathan Wolf
8ca0e797a4 Improve compass resetting behavior with multiple active quests 2016-02-29 12:12:57 -08:00
Nathan Wolf
d9b0acd73f Some safety protection to loading bad Quester data 2016-01-22 12:05:38 -08:00
FlyingPikachu
a81ce1bca3 Merge pull request #252 from DanyBv/patch-1
Changed "initial-event" to "event"
2015-12-27 13:48:31 -05:00
DanyBv
95489d7a16 Changed "initial-event" to "event"
Because at the starting of the quest "event" was checked and not "initial-event" it didn't work this way...
2015-12-24 16:44:38 +02:00
Nathan Wolf
c2e252f539 Handle missing stages in CustomObjective.getDatamap. TODO: Figure out how this happened, clean up on Quester load 2015-12-16 11:41:36 -08:00
Nathan Wolf
4c319c81ec Remove debug print, sorry about that! 2015-12-16 11:31:23 -08:00
Nathan Wolf
23304e0b1d Avoid constant out of range exceptions when a players' current quest/stages lists get out of sync. Not sure why this happens, though. 2015-12-14 17:15:54 -08:00
Nathan Wolf
322c2d908a Some fixes to /questsadmin reset 2015-12-14 11:05:44 -08:00
Nathan Wolf
c75f679158 Add use-compass option to config, true by default 2015-12-13 19:37:05 -08:00
Nathan Wolf
fb3f95b75c Fix an NPE that pops up in various places when a quest has no data 2015-12-11 19:30:52 -08:00
Nathan Wolf
01e8d5f432 Fix a possible NPE handling the death event (this may have been with an invalid quest.. no stage somehow?) 2015-12-11 19:26:55 -08:00
Nathan Wolf
cd4e6dae7a Fix some issues with /questsadmin reload and the new compass code 2015-12-03 10:56:37 -08:00
Nathan Wolf
8e9f002ce1 Color finish messages light aqua 2015-12-02 13:05:27 -08:00
Nathan Wolf
5c246a20c6 Remove debug print :( 2015-12-02 11:52:08 -08:00
Nathan Wolf
cff791cfbc Reset compass to bed location, if set 2015-12-02 11:38:07 -08:00
Nathan Wolf
6bb17a08f4 Add /questsadmin reset command 2015-12-02 10:49:54 -08:00
Nathan Wolf
21b0a8ade8 Don't save metadata along with the gui display icon 2015-12-02 09:03:25 -08:00
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
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
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
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
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
bff39b92cc Update blacklist, add purge sub-command 2015-03-23 10:20:15 -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
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
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
3137d99b29 Add files 2015-03-12 22:19:25 -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
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
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
3a6a645339 Clear console spam, fixes #26 and #29 2015-02-27 23:49:55 -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
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
bba87b3233 Match block names correctly in stage prompts 2015-02-18 13:00:53 -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
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
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
48e2cd647c Show item display names correctly 2015-02-08 22:08:40 -05:00
HappyPikachu
e3f17616c2 Disregard default quester-blacklist node value 2015-02-05 12:04:59 -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
b8b954cc37 Use item name in default events.yml, update lang phrase 2015-02-04 11:57:12 -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