Commit Graph

47 Commits

Author SHA1 Message Date
fullwall 5533961066 EXPERIMENTAL: trial not updating scoreboard every tick 2024-04-22 17:40:12 +08:00
fullwall 07fb13c284 Add /npc hologram viewrange, add /npc playerfilter --applywithin, work towards auto-hologram-sneak 2023-11-05 20:58:37 +08:00
fullwall 05048be1f7 Initial 1.20.2 update 2023-10-01 17:27:38 +08:00
fullwall 7b650a2af4 Fix incorrect onDespawn usage leaking teams in ScoreboardTrait 2023-09-18 18:39:23 +08:00
fullwall 2931f95939 Add some scoreboard team debug 2023-09-13 23:00:02 +08:00
fullwall 63ef3cdc73 Remove /npc scoreboard and make scoreboard trait just persist entity tags 2023-08-28 01:57:30 +08:00
fullwall ef34ed2837 Fix a scoreboard issue when renaming NPCs 2023-04-08 14:24:16 +08:00
fullwall a61befbdcc Add basic /npc home command 2023-02-06 00:40:01 +08:00
fullwall f759c81763 Check NPC spawned 2023-02-02 18:48:27 +08:00
fullwall b21af8dd6e Trial delaying scoreboard removal on death 2023-02-01 23:15:28 +08:00
fullwall 6165f4cb12 Null checks in scoreboard trait 2023-01-02 13:20:29 +08:00
fullwall 402095c946 Don't reload locationlookup 2023-01-02 00:49:39 +08:00
fullwall b38a66dbfb Add /npc lookclose --headonly 2023-01-02 00:24:11 +08:00
fullwall b8e79b20cf Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport 2023-01-01 15:26:35 +08:00
fullwall 886d83eeb4 Use new API 2022-12-24 21:43:08 +08:00
fullwall 8c10fe8b18 Use per player metadata API 2022-12-24 19:53:59 +08:00
fullwall 45d7a072a1 Catch IllegalArgumentException from ProtocolLib 2022-12-21 18:43:54 +08:00
fullwall 1a102e7d1c Clear previousGlowingCOlor on despawn 2022-12-21 06:47:04 +08:00
fullwall aa61f6b88c Catch exception from protocollib 2022-12-20 21:27:01 +08:00
fullwall b28d689cbd Add onRemove for cleanup code 2022-11-23 19:13:17 +08:00
fullwall bfbc2415a5 Enforce collidability even if not explicitly set 2022-11-16 21:58:05 +08:00
fullwall d888d13955 Switch back to sending scoreboards on change only 2022-07-27 03:27:49 +08:00
fullwall 2b88eb7aaa All NPCs should send scoreboard teams on player join 2022-07-27 01:29:10 +08:00
fullwall 048f0877c8 Temporarily update scoreboard every time 2022-07-27 00:19:47 +08:00
fullwall 9cf7779ff4 Work on /npc shop, QoL tweaks, fix scoreboard team removal 2022-07-26 23:50:28 +08:00
fullwall 5dbc578fd2 Integrate team creation directly into ScoreboardTrait 2022-07-25 23:14:00 +08:00
fullwall 71bc177298 Try scanning the online players less 2022-07-25 15:53:34 +08:00
fullwall acca94d911 Aggressively send scoreboard teams 2022-07-25 15:40:39 +08:00
fullwall f462fe9218 Add null check 2022-07-13 20:10:42 +08:00
fullwall 4dfac9c62d Remove team unregistering to ScoreboardTrait, add scoreboard-teams send ticks to assist with a possible scoreboard conflict 2022-07-13 20:09:21 +08:00
fullwall aaca31740b QoL changes to /npc list /npc command 2022-07-10 01:17:26 +08:00
fullwall 626b6d6b42 Allow NPCs to push other entities 2022-02-20 21:21:50 +08:00
fullwall 6fd6d12092 Update held item status every tick 2022-02-19 19:00:09 +08:00
fullwall 6b30d06705 Set collidable scoreboard option and always test for placeholders in skin names 2021-11-29 20:56:13 +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 27b0bc107c Generate getters for trait methods 2020-10-07 19:16:41 +08:00
fullwall a2208f0d32 Minor style changes 2020-05-01 01:47:07 +08:00
Alex "mcmonkey" Goodwin 981ade8974
patch the majority of potential scoreboard packet errors (#2128) 2020-05-01 01:39:07 +08:00
Alex "mcmonkey" Goodwin 0e31ffb9f8
Implement packet-based scoreboard team enforcement (#2127)
* Implement packet-based scoreboard team enforcement

This should fix incompatibility with scoreboard plugins that break the main scoreboard

* impl to 1.8-1.12, move event logic, fix Setting usage

* pull setting if to outside of foreach loop

* fix return vs continue, minor opti as requested
2020-04-30 20:51:10 +08:00
fullwall 1e507a1d57 Use old logic for glowing colour in 1.12, remove unnecessary respawn in /npc rename for non-Player NPCs 2020-03-21 15:19:46 +08:00
fullwall 9f3841c3ec Fix /npc name in 1.8.8 2020-03-03 23:31:04 +08:00
fullwall 95ab688877 Fix shulker color setting 2020-03-01 15:29:47 +08:00
fullwall 174ec609ca Convert to iterator loop 2019-10-20 09:52:07 +08:00
fullwall 5a6820957e Scoreboard tag method doesn't exist in 1.8.8 2019-08-08 22:43:12 +08:00
fullwall f4ef934932 Fix scoreboards, villager level 2019-07-19 01:14:52 +08:00
fullwall c7b59c84a7 Fix NPE 2019-07-12 19:18:13 +08:00
fullwall 673ee02542 Migrate glowing stuff to new scoreboard trait, add /npc scoreboard 2019-07-12 15:39:38 +08:00