Exiled-Team / DiscordIntegration

GNU General Public License v3.0
14 stars 38 forks source link

[BUG] Discord Integration IP config resetting when server starts #140

Closed Monday173 closed 1 year ago

Monday173 commented 1 year ago

Describe the bug Config resetting upon restarting server - attempting to link to unwanted IP

To Reproduce Steps to reproduce the behavior:

  1. Install the plugin with Exiled Hosting
  2. Modify the IP/Port to the correct one
  3. Save the file
  4. Start the server

Expected behavior Plugin connects to correct IP address and Port and runs without error

Server logs [2023-01-22 20:20:34.160 +01:00] [WARN] [DiscordIntegration] [NET] Connecting to 127.0.0.1:7518. [2023-01-22 20:20:35.144 +01:00] [ERROR] [Exiled.API] [NET] An error has occurred while connecting: Connection refused

EXILED Version ("latest" is not a version): 6.0.0-beta.25

Results of show plugins command in console:

[2023-01-22 20:26:49.261 +01:00] Total number of plugins: 8
                                 Enabled plugins: 8
                                 Disabled plugins: 0

                                 Exiled.Events:
                                        - Author: Exiled Team
                                        - Version: 6.0.0.0
                                        - Required Exiled Version: 6.0.0.0
                                        - Prefix: exiled_events
                                        - Priority: Highest
                                 Exiled.CustomItems:
                                        - Author: Exiled Team
                                        - Version: 6.0.0.0
                                        - Required Exiled Version: 6.0.0.0
                                        - Prefix: exiled_custom_items
                                        - Priority: Medium
                                 Exiled.Updater:
                                        - Author: Exiled.Updater
                                        - Version: 3.1.1.0
                                        - Required Exiled Version: 6.0.0.0
                                        - Prefix: exiled_updater
                                        - Priority: Medium
                                 Exiled.CreditTags:
                                        - Author: Babyboucher20 & iRebbok & Exiled Team
                                        - Version: 6.0.0.0
                                        - Required Exiled Version: 6.0.0.0
                                        - Prefix: exiled_credits
                                        - Priority: Medium
                                 Exiled.Permissions:
                                        - Author: Exiled Team
                                        - Version: 6.0.0.0
                                        - Required Exiled Version: 6.0.0.0
                                        - Prefix: exiled_permissions
                                        - Priority: Medium
                                 DiscordIntegration:
                                        - Author: DiscordIntegration
                                        - Version: 7.0.1.0
                                        - Required Exiled Version: 6.0.0
                                        - Prefix: discord_integration
                                        - Priority: Medium
                                 Exiled.CustomRoles:
                                        - Author: Exiled Team
                                        - Version: 6.0.0.0
                                        - Required Exiled Version: 6.0.0.0
                                        - Prefix: exiled_custom_roles
                                        - Priority: Medium
                                 Admin Tools:
                                        - Author: Originally by Joker119. Modifications by KoukoCocoa & Thomasjosif
                                        - Version: 6.0.0.0
                                        - Required Exiled Version: 6.0.0
                                        - Prefix: AT
                                        - Priority: Medium

Additional context Trying to set up Discord integration for server, trying to conenct to remote linode server with running bot