Skip to content

2. Installation

JohnnyS edited this page Jun 27, 2023 · 1 revision

Installation

  1. Download the latest version from here. Note: If you have a more up to date version PLEASE SHARE!! Since this is already built I assume it should work, I dont have source code.
  2. Put the JD_logsV3 folder in the server resource directory
    • Make sure to rename the folder to JD_logsV3. Rename the example.config.json to config.json (The file is in the config folder) Do the same for the example.channels.json.
  3. Get yourself the bot token and add them in the config.json
    • Not sure how to get a bot token? How to get a bot token.
    • The bots need to have the following intents enabled:
      • Presence Intent
      • Server Members Intent
      • Message Content Intent
  4. Add this to your server.cfg
ensure JD_logsV3
  1. Start the resource once and let it build. Prob dont need to since I built it already?
  2. Go to your discord where you invited the bot (The one where you want your new main logs to be.) and use the command !jdlogs setup.
  3. Restart your server and you will see the logs on your discord.

Configuration

After you have installed JD_logs you can open the config file and change the settings to your needs. You will find the config file in the config folder.

When you just installed JD_logs your config should look like this:

{
    "prefix":"!jdlogs ",
    "token": "",
    "guildId": "",
    "TimezoneOffset": "+00:00",
    "language": "en",

    "NameChangePerms": "jd.staff",
    "screenshotPerms": "jd.staff",

    "allLogs": true,

    "weaponLog": true,
    "damageLog": true,
    "deathLog": true,

    "playerId": true,
    "postals": true,
    "playerHealth": true,
    "playerArmor": true,
    "playerPing": true,

    "ip": true,
    "steamUrl": true,
    "discordId": {
        "enabled": true,
        "spoiler": true
    },
    "steamId": {
        "enabled": true,
        "spoiler": true
    },
    "license": {
        "enabled": true,
        "spoiler": true
    },

    "WebhookResetMessage": false,

    "WeaponsNotLogged": [
        "WEAPON_SNOWBALL",
        "WEAPON_FIREEXTINGUISHER",
        "WEAPON_PETROLCAN"
    ],

    "DiscordAcePerms": {
        "DISCORD_ROLE_ID": {
            "groups": ["group.admin", "group.mod"],
            "perms": ["jd.staff"]
        }
    }
}

Config settings:

Basic Settings

Ace perms

Additional Settings

Player Details

Rest of the settings

Clone this wiki locally