Garry's Mod

Garry's Mod

57 ratings
🔥 PermaProps - Clean & Easy [with MySQL support]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
93.879 KB
15 Mar, 2021 @ 8:22am
24 Oct, 2021 @ 6:56am
7 Change Notes ( view )

Subscribe to download
🔥 PermaProps - Clean & Easy [with MySQL support]

Description


The PermaProp system is my own solution for permanent entities. With it you can store entities and props permanently on a map. That means, they remain even after a mapchange.

⚠️ The addon doesn't work in singleplayer currently.
⚠️ Remember to set at least two players if you want to use it locally!


Keyfeatures
✔️ Modern UI
✔️ Fast & Optimized
✔️ Easy and fast to use
✔️ CAMI permissions
⭐ Permissions for permapropping, open the overview and open the settings
⭐ Can therefore be set via many admin mods ingame (SAM, ULX, Serverguard etc.)
✔️ Big config file
⭐ Theme
⭐ Max. PermaProps on a map
⭐ Blacklisted entities & models
⭐ and much more...
✔️ Overview menu with many features
⭐ You can search the whole database by ID, model and class
⭐ You can directly delete a prop
⭐ You can teleport to props
⭐ You can change values like model and class
⭐ You can also select several entries
⭐ It shows also who made the entity permanent and when
⭐ Props can be highlighted and are thus visible to the player through walls
✔️ Settings menu
⭐ Clear all PermaProps on the current map
⭐ Clear the whole database
⭐ Remove invalid PermaProps (on current map)
⭐ Respawn all PermaProps
✔️ Support for MySQL
✔️ You can delete PermaProps that have an invalid model
✔️ PermaProps are not deleted on map when you depermaprop them
✔️ Old PermaProps can be imported
✔️ Keyvalues are optimized and saved automatically
✔️ Hooks to store custom data for developers
✔️ Support for Textscreens, Effects, Props, Entities ...


Installation
  1. Download the repository and unpack it in the Addons folder.
  2. Restart the server.
  3. Configure the permissions.

Usage
There is a toolgun, with which the whole addon can be used. This is in the category "Other" and is called "PermaProps". With a left click on an entity/prop, it is made permanent. Right click to unpermaprop it and reload to open the PermaProp in the menu.
There are also two buttons in the tool settings that allow you to open the overview and settings menu.
The overview menu shows all current PermaProps on the map. With the green download button you can download more entries, because only 30 are downloaded at a time, for optimization reasons.
With a right click on an entry different things can be done. Also different entries can be marked and there is a search.

In the settings menu you can perform various tasks.
You can delete all perma-props on the map, you can delete the complete database, you can remove error models and you can reload all props.

Permissions
As already mentioned, the addon uses CAMI permissions. That means you can adjust the permissions ingame with many admin mods.

In this example with SAM:



But other admin mods like ULX, Serverguard, XAdmin works too!
  • PermaProps.CanPermaProp - The player can use the toolgun to make things permanent.

  • PermaProps.CanOpenOverview - The player can open the overview menu.

  • PermaProps.CanOpenSettings - The player can open the settings menu.

Import old PermaProps
All old PermaProps from the old database can be imported into the new addon. The whole thing is done with a simple console command, which must be executed in the server console!

ImportPermaProps

After that a message appears in the console if the operation was successful.

After everything has been imported, a mapchange should be made to make it effective.

< Also, you should not use both PermaProp addons at the same time. This can cause compatibility problems and props will be spawned twice! >

Developer stuff
There is a sh_config.lua in which many things can be set. A MySQL connection can also be set up there. But for this the MySQLOO module is needed.

There are also hooks, with which custom data can be stored.
You can find everything in the documentation: https://docs.google.com/document/d/1EeITaoNBUD2RI6oKQlcI4uPcdhOGmfVAk5Y41p4cphQ/edit?usp=sharing

By the way, keyvalues are saved automatically.

Other
GitHub Repo: https://github.com/SummeGaming/PermaProps
Discord: https://discord.gg/gbZQEnnCy2

For questions, problems and suggestions I am always available on Discord.
34 Comments
EmulatorWolf 24 Sep, 2023 @ 4:03pm 
im not sure if im haveing a problem but a server im on has this and when i permprop a prop and clean up the map it normaly stays and now it vanishes along with anything else
Lombaxtard 16 Aug, 2023 @ 1:37pm 
Where on Earth the database is actually stored??
MJ The Phantom Shitter 25 Jul, 2023 @ 6:15am 
hey question how the hell did this addon break billys whitelists its 100% this one as i add it it breaks i remove it it works
Hexon_Boi 6 May, 2023 @ 3:37pm 
funny, he made a better permaprops but won't update it to fix the errors
Lunar 9 Nov, 2022 @ 6:01am 
Hey sorry if this problem is listed but honestly I can not find it anywhere, and I have spent over 3 days trying to fix this. For some reason the perma props system is ignoring any sort of restriction I set in. I use WUMA to block the tool, and it lets admin use it. I block admin from using the tool with FPP, and untick the option in the CAMI settings, and admin can still use the tool. I even went in the files and rewrote and deleted everything involving base admin so that the base level of access is superadmin, and it still lets admin use the toolgun.
Just to add this as a note as well, I did have the addon in the content, and on the files, but I removed the one from the content. I did not wipe the database cause I wanted to keep the props we had, but I will probably end up doing that soon. However if you have a fix for my current issue I would greatly appreciate it.
Vurdel 21 Sep, 2022 @ 10:38am 
I cannot seem to save perma props bodygroups or skins
Allen Scott 1 Sep, 2022 @ 11:21am 
Is there way to make it extend to all props or entities constrained to the target entity as well? I'd hate to have to manually permaprop all the individual props of a larger building that's been welded together.
IzzyM 31 Jul, 2022 @ 12:43am 
Hi. Make it able to save ropes too
Grand& 28 Jul, 2022 @ 3:29am 
When I attempt to permaprop something on my server, the entity disappears, states in chat that it has been successfully added, but no perma props are in the list still. I would love some assistance with this. (same problem)
Titanovsky 24 May, 2022 @ 4:36am 
nice