Commit Graph

74 Commits

Author SHA1 Message Date
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
Lishid
a42e379b2e Merge pull request #4 from TheOnlyRealTGS/patch-1
Provide more compatibility with essentials for openender
2013-12-14 20:38:52 -08:00
TheOnlyRealTGS
fd40fa8939 Provide more compatibility with essentials
Since essentials conflict with this alias, i think it would be better this way. After all you can always use /oe which is a lot shorter than /enderchest :)
2013-12-14 22:30:17 +01:00
lishid
27657b57a1 Changed years 2013-12-07 04:49:15 -05:00
lishid
99b7ec5e98 New formatting. 2013-12-07 04:47:02 -05:00
lishid
91f1f4b3e7 New updater. 2013-12-07 04:44:40 -05:00
lishid
56752df92e Added 1.7.2 support, added old files. 2013-12-06 02:31:14 -05:00
lishid
4597db93bd Update to 2.0.4 2013-07-05 21:58:42 -07:00
lishid
5f87949e0b Update to 1.5_R1 2013-03-19 10:36:56 -04:00
lishid
6196affaa8 Added new feature: Put item in any of the 5 unused slots and the item will be dropped by the targeted player. 2013-01-16 16:48:22 -05:00
lishid
9bf59ed8a7 Updated to 1.4.6 2012-12-23 17:41:20 -05:00
lishid
609a514f5a Refactoring of namespace and update for Newest bukkit commit. 2012-12-12 22:41:18 -05:00
lishid
90cbd62859 Update to MC 1.4.4 2012-11-15 22:45:53 -05:00
lishid
ab04e461a8 New permission node for openself. 2012-10-24 16:00:52 -04:00