Jump to content


Popular Content

Showing content with the highest reputation since 01/14/20 in all areas

  1. 3 points
    you have to change the insanelimits.cs file. search the line: list.Add("procon.protected.send"); and replace the line with: if (!args[0].StartsWith("procon.protected")) { list.Add("procon.protected.send"); } after uploading you can use the following script for insane limit to disable other plugins: plugin.ServerCommand("procon.protected.plugins.enable","MULTIbalancer", "False");
  2. 1 point
    "Remove the comma by the smtp. also from the username and password field. You don't need those." OK and I needed to enable sending e-mail from gmail to external applications. Solved, thank you.
  3. 1 point
    Hi All, So @5YRU5 noticed that the email settings no longer worked in the current releases of the BFACP. I forgot I set it up a long time ago to use my mailgun account to send the emails for a less hassle way. I had rolled the key used for authentication for another reason and didn't remember that it was used here. Below is how to change it to use your email server. If you're running any version below 2.1-dev then these are what you need to add to your env.php file. Look at the email settings section at the bottom of this script. Copy and paste that into your env.php file. <?php /** * Array of IP addresses that are allowed to see debug information. To add more separate each entry * by a comma and enclose in double or single quotes. Only IPv4 Addressed supported. * Default: (localhost) * * @var array */ $allowedIps = ['']; if (isset($_SERVER['REMOTE_ADDR'])) { // Check for cloudflare use if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $ip = $_SERVER['HTTP_CF_CONNECTING_IP']; } else { $ip = $_SERVER['REMOTE_ADDR']; } if (in_array($ip, $allowedIps)) { $debug = true; } else { $debug = false; } } else { $debug = false; } /** * If Memcached exists then use that instead for better performance. * Supported: "file", "database", "apc", "memcached", "redis", "array" */ if (class_exists('Memcached')) { $session_driver = 'memcached'; $cache_driver = 'memcached'; } else { $session_driver = 'file'; $cache_driver = 'file'; } return [ /** * Do not change these settings unless * you know what you're doing */ 'APP_ENV' => 'production', 'APP_DEBUG' => $debug, 'IP_WHITELIST' => implode('|', $allowedIps), 'SESSION_DRIVER' => $session_driver, 'CACHE_DRIVER' => $cache_driver, /** * Database Settings */ 'DB_HOST' => 'localhost', 'DB_USER' => 'root', 'DB_PASS' => '', 'DB_NAME' => 'mydatabase', /** * Set your app key here */ 'APP_KEY' => 'YourSecretKey!!!', /** * Set pusher API keys to allow realtime functionality. You will need to create an account. * * See https://pusher.com/docs/javascript_quick_start */ 'PUSHER_APP_ID' => '', 'PUSHER_APP_KEY' => '', 'PUSHER_APP_SECRET' => '', /** * Email Settings */ 'MAIL_DRIVER' => 'smtp', 'MAIL_HOST' => 'smtp.mailtrap.io', 'MAIL_PORT' => 2525, 'MAIL_USERNAME' => '', 'MAIL_PASSWORD' => '', 'MAIL_FROM_ADDRESS' => '', 'MAIL_FROM_NAME' => '', 'MAIL_ENCRYPTION' => 'tls, ]; If you are running version 2.1-dev or higher then you will just need to add these to the bottom of your .env file. MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_FROM_ADDRESS=null MAIL_FROM_NAME=null MAIL_ENCRYPTION=tls Also, you will need to update the following config file in app/config/mail.php. If you are running < 2.1-dev. <?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may specify which one you're using throughout | your application here. By default, Laravel is setup for SMTP mail. | | Supported: "smtp", "sendmail", "mailgun", "ses", | "postmark", "log", "array" | */ 'driver' => getenv('MAIL_DRIVER', 'smtp'), /* |-------------------------------------------------------------------------- | SMTP Host Address |-------------------------------------------------------------------------- | | Here you may provide the host address of the SMTP server used by your | applications. A default option is provided that is compatible with | the Mailgun mail service which will provide reliable deliveries. | */ 'host' => getenv('MAIL_HOST', 'smtp.mailgun.org'), /* |-------------------------------------------------------------------------- | SMTP Host Port |-------------------------------------------------------------------------- | | This is the SMTP port used by your application to deliver e-mails to | users of the application. Like the host we have set this value to | stay compatible with the Mailgun e-mail application by default. | */ 'port' => getenv('MAIL_PORT', 587), /* |-------------------------------------------------------------------------- | Global "From" Address |-------------------------------------------------------------------------- | | You may wish for all e-mails sent by your application to be sent from | the same address. Here, you may specify a name and address that is | used globally for all e-mails that are sent by your application. | */ 'from' => [ 'address' => getenv('MAIL_FROM_ADDRESS', '[email protected]'), 'name' => getenv('MAIL_FROM_NAME', 'Example'), ], /* |-------------------------------------------------------------------------- | E-Mail Encryption Protocol |-------------------------------------------------------------------------- | | Here you may specify the encryption protocol that should be used when | the application send e-mail messages. A sensible default using the | transport layer security protocol should provide great security. | */ 'encryption' => getenv('MAIL_ENCRYPTION', 'tls'), /* |-------------------------------------------------------------------------- | SMTP Server Username |-------------------------------------------------------------------------- | | If your SMTP server requires a username for authentication, you should | set it here. This will get used to authenticate with your server on | connection. You may also set the "password" value below this one. | */ 'username' => getenv('MAIL_USERNAME'), 'password' => getenv('MAIL_PASSWORD'), /* |-------------------------------------------------------------------------- | Sendmail System Path |-------------------------------------------------------------------------- | | When using the "sendmail" driver to send e-mails, we will need to know | the path to where Sendmail lives on this server. A default path has | been provided here, which will work well on most of your systems. | */ 'sendmail' => '/usr/sbin/sendmail -bs', /* |-------------------------------------------------------------------------- | Mail "Pretend" |-------------------------------------------------------------------------- | | When this option is enabled, e-mail will not actually be sent over the | web and will instead be written to your application's logs files so | you may inspect the message. This is great for local development. | */ 'pretend' => false, ];
  4. 1 point
    you can do with insane limits. // setting for insane limit: evaluation: OnInternalServer - Interval: 60 - first_check: code if (server.PlayerCount < 20) { plugin.PRoConChat("my spam txt abc. do not leave the server!!!"); plugin.SendGlobalMessage("my spam txt abc. do not leave the server!!!"); }
  5. 1 point
    Yeh, G-Portal blocks dll files on their ftp servers
  6. 1 point
    Well i already fixed it and i added all maps
  7. 1 point
  8. 1 point
    Another little teaser for everyone. Little improvement over the old ban creation for a player.
  9. 1 point
    I did a increase on the limit and pushed it up. You can get the updated minor version here..
  10. 0 points
    It'll be announced when it's close to a release state. I'll have a alpha version for those to try it out before declaring a full release.
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.