
Motels / Hotels 1.3.5
Add motel rooms, houses or hotels to your server now!
- 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
# 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%"
- On buying a motel will be removed all previous members
- Added discord message on sold a motel
- Added discord message on Motel Expired
- Small improvements
- Solved a lot of issues on spigot version
- Added initial motel_epxlore_selected: menù configuration will be avaiable in the next version
- If you don't have a Vault as dependency will not disable plugin but send errors messages.
- Merged some code differences from spigot and paper version
- Bug fix to /motel rent command
- Added permanent type to motels!
How to use permanent:
motel:
motel-1-001:
type: permanent
- Added flags while creating a new motel room
- You can easly configure it in config.yml
# Here you can change the default flags
# when you create a new motel
# these commands being executed from console.
# while adding a new motel
default_flags_commands:
- "rg flag %motel% build -w %world% -g members allow"
- "rg flag %motel% interact -w %world% -g members allow"
- "rg flag %motel% block-place -w %world% -g members allow"
- "rg flag %motel% block-break -w %world% -g members allow"
- New command! /motel visitable , you can define if your room can be visitable or not
- Added new customizable mesages
- removed some debug
Now you can always keep the plugin updated thanks to the update checker!
- Added new /motel explore (Initial version)
- The new command /motel explore need the permission
almotels.explore to be executed
- Added pages system in /moteladmin menu
- Added skulls to owned motels in /moteladmin menu
- Added Open vault on selected motel on /moteladmin menu
- General improvements
- Add optional argument to /motel buy
- Added missing config.yml reloading on /motel reload
- Added customizable placeholder messages to no expireDate of motel room
- Added customizable placeholder messages to no Owner of motel room
- Fixxed /motel buy <motelname>
- improvements to /motel buy <motelname> command.
- Fixxed other arguments problems
- Improved actions with parsing %displayname%
- Code clean up
- Improved /moteladmin add, adding displayname and taking location on creating a new motel room.
- Added /moteladmin bugreport with some informations.
- Added /moteladmin set-displayname <motel> <displayname>