Commit Graph

556 Commits

Author SHA1 Message Date
Jeremy Schroeder
669da4fc95 Fix small bugs/update to /npc position. Add /npc position --remove [name]. 2012-09-28 12:02:05 -04:00
Jeremy Schroeder
3748ee098f Beef up /npc position. Add --save and --load for storing/recalling positions. Example: /npc positions --save position_1 -a ... continue to use -a for making the NPC assume that position. Using /npc position alone will list positions. Using -a alone will neither save nor load, just assume. 2012-09-28 10:25:00 -04:00
fullwall
a938fd3f07 Allow markers to be right clicked to update editing slot 2012-09-28 18:10:17 +08:00
fullwall
5d80957236 Changes to /npc position 2012-09-28 18:03:17 +08:00
fullwall
da723d47e8 Merge branch 'master' of github.com:CitizensDev/Citizens2 2012-09-28 17:56:47 +08:00
fullwall
6053800129 Fix some bugs with waypoints, add waypoint markers 2012-09-28 17:56:16 +08:00
Jeremy Schroeder
e7daa38eef Add '/npc position -a' to have the NPC's head assume the position of the Player's head. 2012-09-27 18:03:04 -04:00
Jeremy Schroeder
2d78bdaad0 Add 2012-09-27 17:59:32 -04:00
fullwall
cf09688a79 Fix some navigation bugs (thanks jrbudda) 2012-09-24 16:40:13 +08:00
fullwall
491f566e2a Revert "Implement new selector"
This reverts commit 959b8b774f.
2012-09-23 13:07:30 +08:00
fullwall
959b8b774f Implement new selector 2012-09-22 16:31:53 +08:00
fullwall
547df2487f Change Navigation world when the entity changes world 2012-09-22 16:09:40 +08:00
fullwall
22ace31fbe Fix payment 2012-09-22 13:03:52 +08:00
fullwall
6ce2b9c2d2 Enable subplugins earlier 2012-09-20 08:52:44 +08:00
fullwall
a7e926b44a Fix format specifiers in waypoint editor 2012-09-17 23:06:52 +08:00
fullwall
b90a0f6b45 Allow npcs to be created unspawned with the -u flag 2012-09-17 21:49:28 +08:00
fullwall
f2608e3c8d Fix CITIZENS-186 2012-09-17 18:20:15 +08:00
fullwall
f0de2fbfe5 Fix CITIZENS-190, add more translations 2012-09-17 18:16:27 +08:00
fullwall
fb66286117 Fix CITIZENS-191 2012-09-17 17:54:56 +08:00
fullwall
93d1c35305 Fix jrbuddas reported bugs 2012-09-17 17:18:17 +08:00
fullwall
6b2b11b90d More work on translations 2012-09-16 19:20:01 +08:00
fullwall
0baac5d002 Begin work on translation 2012-09-16 16:47:41 +08:00
fullwall
0c32720fb3 Fix up trait command requirements, add /trait add|remove 2012-09-16 14:35:04 +08:00
fullwall
1394ec9c9a Implement new trait methods 2012-09-16 12:29:08 +08:00
fullwall
d3ae5bcd61 Add setting for removing NPCs from player list (testing it out), --trait is applied after spawn 2012-09-16 12:04:14 +08:00
fullwall
e2b0af6ac1 Changes 2012-09-14 16:20:22 +08:00
fullwall
d7c5c60377 Possible fix for spawning bugs... TODO implement better 2012-09-14 15:21:07 +08:00
fullwall
8823a4b77f Changes 2012-09-14 14:53:25 +08:00
fullwall
3adaa8a04f Update pathfinding range more often 2012-09-13 21:11:17 +08:00
fullwall
57a491fb8b Some basic refactoring 2012-09-13 21:02:55 +08:00
fullwall
1b96cdf34b Fix for subplugins 2012-09-13 20:39:52 +08:00
fullwall
9b1a53fcab Workaround for metadata issue 2012-09-12 21:18:47 +08:00
fullwall
136161c18e Revert "Removed NPC metadata for checking that an entity is an NPC; Bukkit will not be fixing this per BUKKIT-2501"
This reverts commit 91d4ba0151.
2012-09-12 20:32:31 +08:00
fullwall
91d4ba0151 Removed NPC metadata for checking that an entity is an NPC; Bukkit will not be fixing this per BUKKIT-2501 2012-09-12 17:06:21 +08:00
fullwall
0052596444 Fix NPE 2012-09-11 15:54:27 +08:00
fullwall
5b9cf50b8e Test fix for pathing 2012-09-10 22:40:25 +08:00
fullwall
d08c1dc623 Check if navigator is navigating in waypoints 2012-09-10 20:20:01 +08:00
fullwall
1986b6203e Fix to Age, cancel navigation target if npc despawns 2012-09-10 19:16:37 +08:00
fullwall
5bc0f427e6 Update list without iterator 2012-09-10 17:58:12 +08:00
fullwall
d83a0ceaf6 Remove debug code in /npc 2012-09-10 17:41:44 +08:00
fullwall
6565424031 Add /npc vulnerable command 2012-09-09 21:39:53 +08:00
fullwall
338a853b79 Fix some issues with Navigator as reported by jrbudda 2012-09-09 18:47:25 +08:00
fullwall
f62e536473 Allow selected NPC redefinition in all cases 2012-09-09 18:02:39 +08:00
fullwall
1a8d4fe7f8 Support alternative format for /npc moveto 2012-09-09 17:59:38 +08:00
fullwall
6ed52a79ca Typo 2012-09-09 17:52:36 +08:00
fullwall
01ec75e254 Better usability for commands which require an NPC to be selected 2012-09-09 17:52:00 +08:00
fullwall
7d214ffce9 Small change, not sure if it will fix anything 2012-09-09 17:35:26 +08:00
fullwall
7abdca47a5 Implement new method 2012-09-09 10:36:50 +08:00
fullwall
8f1b6d7c33 Save immediately on shutdown 2012-09-08 23:30:18 +08:00
fullwall
2b08e7dbeb Filter out commands when the player does not own the NPC 2012-09-07 20:52:33 +08:00
fullwall
2a33588a85 Fix 2012-09-07 20:28:09 +08:00
fullwall
b69b6091b6 Fixes, flyable NPCs 2012-09-07 20:12:32 +08:00
fullwall
124642eb55 Uncomment motion handling for human npcs 2012-09-07 18:28:29 +08:00
fullwall
be84708f90 Update push event handling 2012-09-07 18:25:54 +08:00
fullwall
073ee8a65f Change StuckAction implementation 2012-09-07 16:38:18 +08:00
fullwall
3d9ae92a8f Change 2012-09-07 16:15:51 +08:00
fullwall
4073ceea54 2.0.1 2012-09-06 17:35:10 +08:00
fullwall
a8f4852a9c Set compatibility string to 1.3.x 2012-09-05 18:52:12 +08:00
fullwall
43efbe18d2 Refactor CancelReason event firing, NPCs should teleport if no path can be found 2012-09-04 21:11:45 +08:00
fullwall
76e954f2f2 Don't overwrite saves file if it failed to load 2012-09-04 19:59:46 +08:00
fullwall
f75b33dfce Changes to navigator 2012-09-03 22:12:38 +08:00
fullwall
fae265b22b Make local params actually local 2012-09-03 16:04:34 +08:00
fullwall
fcf8bf1f88 Fix stationary ticks 2012-09-03 16:01:45 +08:00
fullwall
7377093c6a Explicitly shutdown the navigator 2012-09-03 15:58:21 +08:00
fullwall
9d33257deb Scheduler update may have broken yaw updating on spawn 2012-09-03 15:42:54 +08:00
fullwall
d43ee95408 Allow null in CitizensNPCRegistry#getNPC(Entity) 2012-09-03 15:40:40 +08:00
fullwall
634dd441cb Throw IOException 2012-09-02 11:12:29 +08:00
fullwall
3bb91d0fd1 Made intent clearer 2012-09-02 10:48:29 +08:00
fullwall
6d0086d54e Add easy way to control whether to protect NPCs 2012-09-01 23:28:56 +08:00
fullwall
a0573c8997 Make /npc speed modify the speed as a percentage 2012-09-01 23:17:07 +08:00
fullwall
32008a178d Update plugin.yml permissions 2012-09-01 23:15:03 +08:00
fullwall
50c18d22dd Fix some bugs, implement new navigation customisation 2012-09-01 23:09:42 +08:00
fullwall
8cae31cc88 Bugfixes 2012-09-01 18:05:22 +08:00
fullwall
ab3e917f37 Better output for /npc copy 2012-09-01 15:10:16 +08:00
fullwall
47c5775a95 Fix? 2012-09-01 14:26:54 +08:00
fullwall
1b3d81f019 Don't use ignoreCancelled on entitytarget/damage 2012-08-31 22:19:04 +08:00
fullwall
54a2527534 Implement NPC limits 2012-08-29 21:37:00 +08:00
fullwall
c96e0b9245 Nicer output for --trait 2012-08-28 19:38:11 +08:00
fullwall
fca99af3ba Fix pathfinding range 2012-08-27 23:18:12 +08:00
fullwall
2312b66297 Update for 1.3.2, reuse instances when loading 2012-08-26 21:04:07 +08:00
fullwall
28356f54a0 Implement changes 2012-08-25 10:40:36 +08:00
fullwall
98e8b3e991 Enable player swimming 2012-08-19 12:59:32 +08:00
fullwall
080e652124 Bugfix 2012-08-19 12:51:45 +08:00
fullwall
07edf17dae Bugfix 2012-08-18 15:13:33 +08:00
fullwall
17366cba20 Bugfix 2012-08-17 22:05:30 +08:00
fullwall
72aeffe3fe Null checks when searching for Vault 2012-08-17 15:12:54 +08:00
fullwall
2a6870da14 Remove pointless abstraction in WaypointGoal, made it a bit faster when only one waypoint 2012-08-16 23:15:10 +08:00
fullwall
ae20494f92 Implement NPCDamageByBlockEvent 2012-08-16 00:13:46 +08:00
fullwall
e393f2d38b Add message for NPCPayListener 2012-08-16 00:08:36 +08:00
fullwall
2fceea7d23 Vault support 2012-08-16 00:06:13 +08:00
fullwall
6c93fad879 Check for null in getBukkitEntity() fix issue in Text 2012-08-12 14:39:44 +08:00
fullwall
e0638f2df7 Bugfixes, speed updates during pathfinding 2012-08-07 22:04:52 +08:00
fullwall
e51a671862 Trait commands act as toggle 2012-08-06 17:26:17 +08:00
fullwall
eacf70202d Fix traits/lookclose, use less memory in MCTargetStrategy, improve Behaviour (ie. scripts don't need to implement hashCode() any more) 2012-08-06 17:22:04 +08:00
fullwall
358cf996b1 Move trait commands, /npc copy 2012-08-05 21:07:42 +08:00
fullwall
52e393b44b Experimental change to use less memory for sockets - may break player NPCs 2012-08-05 14:21:34 +08:00
fullwall
90e5b4b2d9 Forgot this 2012-08-05 14:16:11 +08:00
fullwall
6a322f7f25 Support spaces in names for /npc rename 2012-08-05 14:15:04 +08:00
fullwall
378077edd6 Update for new YamlStorage constructor 2012-08-05 13:19:16 +08:00
fullwall
e4ccfc10fe Change settings node 2012-08-04 23:19:22 +08:00