Commit Graph

274 Commits

Author SHA1 Message Date
jameslfc19
aafdaf1e41 Armor Stand Changes
Needs improvement.
2020-07-02 22:40:43 +01:00
jameslfc19
af4dee20f8 Update VirtualChestToHopper.java
Lag prevention. If location is in an unloaded chunk don't move any items. Also, only sort items when a player is looking at the inventory - this should remove most idle lag. In reference to issue #10
2020-07-02 14:17:13 +01:00
jameslfc19
65329aa25b Message Changes
Reformatted messages to remove repeated methods.
2020-07-02 14:15:06 +01:00
jameslfc19
de06705abb Update LocationInfo.java
No need to store armor stand IDs anymore, since they all get removed on start up and stored in memory.
2020-07-02 14:14:17 +01:00
jameslfc19
186cb18b2a Update StorageUtils.java
Storage Info now creates a new group if it detects one that doesnt exist.
2020-07-02 14:10:17 +01:00
jameslfc19
7847ef1997 Class Refactors 2020-07-02 14:09:14 +01:00
jameslfc19
2bca010f13 Update Config.java
Legacy File Conversions.
2020-07-02 14:08:33 +01:00
jameslfc19
6b09dec908 Storage Changes 2020-07-02 14:08:00 +01:00
jameslfc19
054232f1ba Rename Classes 2020-07-02 14:05:55 +01:00
jameslfc19
53651b4fe5 Huge Refactor
This way much needed, removes lots of duplicated code from the different Storage systems of ChestLinks and AutoCrafting.
Also removes all the boat from the Utils and Config classes so they are easier to use and read now.
Will also make it easier to make changes to the storage system and keep it streamlined between the two types.
2020-06-29 21:28:13 +01:00
jameslfc19
964903b619 Update ChestsPlusPlus.java
Remove all Entities linked to plugin on startup.
2020-06-29 21:09:01 +01:00
jameslfc19
739329c861 Update Config.java
Oops.
2020-06-28 22:04:51 +01:00
jameslfc19
383657dad7 ArmorStand Item Display For Chests!
Chests will now display the block/item that is most common inside the chest!
Involves a rework of the save file that needs to be tested.
2020-06-28 21:59:57 +01:00
jameslfc19
341e12db75 Update Utils.java
Fixes crafting tables selecting the info from blocks next to them when a sign is facing it.
2020-06-28 21:58:27 +01:00
jameslfc19
a15a23692e Storage Check Fix
Add a check for storage locations.
This fixes chests that appear to work but not appearing in the save file.
2020-06-28 21:55:57 +01:00
jameslfc19
ee7a884979 v1.5 Beta 3 2020-06-27 22:30:24 +01:00
jameslfc19
8c0e659555 Added Sounds
Sounds now play when a recipe is selected and when an item is crafted!
2020-06-27 22:28:37 +01:00
jameslfc19
a007eba1e1 Sign Validator Fix
Fixed sign validator being offset from the correct starting position.
2020-06-27 22:28:11 +01:00
jameslfc19
77000490e4 Crafting Tables sound like Chests?
Fixed sound of Crafting Tables.
2020-06-27 21:45:29 +01:00
jameslfc19
ecfc985fca Fixed AutoCraft issues
Fixed duplication glitch where items would stay in the source inventory when the output inventory was partially full.
Added redstone ability to output to inventories other than hoppers.
Added Hopper support to input into the side of the crafting table.

