Specify the number of lines in the file to read after specifying the player (added in the next version without specifying the player)
added a new condition for detecting yourself to avoid using 'The command executor is xxx' on yourself
migrated the code for loading events and synchronizing to files to a new static function
removed an unnecessary Log
added a GUI that is still under development
added a new hotkey to open the GUI
Release will be released in separate Minecraft versions.
Upgraded Minecraft version to 1.20.2 (it will still support version 1.20.1 until Minecraft 1.20.3 is released)
Significantly reduced file IO operations, preventing information loss and game crashes caused by empty files due to process shutdowns when writing to files
Extracted some repetitive operations and some variables into separate classes; settings options can now be read directly in memory and no longer rely on file IO reads (in-game changes will be supported in the future)
Create new permission instances for unreadable permission files (all file permissions are lost)
Possibility to automatically remove deleted files from the permissions list (off by default, change the value of 'RemoveInvalidFile' to True in TextFileReader.json)
Remove Mixin and switch to fabric API events | at mixin/Server.java and mod.java
use ScheduledExecutorService instead of Timer | at mod.java
support '/FileReader Permission Get [FileName] [Player] [Global|Save]' to get read permission | at filereader.java
add read permission operation prompt for server console (will be recorded in log) | at filereader.java
support '/FileReader File Read [FileName] [Global|Save]' to get read permission or not. ' to get read permission or not | at filereader.java
support '/FileReader File Read [FileName] [Global|Save] [Player]' to show command executor | at FileIO.java
When you give or remove read access to a file, all Operators will see what you've done. | at filereader.java and en_us.json,
Separate permission changes into a timer | at mod.java and mixin/Server.java
Before 1.0.4:
Mod list:
Players:
(Fake player)FP0 : 208.56 78.00 128.58
(Fake player)FP1 : 5000.50 99.00 5000.50
(Fake player)FP2 : -4999.50 64.00 -4999.50
Player : Running
Use Command
Fixed path movement
After 1.0.4-Dev1:
Mod list:
Players:
(Fake player)FP0 : 208.56 78.00 128.58
(Fake player)FP1 : 5000.50 99.00 5000.50
(Fake player)FP2 : -4999.50 64.00 -4999.50
Player : Running
Use Command
Fixed path movement
Bug fix:Invalid permission given when storing text files into permission management due to multiple instances of the same file | at FilePermissions.java
Bug fix:When the "world/Texts" folder is missing, the inability to create a folder causes "world/Texts/Permissions.json" to be missing and Minecraft crashes | at mixin/Server.java
Add /cFileReader List | at cfileloader.java
Using /FileReader Permission Remove/Give [FileName] is allowed without specifying a player | at filereader.java
Update Readme | at Commit
This is the 1st Releases Version!
Install Download the latest version from the Releases page Install the mod itself into your mods folder Start Minecraft Use Enter the world Put the content you want to output in the game chat bar into the archived Texts folder or the Texts folder of the server or client running directory Type /TextFileReader File Read [Save (in archived Texts folder) | Global (in the Texts folder of the server or client runtime directory)] in the chat box The file content comes out Compilation and debugging Clone this repository Use your IDE to importbuild.gradle file Start debugging and compiling
(Optional) 4. Run gradlew build under the root directory of the repository to compile the module body


