Hotels 0.5

Details

  • Filename
    Hotels.jar
  • Uploaded by
  • Uploaded
    Nov 24, 2015
  • Size
    84.00 KB
  • Downloads
    522
  • MD5
    f2b770056cfaca835bbfc20d7e02cec5

Supported Bukkit Versions

  • 1.8.1

Changelog

  • Compiled with CraftBukkit 1.8.8

CHANGES

  • Split commands handler class into commands handler and commands executor, meaning easier adding of future features and less bugs
  • Added /ht rent command to rent rooms via command
  • Added /ht reload command to reload all configuration files
  • Added /ht sethome & /ht home for hotel and room warps
  • Removed hotels.commands permission
  • Added hotels.rent permission

BUGFIXES

  • Fixed chat.creationMode.rooms.notInHotel being set with the value of chat.creationMode.rooms.fail in locale.yml
  • Hotel and room regions can now not only be cuboid but also polygonal
  • Added check to not allow hotel names to contain a dash * and interfere with the plugin functionality
  • Fixed many, many bugs inhibiting proper functionality of rename and renum commands
  • Changed Hotel name sometimes not formatting to completely lower case with the exception of the first letter

CONFIGS

CONFIG.YML

  • settings.commands.onlyDisplayAllowed DEFAULT VALUE:true

LOCALE

