✏️ Added :
- The
/rename-home
command, that allows you to rename a home
🫧 Changed :
- Use CyanLib 0.3.5 (which allows me to remove the config commands from this mod, as they are now handled in the CyanLib)
- (Only uses the last version, it's just to separate the features of each version) Use CyanLib 0.4.1 (which adds screen for the configuration on the client, only in solo for now)
❌ Removed :
- The
allowHomesOf
option (you can still use thehome-of
command and the trust system, its just the option that was removed)
✏️ Added :
- The command '/cyan removePropertiesFiles' that allows you to transfer properties files to json files and remove the properties files once this is done (the properties are transfered to json at the server start, but this is also made here just in case)
🚧 Fixed :
- FileInputStream not being closed, resulting in some errors when trying to delete the file
- A trusted player could remove another player's home
- Homes in solo where all saved at the same place, they are now in separate folders (same name as the world they are created for)
- Homes and Trust systems now use thread-safe classes (
ConcurrentHashMap
andCollections.synchronizedList
) to prevent any problem with concurrent modifications (basically 2 people editing the homes (which then writes in the files) at the same time)
🫧 Changed :
- Use CyanLib 0.3.1
Added :
- The files are now handeled with Gson instead of Properties
- The homes and trust files that were already present in your folders (.properties files) will be transfered automatically to .json files, but won't be removed. To do so, you will have to delete them manually (by using a command from this mod or simply by removing them by hand in your folder)
Fixed :
- Some options were misleading (minOpLevelExeOPHomeOf, minOpLevelExeHomeOf, ...), so I removed them and added only one instead (minOpLevelExeMisc). This option is basically a bypass to for players with a certain OP level, like using the homeOf commands even if the player does not have you in their trust list
- When typing the homeOf commands, the homes of the player you were trying to reach were not suggested