fullwall
11c48c4e09
Check isSpawned in HologramTrait#onSpawn
2021-08-27 17:30:27 +08:00
fullwall
14a6004adf
Cap skinupdatetracker map size
2021-08-20 21:22:46 +08:00
fullwall
732716215e
Make hologram trait update more frequently
2021-08-15 15:25:09 +08:00
fullwall
ef1baf5679
Add setMountedOn to MountTrait
2021-08-15 14:40:11 +08:00
fullwall
1ef3e6b56b
Save to disk on dependent plugin disable
2021-07-25 08:52:03 +08:00
fullwall
9904e034fd
Make plugin disable hack more conservative
2021-07-21 18:51:04 +08:00
fullwall
cfa4b5fc59
Delete unused files
2021-07-19 23:03:04 +08:00
fullwall
d4c557d5b2
Improve /npc text editor, implement speech bubbles, allow armor stands to pathfind using the A* finder, allow /npc bossbar to work on all entities
2021-07-19 23:02:41 +08:00
fullwall
55cf0c4ccd
Preemptive event deregistration
2021-07-18 19:30:45 +08:00
fullwall
0ff3ee72e9
Move costs to after other precondition check
2021-07-16 23:23:57 +08:00
fullwall
bc3df49775
Work on plugin disable hack
2021-07-16 17:25:04 +08:00
fullwall
d5434b845e
Adjust hologramtrait
2021-07-16 17:23:36 +08:00
fullwall
dfc48ec475
Make plugin disable hack more compatible
2021-07-15 19:41:03 +08:00
fullwall
c3a70e27ed
Add workaround for spigot disable issue
2021-07-14 21:23:55 +08:00
fullwall
53e2b50ce8
Fix bugs including 1.17.1 player movement, flying yaw and stats incompatibility on 1.17.1
2021-07-10 00:47:05 +08:00
fullwall
3e1132034e
Update to 1.17.1
2021-07-07 22:12:15 +08:00
fullwall
ba51211020
Merge branch 'master' of github.com:CitizensDev/Citizens2 into master
2021-07-05 23:39:24 +08:00
fullwall
3a50ad5d85
Add /npc axolotl
2021-07-05 23:39:15 +08:00
SiderealArt
597648276a
Add Traditional Chinese translation ( #2585 )
2021-07-05 23:39:00 +08:00
SirBlobman
15583711b6
Update pom.xml ( #2591 )
...
This will remove warnings relating to `maven-default-http-blocker` and JitPack attempting to resolve SNAPSHOT dependencies.
2021-07-05 23:29:03 +08:00
fullwall
ef4d746aee
Add debug for hologram trait
2021-07-04 13:07:15 +08:00
fullwall
5306a68b6a
Fix target location for mc navigator
2021-06-29 00:10:24 +08:00
fullwall
9c8d26e73b
Use new waterlogged methods
2021-06-25 17:01:18 +08:00
fullwall
d2f0d7ec20
Cleanup of old command code
2021-06-13 14:53:19 +08:00
fullwall
b1990138d8
Add getFirst<Getter|Setter> API
2021-06-13 13:41:36 +08:00
fullwall
f2d4c38843
Preliminary update to 1.17 - known bugs include every entity glowing
2021-06-13 03:20:18 +08:00
fullwall
2d5e418cf8
Expose hologram entities
2021-06-03 20:36:45 +08:00
fullwall
85c1f8f732
Fix horse mounted navigation
2021-05-30 00:23:13 +08:00
fullwall
22fd1da0c8
Add option to avoid talk-close to NPCs
2021-05-18 14:49:17 +08:00
fullwall
0ddfcbd0fa
Add WIP falling movement examiner
2021-05-13 15:41:49 +08:00
Mich3l3k
cf6cbaf4a3
Translate to polish ( #2539 )
...
* Translate to polish
I will finish translate soon (do not accept this yet, I will convert this to UTF-8 after end this).
Have a nice day!
* upgrade messages_pl.propierties again
next translated messages...
* and again...
* Finish poland translate for citizens
Everything works, i translated ~~80-90% messages, this 10-20% are messages which I didnt translate because I didnt want do a mistake
Youre Welcome
2021-05-11 13:05:06 +08:00
Alex "mcmonkey" Goodwin
4dc123bb4b
Refactor scoreboard handling to use instant scoreboard application at spawn ( #2544 )
...
Full description in PR https://github.com/CitizensDev/Citizens2/pull/2544
2021-05-08 02:02:17 +08:00
fullwall
a4dde9f017
Add basics of /npc gui
2021-05-08 01:55:53 +08:00
fullwall
8c120aae52
Remove living entity requirement for /npc name
2021-05-07 01:48:22 +08:00
fullwall
3d85ad4ea8
Add /npc chunkload
2021-05-07 01:46:59 +08:00
fullwall
c24ce1e1ed
Use NMS methods for isSolid checking
2021-04-30 10:31:25 +08:00
fullwall
c9d8bad4f8
Fix waypoints load order
2021-04-28 22:14:59 +08:00
fullwall
354625afc8
Default bystanders hear targeted chat to false
2021-04-25 12:15:14 +08:00
fullwall
145f9e4f41
Fix sequential command execution with commands on both hands
2021-04-25 12:06:59 +08:00
fullwall
0e1e3586af
Block protected NPCs from entering boats/minecarts
2021-04-22 22:22:46 +08:00
fullwall
9562345a7a
Fix /npc sound dependency being removed
2021-04-17 21:34:46 +08:00
fullwall
3c1d48137d
Pass InventoryDragEvent to GUI menu
2021-04-15 23:25:13 +08:00
fullwall
3ad450b1be
Don't log exceptions in old java versions for module opening
2021-04-15 00:28:49 +08:00
fullwall
777a62036f
Don't use the bukkit metadata system which is unreliable for respawning entities
2021-04-14 19:59:19 +08:00
fullwall
e63f0ccede
Fix entity markers on guided waypoint editor and make toggle path / clear more lenient. Tweaked some copy on the commands to give a better explanation of the guided waypoint feature.
2021-04-14 19:53:49 +08:00
fullwall
b986c4dcb8
Fix cooldown setting message parsing - $ was not included in initial setting default, changed substitutor to avoid migrating settings
2021-04-14 19:41:37 +08:00
fullwall
3a9e538c00
Fix reflective access warnings
2021-04-14 15:03:39 +08:00
fullwall
ca421b9cef
Sync naming
2021-04-14 02:01:34 +08:00
fullwall
874b2f660c
Fix typo
2021-04-14 01:52:48 +08:00
fullwall
a8a18e15c0
Add help to /citizens reload
2021-04-14 01:52:13 +08:00
fullwall
8612e329b6
Add warning to /npc reload
2021-04-14 01:51:11 +08:00
fullwall
979d6f95fa
Fire NPCTeleportEvent in all cases to allow cancelling
2021-04-13 12:06:22 +08:00
fullwall
eb4262a80f
Try to remove reflective access warning on Java 11
2021-04-08 18:47:46 +08:00
fullwall
011e58c739
Fix inverted condition in lookclose
2021-04-07 14:26:07 +08:00
fullwall
c7789e5073
Remove extra NPCDespawnEvent
2021-04-05 16:38:10 +08:00
fullwall
74839e9843
Fix NPE in lookclose
2021-04-04 11:31:43 +08:00
fullwall
fa0cf4fc95
Revert back to old style loading for skin trait
2021-03-20 20:38:11 +08:00
fullwall
5ec9470885
Fix load order problem in placeholder skins
2021-03-20 20:31:53 +08:00
fullwall
643e42f4ba
Add basic named parameters for time purposes in command trait
2021-03-13 22:17:55 +08:00
fullwall
f46285b238
Disable flock caching
2021-03-02 20:52:41 +08:00
fullwall
8a87326c44
Only store lastUUID, not full NPC instance
2021-03-01 21:10:29 +08:00
fullwall
8afaf23c1d
Add /npc create -t and make named registry autocreate
2021-02-27 14:41:05 +08:00
mariaum
0b41b24425
Fix blank names for a few seconds after spawning a npc. ( #2477 )
2021-02-22 19:27:06 +08:00
fullwall
6c26f98080
Add /npc create --registry
2021-02-22 19:26:12 +08:00
fullwall
441923191f
Add /npc endercrystal
2021-02-18 23:29:15 +08:00
fullwall
d99109d0b2
Try translate NPCCommandSelector message
2021-02-14 11:01:56 +08:00
fullwall
34398f09d5
Allow unequipping of certain slots
2021-02-11 23:00:18 +08:00
fullwall
352ec56f5e
Add more fallback material
2021-02-10 22:02:14 +08:00
fullwall
5c62a3f92f
Add legacy fallback
2021-02-10 19:58:23 +08:00
fullwall
54a66f33f3
Increase death animation ticks
2021-02-08 19:52:30 +08:00
fullwall
9bbe9ae3c4
Add simple /npc drops GUI and add NPC selection to /npc follow
2021-02-07 18:45:10 +08:00
fullwall
65d02398fb
Add a separation mechanic to /npc follow
2021-02-04 16:34:20 +08:00
fullwall
52a004fcaf
Use and implement new registry API
2021-02-04 10:10:48 +08:00
fullwall
8039f6e9d3
Add lookclose setting
2021-02-04 09:51:02 +08:00
fullwall
c28cf09ef3
Use new API for 1.8 compatibility
2021-02-03 23:13:49 +08:00
fullwall
cd436cb6da
"/npc select" should respect clickredirects
2021-02-02 22:33:16 +08:00
fullwall
e03d65aeb4
Add /npc command itemcost
2021-02-01 22:35:28 +08:00
fullwall
f776638508
Add enderman equipment GUI
2021-01-31 23:40:42 +08:00
fullwall
f1c2fcbe37
Add new pig equipper GUI
2021-01-31 18:29:44 +08:00
fullwall
47707fe628
Implement inventory GUI into /npc equip
2021-01-31 00:29:27 +08:00
fullwall
0ded25ad5e
Implement new change
2021-01-29 00:15:43 +08:00
fullwall
0499839115
Fix navigation bug with duplicate examiners, add change detection to scoreboard to avoid sending as many packets
2021-01-27 22:38:50 +08:00
fullwall
66a3855aa8
Update to match current API
2021-01-26 23:28:38 +08:00
fullwall
8e31baf202
Edit equipment GUI
2021-01-25 23:47:43 +08:00
fullwall
6c2f5fa65a
Remove extra check
2021-01-25 21:30:48 +08:00
fullwall
ac106a6c50
Add line of sight check to lookclose
2021-01-25 21:30:07 +08:00
fullwall
60db622b68
Add debug code
2021-01-24 22:42:51 +08:00
fullwall
13195612cf
Limit should default false
2021-01-24 22:08:43 +08:00
fullwall
80187501d0
Check lookclose new target from event
2021-01-23 10:52:53 +08:00
fullwall
351cee2cc6
Implement new event
2021-01-20 22:10:47 +08:00
fullwall
eb9764aeb0
Further refactor lookclose
2021-01-20 20:27:46 +08:00
fullwall
fe3f12e424
Refactor lookclose findNewTarget
2021-01-20 19:52:02 +08:00
fullwall
8c0fa7cd17
Comparison should be squared
2021-01-20 17:49:43 +08:00
fullwall
58443ee726
Make lookclose more consistent at looking at players
2021-01-20 17:34:24 +08:00
fullwall
3f4a4af581
Change permissions defaults to op
2021-01-19 19:41:24 +08:00
fullwall
e6eac4e675
Fix push events with listeners
2021-01-17 07:05:35 +08:00
fullwall
5821416f90
Update pom version
2021-01-16 18:06:12 +08:00
fullwall
cc3d8f84c7
Fix double sending of command messages with LINEAR execution
2021-01-15 22:06:03 +08:00
fullwall
918fcb9ca7
Fix skin trait and text bugs
2021-01-15 19:00:30 +08:00
fullwall
261ac1b4b1
Check texture data is actually valid
2021-01-10 23:52:24 +08:00
fullwall
97fae0a7e4
Add UUID to /npc
2021-01-04 00:18:34 +08:00
fullwall
c366b5f79e
Add missing Util changes
2021-01-03 00:14:00 +08:00
fullwall
37e6414b13
Fix some off-by-one errors
2021-01-02 20:25:29 +08:00
fullwall
0b1a8cc369
Null check for skinname
2020-12-29 14:25:12 +08:00
fullwall
1ae074278e
Leave editor
2020-12-28 11:12:16 +08:00
fullwall
87a4c3f6c4
Fix memory leak
2020-12-28 11:04:14 +08:00
fullwall
21163e4ec4
Add placeholder support for skins
2020-12-28 10:39:56 +08:00
fullwall
cc5c132347
Arm swing on player sees player-npc, not spawn
2020-12-28 08:24:30 +08:00
fullwall
284565598e
Trial a new method for fixing spawn body yaw, fix /npc rename not applying hologram name immediately
2020-12-27 20:54:21 +08:00
fullwall
79f048fe0c
Implement new metadata for /wp disableteleport
2020-12-26 17:01:27 +08:00
fullwall
b9e6418d52
Add new debug-chunk-loads setting
2020-12-24 19:03:21 +08:00
fullwall
aa136420c8
Make initial skin packet delay configurable
2020-12-24 19:00:35 +08:00
fullwall
09c482e2f6
Check skin name length is 3-16 characters when fetching players
2020-12-21 17:32:30 +08:00
fullwall
4c33fa4f86
Add worldguard region support to wander waypoint provider
2020-12-21 17:27:52 +08:00
fullwall
ec1a639d08
Add workaround for new CraftSound changes
2020-12-21 11:28:38 +08:00
Camotoy
91fcad1499
Fix llamas not being controllable with '/npc controllable' ( #2412 )
...
Llamas are looped in with horses for certain traits (such as having an inventory) but not in movement. This commit excludes llamas from the `updateHorizontalSpeed` check as they cannot be controlled in vanilla.
Tested with 1.12.2 and 1.16.4.
2020-12-21 11:08:44 +08:00
fullwall
fe7f6e373f
Add /npc polarbear -r and restore target and goal selectors
2020-12-17 13:13:23 +08:00
fullwall
040930bcde
Add /npc command --gcooldown
2020-12-16 18:12:37 +08:00
fullwall
1266298442
Allow straight line navigator to track entity exactly
2020-12-16 17:59:20 +08:00
fullwall
87cadbfb02
Wrong index for /trait remove
2020-12-02 22:16:04 +08:00
fullwall
0b79c392b0
Some plugins rely on specific metadata ordering
2020-11-27 23:31:21 +08:00
fullwall
b4943a0e84
Fix some bugs in straight line targeter
2020-11-27 22:45:13 +08:00
fullwall
2f10ac86cc
Avoid caching empty paths
2020-11-24 20:34:22 +08:00
fullwall
4491e95952
Reload holograms with line height change
2020-11-23 07:48:26 +08:00
fullwall
810441c17b
Add new setting and implement parameter
2020-11-22 21:29:55 +08:00
fullwall
fb0591c187
Implement new APIs
2020-11-22 21:08:01 +08:00
fullwall
9310dde3f0
Add new navigation strategy without pathfinding
2020-11-20 19:11:26 +08:00
fullwall
353251acc6
Strip colors when checking for text emptiness
2020-11-17 11:39:24 +08:00
fullwall
59d4f7033c
Hide nameplates for empty hologram names
2020-11-17 11:36:18 +08:00
fullwall
3c2d0625b4
Clone spawn location more, minor cleanup
2020-11-17 10:15:52 +08:00
fullwall
da5a611014
Add --registry arg to /npc select
2020-11-17 09:12:41 +08:00
fullwall
0add70d397
Add spawnreason to debug
2020-11-17 09:09:52 +08:00
fullwall
e29f05156d
Add setLocked to Age
2020-11-17 09:04:24 +08:00
fullwall
1e050bb89d
Name Citizens save and load tasks for timings
2020-11-15 20:32:16 +08:00
fullwall
1eddabe8c0
Allow /npc follow to teleport across worlds
2020-11-15 17:43:26 +08:00
fullwall
7743763d3c
Refactor common code, add missing condition
2020-11-14 18:41:21 +08:00
fullwall
d3002965fd
Cleanup
2020-11-13 10:31:55 +08:00
fullwall
0c36ea04a7
Reset hologram if now empty
2020-11-07 15:10:49 +08:00
fullwall
ba00c91a30
Remove path properly
2020-11-04 16:42:55 +08:00
fullwall
10e1576496
Don't measure distance between worlds
2020-11-03 14:36:44 +08:00
fullwall
55922168d2
1.16.4 initial update
2020-11-03 14:33:34 +08:00
fullwall
9ff38f0080
Make citizens.npc.talk default true
2020-10-27 01:31:18 +08:00
fullwall
e8cdba65df
Fix /npc hologram remove off by one
2020-10-26 17:20:09 +08:00
fullwall
cac35409c9
Check for command message setting being empty
2020-10-21 15:18:07 +08:00
fullwall
a944c3ca9c
Make mob entity uuids the same as their NPC uuid
2020-10-18 18:32:33 +08:00
fullwall
8cdda471b9
Prevent concurrent modification issue with NPC spawning
2020-10-15 20:30:50 +08:00
fullwall
7dba144924
Use MONITOR priority for NPCSpawnEvent
2020-10-15 20:21:15 +08:00
fullwall
5081b713a8
For completeness, work with stacked waypoints
2020-10-14 15:16:40 +08:00
fullwall
e10af76e45
Showing markers by default
2020-10-14 15:14:49 +08:00
fullwall
10ec4b2c29
Fix conversation abandoned event
2020-10-14 15:12:41 +08:00