sanjay900
0ed3235258
Appearently i was working off of an old copy of messages_en
2014-12-18 22:57:20 +13:00
sanjay900
f1ec5a2248
Im an idiot...
...
Why did i set it every tick?
2014-12-18 22:55:30 +13:00
sanjay900
249ef8ec41
Allow Rabbits to have their types set.
...
Added command and trait.
messages_de, messages_fr and messages_nl need
citizens.commands.npc.rabbittype.set
citizens.commands.npc.rabbittype.invalid-type
2014-12-18 22:36:44 +13:00
fullwall
954a3bd27b
Add some settings to control NPC skin retries
2014-12-17 19:48:47 +08:00
mcmonkey4eva
2ecddf6f87
Improve NPC pseudo-respawning
...
In initial testing, longer periods were better. However, that was before
a lot of recoding... shorter periods are now superior and keeping
significantly more NPCs visible (When dealing with batches so large that
the system fails to load them all)
2014-12-11 15:56:10 -08:00
mcmonkey
674bb60287
Fix teleport bugging
...
Teleporting forcibly rounds locations because @fullwall edited the roundLocation function to return the original, now modified location, rather than clone it as is necessary to avoid trouble. This restores the original roundLocation which will avoid that error.
2014-12-09 14:46:12 -08:00
fullwall
7ff6cfb364
Fix slime movement
2014-12-09 20:31:14 +08:00
fullwall
a6df72fa1b
Refactoring, remove some allocations
2014-12-08 15:45:09 +08:00
fullwall
b5cda10271
Merge pull request #139 from mcmonkey4eva/patch-2
...
First pass at removing NPCs from the playerlist
2014-12-08 15:17:15 +08:00
mcmonkey4eva
50fa13cef0
Handle all cases of the packet in NMS.java
2014-12-07 18:04:13 -08:00
mcmonkey4eva
ab67c208d1
Refactor
...
Move the playerlsit packet handling to the NMS class
2014-12-06 19:07:06 -08:00
mcmonkey4eva
33ef7d2a55
micro-efficiency, improvements
...
Don't call .getBlock which is both slow and doesn't work in all cases.
Also don't compare worlds by name, compare by instance.
2014-12-05 22:11:03 -08:00
mcmonkey4eva
1c6a1cc719
Third pass: packet magic to pseudo-respawn NPCs
...
also cache the NPC position to slightly improve efficiency. Micro-effic
matters a lot here.
2014-12-05 22:06:03 -08:00
mcmonkey4eva
306138165f
Second pass: error fixing, more invisibility fixes
...
Handle teleporting, avoid cross-world errors.
2014-12-04 16:12:45 -08:00
mcmonkey4eva
64ac8bed9e
First pass at removing NPCs from the playerlist
...
imperfect (causes pointless respawns) but a functional proof-of-concept.
2014-12-03 23:48:37 -08:00
mcmonkey4eva
32042d10e8
Disable bat AI, fixes #137
...
Bat AI wasn't overridden properly... now it is.
2014-12-03 22:38:05 -08:00
fullwall
35dccc8243
Fix player invisibility (note: they will appear on the tab list for now)
2014-12-01 13:40:46 +08:00
fullwall
7739e5df21
Fix tablist
2014-11-30 14:19:40 +08:00
fullwall
15efc9f838
Merge branch '1.8' of github.com:CitizensDev/Citizens2 into 1.8
2014-11-30 13:33:09 +08:00
fullwall
6ca4834e70
Fix player invisibility part 1
2014-11-30 13:32:35 +08:00
mcmonkey4eva
a89afc29d6
Allow lowercase entity types
2014-11-29 13:51:20 -08:00
fullwall
1b02573b9c
Add new entity controllers
2014-11-29 20:04:02 +08:00
fullwall
81872b6799
Update pass 1 to 1.8
2014-11-28 23:22:11 +08:00
fullwall
7e039a4a20
Minor style change
2014-11-26 14:12:13 +08:00
fullwall
2dfa2e660f
Fix /npc name for 1.8 protocol
2014-11-26 13:41:24 +08:00
fullwall
15e157b676
Add help text about leaving the text editor
2014-11-20 16:29:13 +08:00
fullwall
8ae49480ae
Set the default controllable behaviour to not require an owner (use the -o flag to require an owner)
2014-11-20 15:39:37 +08:00
fullwall
36b9a0c4c8
Hopefully fix NPC tablist issues
2014-11-17 10:32:16 +08:00
fullwall
3f95c57ea4
Add the skin flag set to all visible for 1.8 clients
2014-11-17 10:09:57 +08:00
fullwall
07b6c24f1d
Fix monsters despawning when an NPC of the same type is spawned
2014-11-16 23:43:01 +08:00
fullwall
b10299a742
Ignore profile UUID lookup failures
2014-11-16 22:17:35 +08:00
fullwall
7008ffd013
Change NPC UUID version to 2 for Minecraft
2014-11-15 15:47:41 +08:00
fullwall
651fbac979
Minor fix for player tab list
2014-11-06 23:07:23 +08:00
mcmonkey4eva
edbf8e6fda
Fix the sit animation, fixes #96
...
The task would fail to cancel properly, and sometimes fail to recognize
NPC removal.
In addition, gitignore maven and IntelliJ artifacts to give contributors
an easier time.
2014-10-31 16:27:19 -07:00
fullwall
ec2eae62b7
Merge branch 'master' of github.com:CitizensDev/Citizens2
2014-10-08 01:12:48 +08:00
fullwall
7c441bdefd
Send tablist packet globally
2014-10-08 01:12:22 +08:00
mcmonkey4eva
b5580ec70c
Fix NavigationStuckEvent set-null
...
If you set the action in a NavigationStuckEvent, it throws an NPE rather
than simply doing nothing. This patches that.
It also throws the event even when the default stuck action is null.
2014-10-04 14:06:15 -07:00
fullwall
9eeae0c5b3
Implement NavigationStuckEvent
2014-09-25 15:32:03 +08:00
fullwall
aa360652f1
Optimise 1.8 playerlist hack
2014-09-17 21:45:17 +08:00
fullwall
576e816399
Merge pull request #59 from sanjay900/master
...
1.8 PlayerList fix
2014-09-17 21:27:40 +08:00
sanjay900
0371c5245b
Remove obselete code
2014-09-17 13:39:48 +12:00
sanjay900
af92058273
Tab list compatibility fixes
...
Works with all versions of 1.7.10 including before and after the
protocol hack.
2014-09-17 11:27:56 +12:00
mcmonkey
1a1cdc05eb
Add citizens.npc.skin wildcard support
...
citizens.* and citizens.npc.* now include citizens.npc.skin
2014-09-15 18:54:58 -07:00
fullwall
b8242e2db5
Ender dragon shouldn't get its yaw set while flying
2014-09-15 15:26:07 +08:00
fullwall
e035ffde04
Fix issue #64
2014-09-15 15:17:48 +08:00
fullwall
7e5c0d8e24
Revert previous change
2014-09-12 21:46:42 +08:00
fullwall
8a1d8e3106
Early return instead of remove on a blockingdeque
2014-09-12 21:46:02 +08:00
fullwall
4e5348ce45
Fix some reported issues
2014-09-12 21:40:11 +08:00
fullwall
f021d5b855
Update GuidedWaypointProvider.java
2014-09-03 17:42:56 +08:00
fullwall
5e16260876
Remove tab list info temporarily until 1.8
2014-09-03 17:40:48 +08:00
fullwall
fc0f4585a2
Update GuidedWaypointProvider.java
2014-09-03 17:38:59 +08:00
fullwall
2addf9678c
Update GuidedWaypointProvider.java
2014-09-03 17:37:18 +08:00
fullwall
4b1737e128
Update PlayerAnimation.java
2014-08-28 23:32:43 +08:00
fullwall
6d8b40d3f1
Update CitizensNPC.java
2014-08-24 23:12:07 +08:00
fullwall
4e0169f5a0
Sitting animation sticks to EntityPlayer
2014-08-23 12:24:30 +08:00
fullwall
4e00828a89
A bugfix and some debug output for skins
2014-08-18 10:13:17 +08:00
fullwall
7a37058ff1
Reverse the delay order just in case
2014-08-12 15:55:07 -07:00
fullwall
4e6d0547c0
Use the NPC's UUID instead of a random one
2014-08-09 16:22:10 -07:00
fullwall
901f7ad654
Better UUID/skin cache behaviour
2014-08-09 01:21:33 -07:00
fullwall
7cb22cc1c5
Really rough delay when thottling hits
2014-08-07 22:24:23 -07:00
fullwall
39cc0c7d0b
Throttle skin requests to once every 5 seconds
2014-08-07 22:19:26 -07:00
fullwall
6631775294
Fix console spam from NPCs with fake names
2014-08-07 20:22:36 -07:00
fullwall
3fb0176c5d
Fix skin loading
2014-08-05 22:32:31 -07:00
fullwall
11a3608f5e
Fix profiles v2
2014-07-28 22:06:43 -07:00
fullwall
de742b8b52
Fix typo
2014-07-28 21:48:38 -07:00
fullwall
895b1728fc
Run skin fetcher again if denied due to too many requests
2014-07-28 21:47:03 -07:00
fullwall
0af7eee97e
Add trait
2014-07-20 18:15:28 -07:00
fullwall
72f0ff3ef0
Fix inWater
2014-07-18 23:02:27 -07:00
fullwall
b31a9532f7
Fix compile errror
2014-07-18 21:11:31 -07:00
fullwall
8902579c69
Changes to skin handling
2014-07-18 21:05:21 -07:00
fullwall
69bdc83f99
Set the flying block examiners correctly
2014-07-12 20:01:03 -07:00
fullwall
c8c1eb4d9c
Update WaypointCommands.java
2014-07-12 12:20:47 -07:00
Byteflux
163ff9fb19
1.7.10
2014-07-10 19:52:40 -07:00
fullwall
ca89aa1003
Remove scoreboards
2014-06-29 21:12:44 -07:00
fullwall
b44788510f
Link scoreboard
2014-06-29 20:39:48 -07:00
fullwall
d5162464bd
Fix more NPEs
2014-06-29 20:31:45 -07:00
fullwall
94340f15ff
Fix NPE
2014-06-29 20:27:51 -07:00
fullwall
9a998c149b
Ugly scoreboard persistence
2014-06-29 20:26:30 -07:00
fullwall
683ffc08f7
Fix /npc scoreboard
2014-06-29 19:40:32 -07:00
fullwall
8366b977ed
Update NPCCommands.java
2014-06-27 14:44:46 -07:00
fullwall
33b224a882
Merge branch 'master' of github.com:CitizensDev/Citizens2
2014-06-27 14:16:51 -07:00
fullwall
872b5ac56f
First pass of /npc scoreboard
2014-06-27 14:16:30 -07:00
fullwall
e06c654494
Update NPCCommands.java
2014-06-27 12:09:25 -07:00
fullwall
ab80e4432e
Allow /npc remove to use an id|name instead
2014-06-16 23:44:58 +08:00
fullwall
18b98eb609
Fix name tags affecting NPC names
2014-06-15 20:26:29 +08:00
fullwall
cda3171a87
Better skin handling for colored names
2014-05-30 01:05:53 +08:00
fullwall
355b46e573
Fix some bugs with sounds
2014-05-22 09:11:44 +08:00
fullwall
7a12d26a8e
Fix build
2014-05-09 19:24:39 +08:00
fullwall
3f22729ca9
Update LinearWaypointProvider.java
2014-05-09 00:31:27 +08:00
fullwall
190d8e823d
Update EditorCommands.java
2014-05-09 00:30:55 +08:00
fullwall
961a24f12c
Merge branch 'master' of https://github.com/CitizensDev/Citizens2
2014-05-07 16:42:20 +08:00
fullwall
66099d36af
Allow linear waypoint commands to be used from console
2014-05-07 16:41:53 +08:00
fullwall
9454a959c3
Silent Yggdrasil exceptions
2014-04-24 12:09:59 +08:00
fullwall
4835101af4
Fix NPE
2014-04-24 10:59:48 +08:00
fullwall
0af5f8bee1
Add skin handling and /npc skin (note: may not work in 1.8)
2014-04-18 16:38:44 +08:00
fullwall
c1b5fd78c2
Update MC_COMPATIBLE_VERSION
2014-04-18 11:02:08 +08:00
fullwall
55ab3e4b20
Update to 1.7.8
2014-04-12 22:59:56 +08:00
fullwall
be209a0c88
Remove /npc skin, fix duplicate NPCs on 1.7.8
2014-04-12 00:25:03 +08:00
fullwall
960b54d7d3
Persistence for item NPC ids and item frame NPC ids
2014-04-11 14:02:22 +08:00
fullwall
81afd8bada
Fix crash on 1.7.7
2014-04-10 23:18:26 +08:00
fullwall
c2750faf9c
Merge branch 'master' of https://github.com/CitizensDev/Citizens2
2014-04-09 21:35:32 +08:00
fullwall
89c7fef7fc
Fix /npc skin creating unloadable NPCs
2014-04-09 21:35:11 +08:00
fullwall
18219d4757
Merge pull request #28 from tuxillator/master
...
Added missing permissions for pathopt and swim commands.
2014-04-09 21:00:16 +08:00
fullwall
b1cbc4f409
Merge branch 'master' of https://github.com/CitizensDev/Citizens2
2014-04-08 16:53:19 +08:00
fullwall
560981e452
Change disable order
2014-04-08 16:52:53 +08:00
fullwall
c386b77f7c
Update MCTargetStrategy.java
2014-04-06 20:43:21 +08:00
fullwall
c2858ec81e
Update MCTargetStrategy.java
2014-04-06 20:19:15 +08:00
fullwall
99862ecf06
Player skin changes
2014-04-05 15:28:39 +08:00
fullwall
54bd62c414
Change /npc skin
2014-04-04 14:50:07 +08:00
fullwall
5184efa09c
Replace PlayerDeathEvent message skin name
2014-04-03 23:41:32 +08:00
fullwall
1093965f7a
Remove skeleton sounds with /npc skin
2014-04-03 23:24:04 +08:00
fullwall
fc835aa9dc
Add /npc skin
2014-04-03 23:01:27 +08:00
fullwall
a82dd10eef
Remove debug for chicken NPCs
2014-03-30 14:10:51 +08:00
Jeff Ferrari
9a94d9a99a
Added missing permissions for pathopt and swim commands.
2014-03-29 17:31:12 +08:00
fullwall
02c9d745e6
Check instanceof CraftEntity in a few more places
2014-03-27 22:17:11 +08:00
fullwall
8d14e90ef6
Initial update to MC 1.7.5
2014-03-23 17:34:02 +08:00
fullwall
1a8a9d1d6e
Add /template delete and fix templates
2014-03-17 18:16:59 +08:00
fullwall
317444c588
Add /template list
2014-03-17 17:45:43 +08:00
fullwall
db7d6035f4
Fix npc name length for players
2014-03-17 17:20:25 +08:00
fullwall
030c5b3e62
Possible fix for baby entities moving over time
2014-03-17 11:32:52 +08:00
fullwall
cbd561b089
Add setting for opening doors with the new pathfinder
2014-03-12 16:27:52 +08:00
fullwall
d5dcd11d19
Fix packet sending
2014-03-12 16:21:36 +08:00
fullwall
e92c980062
Less usage of player.getName()
2014-03-09 13:04:27 +08:00
fullwall
94418b0934
Soil is passable
2014-03-08 15:09:13 +08:00
fullwall
27a7b4e416
Fix /npc create
2014-03-07 23:51:07 +08:00
fullwall
dc0fc270f1
Add speed waypoint trigger, stop pathfinding if y < -5
2014-03-07 23:21:54 +08:00
fullwall
4b5100b9ce
Allow mobs to have name length 64
2014-03-07 23:13:36 +08:00
fullwall
22759739f1
Remove -24000 limit of /npc age
2014-03-07 13:08:24 +08:00
fullwall
f3e2ccb309
Restore changes
2014-03-04 19:51:14 +08:00
fullwall
28f3c587a7
Add --registry to /npc list, let getNPC(Entity) use the Entity handle
2014-03-04 19:49:32 +08:00
fullwall
63023cc54f
Merge branch 'master' of https://github.com/CitizensDev/Citizens2
2014-03-04 19:47:22 +08:00
fullwall
41e36da000
Add --registry argument to /npc list
2014-03-04 19:45:52 +08:00
fullwall
a5f13cf0f5
Update Controllable.java
...
Add a registerControllerType method
2014-03-03 00:15:19 +08:00
scizzr
53ab0d0703
Fix NPC renaming to parse colored names
2014-03-02 09:24:38 -05:00
fullwall
c651c61c37
Use getFullTime instead of getTime
2014-02-24 10:09:42 +08:00
fullwall
8700974e88
Better overriding of persistent check
2014-02-20 11:57:24 +08:00
fullwall
5b2e5323c3
Set step height to 1 for all living NPCs
2014-02-20 11:44:59 +08:00
fullwall
f897ab728d
Add packet update delay setting
2014-02-18 20:29:21 +08:00
fullwall
e248d3f7f9
Respect canSee when sending packets
2014-02-18 00:40:32 +08:00
fullwall
8c3ef5e629
Set /npc name as persistent
2014-02-01 22:48:48 +08:00
fullwall
db88b84c97
Allow /npc zombiemod to work for pig zombies
2014-02-01 22:43:46 +08:00
fullwall
29806e00e6
Add /npc minecart
2014-02-01 12:50:20 +08:00
fullwall
d7f483ccf9
Fix horse equipping
2014-01-31 11:04:10 +08:00
fullwall
845ecd1df5
Better /npc sound messages
2014-01-29 22:32:42 +08:00
fullwall
7403323776
Make /npc sound use the Sound enum
2014-01-29 22:21:43 +08:00
fullwall
ec0ca4a2f2
Add /npc sound
2014-01-29 21:37:27 +08:00
fullwall
ff42e35649
Remove console pathfinding debug
2014-01-25 16:19:13 +08:00
fullwall
9c5e5394e3
Fix wolf sitting
2014-01-24 22:41:05 +08:00
fullwall
aec2107de2
Remove db support
2014-01-23 17:44:13 +08:00
fullwall
403cd846d9
Remove debug
2014-01-22 12:49:01 +08:00
fullwall
628c61ae3e
Set NPCs as persistent
2014-01-21 12:25:14 +08:00
fullwall
74f6c0c543
Implement new method
2014-01-12 22:27:25 +08:00
fullwall
cc68593afe
Set wolf step height to 1
2014-01-12 22:07:49 +08:00
fullwall
cf4c6f851d
Implement getByUniqueId
2014-01-12 20:34:27 +08:00
fullwall
0c139a27d4
Better pathfinding debug
2014-01-12 19:47:05 +08:00
fullwall
a95b339515
Use new parameter and debug
2014-01-12 17:45:16 +08:00
fullwall
66a07f8f05
Fix debug pathfinding
2014-01-12 12:50:05 +08:00
fullwall
8ff4d336ff
Add UUID to NPC
2014-01-11 23:36:46 +08:00
fullwall
ecf5f145c6
Use Persistable in WaypointProvider
2014-01-11 23:19:23 +08:00
fullwall
4271d80dda
Remove debug
2014-01-11 16:00:22 +08:00
fullwall
da2bf551bc
Implement run callbacks and fix /npc skeletontype requiring uppercase input
2014-01-11 14:28:26 +08:00
fullwall
993d2fe017
Falling block movement
2014-01-10 20:45:42 +08:00
fullwall
d74ce4ae81
Fix save task
2014-01-10 19:39:01 +08:00
fullwall
a3bf2d4e51
Remove debug
2014-01-09 17:59:52 +08:00
fullwall
d0fe32d949
Better BlockBreaker
2014-01-09 17:58:43 +08:00
fullwall
0af5422368
Add data to /npc item
2014-01-09 17:13:27 +08:00
fullwall
34fc6ab029
Force new pathfinder with nonliving NPCs
2014-01-09 16:25:32 +08:00
fullwall
6cc922a115
Fix falling blocks setting id
2014-01-08 17:42:37 +08:00
fullwall
8ad3b1d674
Fix speed on mob NPCs
2014-01-07 00:48:17 +08:00
fullwall
3808d7188a
Add some PlayerAnimation entries for using items
2013-12-29 23:04:10 +08:00
fullwall
efc6b8375c
Set speed modifier
2013-12-24 18:55:01 +08:00
fullwall
4a2106d354
Construct more entities manually
2013-12-19 15:27:26 +08:00
fullwall
ed42a3cadd
Add /npc item
2013-12-17 16:00:15 +08:00
fullwall
ecbd2efe28
Initial pass of non-living NPCs
2013-12-16 21:49:53 +08:00
fullwall
e772611ec1
Implement attackRange() parameter
2013-12-16 08:31:23 +08:00
fullwall
64b2396e07
Fix damage event cancellation
2013-12-05 23:04:18 +08:00
fullwall
2517a5629d
Change speed of pathfinder, seems to work better
2013-12-03 18:43:10 +08:00
fullwall
fe370258db
Fix player animations
2013-12-01 18:51:43 +08:00
fullwall
3896c67709
Allow flying NPCs to have their path set via command
2013-12-01 18:45:10 +08:00
fullwall
3c9b42355f
Fix mob NPCs and get closer to working players (not yet though)
2013-12-01 18:34:23 +08:00
fullwall
15b1bd0683
Close the channel better
2013-12-01 17:36:16 +08:00
fullwall
38cec9d3f3
Initial untested 1.7.2 update
2013-12-01 17:24:54 +08:00
fullwall
e25df6cd47
Add a blockStrengthModifier to BlockBreaker.Configuration and implement setPaused/isPaused in CitizensNavigator
2013-11-23 00:40:09 +08:00
fullwall
f9497b31c2
Move some methods into AbstractNPC, implement sorted()
2013-11-18 15:18:18 +08:00
fullwall
23704dbfc3
Be null-safe in EventListen
2013-11-17 23:21:03 +08:00
fullwall
d9f9861965
Add /npc passive
2013-11-16 15:08:00 +08:00
fullwall
5765d80125
Add /npc swim command
2013-11-15 12:06:18 +08:00
fullwall
04cae6b692
Remove stack trace printing for trove support
2013-11-14 23:24:10 +08:00
fullwall
a4cda3e25c
Allow trove to be optional
2013-11-13 14:25:43 +08:00
fullwall
c145917194
Deprecate ByIdArray and pull in trove for better NPC storage
2013-11-12 12:01:42 +08:00
fullwall
a80f9c6cf4
Fix iterator implementation
2013-11-11 11:53:41 +08:00
fullwall
3ef703bdcd
Allow /npc spawn and /npc despawn to use names as well instead of ids
2013-11-08 00:08:50 +08:00
fullwall
02186a16f6
Remove unused command
2013-11-07 23:47:55 +08:00
fullwall
dc1771d911
Better error message for non-numeric IDs with /npc spawn
2013-11-07 23:47:18 +08:00
fullwall
63cc59c833
Fix iterator remove() for NPCs
2013-11-07 00:24:26 +08:00
fullwall
6c5ebcddee
Fix NPC iteration in certain cases
2013-11-06 15:10:11 +08:00
fullwall
d6c013447f
That won't work
2013-11-06 12:59:44 +08:00
fullwall
4d88c05e17
Make priority for controllable LOWEST
2013-11-06 12:58:40 +08:00
fullwall
3cff37e8fd
Implement migration method
2013-11-06 11:37:15 +08:00
fullwall
7c45b167c0
Fix getBukkitEntity() for nulls
2013-11-06 00:58:20 +08:00
fullwall
dd58a07528
Fix up some erroneous casting, better /npc create behaviour
2013-11-05 22:14:02 +08:00
fullwall
33adf0434f
Fix incorrect import in NMS
2013-11-05 21:44:01 +08:00
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
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
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
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
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
fullwall
7d7f6b5415
Try to use backing MC id-mapping - may help with MCPC/Forge
2013-08-06 00:00:02 +08:00
fullwall
e91261355d
Check for ID mapping null
2013-08-05 23:20:22 +08:00