Hotels 0.4

Details

  • Filename
    Hotels.jar
  • Uploaded by
  • Uploaded
    Jul 15, 2015
  • Size
    73.79 KB
  • Downloads
    500
  • MD5
    1777ce2f151977f8c6ec6a4334578067

Supported Bukkit Versions

  • 1.8.1

Changelog

Compiled with Bukkit 1.8.7

New features:

  • Message queue now fully implemented, players that were offline when their rent expired will be notified upon login
  • You can set a limit to how many rooms a player can own. Config.yml node: settings.max_rooms_owned
  • When a room is rented, the time displayed on the sign updates according to how much time of the rent is left till expiry
  • Rent can now be extended by right clicking again on sign, but only amount of times specified in config.yml node: settings.max_rent_extend
  • Added friends system. Ability to add friends to your rented room who can share the rent with you.
  • /ht friend add hotelname room friendname - To add a friend to the friend list for specified room
  • /ht friend remove hotelname room friendname - To remove a friend from the friend list for specified room
  • /ht friend list hotelname room - To list all players in friend list for specified room
  • hotels.friend permission for the above three commands

Bug Fixes:

  • Reception signs are no longer required to be inside the hotel region allowing you to make a board containing all reception signs for players to choose which hotel to reside in
  • Fixed NullPointerException on rent expiry
  • Removed double prefix to the console messages when a rent expires
  • Fixed "Vault dependency not found!" error coming up every time even with vault enabled
  • Fixed disable message with unchanged %pluginname% string
  • Fixed user not getting any error message when using /ht delete command and the hotel name being wrong
  • Fixed bug where player would not be added as member to newly rented room but removed
  • Fixed /ht rlist room listing all rooms instead of ones from specified hotel
  • Fixed /check command where offline players were deemed as non existant
  • Fixed /check command not working with permanent rents

New config nodes:
If you do not want to regenerate completely the config.yml and locale.yml you will want to add these values manually to the configs under specified paths

Config.yml:

  • settings.max_rooms_owned
  • 3
  • settings.max_rent_extend
  • 3 locale.yml:
  • chat.sign.use.maxEntendReached
  • &4You have reached the limit of rent extention of %max% times!
  • chat.sign.use.maxRoomsReached
  • &4You have reached the limit of %max% rooms you can own
  • chat.sign.use.extensionSuccess
  • &aRent has been extended %tot% times. You can extend it another %left% times.
  • chat.sign.use.extensionSuccessNoMore
  • '&aRent has been extended %tot% times. You can't extend it any more.'
  • chat.commands.friend.usage
  • &4Correct usage: /hotels friend [add/remove/list] [hotel] [room] <friendname>
  • chat.commands.friend.wrongData
  • &4The hotel or room number entered do not match any existing location
  • chat.commands.friend.noRenter
  • &4The room you specified has no renter!
  • chat.commands.friend.notRenter
  • &4You are not the renter of the specified room!
  • chat.commands.friend.consoleRejected
  • 'The console can't add/remove friend from a room!'
  • chat.commands.friend.addYourself
  • '&4You can't add yourself to the friend list!'
  • chat.commands.friend.nonExistant
  • '&4You can't add imaginary friends to the friend list!'
  • chat.commands.friend.friendNotInList
  • &4The user you specified is not in the friend list!
  • chat.commands.friend.addSuccess
  • &aSuccessfully added %friend% to the friend list
  • chat.commands.friend.removeSuccess
  • &aSuccessfully removed %friend% to the friend list
  • chat.commands.friend.noFriends
  • &2You have not added any friends to the specified room
  • chat.commands.friend.list.heading
  • &a==Friend list for room n. %room% of the %hotel% hotel==
  • chat.commands.friend.list.footer
  • &c==End of friend list==
  • chat.commands.friend.list.line
  • &6Friend: &c%name%

And this line here has changed:

  • chat.commands.check.line
  • '&6Hotel: &c%hotel% &6Room: &c%room% &6Expires in: &c%timeleft%'

Reload command only reloads config.yml file