Also added Util method to copy a Bukkit inventory using the fact that InventoryType.Chest is sometimes a custom inventory != 27 items.
2020-06-27 21:25:13 +01:00
jameslfc19
e58c5dc82e Update AutoCraftCommand.java
Fix out of bounds error in AutoCraft command.
2020-06-27 21:22:03 +01:00
jameslfc19
e600312180 1.5 Beta Version 2 2020-06-27 17:15:54 +01:00
jameslfc19
84545b30f1 Update AutoCraftCommand.java
Add unimplemented message.
2020-06-27 17:15:36 +01:00
jameslfc19
90b970a111 Command Reformatting
Added /autocraft command that provides almost the same functionality as /chestlink but for AutoCraft groups.
Rename classes to make more sense.
2020-06-27 16:55:07 +01:00
jameslfc19
5c6898166a AutoCraft fixes
Adds a check for multiple sign placement on Crafting Tables.
Puts AutoCraft group identifier into the workbench GUI.
Message fixes.
Added rename and setPublic features to AutoCraft groups.
InventoryStoage can now check permissions for OfflinePlayers
2020-06-27 16:54:03 +01:00
jameslfc19
f8514a021d Update Messages.java
Added additional Messages for AutoCraft groups.
2020-06-27 16:50:19 +01:00
jameslfc19
d44a417a50 Update LinkedChest.java
When upgrading from previous versions chests.yml doesnt contain the mapping for autocraftingtables.
This adds a check for null for both chests and crafting tables.
2020-06-27 16:49:13 +01:00
James Peters
01229a2907
Update README.md 2020-06-26 21:30:39 +01:00
James
b0cd758516 1.5 Beta Commit 2020-06-26 21:23:55 +01:00
James
df40c70780 Update .travis.yml
Fixed shaded plugin issue
2020-06-26 20:03:57 +01:00
jameslfc19
1d1d0f8d12 AutoCraft Permission & Messages
Added new messages for AutoCrafting stations when being added or removed.
Added commands to remove and list autocrafting stations as well as add/remove members for them.
Changed addMember method so you cannot add a member already present.
2020-06-26 19:41:24 +01:00
James
43b91b039f Update .travis.yml 2020-06-26 12:02:51 +01:00
James Peters
3d6aa42c36
Update .travis.yml 2020-06-26 11:32:26 +01:00
James Peters
fc0dba2380
Update .travis.yml 2020-06-26 10:58:19 +01:00
James Peters
b9f84114a3
Create main.yml 2020-06-25 21:47:50 +01:00
jameslfc19
63d59c7b75 Merge branch 'master' of https://github.com/JamesPeters98/ChestsPlusPlus 2020-06-25 20:34:27 +01:00
jameslfc19
5cf5f766d4 Create .travis.yml 2020-06-25 20:34:23 +01:00
James Peters
b2145d25ca
Update README.md
Added more information to the repo main page!
2020-06-25 17:15:06 +01:00
James
a1710f8397 AutoCraft Update 2020-06-25 16:21:52 +01:00
jameslfc19
a0b7996b14 Update RemoteChestCommand.java 2020-06-25 11:41:02 +01:00
jameslfc19
d132c09426 Update ChestLinkMenu.java
Fixed items per page.
2020-06-23 22:15:51 +01:00
jameslfc19
db602cc430 AutoCraft Implementation Complete (Almost) 2020-06-23 22:15:33 +01:00
jameslfc19
74e76fb9db Merge branch 'master' of https://github.com/JamesPeters98/ChestsPlusPlus 2020-05-15 20:20:19 +01:00
jameslfc19
b5e06f34f6 AutoCraft additions
Not finished.
2020-05-15 20:20:14 +01:00
James
b907b33748 Merge branch 'master' of https://github.com/JamesPeters98/ChestsPlusPlus 2020-05-05 10:33:59 +01:00
jameslfc19
4aea5a12c8 AutoCraft start
Added a custom workbench
2020-05-05 10:32:47 +01:00
jameslfc19
6dc864760d Fixed Hopper-amount bug
Virtual Hoppers were not respecting the hopper-amount variable spigot sets.
2020-05-05 10:32:00 +01:00
James
9063377954 Update .gitignore 2020-05-02 11:45:55 +01:00
jameslfc19
007fb3817f Added group limiter 2020-04-28 22:44:50 +01:00
jameslfc19
097174b221 Clean Up & Fixes
Last clean up before v1.4!
Remove unused import and methods.
Config now gets saved with World Save Event
Added update-checker metric.
2020-04-27 23:34:13 +01:00