Improvements to /moteladmin menu
- 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
Improvements
- Add optional argument to /motel buy
- Added missing config.yml reloading on /motel reload
Improvements
- Added customizable placeholder messages to no expireDate of motel room
- Added customizable placeholder messages to no Owner of motel room
Small bug fix
- Fixxed /motel buy <motelname>
- improvements to /motel buy <motelname> command.
A lot of improvements!
- 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>
Placeholders improvements, Aliases hook, motel visit fixxed
- Added aliases, hooked with config.yml
- Fixxed /motel visit <playername> arguments
- Added new placeholders %almotel_displayname%, %almotel_price%
- And %almotel_<motel>_state%, %almotel_<motel>_status%
Actions, default world and more!
- Added customizable messages for teleport event /motel teleport <player> and /motel visit <player>
- Added ACTIONS now you can execute commands after a event
- Improved default motel_gui.yml
- Added default world to define the default world of motels
motel-1-001:
displayname: "<gold>Room 1"
owner: "null"
price: 800
expireDate: "null"
type: rent
location:
==: org.bukkit.Location
world: world
x: -20.574589744572954
y: 72.0
z: 11.576997575991102
pitch: -1.4999025
yaw: -89.847626
actions:
buy:
- lp user %player% permission set anotherlevel.motel.buy.room.1 true
- say ciao
sell:
- lp user %player% permission set anotherlevel.motel.buy.room1 false
New placeholders
- Added new placeholders:
- %almotels_amount% return the amount of motels.
- %almotels_expiredate_<number>% return the expiredate of selected motel, starts from 0.
A lot of improvements
This version has not been thoroughly tested to be considered stable, if you use it and encounter problems please let me know on discord!
- Removed GPS from shadowing
- Added CommandAPI
- Removed a lot of duplicated code
- Reworked all commands with CommandAPI
- Added /motel visit <target>
- A lot of code clean up
Fix
- Fixxed multi region on buy
Improvements
- Improved management of multiple regions in the same space
Discord hook support!
discord-hook:
enabled: false
token: "discordbottoken"
guild: "discordserverguild"
channel: "discordserverchannel"
image-url: "imageurl"
color: "BLUE"
A lot of improvements
- New placeholder %almotel_motelid_displayname%
- Added displayname to Motels
- Added motelgui essentials title and size checker if don't exist auto regeneration
- Added first page of Motel Admin manager
- Removed /moteladmin list and replaced with /moteladmin manager
- Added /moteladmin help that give moteladmin command list
- Small edits in messages files
- Some code improvements
The update is not complete and the changes are only in the paper version, it will arrive soon for the spigot version.
Reworked a part of Vault system
- Improved /moteladmin vault tabcompleter
- Fixxed few bugs with /moteladmin vault player motel
- Improved a lot /moteladmin vault command
- Improved a lot /motel vault command
- Added new messages
- Small code improvements
Solved an issue with Paper Loader
- Fixxed an issue with paper-plugins wrong path for loader after refactoring
Messages auto checker
- Messages checker, now if you missing some messages, on start the server automatically will be added in your messages.yml lang file!
Spigot support & Optimizing
- Optimize a lot of code and clean up
- Spigot support!
GPS plugin support, a lot of features and improvements!
- New compatibility GPS plugin
- Added new admin command! /moteladmin set-location motel_id , to set location to motel.
- New location format in motel.yml
- Improved dependencies system in paper-plugin.yml
- Added new commands in motels command tabcompleters
- Added new command /motel gps that work with the new GPS plugin compatibility!
- Added new command /motel tp,teleport that teleport to the motel!
- Fixxed error on parsing some strings in messages_en
- General improvements
New messages are not configurable, but in the next version will be avaiable with the new checker that add missing messages automatically!
Other improvements and bug fix
- Fixxed an issue adding & removing a motel that don't update cache
- Now motel status is customizable in messages_en.yml
- Added new placeholder %motel_<motel>_owner%
- Changed motel prefix in message_en.yml