Skip to content

Releases: TrueMB/RentIt

Update 2.7.3

27 Dec 23:43
Compare
Choose a tag to compare

Fixed Sign Break Error
Fixed Interaction sometimes possible with Shops/Hotels, even if no permissions (PlayerInteractEntityEvent -> PlayerInteractAtEntityEvent)
Fixed Async Error on Villiager destroy
Fixed Typo in Config
Fixed reset Command not correctly reseting the Shop Inventory
Fixed wrong message for hotel setPermission Command
Fixed AdvancedChests Support (Thanks to @rglautaro )
Fixed setPermission not removing the WorldGuard Member correctly

Changed Help Message (only for new configs)

Added full Support for 1.19.3
Added Playerpoints as a possible Primary Economy System (Config Entry)
Added aliases for the main commands in the Config
Added Blacklist for Item Types, that should not be allowed to sell in a shop
Added a Search Command to look for an item in all shops
Added Message palceholder: %itemName% for the Displayname of an Item. (shop sell Messages)

New Placeholder(-API):
Those Placeholder are only showing the info for the first shop/hotel. They mostlikely only make sense, if you limit the shops/hotels to one for each player.

%rentit_player_shop_category%
%rentit_player_hotel_category%
%rentit_player_shop_expiration%
%rentit_player_hotel_expiration%
%rentit_player_shop_price%
%rentit_player_hotel_price%
%rentit_player_shop_duration%
%rentit_player_hotel_duration%
%rentit_player_shop_size%

Moved to gradle
Updated Dependencies

Version 2.7.2

12 Jun 16:50
Compare
Choose a tag to compare
  • Adding 1.19 Support. (Note: that the newest dependencies are needed for Minecraft Version 1.19. F.e. Worldedit Version 2.11...)

  • Fixed Droping Beds after a reset/resign

  • Fixed destroying Signs, if the nearby Block gets destroyed, which got nothing to do with it.

Version 2.7.0

22 May 13:33
Compare
Choose a tag to compare

New Features:

  • Adding Support for AdvancedChests to Support bigger Item Chests (Big thanks to @rglautaro)
  • Adding new Placeholders:
    • %rentit_player_hasShop% and %rentit_player_hasHotel% -> Returns true if owns a Shop/Hotel.
    • %rentit_player_shop% and %rentit_player_shop% -> Returns ONE Shop/Hotel Alias/Id that the player is owning. (you need to limit the max ownings, to make it work 100%)
    • %rentit_freeShop_cat_%catId%% and %rentit_freeHotel_cat_%catId%% -> Returns true if the given Category contains a free Shop/Hotel.
    • %rentit_freeShop_%shopId%% and %rentit_freeHotel_%hotelId%% -> Returns true if the shop/hotel id is free.
    • %rentit_freeShop% and %rentit_freeHotel% -> Returns true if there is any free shop/hotel.
  • Adding Config Option to make Citizens NPC sit.
  • Adding Config Option to set a fixed Skin for the Citizens NPCs.

Bug Fixes:

  • Adding back Name prevention for /shops and /hotels
  • Fixed Reminder Task Bug
  • Fixed /freehotels Bug. Won't look after Shop Categories anymore.

Version 2.6.0

30 Apr 12:50
Compare
Choose a tag to compare

New Features:

  • Adding /<shop/hotel> resign, which allows normal players to resign their rent contract.
  • Adding Aliases to Shops/Hotelrooms and Categories!
/<shop/hotel> setAlias %alias% - Set a different Name for the Shop/Hotelroom you are standing in.
/<shop/hotel> setAliasCat %catAlias% - Set a different Name for the Shop/Hotelroom Category you are standing in.

New Placeholders:
%alias% - Uses the Shop/Hotelroom Alias, if none set, then the id will be used.
%catAlias% - The same, but for the categories.

Changed the messages in the config to %alias%, since it is the newer %id% version.
There are also new Items for the Admin GUI, to change the aliases.
  • Implementing the Reminder Feature.
Use following Category Setting, to define the reminder:
reminderRentRunningOut: '1m30s'
The Reminder will start to notify the player 1m and 30 sec before the rent expected End Date. Also everytime, if the player joins.

Screenshot 2022-04-30 123712

Fixed Bugs:

  • Players can no longer overwrite a rent contract, if they had the Confirmation GUI already open.
  • Fixed misspelling of Category/Categories in the default config
  • Fixed /<shop/hotel> users error, if a player hasn't played yet on the server.
  • Fixed async spawning of Citizens NPC error
  • Fixed multiple setting of Permissions to a player, if upper letters were used.
  • Fixed AutoCompletion for booleans. Both are shown, if nothing specific was typed.
  • Fixed destroying of empty Item Frames.
  • Fixed using OffHand in Shops/Hotelrooms and causing weird bugs.
  • Preventing an NPC Error
  • Fixed AreaFinder Method.

Changes:

  • Adding Offline Server Support
  • The own Enderchests can be opened in Shops/Hotels of other players.
  • Changed the System to disable commands.
  • Using Java 16 to compile again, which gives back the Spigot 1.16 and more support.
  • Updated Dependencies

Version 2.5.3

23 Mar 11:10
Compare
Choose a tag to compare

CONTAINS IMPORTANT FIX

Fixed Hotel Payments aren't correctly saved after a server restart
Fixed Possibility to Destroy ItemFrames with Arrows, Tridents, etc
Fixed Reload Command, if plugin wasnt correctly started

Added allowUsersToMoveNPC as a new Category Setting. Shop Owners can now move the NPC (/shop setnpc), if the setting is in the config true.

Improved Payment Task
Updated Dependencies

Version 2.5.2

21 Jan 15:59
Compare
Choose a tag to compare
  • Added Permission rentit.bypass.doors and rentit.bypass.chests. Bypassing Doors/Chests in Shops and Hotelrooms
  • Fixed Issue which has overwritten the Sell Inventory
  • Fixed UTF8 Issue. Supporting all languages again
  • Fixed a Logger Warning
  • Updated Dependencies

Version 2.5.1

09 Jan 21:00
Compare
Choose a tag to compare
  • Added /<shop/hotel> listCat - Lists all Categories and the Options of them
  • Added /<shop/hotel> deleteCat - Deletes a Category, if no Shop/Hotel is linked
  • Fixed ConfigUpdater, where Settings got reset.

Update 2.5.0

02 Jan 18:45
Compare
Choose a tag to compare
  • Full 1.18+ Support
  • Added /shop rollback for Users and /shop rollback %target% for Admins
  • Added /shop list and /hotel list for Admins
  • Disable Commands Option in the config
  • Improvements

There will be one more Update in the next days for adding a category list and delete command. The next Version will be published on Spigot!

Version 2.4.12

12 Nov 19:41
726c4b6
Compare
Choose a tag to compare
  • Created /rentit reload command to reload Config and SQL
  • Fixed #4