Please make a backup first, of your local database. If you are using the local database this update will break your database because h2database was upgraded to 224!
In Future of 1.1 April Planning
- Gradle 8.7
- New database format in config.yml
- Chore: updated h2database from 222 to 224 (this will break the database you need to do manually a migration)
- New framework for guis, now i'm using IF, inventory framework
- Optimized using of PaperLib
- Cleaned a lot of code
- Optimized and improved Database system (general)
- Support for SQLite, now will be the default local database system
- Improvements in the save of vaults
- General improvements in the tables querys
- Reworked the structure of Guis
- updated in the paper Loader the dependency net.dv8tion:JDA:5.0.0-beta from v18 to 20: This will be removed, and i will use a webhook system that doesn't require bot configuration
- Conversion of all guis to new inventory framework
- In motel explore gui now the functionalities like gps, and visit need permission
- Fixxed /moteladmin set-expiration-date
- Changed discord hook format on config.yml
- Swiched and remove JDA, to Discord Webhook system.
- New vault log! that logghing the expired vault actions
- New motels guis: rework of main guis and user experience
- New confirm system: with an easy gui Yes or No with price.
- More customizations!
- All admin functionalities in Admin Gui
- Added permanent type in default motel.yml
- Added explainations in default motel.yml
- Added new command /moteladmin set-expiration-date <motelid> <date>
- Added new command /moteladmin changetype <motelid> <type>
- small improvements
BEFORE UPDATING: this update contains a partially internal rework and the name changed from AnotherLevelMotels to Motels, you need to do a migration from AnotherLevelMotels folder to Motels.
- updated Folia api to 1.20.4
- Changed AnotherLevelMotel to Motels
- Changed Motels gui folders and gui in Guis/guiname.yml
- Added new customizable message
- A lot of refactoring and internal changes
- Now the version of plugin is on the jar
- Reworked motel info, remove it from languages files
- Now motel info contains: %motelname%, %motelid%, %price%, %status%, %owner%, %expiredate% placeholders.
- Small code improvements
- New feature (BIG FEATURE - EXPERIMENTAL): Now, when the motel expires, everything will be moved to another place, and it will be possible to retrieve items using the /motel expired command.
- A lot of things integrated for the new expires system.
- Fixxed tabCompleter to add a new Motel: the motelregionid show wrong ids
- Fixxed that you cannot add more than one word to motel displayname on /moteladmin add
- Fixxed that you cannot use more than one word on set-displayname
- Fixxed /moteladmin set-displayname wrong motel argument, from motelregionId to motelId
- Fixxed /moteladmin set-displayname wrong file setting from displayName to displayname
- Fixxed expiredate: NotSet on /moteladmin menu and small improvements on it
- Fixxed default "info" args that will be buy if not set
- Fixxed a missing save file while restarting
- Replaced on /moteladmin menu the null on owner to "//"
- Replaced new expiredate from null to "//"
- New config option for the new command /motel expired now configurable on commands args
- Fixxed and improved /moteladmin check
- General improvements
- Refactoring
- Improved command: /motel rent with arguments suggestions
- Fixxed wrong parsing on discord webhook messages
- Now its possible configure all messages from config and enable and disable
- Added new discord hook message for extend rent
- and small improvements
YAML:# discord hook configuration discord-hook: enabled: false token: "discordbottoken" guild: "discordserverguild" channel: "discordserverchannel" image-url: "imageurl" color: "BLUE" messages: buy: enabled: true title: "Motels" subtitle: "Motel bought" msg: "Player: %buyer% bought motel %region% for %price% coins" sell: enabled: true title: "Motels" subtitle: "Motel sold" msg: "Player: %seller% sold the motel %region%" expired: enabled: true title: "Motels" subtitle: "Motel expired" msg: "Motel: %region% expired in: %date% and was owned by: %owner%" extend: enabled: true title: "Motels" subtitle: "Motel rent extended" msg: "Player: %owner% extended motel: %region% rent to %newdate%"
