Commit Graph

89 Commits

Author SHA1 Message Date
libraryaddict
41848d61ec Set variable after cloning packet, fixes #318 2018-11-25 18:11:14 +13:00
libraryaddict
754538a490 Add metrics for config option 'Disable commands' 2018-11-23 13:29:19 +13:00
libraryaddict
4f06b1833f Resend self disguises if player teleports further than 64 blocks 2018-11-23 13:29:02 +13:00
libraryaddict
b00f85cfbb Small code cleanup 2018-11-23 13:27:12 +13:00
libraryaddict
dcff07e5bb Read entire file to string, check for null before returning. #315 2018-11-19 16:55:32 +13:00
libraryaddict
e6752903b4 Call event in scheduler as listener is async 2018-11-16 16:10:32 +13:00
libraryaddict
5e256c9f0e Add DisguiseInteractEvent which is fired on self-disguise interaction 2018-11-14 17:07:43 +13:00
libraryaddict
93e2cdb0a4 Fix permissions for explicit, add tests 2018-11-14 16:46:43 +13:00
libraryaddict
be153d8ac6 Add UUID version changing to support Chinese servers 2018-11-08 21:09:47 +13:00
libraryaddict
19d3053201 Add config options to disable commands, explicit permissions definitions 2018-11-08 21:04:18 +13:00
libraryaddict
6525503f78 Move split(string) to DisguiseUtilities and add unit testing 2018-10-26 02:03:00 +13:00
libraryaddict
f8172ed807 Disguise option parameter ItemStack[] cannot be a null parameter 2018-10-24 11:20:21 +13:00
libraryaddict
dda362f082 Fix bounding boxes 2018-10-24 11:09:16 +13:00
libraryaddict
1c04576ae3 Changed permission system from maps/lists to object based supporting inheritance with unit testing. 2018-10-24 10:13:13 +13:00
libraryaddict
68a53a8760 Add version logging for premium check 2018-10-24 10:11:37 +13:00
libraryaddict
815b6f4c2f If null is unexpected, throw error to more accurately inform player of malformed parameters 2018-10-24 10:10:35 +13:00
libraryaddict
4467075a35 Renamed Silver to Gray, fixed colors sometimes being inaccurate #310 2018-10-24 10:09:32 +13:00
libraryaddict
e4d66e36df Add isBeingReplaced() to UndisguiseEvent. Fixes #309 2018-10-14 11:26:17 +13:00
libraryaddict
b42cf5cc43 Cleaned up disguise permissions parsing and allowed negating parameters through negated permissions instead of "-" parameters. #307 2018-10-05 12:04:30 +13:00
libraryaddict
383c9ecaca Fixed falling block disguise, fixed velocity when flying 2018-09-23 11:07:54 +12:00
libraryaddict
14ca1b1e36 Disguise params extra information 2018-09-23 11:02:53 +12:00
libraryaddict
32626f9747 Fix enum values on disguise options 2018-09-19 12:26:48 +12:00
libraryaddict
cc067f5adb Rename fields, add comments, fix chunk biomes 2018-09-13 18:56:46 +12:00
libraryaddict
7fcb58936a Remove debug stacktrace 2018-09-07 14:36:57 +12:00
libraryaddict
03e50e9d07 Clean up code, change ParamInfos to display better information. DisguiseHelp is more readable. Parse disguises code is more readable 2018-09-07 14:35:38 +12:00
libraryaddict
0b21e88f0d Modify way nms Particle is fetched 2018-09-03 15:23:08 +12:00
libraryaddict
49c8f68911 Corrected maven structure 2018-09-01 13:10:38 +12:00
BuildTools
d390adde38 Convert back to maven 2016-05-10 03:28:38 +12:00
NavidK0
976d00dcc2 Added API for EnderCrystal options
Removed Optionals from parameters in certain watchers
Fixed issue with createEntityEquipment in ReflectionManager, was using NMS instead of CraftBukkit classes
2016-03-29 20:28:17 -04:00
NavidK0
8690cd6604 Fixed EnderCrystal 2016-03-24 19:08:52 -04:00
NavidK0
763024d27a Fixed incorrect Optional type in ShulkerWatcher 2016-03-21 18:54:50 -04:00
NavidK0
351234591f Fixed Horse options 2016-03-21 18:40:31 -04:00
NavidK0
effb4058db Changed datawatcher value for DroppedItem disguise 2016-03-20 23:33:06 -04:00
NavidK0
ed1bcc5ad9 Fixed DroppedItem disguise
Fixed Fireworks disguise
Fixed SplashPotion disguise
Fixed Sheep disguise colors
Fixed Wolf disguise colors
Fixed error with isGlowing in FlagWatcher
2016-03-20 23:29:48 -04:00
NavidK0
12ea8ee35e Fixes an issue with temporary players created in ProtocolLib 2016-03-19 18:43:58 -04:00
NavidK0
f30f5dfcf2 Fixed Shulker disguises
Fixed Enderdragon direction
Added config option to stop shulker disguises from moving
Fixed sleeping while in a player disguise
2016-03-15 16:07:22 -04:00
NavidK0
75fb4f2e53 Fixed "Thrown Potion # has no item!?" 2016-03-14 21:53:25 -04:00
NavidK0
61f091308c Prevent sound listener from being registered, should prevent sounds from borking anything else until we can get it fixed 2016-03-14 05:26:22 -04:00
NavidK0
207e4574fd Welp, disable disguise sounds until they can be fixed later 2016-03-14 03:28:48 -04:00
NavidK0
bd7862fd3e Fixed sounds
Fix crash on sound send due to old sounds
2016-03-14 02:40:32 -04:00
NavidK0
d2a85efb26 Fixed java.lang.NoSuchMethodException: net.minecraft.server.v1_9_R1.MobEffectList.fromId(java.lang.Integer) in ReflectionManager 2016-03-14 01:36:25 -04:00
NavidK0
24b6ed702b Fixed Player disguises
Fixed all disguises
Fixed issue where players would crash upon joining
Fixed issue where disguises would crash when player left and reentered a location where a disguise previously was

