|
文本文件阅读器 (TextFileReader)Github |相关wiki |源站链接支持: fabric一个可以在游戏中读取游戏外文件的模组(仅支持Fabric)。
安装
1. 从 [版本页面](链接) 下载最新版本
2. 将模组安装到您的 mods 文件夹中
3. 启动 Minecraft
使用方法
1. 进入游戏世界
2. 将您想要输出到游戏聊天栏的内容放入 [保存(存档的文本文件夹中)| 全局(服务器或客户端运行目录中的文本文件夹)]
3. 给予您文件权限(需要权限等级 2 或更高 | 启用作弊)[使用 /FileReader Permission Give [文件名]]
4. 在聊天框中输入 /FileReader File Read [文件名] [保存(存档的文本文件夹中)| 全局(服务器或客户端运行目录中的文本文件夹)] 或者在客户端中输入 /cTextFileReader Read [文件名(在客户端运行目录中的文本文件夹)]
5. 文件内容将显示出来
编译和调试
1. 克隆这个 [仓库](链接)
2. 使用您的 IDE 导入 build.gradle 文件
3. 开始调试和编译
(可选)4. 在仓库的根目录下运行 *gradlew build* 来编译模组
许可协议
这个项目是根据 GPL-3 许可证开源的。
来自Modrinth所有游戏版本1.20.11.20.2所有类型fabricTextFileReader 1.0.9pre-release1TextFileReader-1.0.9-1.20.2.jar下载1.0.9pre-release1#BetaRewrite network communication module<br>Add client-side setting screen (can be used by installing [ModMenu](https://modrinth.com/mod/modmenu) mod)<br>Add client-side reading screen<br>Separate client and server side Settings<br>[**Full Changelog**](https://github.com/TheColdWorld/MCTextFileReader/compare/Release-1.0.8-1.20.1...1.0.9-prerelease1-1.20.2)展开版本: 1.0.9pre-release1支持游戏: 1.20.1, 1.20.2类型:FabricBeta下载次数: 63TextFileReader 1.0.8TextFileReader-1.0.8-1.20.2.jar下载1.0.8#ReleaseTextFileReader-1.0.8-1.20.1.jar下载1.0.8#ReleaseSpecify the number of lines in the file to read after specifying the player (added in the next version without specifying the player)<br>added a new condition for detecting yourself to avoid using \'The command executor is xxx\' on yourself<br>migrated the code for loading events and synchronizing to files to a new static function<br>removed an unnecessary Log<br>added a GUI that is still under development <br>added a new hotkey to open the GUI<br>展开版本: 1.0.8支持游戏: 1.20.1, 1.20.2类型:FabricRelease下载次数: 60Release 1.0.7TextFileReader-1.0.7-1.20.2.jar下载1.0.7#ReleaseTextFileReader-1.0.7-1.20.1.jar下载1.0.7#ReleaseTextFileReader-1.0.7-sources.jar下载1.0.7#ReleaseTextFileReader-1.0.7-sources.jar下载1.0.7#ReleaseRelease 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)<br>Significantly reduced file IO operations, preventing information loss and game crashes caused by empty files due to process shutdowns when writing to files<br>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)<br>Create new permission instances for unreadable permission files (all file permissions are lost)<br>Possibility to automatically remove deleted files from the permissions list (off by default, change the value of \'RemoveInvalidFile\' to True in TextFileReader.json)[Full Changelog](https://github.com/TheColdWorld/MCTextFileReader/compare/Release-1.0.6...Release-1.0.7-1.20.2)展开版本: 1.0.7支持游戏: 1.20.1, 1.20.2类型:FabricRelease下载次数: 283Release 1.0.6TextFileReader-1.0.6.jar下载1.0.6#ReleaseBug fix: Fix NullPointerException caused by missing world Text folder leading to game crash when the file is empty. | at [mod.java](https://github.com/TheColdWorld/MCTextFileReader/commit/99b251604362775492db2be268e13c5f6884bed8#diff-b893b9fb64c3e93b3b6c93c77580e6175b85000aff8dd805b023a806c633c249)展开版本: 1.0.6支持游戏: 1.20.1类型:FabricRelease下载次数: 44Release 1.0.5TextFileReader-1.0.5.jar下载1.0.5#ReleaseRemove Mixin and switch to fabric API events | at [mixin/Server.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-f6ca9860d120b7870f67a0e830d7ff5d23214a2b6e8155d7ff8fb2312ac5736f) and [mod.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-b893b9fb64c3e93b3b6c93c77580e6175b85000aff8dd805b023a806c633c249)<br>use ScheduledExecutorService instead of Timer | at [mod.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-b893b9fb64c3e93b3b6c93c77580e6175b85000aff8dd805b023a806c633c249)<br>support \'/FileReader Permission Get [FileName] [Player] [Global|Save]\' to get read permission | at [filereader.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-5326c02a45db4f5d24472deafa17ad50c97f07c2877a4039b947f961c00db9db) <br>add read permission operation prompt for server console (will be recorded in log) | at [filereader.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-5326c02a45db4f5d24472deafa17ad50c97f07c2877a4039b947f961c00db9db)<br>support \'/FileReader File Read [FileName] [Global|Save]\' to get read permission or not. \' to get read permission or not | at [filereader.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-5326c02a45db4f5d24472deafa17ad50c97f07c2877a4039b947f961c00db9db)<br>support \'/FileReader File Read [FileName] [Global|Save] [Player]\' to show command executor | at [FileIO.java](https://github.com/TheColdWorld/MCTextFileReader/commit/c2d38fb7627abf9ac1913613589898c56f054e94#diff-1c1ebcedba9c32b571feac0224255bbc93ea3e36c85b08f3a60d4f0550a74588)展开版本: 1.0.5支持游戏: 1.20.1类型:FabricRelease下载次数: 42Release 1.0.4TextFileReader-1.0.4.jar下载1.0.4#ReleaseWhen you give or remove read access to a file, all Operators will see what you\'ve done. | at [filereader.java](https://github.com/TheColdWorld/MCTextFileReader/commit/9d3e41b7dee3a53a2d01ee97de7dc9af0d50c35c#diff-5326c02a45db4f5d24472deafa17ad50c97f07c2877a4039b947f961c00db9db) and [en_us.json](https://github.com/TheColdWorld/MCTextFileReader/commit/9d3e41b7dee3a53a2d01ee97de7dc9af0d50c35c#diff-2c5b0383ab2b89f984b667d86532deada5398e5af7e0ec2f2e979af9b94b1043),Separate permission changes into a timer | at [mod.java](https://github.com/TheColdWorld/MCTextFileReader/commit/9d3e41b7dee3a53a2d01ee97de7dc9af0d50c35c#diff-b893b9fb64c3e93b3b6c93c77580e6175b85000aff8dd805b023a806c633c249) and [mixin/Server.java](https://github.com/TheColdWorld/MCTextFileReader/commit/9d3e41b7dee3a53a2d01ee97de7dc9af0d50c35c#diff-f6ca9860d120b7870f67a0e830d7ff5d23214a2b6e8155d7ff8fb2312ac5736f)Before 1.0.4:<br>Mod list: <br>Players:<br>(Fake player)FP0 : 208.56 78.00 128.58<br>(Fake player)FP1 : 5000.50 99.00 5000.50<br>(Fake player)FP2 : -4999.50 64.00 -4999.50<br>Player : Running<br>[Use Command](https://github.com/TheColdWorld/MCTextFileReader/assets/100455633/0f9dbc95-29ca-4a07-b10e-88f358d24941)<br>[Fixed path movement](https://github.com/TheColdWorld/MCTextFileReader/assets/100455633/81db5a64-c914-47cc-9454-e8fc8a7ff8a3)<br>After 1.0.4-Dev1:<br>Mod list: <br><br>Players:<br>(Fake player)FP0 : 208.56 78.00 128.58<br>(Fake player)FP1 : 5000.50 99.00 5000.50<br>(Fake player)FP2 : -4999.50 64.00 -4999.50<br>Player : Running<br>[Use Command](https://github.com/TheColdWorld/MCTextFileReader/assets/100455633/079268b1-b2e4-4e79-ae12-d478f7597e7a)<br>[Fixed path movement](https://github.com/TheColdWorld/MCTextFileReader/assets/100455633/4c996c5a-4596-4184-b92c-944fc180448f)<br>展开版本: 1.0.4支持游戏: 1.20.1类型:FabricRelease下载次数: 36Version 1.0.3TextFileReader-1.0.3.jar下载1.0.3#ReleaseBug fix:Invalid permission given when storing text files into permission management due to multiple instances of the same file | at [FilePermissions.java](https://github.com/TheColdWorld/MCTextFileReader/commit/4e869d1f289952aab7b32612b3c2c09ae8903eb2#diff-2e5fe8854ec652a0c2dffaaa763922235003f226cf23b2039f24012246ad4a8f)展开版本: 1.0.3支持游戏: 1.20.1类型:FabricRelease下载次数: 29Version 1.0.2TextFileReader-1.0.2.jar下载1.0.2#ReleaseBug 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](https://github.com/TheColdWorld/MCTextFileReader/commit/976fe304737b7edc4382da5f4d1aa52c5497e823#diff-f6ca9860d120b7870f67a0e830d7ff5d23214a2b6e8155d7ff8fb2312ac5736f)展开版本: 1.0.2支持游戏: 1.20.1类型:FabricRelease下载次数: 31Version 1.0.1TextFileReader-1.0.1.jar下载1.0.1#ReleaseAdd /cFileReader List | at [cfileloader.java](https://github.com/TheColdWorld/MCTextFileReader/commit/fc3f467d126633bcbd7ccd0fe4c95e162f128e8d#diff-2279c0aadcd06cbe6b58c063ef487044381a12c06ad534d1d0087f7cfc0973da) <br>Using /FileReader Permission Remove/Give [FileName] is allowed without specifying a player | at [filereader.java](https://github.com/TheColdWorld/MCTextFileReader/commit/fc3f467d126633bcbd7ccd0fe4c95e162f128e8d#diff-5326c02a45db4f5d24472deafa17ad50c97f07c2877a4039b947f961c00db9db)<br>Update Readme | at [Commit](https://github.com/TheColdWorld/MCTextFileReader/commit/6d13a421a99620ff0ef517e4ebd57d270f08c208)展开版本: 1.0.1支持游戏: 1.20.1类型:FabricRelease下载次数: 37TextFileReader 1.0.0TextFileReader-1.0.0.jar下载1.0.0#ReleaseThis is the 1st Releases Version!InstallDownload the latest version from the Releases pageInstall the mod itself into your mods folderStart MinecraftUseEnter the worldPut 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 directoryType /TextFileReader File Read [Save (in archived Texts folder) | Global (in the Texts folder of the server or client runtime directory)] in the chat boxThe file content comes outCompilation and debuggingClonethis repositoryUse your IDE to importbuild.gradlefileStart debugging and compiling(Optional) 4. Run gradlew build under the root directory of the repository to compile the module body展开版本: 1.0.0支持游戏: 1.20.1类型:FabricRelease下载次数: 38全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
文本文件阅读器 |
楼主
2025-8-10 19:34:24
回复(0)
收起回复
|