Commit graph

119 commits

Author SHA1 Message Date
J0nasL
f7191688f4 Update README.md 2023-07-18 16:07:44 -04:00
John Locke
cd74545c86
Update README.md 2023-07-18 15:20:19 -04:00
John Locke
b90ce9a1c1
Update README.md 2023-07-18 15:19:54 -04:00
John Locke
4522356687
fix readme formatting 2023-07-18 15:18:56 -04:00
J0nasL
d90208ca44 Reformat readme, add website url 2023-07-18 15:17:49 -04:00
J0nasL
3aef0b6b24 change to egg checking 2023-07-18 15:16:03 -04:00
J0nasL
eaf1d01660 Create EggController, small UX/logging fixes
Move controller-related Egg functionality to EggController
Re-add egg stolen message
Logging changes
Don't remove the egg from players in the void, wait for them to die
2023-07-18 14:18:30 -04:00
J0nasL
5f2038e97b Egg destruction/respawn fix, small changes/fixes
Fixed some bugs related to egg destruction/respawning, deleted duplicate code
Hopefully fixed occasional string formatting issues
Small change to config
Small change to readme
2023-07-18 05:45:17 -04:00
J0nasL
5f8d029052 Update README.md 2023-07-18 04:00:33 -04:00
J0nasL
560900beb4 Bugfix, removed unused imports 2023-07-18 03:48:48 -04:00
J0nasL
93ab4a304b Minor logging improvements 2023-07-18 03:47:47 -04:00
J0nasL
f53e0b1e9f Added logging levels, small UX changes
Changed egg sound
Added distance to locateEgg
Started making detailed logging optional
Cancel velocity of dropped egg item
2023-07-18 03:41:34 -04:00
J0nasL
64fa2c68ef Color location information 2023-07-18 00:32:34 -04:00
J0nasL
eebc4b3bc5 Fix block replace checks, add chat formatting
Fixed egg destroyed by dragon when respawning
Cleaned up dragon and mushroom grow checks
Added formatting to messages sent to players
Added formatting for location when using some commands
2023-07-17 22:36:17 -04:00
J0nasL
7d0b5da979 Improvements to egg overwrite handling
Affects mushroom growing and dragon deleting blocks. Made dragon deletion handling better and removed redundant mushroom handling

Made removeEgg() a static method
2023-07-17 05:06:07 -04:00
J0nasL
9ace49f84d Bug fix, prevent dragon destroying egg 2023-07-17 00:55:22 -04:00
J0nasL
9673d5dd65 Gracefully fail when egg object does not exist
Also added some docstrings
2023-07-17 00:16:46 -04:00
J0nasL
4e09e2369f Fixed tracking egg in dyed shulker boxes 2023-07-16 23:48:59 -04:00
J0nasL
27f5eb00a8 Prevent egg from being dispensed in shulker 2023-07-16 22:39:57 -04:00
J0nasL
1bc26dd620 Added missing eggowner permission 2023-07-16 21:13:36 -04:00
John Locke
42e2042f59
Merge pull request #8 from HyperSMP/owner-tagging-dev
Added tagging of egg owner
2023-07-15 22:57:11 -04:00
J0nasL
a56407ecc3 Added tagging of egg owner
Minor code refactoring/cleanup
2023-07-15 22:53:58 -04:00
J0nasL
127618c13a Fixed inventory tracking
Added more methods to Egg class for checking for egg
2023-07-08 15:13:37 -04:00
J0nasL
a17cf4cf63 Disable egg packaging for now, bug fixes
initial fixes to egg inventory checking, mushroom check works correctly now
2023-07-07 02:39:26 -04:00
J0nasL
949441dea9 Remove portalCreateEvent listener & helper methods
this method is deprecated and isn't being called so no point including it. will work on in a different branch
2023-07-07 01:21:18 -04:00
J0nasL
a64808599a Allow dragon egg in shulkers & bundles
Every time we check if something is the dragon egg, instead check if it is the egg or a shulker/bundle containing the egg

