Bug fix & permanent type
- Bug fix to /motel rent command
- Added permanent type to motels!
How to use permanent:
motel:
motel-1-001:
type: permanent
Flags on creation of new room
- 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"
Visit system improvements
- New command! /motel visitable , you can define if your room can be visitable or not
- Added new customizable mesages
- removed some debug
Update checker
Now you can always keep the plugin updated thanks to the update checker!
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