Commit Graph

104 Commits

Author SHA1 Message Date
datdenkikniet 16d5dd39f2 Add support for 1.16.4 2020-11-07 16:33:40 +01:00
Jitse Boonstra d126b79742 Added method NPCManager#getShownToPlayer 2020-08-08 19:22:51 +02:00
Jitse Boonstra 03af1d08aa Merge branch 'master' of https://github.com/MinecraftLibraries/NPCLib 2020-08-08 18:40:54 +02:00
Jitse Boonstra 4eb7c8238d Potential packet fix 2020-08-08 18:39:42 +02:00
Gatt d5e9ebddbe removing per player lines 2020-08-04 14:40:26 +10:00
Jitse Boonstra d61b8cd1d8
Merge branch 'master' into fix/getPlayerHolo-npe 2020-07-28 12:18:01 +02:00
Gatt 0472f55670 Add a space! :notlikethis: 2020-07-28 17:41:33 +10:00
Gatt 19f1856f4d player null checks 2020-07-28 15:23:27 +10:00
Jitse Boonstra 10847df695 Removed support for 1.8 R2 2020-07-21 17:03:25 +02:00
Jitse Boonstra 80b0dc86f7 Changed version to 2.9-SNAPSHOT 2020-07-21 17:01:35 +02:00
Jitse Boonstra 47210bb1ce Update NPCBase.java 2020-07-21 16:59:45 +02:00
Gatt 8a308a00f9 Fixes a potential NPE when calling getPlayerHologram at the wrong time 2020-07-21 12:58:05 +10:00
Jitse Boonstra 6037711d30
Merge pull request #105 from RealGatt/feature/per-player-names
Feature to add Per-Player Name Holograms to NPCs
2020-07-20 13:00:52 +02:00
Gatt e2184167f3 Markers as hologams 2020-07-17 14:28:35 +10:00
Gatt 0146b42b0f remove holograms on destroy() 2020-07-17 00:06:42 +10:00
Gatt 92d3403b51 add inShown check to new holograms
stops holograms stacking
2020-07-16 22:28:37 +10:00
Gatt 75f680c480 fix NPE 2020-07-16 22:17:20 +10:00
Gatt 4da537e978 potential feature for per-player hologram names 2020-07-16 18:14:23 +10:00
MCMDEV a984f6ddec Increased version number 2020-07-14 15:37:17 +02:00
MCMDEV 919cfa5e5e Added Animations 2020-07-14 15:13:26 +02:00
Jitse Boonstra 8ee819bbb2 Added support for 1.16 2020-06-25 11:35:24 +02:00
Jitse Boonstra 39a1b2626c Updated version to 2.7.2-SNAPSHOT 2020-06-22 21:50:32 +02:00
Jitse Boonstra 1f2fe70dbc Merge branch 'master' of https://github.com/MinecraftLibraries/NPCLib 2020-06-22 18:57:22 +02:00
Jitse Boonstra eecc4c188f Possible fix for #86
Blocking players from joining before successful injecting of the channel handler.
2020-06-22 18:57:20 +02:00
Jitse Boonstra e4dc20e3ce Changed 'evt' naming to 'event' naming to match rest of project
Code refactor from old PR
2020-06-22 18:19:33 +02:00
Mooselk d7fc0c81e5 Fixed NPE 2020-05-14 16:09:47 -07:00
Jitse Boonstra efb1a0eedc Changed version to 2.7.1-SNAPSHOT 2020-04-26 17:58:02 +02:00
Jitse Boonstra 8ef051ca70 Fixed spacing 2020-04-26 17:54:56 +02:00
Jitse Boonstra b5e69e9126 Fix for #80, added API usage for NPC#getUniqueId 2020-04-26 17:35:41 +02:00
Jitse Boonstra 95e9cd5f27 For version 2.7-SNAPSHOT. 2020-04-26 12:09:58 +02:00
Jitse Boonstra 820a0f1c36
Merge pull request #77 from FrederikHeinrich/patch-1
Update NPCBase.java
2020-04-23 18:52:08 +02:00
Jitse Boonstra b6262b714f
Refactored method naming
Changed NPC#getUUID to more appropriate NPC#getUniqueId
2020-04-23 18:51:21 +02:00
Freddi 6d57bf8168
Update NPCBase.java 2020-04-22 05:12:19 +02:00
A248 b4ce4fbf68 Player#isOnline is not thread safe
CraftBukkit 1.8.8 implementation checks whether Bukkit.getPlayer(<player
uuid>) != null. Bukkit.getPlayer(UUID) is itself not thread safe.
2020-04-20 16:02:58 -04:00
A248 b00850b19d Permit periodic task instead of PlayerMoveEvent through NPCLibOptions
Adds NPCLibOptions as an optional parameter to NPCLib's constructor. The
movement handling specified by the NPCLibOptions will determine whether
to use the PlayerMoveEvent or a task.
2020-04-20 15:16:24 -04:00
A248 dfd916dc97 No need to listen for PlayerKickEvent - quit event fires anyway
The PlayerQuitEvent is fired even when the player is kicked.
2020-04-19 18:56:47 -04:00
Jitse Boonstra ce251d8167 Fixed tab name issue, added metrics, changed version to 2.6-SNAPSHOT 2020-04-18 13:39:10 +02:00
Jitse Boonstra ab57a9b861 Update version to 2.5.2-SNAPSHOT 2020-04-18 10:26:30 +02:00
Jitse Boonstra 0c8e6dc4a8 Extra code to prevent infinite loop (part of #70) 2020-04-18 10:22:06 +02:00
Jitse Boonstra 4024312706 Some work to solve #70 2020-04-18 10:16:42 +02:00
Jitse Boonstra 900451b053 Added square method to remove ugly code. 2020-04-15 22:24:01 +02:00
Jitse Boonstra 4ae99ba9d5 Some testing code I'd like to keep. 2020-04-15 22:04:31 +02:00
Jitse Boonstra eb01c0ff46 Fixed respawn issue (#69) and updated version to 2.5.1.-SNAPSHOT. 2020-04-15 20:10:03 +02:00
Emmanuel Lampe f587cc6cfa Fixed labymod emote 2020-04-13 12:38:35 +02:00
Jitse Boonstra 33a8615aad Added support for LabyMod EmoteAPI. 2020-04-12 17:01:18 +02:00
Jitse Boonstra 8e661b024e Code for 2.4.2-SNAPSHOT. 2020-04-11 20:51:05 +02:00
Jitse Boonstra e47dbc51d0 Improved auto-show handling and fix for #59 2020-04-11 19:57:12 +02:00
MrMicky efdabf01b9
Update Hologram 2020-04-10 16:07:20 +02:00
MrMicky 493118fa3b
Update Hologram 2020-04-10 13:58:41 +02:00
Jitse Boonstra 1ed374bb3f Change version number. 2020-03-15 00:19:22 +01:00