RentIt got many possibilities to change in the Config. But change everything with care!
This contains all the saved Player Data and should never be deleted, if you want to keep the plugin running.
Depending on what you choose (MariaDB/MySQL/SQLite), you need to add your own SQL Credentials. For SQLite it automatically creates a Database (database.sql) in the plugins directory.
For MariaDB/MySQL the best practice is to create an own sql user, which only got access to the one new database. This database should later only contain RentIt data and nothing else. Using only one database with one sql User for all of your plugins would also work, but isn't secure.
If you have decided to run a MariaDB/MySQL database, then also set your Database Server IP. Not necessarily the Minecraft Server IP. You will get the information's from your Server provider. If the connection doesn't work, but your IP is correct, then try disabling useSSL. Also make sure your password and user are correct and that the user has enough Permissions for the database!
Important: Don't change the database later on, if you don't know what you are doing. After the first interaction was made with the plugin, everything gets stored in the set database. Moving from SQLite -> MySQL will be difficult. MySQL Server 1 -> MySQL Server 2 is no problem, as long you restore the backup of the tables and stopped the Minecraft Server.
Those are general misc Settings about the plugin.
Option | Description |
---|---|
UseMetrics | Sends anonymously data do bstats.org to show a statistic about the current use of the plugin. |
offlineMode | Needed if you run the Server in Offlinemode. If the Proxy is running in Online Mode, then you can leave it false as well. |
disableNPC | Disables NPC/Villager in general. f.e. if you want to use ChestShops. |
useNPCs | Use Citizens NPCs or normal Villager as a Shop NPC. If disabled, there is no need to install Citizens. |
usePlayerPoints | Prefer PlayerPoints above the main money system. |
fixedSkinTexture | fixedSkinSignature |
useAdvancedChests | Enables for the Shops the Support for AdvancedChests. |
useDisplayName | Sets the full formatted Username on the NPC. |
displayNameColor | If useDisplayName is disabled, then this color will be added |
advancedPermissions | If enabled, every command gets a Permission. |
signPrefix | The first line to create a Shop/Hotelroom Sign. |
Define the Category ID under ShopCategory for Shops or HotelCategory for Hotelrooms. After that you can add the following settings, which only take affect on the given Category ID.
Setting | Description |
---|---|
usePermission | Are Permissions needed, to buy such a Shop/Hotel |
autoPaymentDefault | The Default Status of the auto Payment |
autoPaymentDisabled | If auto Payment should be changeable |
maxRentExtendAmount | The Max Amount a Player can extend the rent |
disableDoorCommand | Disables the door command |
ownerBypassLock | Should Owner or Players with Permission be allowed to open locked doors |
doorsClosedUntilBuy | <true/false> Should the doors be closed until a player bought the Shop/hotelroom? True Allows player to look, until someone rents it and does /shop door close |
doorsClosedAfterBuy | the default status, after a player bought a Shop |
allowUsersToMoveNPC | Should a user without permission be able to move the npc with /shop setnpc |
reminderRentRunningOut | If the player goes/is online %time% before the rent is running out, then a notification will be send. |
npcShouldSit | Should the Shop NPC (Only Citizens) be sitting? |
blacklistedItems | Items that should not be allowed to add to the category |
useBed | Allow always using bed |
useEnderchest | Allow always using Enderchests |
build | Deny Break/Build in the Shop/Hotelroom even as owner (false = no permission) |
teleport | Should it be possible to teleport to the Shop/Hotelroom |
interact | Should it be possible to interact in the Shop/Hotelroom even as owner |
Set up groups and how many Shops/Hotelrooms they should create. -1 for unlimited and the group default if no permission System is installed.
Are not the permissions for the normal permission System like f.e. LuckPerms. Those are from RentIt for Shop/Hotelroom Owners to give their friends permissions for the region. In the settings you can define the permission name, which the user will use ingame.
There is much more but most of them are for design purpose. Guis, Messages, etc..
You can check out the config.yml on Github.