Commit Graph

275 Commits

Author SHA1 Message Date
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
NavidK0
99daf8246d Progress! Some mob disguises are working now
Added in dual hand animations
Removed libraryaddict
2016-03-06 01:57:11 -05:00
NavidK0
cf1b15942c Update disguises to use EntityEquipment, makes life easier
Update ItemInHand calls to ItemInMainHand and OffHand
Still not ready for use yet, disguises do not work
2016-03-05 23:14:19 -05:00
NavidK0
a94d583f0b Fix a strange issue with .gitignore excluding files, fixes Jenkins again 2016-03-04 23:45:38 -05:00
NavidK0
1576c895b5 Switch to ProtocolLib MinecraftKeys wrapper
Add in helper method to quickly create DataWatcher.Item objects
Typo in last commit, meant to say, disguises will NOT show up. Sorry to those who got excited. :(
2016-03-04 22:52:52 -05:00
NavidK0
2cf48f7916 It runs, but it's not at all ready for use. Disguises will now show up yet as packets have not been changed. 2016-03-04 21:02:39 -05:00
NavidK0
40e56621a8 Why'd I put weather and lightning in there? 2016-02-19 15:36:47 -05:00
NavidK0
50623a9be2 Added new entities to DisguiseType
Changed entity Ids to reflect new entity Ids in Spigot 1.9
Cleaned up code
2016-02-19 15:29:53 -05:00
NavidK0
9847ff035a 1.9+ Initial Commit
LibsDisguises.instance is no longer exposed, replaced with LibsDisguises.getInstance()
2016-02-19 14:23:46 -05:00
NavidK0
321ecdb3c2 Cleaned up code 2016-02-18 17:45:11 -05:00
NavidK0
758df7990e - Cleaned up code
- Future proofed code via reflection again (DamageSource in PacketsManager)
2016-01-22 00:41:45 -05:00
NavidK0
66ab7ac3ef Fixed ConcurrentModificationException on PaperSpigot/SportsBukkit. 2015-12-29 15:44:19 -05:00
NavidK0
e7a5d0763f Hotfix for PaperSpigot/SportsBukkit issue with HashMap.KeySet() != Set
Should fix issues with

0265f4eaef
2015-12-28 19:34:44 -05:00
NavidK0
05effaa82c Updated timings for runnable task
Updated version for 8.6.5
2015-08-12 17:20:41 -07:00
NavidK0
a4a965d450 Fixed bug where disguise would be visible for a few seconds after teleporting. 2015-08-12 16:21:08 -07:00
NavidK0
41cfa8eeaa Fixed bug where players switching worlds would become invisible.
Fixed bug where arrows wouldn't blow disguises.
Added default permission for /libsdisguises reload (only ops can use by default)
2015-08-02 19:40:47 -04:00
NavidK0
037da7e980 Updated for 1.8.8.
Compiled against ProtocolLib 3.6.5.

Fixed a nullpointerexception In Disguise when the disguise would rarely despawn causing the entity to be invalid.
2015-08-01 19:25:48 -04:00
NavidK0
bdb436711f Added support for spaces in Player Disguises.
Use the "\_" (backslash underscore) to place a space in a name.

Example: /d player The\_Great\_Apple
2015-07-18 00:53:42 -04:00
NavidK0
8c633adb8e Fixed some more permissions related things 2015-07-15 08:33:33 -04:00
NavidK0
ed7d8d0c67 Updated versioning to 8.6.1 2015-07-15 08:29:08 -04:00
NavidK0
7301a60aa4 Fixed incorrect permission for /vsd a.k.a /disguiseviewself 2015-07-15 08:25:15 -04:00
NavidK0
b57e9931b0 Added the new /disguiseviewself command, allows for toggling the disguise model when you see yourself.
Permission is libsdisguises.viewself
Aliases are: [dviewself, dvs, disguisevs, disvs, vsd, viewselfdisguise, viewselfd]
2015-07-15 05:51:58 -04:00
NavidK0
1d54ba9997 Added descriptions for all the commands in plugins.yml. 2015-07-15 04:04:10 -04:00
NavidK0
27cc9cd70f Added rudimentary support for disguising Custom Entities and Modded Entities
Added the DisguiseType 'Unknown', obviously can't be used by players
Cleaned up code
2015-07-07 11:30:12 -04:00
NavidK0
aee904200b Fixed block data for FallingBlock disguises 2015-07-01 16:02:57 -04:00
NavidK0
caa0025e77 Changing build setup for gradle artifact repo 2015-07-01 09:19:00 -04:00
NavidK0
ee313bc753 Removed pointless line 2015-07-01 09:17:50 -04:00
NavidK0
fc0f313f13 Removed pointless line 2015-06-13 09:33:00 -04:00
NavidK0
a3c8029223 Updated to 1.8.7, no code changes? 2015-06-13 09:24:10 -04:00
NavidK0
545fa08e55 Updated for 1.8.6.
Code cleanup.
Fixed permissions.
2015-05-30 09:34:38 -04:00
NavidK0
17869698d5 Updated for 1.8.6. 2015-05-30 03:22:38 -04:00
NavidK0
9083a5ba84 Fixed data values for blocks as of 1.8.3. 2015-04-21 16:01:50 -04:00
NavidK0
32f37b74e2 Temporarily commented out setAllowSleep for now until it can be fixed later
Updated config.yml
Updated plugin.yml
Updated plugin for latest spigot builds and latest ProtocolLib build
2015-04-13 01:25:48 -04:00
NavidK0
34c8bfb808 Modified Gradle build script to work with Jenkins 2015-03-31 02:16:21 -04:00
NavidK0
1ea2a3f94f Fixed isInvulnerable for real this time 2015-03-30 23:07:47 -04:00
NavidK0
15c0141c3d Added config option ContactMojangServers which disables player skins, but stops the plugin from pinging Mojang servers.
Added reload command to reload the config.
Tweaked a couple of things.
Fixed isInvulnerable issue.
2015-03-29 22:47:29 -04:00
NavidK0
a33bb0b139 Added config option ContactMojangServers which disables player skins, but stops the plugin from pinging Mojang servers. 2015-03-28 19:59:42 -04:00
NavidK0
cbf4e3fc03 Fixed isInvulnerability check in PacketsManager 2015-03-28 19:05:53 -04:00
NavidK0
099e9ad5a3 Updated for 1.8.3
Changed project to gradle
Added plugin metrics
Compliant with Java 7
2015-03-25 19:23:16 -04:00
NavidK0
573f4cdc88 - Changed entire project to gradle
- Updated for 1.8.3
- No more errors, woo
2015-03-09 20:28:41 -04:00