Garry's Mod

Garry's Mod

111 ratings
Expression 2 Serverside Files
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
731.000 B
23 Jan, 2014 @ 10:02pm
1 Change Note ( view )

Subscribe to download
Expression 2 Serverside Files

Description
This is an addon for Wiremod adding 9 Expression 2 functions that allow you to write/read files on your server. Unlike the file functions included in Wiremod, these files are saved serverside.

Requires Wiremod, obviously.

Adds these functions:
e2serverfileAppend(string path, string content)
e2serverfileCreateDir(string path)
e2serverfileDelete(string path)
e2serverfileExists(string path)
e2serverfileIsDir(string path)
e2serverfileRead(string path)
e2serverfileSize(string path)
e2serverfileTime(string path)
e2serverfileWrite(string path, string content)

IMPORTANT: All files must end in ".txt"
5 Comments
kumi.ko 1 Sep, 2017 @ 7:58pm 
@Dbcraft11 it comes with Wiremod
DaveTheBaron 17 Aug, 2017 @ 10:28pm 
HOW DO I EVEN GOET E2 IS IT A HACKING SOFTWARE!!? :steamsalty::steamsalty::steamsalty::steamsalty:
Lidl 3 Mar, 2016 @ 8:56am 
anyone know where i can find luarun e2 function for my server?
FM-96  [author] 25 Aug, 2014 @ 9:37am 
The functions are accessible by anyone.
There's no way to list all the files from inside the game though, so if you save something in a file other users won't know the file name and therefore can't mess with it.
froggcore 25 Aug, 2014 @ 7:28am 
Are these extensions superadmin accessible only? I wouldn't want my admins screwing with these extensions if anyone can use them..