Jump to content

ZEODE

Creator Pro
  • Posts

    2,090
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by ZEODE

  1. ZEODE

    Bradley Drops

    All versions are available on the Updates page for any resource on CF.
  2. ZEODE

    Bradley Drops

    To fix it you need to upload your config file for 1.2.7, then update to 1.3.0 first, then 1.3.1, then to 1.3.2. In future it won’t matter about the version you update from, previously it hasn’t mattered either, but I should have made it clear to update in a certain order or added backward compatibility, so it’s kind of my bad. Anyway, update in the order I said and it’ll be fine then. Don’t forget there will be extra config options for you to then configure.
  3. ZEODE

    Bradley Drops

    There is probably errors in the console when you load the plugin. What version of the plugin did you have running when you upgraded to the latest version?
  4. Version 1.0.1

    18 downloads

    CodeFling Creator Bot is a Discord bot, written in Python using Discord.py. The bot monitors users specified in the config and using the CodeFling API, sends notifications to Discord for various actions: - New Releases (Plugins, Maps, Tools etc) - Plugin/Release Updates - New Comments/Discussion Posts - New Reviews - New Private Messages The bot is lightweight and written with efficiency and reliability in mind. It makes only the API calls it needs and stores data in an SQLite database for use later. When guild members use the bot commands, the data is pulled from the local database and doesn’t make extra calls to the API, which means you don’t need to worry about rate limiting or getting banned by the API. The bot polls the API looking for new content at set periods as set in the config, notifying about new content and then updating the database with new data. PLEASE NOTE: Requires Python 3.6 or higher. README: CodeFling Creator Bot 1.0.1 Discord Bot by ZEODE ========================================== Minimum requirements: Python 3.6 or higher Dependacies: Discord.py aiohttp Using pip: pip install -U discord.py pip install -U aiohttp The -U flag just means “upgrade to the latest version if already installed.” Using apt: apt install python3-discord apt install python3-aiohttp This file explains each configuration option in config.json *************** DEFAULT CONFIG FILE IS CREATED ON FIRST RUN *************** DISCORD SETTINGS ---------------- Make sure your Discord bot has at least "Send Messages", "Read Message History" and "Embed Links" permissions. bot_token: Your Discord bot token from the Discord Developer Portal. Get it from: https://discord.com/developers/applications release_channel_id: Discord channel ID where file release/update notifications will be posted. To get channel ID: Enable Developer Mode in Discord settings, right-click channel, "Copy ID" purchase_channel_id: Discord channel ID for purchase notifications (recommend private channel). Shows when someone buys one of your paid plugins. support_channel_id: Discord channel ID for support request notifications. HOPEFULLY COMING SOON - Currently the API endpoints do not provide the necessary information to provide this (I have asked for it, so watch this space). comments_channel_id: Discord channel ID for comment/discussion notifications. Shows when users comment on your files (excludes file author replies). downloads_channel_id: Discord channel ID for file downloads notifications (recommend private channel). Shows when users download your files. reviews_channel_id: Discord channel ID for file review notifications. Shows when users review a monitored file. messages_channel_id: Discord channel ID for user message notifications (recommend private channel). Notifys when a monitored user receives a message on CodeFling. commands_channel_id: Discord channel ID for people to use bot commands. People can use bot ! commands here, all user messages can be cleaned automatically, see below. admin_commands_channel_id: Channel for users with the bot admin role to use admin commands away from public channels All normal commands also work here for bot admin role users to use here too clean_commands_channel: If true, users messages are automatically deleted shortly after they are sent to the channel. max_number_files_to_list: Number of files to return when users use the "!list plugins" command bot_admin_role_id: Users need this role to use the admin only commands ping_release_channel: If this is true, new releases or updates to files will be notified with the @everyone tag NOTE: - Leaving any of the channel IDs blank will disable notifications for those actions - Although there are separate channels for each type in the config, this is just for anyone wanting this, if you want you can put the same channel ID in more than one channel config CODEFLING SETTINGS ------------------ monitored_users: Dictionary of Codefling user IDs and their API tokens. Format: "user_id": "api_token" How to get your User ID: - Visit your Codefling profile - Hover over or click on "See my activity" - Your user ID is in the URL: https://codefling.com/profile/USER_ID-username/content/ - Copy just the numbers, without the "-username" part How to get API Token: - Visit: https://codefling.com/settings/apps/ - Click "Add App" > "Creator API" - Select "All" under scopes - Copy the access token to paste in your config Example: "monitored_users": { "user_id_1": "your_api_token_here", "user_id_2": "another_api_token" } Note: Each user needs to use their own API token. poll_interval_seconds: How often (in seconds) the bot checks Codefling for new content. Default: 120 (2 minutes) Suggested values: ____________________________________________________________________________________ | Type | Safe poll interval | Notes | | ----------------------- | ------------------ | ----------------------------------- | | Light use (1–2 authors) | 60 s | Feels instant, safe if few requests | | Medium (3–5 authors) | 120 s | Recommended default | | Heavy use (5+ authors) | 300 s | Low strain, good scaling | | Massive / strict API | 600 – 900 s | Extremely safe | |_________________________|____________________|_____________________________________| Note: Too frequent polling may hit API rate limits. retention_days: How many days of historical data to track and store. Default: 7 days The bot will: - Only notify about content within this time window - Automatically clean up older data daily - On first run, load existing content from this period Recommended values: - 7 days (minimal storage) - Recommended - 30 days (balanced) - 90 days (extended history) NOTE: Monitored resource/file data is kept indefinitely for users !stats !list commands etc, but the bot will only look for new actions within this period to send notifications to Discord or not. This maintains speed and performance so the bot isn't retreiving more data than is necessary with each API call. In most cases, 7 days should be more than sufficient for all use cases. LOGGING SETTINGS ---------------- timestamp_date_format: The format for timestamps in the console/log output. Availble: - %d - %m - %y e.g: %d-%m-%y would make something like 30-10-25 timestamp_time_format: Specify the format for the timestamp. - 12h - 24h log_file_path: Set the path to the OPTIONAL log file. If left blank, no log file will be used. API OPTIONS ----------- Note: You can usually leave this as is and it will work absolutely fine. max_attempts: How many times to try an API request if it fails before giving up on that attempt Useful for occasional CloudFare errors/timeouts timeout_seconds: How long to wait before retrying a API request due to timeout config_version: DO NOT EDIT THIS COMMANDS ------------------ NOTE: Commands by users do not query the CodeFling API every time. They only retreive data from the SQLite database, so you don't have to worry about rate limiting or banning from users abusing the commands on Discord. This also means it is much quicker with results. The database is updated with all the info every time the API is queried as per the poll rate in the config only. Non-Admin Commands: !help Lists all available commands !stats [username] Get own stats without parameter if you are monitored by the bot or get stats for the user specified !list files List all files monitored by the plugin (config option to limit results) !list authors List all file authors/devs monitored by the bot !file <FileName> / !file <file_id> Give information about that file Admin Commands: !user add <user_id> <api_token> Add the specified user ID and API token to the bot, save in the config and begin monitoring !user remove <user_id> Stops monitoring and removes the specified user ID from the bot and config !rotate Immediately rotate the log file and begin a new blank log file (rotated files saved in logs/) !cleardb Immediately clear the SQLite database and re-seed a new database (ALL DATA WILL BE CLEARED) !test <review|download|purchase|comment|message> Send a test notification to Discord for the most recent entry of the given type !test <file> [new|updated] Send a test notification to Discord for the most recent entry for files/releases, using the new or updated parameter accordingly/ FIRST RUN BEHAVIOR ------------------ On first run, the bot will: 1. Create a SQLite database (codefling_bot.db) 2. Load/Cache all users existing files. 3. Load/Cache all existing content from the last N days (retention_days) 4. DOES NOT send any notifications for existing content 5. Only notify about NEW content after initialization On subsequent runs: 1. Check for content created while bot was offline 2. Send notifications for missed content 3. Continue normal monitoring TROUBLESHOOTING --------------- No notifications appearing: - Verify channel IDs are correct - Check bot has "Send Messages", "Read Message History" and "Embed Links" permissions - Confirm API tokens are valid and have correct scopes Getting rate limited: - Increase poll_interval_seconds value - Default 300 seconds (5 minutes) should be safe Bot sends old notifications on startup: - This is normal if content was created while bot was offline - Bot catches up on missed content within retention period - On first run, no old notifications should appear SUPPORT ------- For issues with the bot, check console output for error messages. Get more support in my Discord: https://discord.gg/jnyg3FvDnc For Codefling API issues, see: https://codefling.com/developers
    $14.99
  5. ZEODE

    Heli Signals

    You opened a support thread for this issue and I have replied, why post here now? Check your support thread.
  6. ZEODE

    Heli Signals

    Hi, just copy one of the existing profiles within the config and then edit it to suit you. The expert and nightmare skin aids are on the plugin page or within the plugin file itself at the top.
  7. ZEODE

    Bradley Drops

    I haven’t changed the delivery logic, other factors which can affect the accuracy of the drop is plane speed and server FPS. Faster plane speed makes it less accurate and low server FPS can also cause it.
  8. ZEODE

    Bradley Drops

    I’ll look into it next time I’m at the computer, probably Tuesday. Also, a reminder this is not to place for support. As things get forgotten here, you should open a support thread so issues can be tracked.
  9. ZEODE

    Bradley Drops

    If anyone has any suggestions for future updates, feel free to join my Discord and let me know
  10. ZEODE

    Fish Loot

    No, you cannot add your own rarity numbers. 1-5 only.
  11. ZEODE

    Bradley Drops

    Have a look at these config options, you can adjust them. "Min Distance From Building Privilege To Use Signals (Important: Greater or Equal To Proximity Check Radius)": 10.0, "Strict Proximity Check (Checks for objects close to signal, prevents APC landing on objects)": true, "Strict Proximity Check Radius": 10.0, But if it’s saying your throwing too close to an object, then move into a clear area and throw. It could be objects like trees, nodes, deployables, terrain such as cliffs and rocks etc. Anything that the Bradley could land on and tip, causing people to cheese the event. It’s to prevent that happening.
  12. ZEODE

    Bradley Drops

    Yeah, its not to do with force changes, but I have already fixed the source of the error and an update will be out later tonight or tomorrow.
  13. ZEODE

    Bradley Drops

    Please use the proper support section for support issues and bug reports. Please open a thread and describe the issues you are having as it is not clear from what you have said. When reporting issues, please provide as much information as possible, including any errors or warnings in the console and how often the issue happens. The more the better..
  14. ZEODE

    Bradley Drops

    The issue is identified and will be fixed in the next update
  15. ZEODE

    Stack Modifier

    From my point of view, all I want is to be able to control stacking, splitting, combining and moving of inventory/container items so that I can control and provide different stacking for my plugins own custom skinned items outside of the stacking for normal versions of those items. I think that would be what most other devs would want to. So a simple call using the item right at the beginning of your CanStackItem, CanMoveItem, OnItemSplit, CanCombineDroppedItem etc is what we would need. The performance hit on that has to be negligible surely? Not sure what else you would need to add or people are asking for?
  16. ZEODE

    Stack Modifier

    When will you ever add an API call for other devs to prevent this plugin stacking etc when they want to use their own stacking/copmbining/splitting logic? I see this in your plugin, but nothing we can use yet: #region API ( pls don't make me regret adding this.. ) #endregion There are many occasions where I and I am sure other devs want to allow/disallow stacking/splitting of their custom items for various reasons without affecting the normal stacking on their server, but it is not possible at the moment. A hook we could use would be so useful; to so many.
  17. Version 1.0.1

    77 downloads

    Harmony Log Manager is a simple plugin to give you more control over the Harmony logging for your server. With this plugin you can easily enable/disable the Harmony.DEBUG flag. When set to false, it disables all the verbose Harmony logging entirely. Or if you would rather you can set the plugin to rotate the log files according to your settings, such as daily at a specific time, hourly or when the log file reaches a certain file size. These are all features not available natively, but very nice to have. Commands: harmonylog.reload - reload the config after changes harmonylog.status - Get info about the log file and settings harmonylog.rotate - Manually rotate the log file Config Options: "Disable Global Verbose Harmony Logging" - Set's Harmony.DEBUG flag accordingly, false stops the verbose Harmony logging "Enable Log Rotation" - Enable or disable log rotation (i.e: Create and use new log files on rotation based on your settings) "Log Rotation Mode (daily, hourly, size)" daily - rotates the file at the set time each day "Daily Log Rotation Time as HH:MM:SS Format" - Sets log rotation time in the format shown hourly - rotates the log file every HH hours "Log Rotation Every HH Hours" - Sets the log rotation every HH hours size - rotates the log file when it reaches the size in MB "Max Log File Size (MB)" - Set the max size of the log file in MB "Log File Size Checking Interval (Seconds)" - How often to check the file size "Path to Harmony Log File (default = harmony_log.txt)" - The path to your harmony_log.txt file "Path to Store Old Log Files (default = oxide/logs/Harmony/" - The path you want to store your old log files (will create if does not exist) "Max Stored Log Files (Oldest Deleted First)" - How many old log files to keep, oldest deleted first Default Config: { "Disable Global Verbose Harmony Logging": false, "Enable Log Rotation": true, "Log Rotation Mode (daily, hourly, size)": "daily", "Daily Mode Options": { "Daily Log Rotation Time as HH:MM:SS Format": "23:59:59" }, "Hourly Mode Options": { "Log Rotation Every HH Hours": 24 }, "Size Mode Options": { "Max Log File Size (MB)": 50, "Log File Size Checking Interval (seconds)": 300.0 }, "Log File Options": { "Path to Harmony Log File (default = harmony_log.txt)": "harmony_log.txt", "Path to Store Old Log Files (default = oxide/logs/Harmony/": "oxide/logs/Harmony/", "Max Stored Log Files (Oldest Deleted First)": 30 }, "Version": { "Major": 0, "Minor": 0, "Patch": 1 } }
    Free
  18. ZEODE

    Heli Signals

    In future please use the support section for issues, to keep the discussion page clear for other related chat. It would seem that for some reason there was a fault during the plugin load, specifically during the updating of the config file. Not sure what, but to fix it backup your config file, then delete it and reload the plugin. Then copy and paste your custom loot tables and any other changes to your new config. It sucks but it will fix it for you. It's almost impossible for me to see the issue, but one of your config values must have been null somehow.
  19. ZEODE

    Heli Signals

    FYI: I realise I added the config option for wave cooldown delay, but this is not yet implemented, apologies. I will update this tomorrow with that added.
  20. ZEODE

    Heli Signals

    No, but you can turn on an option to give a damage report for normal heli if you wish. It’s optional.
  21. ZEODE

    Bradley Drops

    Please keep the discussion page clear of support requests. I note you have also posted this exact same support request in my discord, I have replied to you there.
2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.3k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

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.