.: Description :.
xRepo is a plugin which allows you to download content for your server via console or rcon. You can make your own repository to provide others content too. You can add everything you want.
It's similar to Debian's "apt-get" or Cydia from iOS.
.: How is this working? :.
In your repos.cfg you can add repos to xRepo in this format.
Quote: "xRepoOfficialRepo" "http://kiasprojects....o/official.txt" If you want to make your own repo follow this steps. You need webspace for this.
.: Commands :.
- Create a text file on your Webserver and call it xrepo.txt for example.
- Enter packages to it like this
Quote: ;Package Name Description URL
"aim_map" "Downloads the Map aim_map to your Server." "http://xrepo.kiaspro...tk/aim_map.txt"
"awp_india" "Downloads the Map awp_india to your Server." "http://xrepo.kiaspro.../awp_india.txt"
"de_hell" "Downloads the Map de_hell to your Server." "http://xrepo.kiaspro...tk/de_hell.txt"
"de_tuscan" "Downloads the Map de_tuscan to your Server." "http://xrepo.kiaspro.../de_tuscan.txt"- As you can see there is a text file for each Package, you must enter each file from the map / plugin / etc. in one line, like this
Quote: ;URL PATH_ON_SERVER
"http://xrepo.kiaspro...env/dustbk.tga" "gfx/env/dustbk.tga"
"http://xrepo.kiaspro...env/dustdn.tga" "gfx/env/dustdn.tga"
"http://xrepo.kiaspro...env/dustft.tga" "gfx/env/dustft.tga"
"http://xrepo.kiaspro...env/dustlf.tga" "gfx/env/dustlf.tga"
"http://xrepo.kiaspro...env/dustrt.tga" "gfx/env/dustrt.tga"
"http://xrepo.kiaspro...env/dustup.tga" "gfx/env/dustup.tga"
"http://xrepo.kiaspro.../de_tuscan.bsp" "maps/de_tuscan.bsp"
"http://xrepo.kiaspro.../de_tuscan.res" "maps/de_tuscan.res"
"http://xrepo.kiaspro.../de_tuscan.txt" "maps/de_tuscan.txt"
"http://xrepo.kiaspro...an_grass1a.mdl" "models/de_tuscan/tuscan_grass1a.mdl"
"http://xrepo.kiaspro..._palmtree1.mdl" "models/de_tuscan/tuscan_palmtree1.mdl"
"http://xrepo.kiaspro...an_shade1a.mdl" "models/de_tuscan/tuscan_shade1a.mdl"
"http://xrepo.kiaspro...an_shade2a.mdl" "models/de_tuscan/tuscan_shade2a.mdl"
"http://xrepo.kiaspro...an_shade3a.mdl" "models/de_tuscan/tuscan_shade3a.mdl"
"http://xrepo.kiaspro.../de_tuscan.bmp" "overviews/de_tuscan.bmp"
"http://xrepo.kiaspro.../de_tuscan.txt" "overviews/de_tuscan.txt"
You should enter these commands via console, else you won't see the output! I've added apt-get as alternative command for all linux friends. :)
.: Requirements :.
- (xrepo / apt-get) help : Shows all commands")
- (xrepo / apt-get) list : Lists all Repos from the .cfg file")
- (xrepo / apt-get) search <name> : Searchs for <name> in all repos.")
- (xrepo / apt-get) install <name> : Installs the package <name>.")
- (xrepo / apt-get) update : Updates all repo files.")
.: Bugs :.
- A Steam Server
- HTTP2 Include
- Local compiler or a compiler with .inc uploading
.: Credits :.
- None reported yet, please post bugs if you find them.
- Black Rose - HTTP2 Include and Scripting Help
- red_bull2oo6 - His Code for cutting of a folder from a string.
- Arkshine - Scripting Help
- ConnorMcLeod - Scripting Help
Attached Files

Wyświetl pełny artykuł