Skip to content

Garry's Mod server addon which provides the ability to permanently save entities. The data is getting saved either in the local SQL db or in a MySQL. db

Notifications You must be signed in to change notification settings

maxverwiebe/PermaProps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

Logo

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.

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

Installation

  1. Download the repository and unpack it in the Addons folder.
  2. Edit the sh_config.lua to your needs.
  3. Restart the server.
  4. 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:

SAM

  • 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

Workshop Version: https://steamcommunity.com/sharedfiles/filedetails/?id=2425701082 Discord: https://discord.gg/gbZQEnnCy2

About

Garry's Mod server addon which provides the ability to permanently save entities. The data is getting saved either in the local SQL db or in a MySQL. db

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages