[Release] Plutonium Filesystem
-
This plugin adds additional functionality to ChaiScript that allows you to read and write files into your computer.
Installation
- Download the latest release from https://github.com/StaRT1337/PlutoniumFilesystem/releases
- Drag the DLL into %localappdata%/Plutonium/storage/iw5/plugins
Usage
/* Creates a file handler. First param: File path Second param: Mode */ var file = Filesystem("helloworld.txt", "w+"); /* Writes/appends into file. First param: string to write */ file.Write("Hello, World!") /* Reads the contents of the file. */ var contents = file.Read(); print(contents) // Hello, World!Notes
- All available file modes are shown here.
- The plugin will only create a file handle if the file already exists. therefore modes like
r+andw+will act the same.
- The plugin will only create a file handle if the file already exists. therefore modes like
- For security measures, the file must be within the game folder (Not exactly in it, could also be in a folder that's within the game folder).
- For people who wish to build from source, make sure to set the C++ version to latest, set the run time library to
/MTand only compile as Release and x86. - While the plugin automatically closes the file handle as it goes out of scope, to manually close it use the
.Close()method.
-
I rate 10\10 best plugin ever. I banned all hacker !
-
flox YEs my friend made special from Durga Software Solutions
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login