Garry's Mod

Garry's Mod

744 ratings
[DarkRP] Keep pocket contents when disconnecting
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Roleplay
File Size
Posted
Updated
1.905 KB
Mar 10, 2015 @ 7:10pm
May 6, 2017 @ 10:39am
4 Change Notes ( view )

Subscribe to download
[DarkRP] Keep pocket contents when disconnecting

In 2 collections by Alban CHAMPIGNON [GiletJaune]
Université Joseph Poireau (serveur)
70 items
G-1:788429
50 items
Description
This addon is for the DarkRP gamemode only!
BIG UPDATE May 2017: works well with anything now, also will save pocket contents in database by default.
This addon will save your pocket contents when you disconnect so your pocket is restored when you connect again.
It will only save contents after restart and map reload if properly configured: see below.

[curse.com]

Configuration
Add this ConVar to your garrysmod/cfg/server.cfg.
darkrp_keep_pocket_forever - Allows the addon to store and load pocket contents from database [0/1] (default 1)

Bug tracker
Please let me know it the restored entities properly work. For instance, Falco's Prop Protection may mess up with who can manipulate restored entities.

Note: if you are the host then if you use the retry console command then the disconnect event is not triggered, so if darkrp_keep_pocket_forever is not set to 1 then your pocket will not be saved.
123 Comments
Alban CHAMPIGNON [GiletJaune]  [author] Jul 28, 2018 @ 3:28am 
If it's in your pocket when you leave then I suppose it will still be there when you come back.
☝Пошел на хуй Jul 28, 2018 @ 12:38am 
Say in Russian , if i exit server and join again my money printer will save?
Alban CHAMPIGNON [GiletJaune]  [author] Jul 15, 2018 @ 6:45am 
You just told me you can't subscribe to the DarkRP on the Workshop. Deal with it but honestly it's not so much of a problem of mine. :steammocking:
Quotation Marx Jul 15, 2018 @ 5:11am 
Surely there's a Steam workshop link? I'm just unhealthily paranoid about viruses.
Alban CHAMPIGNON [GiletJaune]  [author] Jul 15, 2018 @ 4:03am 
Just add it on your game / server by downloading it through its Git repository (or the Subversion compatibility layer if you prefer instead).
Home page: https://github.com/FPtje/DarkRP/
Quotation Marx Jul 15, 2018 @ 3:50am 
How do you even download the Darkrp gamemode? It says that I can't access it if I click on it & therefore I can't subscribe to it
Bolsonaro Jan 28, 2018 @ 3:37pm 
cance :steamhappy:
Alban CHAMPIGNON [GiletJaune]  [author] Dec 24, 2017 @ 4:50am 
Of course not, because everything can be spawned from the spawn menu with no limit.
tourniquet taster Dec 23, 2017 @ 7:48pm 
IS THERe SOMETHING LIKE THis in ssandbox?\
robalek69 Sep 3, 2017 @ 6:56am 
I hope i have pasted it correct xD