Locale.yml strings added:

  • chat.commands.rent.consoleRejected VALUE: "The console can't rent rooms!"
  • chat.commands.rent.usage VALUE: "&4Correct usage: &6&o/ht rent hotelname roomnum"
  • chat.commands.rent.invalidLocation VALUE: "&4Sign location in sign file does not resolve to a sign!"
  • chat.commands.rent.invalidData VALUE: "&4Hotel name or room number entered are not valid"
  • chat.commands.listRooms.usage VALUE: "&4Correct usage: /ht rlist [hotel] <world>"
  • chat.commands.reload.success VALUE: "&aConfiguration files reloaded"
  • sign.room.name VALUE: "&2Room"
  • chat.commands.sethome.consoleRejected VALUE: "The console can't set a home!"
  • chat.commands.sethome.notInHotelRegion VALUE: "&4You are not in a hotel region!"
  • chat.commands.sethone.notInCreationMode VALUE: "&4You are not in creation mode!"
  • chat.commands.sethome.defaultHomeSet VALUE: "&aDefault home set"
  • chat.commands.sethome.userHomeSet VALUE: "&aUser home set"
  • chat.commands.sethome.hotelHomeSet VALUE: &aHotel home set
  • chat.commands.home.consoleRejected VALUE: "The console can't teleport home!"
  • chat.commands.home.noHomeSet VALUE: "&4No home is set!"
  • chat.commands.home.regionNotFound VALUE: "&4Specified hotel or room not found!"
  • chat.commands.home.usage VALUE: "&4Correct usage: /ht home [hotel] <room>"
  • chat.commands.home.notRenterNoPermission VALUE: "&4You are not the renter or have the permission to do this!"
  • chat.commands.commands.header VALUE: "&4================================"
  • chat.commands.commands.subheader VALUE: "&5--Hotels plugin command help page--"
  • chat.commands.commands.footer VALUE: "&4================================"
  • chat.commands.commands.help VALUE: "&6/ht help * &aDisplays help page"
  • chat.commands.commands.creationMode VALUE: "&6/ht [creationmode|cm] [enter/exit] * &aEnter/exit creation mode"
  • chat.commands.commands.create VALUE: "&6/ht [create|c] [hotelname] * &aCreate a hotel with current selection"
  • chat.commands.commands.room VALUE: "&6/ht room [hotelname] <roomnum> * &aCreate room with current selection within specified hotel"
  • chat.commands.commands.renum VALUE: "&6/ht renum [hotel] [oldnum] [newnum] * &aRenumbers specified room"
  • chat.commands.commands.rename VALUE: "&6/ht rename [oldname] [newname] * &aRenames specified hotel"
  • chat.commands.commands.sethome VALUE: "&6/ht sethome * &aSets a hotel/room home"
  • chat.commands.commands.home VALUE: "&6/ht home [hotel] <room> * &aTeleports you to a hotel/room home"
  • chat.commands.commands.check VALUE: "&6/ht check <player> * &aLists all rooms rented by you/specified player"
  • chat.commands.commands.list VALUE: "&6/ht list <world> * &aLists all hotels in current/specified world"
  • chat.commands.commands.rlist VALUE: "&6/ht rlist [hotel] <world> * &aLists all rooms in specified hotel in current/specified world"
  • chat.commands.commands.friend VALUE: "&6/ht friend [add/remove] [hotel] [room] [player] * &aAdds/removes a player from the list of friends that can access the specified room"
  • chat.commands.commands.friendList VALUE: "&6/ht friend list [hotel] [room] * &aLists players in friend list of specified hotel room"
  • chat.commands.commands.reload VALUE: "&6/ht reload * &aReloads all configuration files"
  • chat.commands.commands.remove VALUE: "&6/ht remove [player] [hotel] [room] * &aRemoves player from his rented room"
  • chat.commands.commands.delr VALUE: "&6/ht delr [hotelname] [roomnum] * &aDeletes specified room"
  • chat.commands.commands.delete VALUE: "&6/ht delete [hotelname] * &aDelete specified hotel"
  • chat.commands.help.header VALUE: "&4================================"
  • chat.commands.help.subheader VALUE: "&5--Hotels plugin help page--"
  • chat.commands.help.prefooter VALUE: "&4Type &3&o/ht help %num%&r&4 to get to page %num%"
  • chat.commands.help.footer VALUE: "&4================================"
  • chat.commands.help.page1.1 VALUE: "&4-Page 1* &9Selection of hotel cuboid"
  • chat.commands.help.page1.2 VALUE: "&e1. Type &3&o/ht [creationmode&r&3|&3&ocm] enter"
  • chat.commands.help.page1.3 VALUE: "&e2. Take your WorldEdit wand in hand"
  • chat.commands.help.page1.4 VALUE: "&e3. Left click and right click opposing corners of your hotel"
  • chat.commands.help.page2.1 VALUE: "&4-Page 2* &9Creation of the hotel"
  • chat.commands.help.page2.2 VALUE: "&e1. Type &3&o/ht [create&r&3|&oc] [nameofhotel]"
  • chat.commands.help.page3.1 VALUE: "&4-Page 3* &9Creation of a room"
  • chat.commands.help.page3.2 VALUE: "&e1. Get out your WorldEdit wand again"
  • chat.commands.help.page3.3 VALUE: "&e2. Left click and right click opposing corners of the room"
  • chat.commands.help.page3.4 VALUE: "&e3. Type &3&o/ht room [hotel] [roomnum]"
  • chat.commands.help.page4.1 VALUE: "&4-Page 4* &9Adding a sign"
  • chat.commands.help.page4.2 VALUE: "&e1. Grab a sign and place it outside of the room"
  • chat.commands.help.page4.3 VALUE: "&e2. Type on the sign:"
  • chat.commands.help.page4.4 VALUE: "&e [Hotels]"
  • chat.commands.help.page4.5 VALUE: "&e hotelname"
  • chat.commands.help.page4.6 VALUE: "&e roomnum:cost"
  • chat.commands.help.page4.7 VALUE: "&e time"
  • chat.commands.help.page5.1 VALUE: "&4-Page 5* &9Example of a sign"
  • chat.commands.help.page5.2 VALUE: "&e1. Example of a sign:"
  • chat.commands.help.page5.3 VALUE: "&e [Hotels]"
  • chat.commands.help.page5.4 VALUE: "&e TheBestHotel"
  • chat.commands.help.page5.5 VALUE: "&e 15:1m3k"
  • chat.commands.help.page5.6 VALUE: "&e 3d 6m 2s"
  • chat.commands.help.page5.7 VALUE: "&9&oYou can use &20 &9&oas a time to make the rent infinite"
  • chat.commands.help.page5.8 VALUE: "&9&oIn cost, &5t&9 = &210&9, &5h&9 = &2100&9, &5k&9 = &21000&9, &5m&9 = &2million&9 &5b&9 = &2billion (1000 million)"