Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <--- prometheus_config.lua --->
- --[[ Config ]]--
- Prometheus.WebsiteEnabled = true -- If true, the chat command will be enabled (Opens menu)
- Prometheus.WebsiteCmd = "!donate" -- Command they need to type in chat to open your website
- Prometheus.CanCheckRankCmd = true -- Can people re-check their ranks?
- Prometheus.CheckRankCmd = "!checkrank" -- Command they can type in chat to force a re-check on their rank which will assign them the latest rank that they have bought(Can happen in all kinds of cases, admin mod messes up, rank files are lost etc)
- Prometheus.SeperateForSite = false -- Set to true if you want to use seperate chat commands for opening donation page and opening menu
- Prometheus.OpenDonationCmd = "!donatesite" -- Used only if Prometheus.SeperateForSite is set to true, keep in mind to not have both be same command
- Prometheus.DropPermaWeaponOnDeath = false -- Should a permanent weapon given by Prometheus drop when a person dies
- Prometheus.CanDropPermaWeapon = false -- Can a perma weapon be dropped? If set to false weapon will be destroyed when dropped(Except on DarkRP where it simply cannot be dropped).
- Prometheus.Access.AdminMenu = {"admin", "superadmin"} -- Groups that can access the admin menu. Examples: {"admin"} {"admin", "superadmin", "owner"} For AssMod use the number of the rank like: {1, 2}
- Prometheus.NotifyEveryone = true -- If true, it will send a notification to everyone that a person on server has gotten a package
- Prometheus.RefreshTime = 40 -- How often should it check for new actions (In seconds)
- Prometheus.PlayerPackageCooldown = 10 -- How many seconds a person needs to wait before they can refresh their active packages(In menu)
- Prometheus.ServerID = 4 -- ID of this server, will be given to you when you create it on your web side of prometheus
- Prometheus.DebugInfo = false -- If enabled, will show debug info of actions, actions and other things in server console
- Prometheus.LoadSettingsFromDB = true -- If false, will always use the FallBackSettings, useful if you want different servers to have different text in the notifications(Different language servers)
- Prometheus.Mysql.Host = "localhost"
- Prometheus.Mysql.Port = 3306
- Prometheus.Mysql.Username = "root"
- Prometheus.Mysql.Password = "somerandompassword"
- Prometheus.Mysql.DBName = "prometheus"
- --[[ End of Config ]]--
- <--- Config.php --->
- // MYSQL Settings
- $db_host = 'localhost'; // Hostname or Host IP
- $db_user = 'root'; // Username
- $db_pass = 'kasperkayy'; // Password
- $db_database = 'somerandompassword'; // Database
- $db_port = 3306; // Database port
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement