Commit Graph

87 Commits

Author SHA1 Message Date
Jikoo
476171911a Silences shulker boxes but breaks sound/animation till tile is reloaded
Time for relaxation and sleep, too much actual effort expended today
2.5.3-alpha-1
2016-11-19 02:01:52 -05:00
Jikoo
9501d1c571 AnyChest supports Shulker Boxes, silent makes sound but doesn't animate.
I'm done for the day, got a lot of stuff to do tomorrow. Hopefully I'll iron out all of the wrinkles by the end of the day.
2016-11-18 01:51:11 -05:00
Jikoo
ff683d65d1 Prep for silent shulker boxes, backport ocelot fix to all versions
No clue why I didn't port it to all versions, seems like I stopped after 1.8 or something. Ocelots have been around since 1.2.
2016-11-17 20:06:10 -05:00
Jikoo
c3f517d7ab Fix project setup to prevent recursive dependencies
Maven's fine with it, but it is bad practice.

OpenInv still modifies plugin.yml in OpenInvPlugin. It should really be done via the Assembly Plugin, but it works and I am lazy.
2016-11-17 12:22:52 -05:00
Jikoo
2e41b4bd45 Fix potentially server-crashing NPE
Whoops.
2.5.2
2016-11-17 03:22:24 -05:00
Jikoo
e100dff6ab Update for 1.11 2016-11-17 02:34:52 -05:00
Jikoo
835e3151eb Convert to a more user-friendly Maven setup
Mostly based on Mbaxter's AbstractionExamplePlugin
Compiling OpenInv for a specific version is very easy - just compile the correct module.
Compiling for a set of versions is slightly more complex. You'll need to use a profile for the versions you want to compile. Provided profiles are latest, modern - versions 1.7.10+, and all. For more information, check out the Maven guide http://maven.apache.org/guides/introduction/introduction-to-profiles.html

This commit doesn't change anything with the plugin itself, but it makes it loads easier for people to maintain and compile their own version without destroying backwards compatibility.
2016-07-14 09:47:06 -04:00
Jikoo
3312ed9ff6 Fixed armor/offhand slot display in 1.10
Whoops :D
2.5.1
2016-07-09 12:51:10 -04:00
Jikoo
23bda96f38 Fix improper caching causing duplications, closes #10
* Implemented a universal cache for loaded players
* Reworked a significant amount of my API additions
* Simplified join/quit handling
* Cleaned up ISpecialEnderChest/ISpecialPlayerInventory implementations
* Fixed OpenInv.* permission not granting access to commands
2.5.0
2016-07-09 10:41:51 -04:00
Jikoo
1bbdde683c Fixed online matching preventing exact offline access, closes #9
Restored some old OpenInv behavior - Offline name partial completion.
Currently there's no minimum similarity to consider a match a success, and the first name with the same similarity will take precedence. As a result, you may see some very odd results on occasion.
2.4.9
2016-06-15 18:50:38 -04:00
Jikoo
9edac80544 Properly set item arrays for subcontainer
Closes #8
2.4.8
2016-06-12 10:48:03 -04:00
Jikoo
53eadcb821 Backport fix for closing SilentChest not dropping cursor item 2.4.7 2016-06-08 22:38:56 -04:00
Jikoo
326ffdb433 Update for 1.10
Don't load players off the main thread, just in case.
2016-06-08 22:25:14 -04:00
Jikoo
fc5f9587d1 Update for 1.9.4 2.4.5 2016-05-10 15:27:36 -04:00
Jikoo
a929eeeb69 Configuration to disable saving of offline players, bugfixing
Edits made to online players will still work. Edits made to offline players will work if they log in before the ISpecialPlayerInventory is unloaded (currently before the plugin unloads).
Closes #6
Refactored IPlayerDataManager to PlayerDataManager, it's no longer an interface.
Fixed a bug with players' online state initially being inverted
2.4.4
2016-04-18 14:37:21 -04:00
Jikoo
7256494df3 Fix inventories of players on their first login not being openable
Closes #7
2.4.3
2016-04-18 13:05:56 -04:00
Jikoo
1fbaa5b2a9 Reduce redundant saves for ender chests as well
While they don't suffer the same owner-related issues that player inventories did, there's no need to save so many times.
2.4.2
2016-04-11 18:45:23 -04:00
Jikoo
eeb28b4210 Reduce duplicate saves and fix for owner coming online for all versions 2.4.1 2016-04-11 18:12:21 -04:00
Jikoo
0ebe6fe132 Properly update PlayerInventory owner when they come online
Closes #5
2016-04-11 17:59:28 -04:00
Jikoo
e39ab10797 Don't load from player.dat for online players
Fixes lishid#40 and #5
2016-04-11 15:44:25 -04:00
Jikoo
fb48f6a783 Fix up legacy code to use new interfaces
This took way more time than it was worth.
Converted line endings to Unix, some other trivial crap.
Thanks to Phoenix616 for already having a multi-version pom, it would have taken me much longer to figure out without a functional example.

The only legacy code which is not supported is that of the pre-versioned package era. I compiled a copy of Craftbukkit about 15 commits prior to the introduction of versioned packages, and NMS had already been fiddled with. Anyone who needs support for builds in that range can use an older OpenInv build instead, it's not like UUIDs are a big concern.
2.4.0
2016-03-04 05:49:07 -05:00
Jikoo
d761b6bfe4 Actually allow for offhand modification, whoops. 2016-03-04 00:53:21 -05:00
Jikoo
5b3ba79b82 Maven, huge refactor, interface changes
Among other things, these interface changes allow for supporting pre-UUID Minecraft versions again. I may eventually backport older versions, but I don't know that I'll be able to lay hands on old enough jars.
Removed static access
Renamed all methods to follow conventions
2016-03-03 23:33:54 -05:00
Jikoo
3549431fbc Removed item wand functionality
Anyone who can use it has to be able to run the command anyway. If they can run the command, they can use tab completion to automatically fill in anyone online's name. There's no need to keep around a bunch of deprecated code for a function I sincerely doubt anyone actually uses.
2.3.0
2016-03-01 12:30:12 -05:00
Jikoo
17b0cb6efe Fix players without permission to modify inventories inserting items 2016-03-01 12:22:26 -05:00
Jikoo
2d7522554c Use AnyChest when an ocelot is on a chest.
Closes #2
2016-03-01 12:09:29 -05:00
Jikoo
131f874329 Added offhand slot display and manipulation 2016-03-01 11:44:38 -05:00
Jikoo
a623af5119 1.9.0 2.2.10 2016-03-01 00:52:57 -05:00
Jikoo
8f17bd0237 Remove update checker and bumped version for release
Added myself to the authors list as I've been maintaining this fork for a while
2.2.9
2015-11-16 23:21:34 -05:00
Jikoo
20fb61705d Update to 1.8.8, properly declare permissions in plugin.yml 2015-11-16 23:12:46 -05:00
Jikoo
c0f513177a Removed additional async lookup notification, current is pretty fast. 2.2.8 2015-05-19 08:11:53 -04:00
Jikoo
b3a3947b03 1.8.4
The easiest NMS update ever.
2015-05-19 08:10:39 -04:00
Jikoo
c7bab7d451 Whoops, didn't make sure my autoformatter's settings matched the style. 2015-03-12 16:42:00 -04:00
Jikoo
4058463f7f OpenInv 2.2.7
Updated for Spigot 1.8.3
Dropped support for all other versions
Fixed lookup not working for players on first login/incomplete names
2.2.7
2015-03-11 16:48:21 -04:00
Jikoo
21cd1926ae Don't find username on the main thread. Not friendly with partial names. 2.2.6 2014-12-01 16:11:52 -05:00
Jikoo
2a66b2e81b Updated to Spigot 1.8 2.2.5 2014-12-01 14:10:14 -05:00
lishid
9491153e30 Better way to get inventory. This prevents problems with other plugins. 2014-09-12 23:17:41 -07:00
Lishid
be5f784d74 Merge pull request #10 from Fysac/master
Null pointer check
2014-08-03 17:58:31 -04:00
Fysac
67d0f927ed Add brackets to avoid ambiguity
Java ignores indentation, which might cause headaches in the future.
2014-08-01 13:53:36 -04:00
Fysac
bbacb04636 Null pointer check
Players who haven't joined your server since the UUID conversion will have a null name. As a result, if you try to /openinv a player who *has* joined your server since then, the loop can break due to a NPE while checking other players. This null check should fix that problem.
2014-08-01 13:36:18 -04:00
lishid
c2c7996da5 Fixed offline inventory access. 2014-07-29 06:53:14 -04:00
lishid
9271c50a84 2.1.8 2014-07-11 20:41:28 -04:00
Lishid
e9a4890b8b Merge pull request #7 from Zhro/zhro/update-1.7.9
It's the same change but i'll pull it anyway. Thanks!
2014-05-01 12:20:29 -04:00
lishid
92fe9a54c9 Tiny mistake. 2014-05-01 12:19:04 -04:00
Matt D
e83c888b28 Updated OpenInv to 1.7.9 2014-04-24 23:16:30 -04:00
lishid
8e62bc0c7f 1.7.8 release 2014-04-13 02:37:07 -07:00
lishid
097471047c 1.7_R2 2014-04-13 02:23:23 -07:00
lishid
74c91dfe84 Changed updater. 2014-04-13 02:23:22 -07:00
Lishid
8f77c86219 Merge pull request #6 from Byteflux/1.7.8
1.7.8
2014-04-13 02:22:04 -07:00
Byteflux
af2fec9c48 1.7.8 2014-04-12 22:32:34 -07:00