This is basically a beta build, FIND BUGS FOR ME! :D
2016-03-14 00:55:36 -04:00
NavidK0
27baf53073 Fixed Wolves, Endermen, and Ocelots
All mob and misc disguises work now
2016-03-13 21:27:46 -04:00
NavidK0
e95df4a2df Fixed NameAboveHeadVisible 2016-03-13 19:53:37 -04:00
NavidK0
8eb4beba83 Fixed Misc disguises
Added AreaEffectCloudWatcher
Readded regular Arrows
Updated object ids
Updated relative look and move packets
Minor changes here and there
2016-03-12 15:19:58 -05:00
NavidK0
7dabbb7ce4 Fixed Bat disguise
Fixed Painting disguise
Fixed Experience Orb disguise
Fixed some more datawatcher related things
Sounds added back in
Fixed *most* sounds (Some might still not work, please let me know)
Arrows now equal tipped arrows
Code cleanup

NOTE: Yes, this does take a lot of time, there's a lot to do here, and there's so much code to update. Not even mentioning the fact that most packets don't  even work the same anymore (SPAWN NAMED ENTITY and SPAWN ENTITY both do not work the same way anymore)
2016-03-10 00:44:11 -05:00
NavidK0
432571cb09 Fixed Horse disguise 2016-03-08 15:35:05 -05:00
NavidK0
22f46cc824 Update ProtocolLib version to BETA 2016-03-08 06:18:17 -05:00
NavidK0
51483e0572 Updated all the flag watchers to 1.9 values
Added some new flag watchers
Added some new API methods to flag watchers
Fixed some more disguises
Added new options to some disguises
Certain packets have been fixed
Still not ready for use, but most mob disguises work

WARNING, the plugin is still heavily in ALPHA
- Currently not working:
Player disguises
Misc. disguises
Joining a server while someone is disguised
Sounds
Names above heads
Other packet related things
2016-03-06 22:46:46 -05:00
NavidK0
c972d02113 Temporary patch for sounds not working
Replaced some code with Craftbukkit versions
2016-03-06 03:45:13 -05:00