Commit Graph

1004 Commits

Author SHA1 Message Date
fullwall
5a9fb3e1ab Move FlyingUtil methods to NMS and Util 2013-11-05 21:38:08 +08:00
fullwall
4c9d80a464 Implement new methods, add /npc flyable command, and add some missing messages 2013-11-05 21:35:26 +08:00
fullwall
b4076c23db Use new getEntity() call 2013-11-05 19:29:18 +08:00
fullwall
014a47faa0 Ignore cancelled block click events 2013-11-05 13:17:36 +08:00
fullwall
5ee4538fc4 Set event priorty to MONITOR for right click entity events 2013-11-05 13:08:01 +08:00
fullwall
2e56b1f5e8 Add a new command to set avoiding water while pathfinding 2013-11-04 23:42:32 +08:00
fullwall
4bbac37918 Add FlyingAStarNavigationStrategy 2013-11-04 21:33:56 +08:00
fullwall
7235b6afee Send movement updates more often 2013-10-27 18:01:28 +08:00
fullwall
9980fa7c05 Change EnderCrystalMarker to use endersignals instead 2013-10-21 00:38:51 +08:00
fullwall
c850e842bd Change debug-pathfinding node 2013-10-21 00:26:01 +08:00
fullwall
f7ce723494 Remove debug code in guided waypoint provider, add 'toggle path' to avoid showing waypoint markers 2013-10-21 00:24:48 +08:00
fullwall
7d8389b736 Remove waypoint provider goal when providers change 2013-10-21 00:13:03 +08:00
fullwall
a0c6039e8e Add debug-pathfinding setting 2013-10-20 18:52:57 +08:00
fullwall
c538a18471 Set pathfinding range on strategy switch 2013-10-20 00:11:53 +08:00
fullwall
7229958dcf Merge branch 'master' of https://github.com/CitizensDev/Citizens2 2013-10-17 15:28:06 +08:00
fullwall
10ba87e552 Ignore cancelled right click events 2013-10-17 15:27:53 +08:00
Jeremy Schroeder
8149d1cfff Don't add 1 to y-axis when using -c modifier for /npc anchor. 2013-10-15 21:07:59 -04:00
Jeremy Schroeder
6d30964c75 Formatting to Pose toString(), add 1 block in the y-axis to '/npc anchor --add name -c' to avoid NPCs having anchors waste-deep. Have /npc anchor show anchors which are 'currently unloaded'. 2013-10-15 20:57:41 -04:00
Jeremy Schroeder
d2fa637d7d Allow anchors for locations in worlds which are currently not loaded. 2013-10-15 20:56:20 -04:00
Jeremy Schroeder
d88215c563 Fix SpeechController 'Chat' VocalChord when talkign with multiple entities. 2013-10-15 20:54:58 -04:00
fullwall
24cee62ea8 Merge pull request #26 from oloflarsson/betterperms
Add missing permission nodes for a few traits.
2013-10-03 07:08:42 -07:00
Olof Larsson
2819da6678 Add missing permission nodes for a few traits.
I missed a few traits when creating permission nodes in my previous pull request. In this pull request I have added the missing ones by taking a look in the class "net.citizensnpcs.npc.CitizensTraitFactory".

Signed Off By: Olof "Cayorion" Larsson
2013-10-03 12:06:11 +02:00
fullwall
a34b78c9e5 Merge pull request #25 from oloflarsson/betterperms
Superperms compliant plugin.yml. Fixes CITIZENS-705.
2013-10-03 02:42:21 -07:00
Olof Larsson
ccce8a249a Superperms compliant plugin.yml. Fixes CITIZENS-705.
In this commit I have registered all permissions used in the source code. I have also manually created all applicable wildcard (.*) nodes. By doing this no external
permission manager plugin is required. Additionally external permission managers that are superperms based will now work without bugs.

This commit is 99% backwards compatible current server configurations. The only change made to the nodes is the removal of underscores in citizens.npc.controllable.*
permissions. This change was made to achieve consistency with citizens.npc.create.* permissions.

Signed Off By: Olof "Cayorion" Larsson
2013-10-03 03:02:46 +02:00
fullwall
cac5a5387d Fix some bugs in the new guided finder based on testing with Jeebiss 2013-10-03 00:00:36 +08:00
fullwall
d59cdddc2f Remove some usage of deprecated calls 2013-10-01 22:14:03 +08:00
fullwall
b8b89c43a5 Rename JeebissFinder to Guided and make it work 2013-10-01 12:16:20 +08:00
fullwall
42172100ab Work on new waypoint provider 2013-09-26 23:55:12 +08:00
fullwall
d75f380084 Increment version number 2013-09-21 16:48:11 +08:00
fullwall
002cf97913 First pass at 1.6.4 2013-09-21 00:01:39 +08:00
fullwall
0f0e108950 Send location update packets every so often 2013-09-18 10:23:33 +08:00
fullwall
815733c2ad Breaking change: add new registry param to CitizensNPC constructor 2013-09-11 22:27:24 +08:00
fullwall
50a43d6116 Reorder highest/lowest calculations - may fix issues with using remove() 2013-09-10 23:55:58 +08:00
fullwall
c25a747500 Remove PlayerEntitySenses workaround 2013-09-02 12:04:45 +08:00
fullwall
8ef0d56bb3 New pathfinder no longer considers diagonals 2013-09-01 21:47:38 +08:00
fullwall
372ff072d7 Fix pom 2013-08-26 12:31:55 +08:00
fullwall
d7b50e17ae Don't call bukkitEntity.teleport too early for player entities 2013-08-23 20:51:58 +08:00
fullwall
2624eea3b1 Remove NPCVehicleExitEvent 2013-08-18 14:04:15 +08:00
fullwall
57ead921a2 Allow Conversable rather than Player in SelectionPrompt 2013-08-16 12:12:17 +08:00
fullwall
9fc7c43ea5 Call NPCVehicleExitEvent properly for all vehicle exits 2013-08-15 17:23:36 +08:00
fullwall
bc5704128a Trim name length to 16 chars not 15 2013-08-14 22:53:00 +08:00
fullwall
c4703e1f62 Call NPCVehicleExitEvent for controllables, possibly fix a despawn/respawn bug 2013-08-13 12:20:57 +08:00
fullwall
ef503120fa Possible fix and optimisation for PlayerEntitySenses 2013-08-12 17:32:16 +08:00
fullwall
0ce5eaeafe Add citizens.npc.trait.* permission 2013-08-11 13:27:47 +08:00
fullwall
ad3e73c384 Call new event 2013-08-11 12:27:54 +08:00
fullwall
5c4af2f4b9 add /npc controllable -y | -n 2013-08-11 12:20:15 +08:00
fullwall
4b6191b705 Eject player on quitting when mounted on an NPC 2013-08-10 20:32:30 +08:00
fullwall
2b0e7af138 Prevent NPE in moveto if NPC is not spawned 2013-08-10 18:03:20 +08:00
fullwall
5a3f616fe1 Improve Util#matchEntityType to check for an exact match first 2013-08-08 18:21:35 +08:00
fullwall
5df6499dae Allow /npc remove to ignore the ownership requirement when called from console 2013-08-07 23:39:26 +08:00