Added a config setting to enable/disable shulker/bundle enforcement and updated the readme
2023-07-07 01:16:56 -04:00
J0nasL
f043897ed4 standardized logging calls
also removed unused imports
2023-07-05 19:54:13 -04:00
J0nasL
9467189f8f Update settings.json 2023-07-05 19:46:48 -04:00
J0nasL
572056aa32 Update .gitignore 2023-07-04 19:50:17 -04:00
J0nasL
d41f6df5a9 Update .gitignore 2023-07-04 19:46:40 -04:00
J0nasL
af4c208ae2 Fix loading of egg entity on server restart
Also switched to saving data only on plugin disable/server close and server autosave
2023-07-04 17:19:05 -04:00
John Locke
c879663b11
Update README.md 2023-07-02 17:40:01 -04:00
John Locke
77e85e1ed1
Update README.md 2023-07-02 17:00:59 -04:00
John Locke
7b7c0fe384
Update README.md 2023-07-02 16:10:48 -04:00
John Locke
460f1383c4
Update README.md 2023-07-01 23:48:17 -04:00
J0nasL
ce584efb55 update readme 2023-07-01 15:20:51 -04:00
J0nasL
57daf6d210 bug fixes, listen for item frame destroy
also updated config
2023-07-01 15:13:13 -04:00
J0nasL
084a6ed9cc Convert entity storage from UUID to String 2023-07-01 12:57:16 -04:00
J0nasL
edc67fa1f4 Fix interact checking
Correctly track egg when right-clicking on an allay. Also cleaned up references to dragon egg material checking
2023-07-01 04:35:18 -04:00
J0nasL
3c7d400fed fixed InventoryClose handling for entities 2023-07-01 03:46:30 -04:00
J0nasL
3dfecb5226 Refactored listener into multiple classes
Also added a class for egg-related helper methods. Deleted the now-redundant EggRespawn class.
2023-07-01 02:39:39 -04:00
J0nasL
c48141239f Fixed inventory movement checking
Loosened restrictions to allow moving the egg around in own inventory. Also prevented use of dragging to drop the egg into a container
2023-07-01 01:09:10 -04:00
J0nasL
72d4c7ccac Various fixes, mostly to controllers
Fixed creating CommandHandler instance. Added claim egg particles, fixed spacing and changed some console and command output, fixed ender chest checking and added cursor check, added checking for item frames holding the egg being destroyed, removed brown mushroom from checks, updated egg removal height, wrote better code for getting entity owning the Inventory holding the egg, corrected command and console output for glow item frames
2023-06-30 16:09:24 -04:00
J0nasL
67ffcbe128 fixed switch statments 2023-06-28 17:29:03 -04:00
J0nasL
827b6e5979 Fixed new versioning and plugin register bugs
removed bukkit api dependency, put quotations around api-version in config, solved some glaring issues when loading plugin, added checking for bundling the dragon egg
2023-06-28 17:16:15 -04:00
J0nasL
d8655f8a0a Updated maven dependencies, fixed some warnings
Removed unused imports and functions, switched to latest minecraft version, removed mongodb dependency
2023-06-28 05:08:57 -04:00
J0nasL
2819ce3cd6 Remove unneeded data in config.yml 2023-06-28 04:55:43 -04:00
J0nasL
e39818b608 Completely rewrote how data is stored
Massively simplified the way data is stored and rewrote all controllers to use the new data structure. Added much-needed helper methods to the controllers, simplified any complicated methods in the controllers, rewrote inventoryClose checks to be more flexible, replaced some comments with docstrings, moved data-related functionality in the controller to the Data class, renamed DAOs to FileDAO, and changed void-related egg respawning
2023-06-28 04:52:57 -04:00
J0nasL
4e7f2e99ba Big refactoring, small fixes
adopted a MVC class layout, broke up main class, started improving storage of data, fixed almost all ide code errors, updated gson version, renamed some files, fixed naming of config.yml
2023-06-26 04:54:33 -04:00
J0nasL
a67b097726 remove mongoDB integration 2023-06-25 21:46:44 -04:00