Jump to content

Lorenc

Creator
  • Posts

    15
  • Joined

  • Last visited

Everything posted by Lorenc

  1. Version 2.2.0

    15 downloads

    Description: Custom Event Manager is a lightweight Rust plugin that automatically manages and rotates through server events. Instead of manually starting events, this plugin will periodically trigger them for you, picking randomly from multiple event lists and ensuring they don't repeat until all events have been cycled through. Disable timer starts in your plugins, and use the start command in the config, to avoid having multiple events run at the same time. This keeps gameplay fresh and dynamic for your players without requiring constant admin attention, and now includes Discord webhook integration to notify your community when events start! Features Multiple event lists with independent rotation schedules Configurable delays between different event lists to prevent overlap Automatic event rotation at configurable intervals Smart rotation logic ensures no event repeats until all have been used Discord webhook integration with customizable notifications Admin commands to start, stop, and check the rotation status Simple JSON configuration for adding your own events Full permission system support Configuration The config file will be generated at: oxide/config/CustomEventManager.json Example: { "EnableOnServerStart": true, "DiscordWebhookUrl": "https://discord.com/api/webhooks/YOUR_WEBHOOK_URL", "DiscordSettings": { "EnableNotifications": true, "BotName": "Event Manager", "BotAvatarUrl": "", "EmbedColor": 3447003, "NotifyOnEventStart": true, "NotifyOnRotationStart": true, "NotifyOnRotationStop": true, "NotifyOnCycleComplete": true }, "EventLists": [ { "Name": "MainEvents", "IntervalMinutes": 30, "RandomizeOrder": true, "DelayAfterMainEvent (minutes)": 0, "Enabled": true, "Events": [ { "Name": "extraevents", "Command": "extraevents start", "Enabled": true }, { "Name": "guardedcrate", "Command": "gcrate start", "Enabled": true }, { "Name": "guessthenumber", "Command": "gtn start", "Enabled": true } ] }, { "Name": "SecondaryEvents", "IntervalMinutes": 45, "RandomizeOrder": true, "DelayAfterMainEvent (minutes)": 5, "Enabled": true, "Events": [ { "Name": "roamtasks", "Command": "RoamTask start", "Enabled": true }, { "Name": "skilltreexpevents", "Command": "startxpevent", "Enabled": true }, { "Name": "convoy", "Command": "convoystart", "Enabled": true } ] } ] } Options General Settings EnableOnServerStart → Automatically start event rotation when the server starts. Default: true DiscordWebhookUrl → Your Discord webhook URL for notifications. Leave empty to disable Discord integration. Discord Settings EnableNotifications → Master switch for all Discord notifications. Default: true BotName → The name displayed for the webhook bot. Default: "Event Manager" BotAvatarUrl → URL to an avatar image for the bot (optional) EmbedColor → Decimal color code for Discord embeds. Default: 3447003 (blue) NotifyOnEventStart → Send notification when an event starts. Default: true NotifyOnRotationStart → Send notification when rotation starts. Default: true NotifyOnRotationStop → Send notification when rotation stops. Default: true NotifyOnCycleComplete → Send notification when all events in a list complete. Default: true Event List Settings Each event list supports: Name → Friendly name for the event list IntervalMinutes → Time (in minutes) between each event in this list. Default: 30 RandomizeOrder → Whether to randomize event selection. Default: true DelayAfterMainEvent (minutes) → Additional delay before starting this list's events (useful for preventing overlap). Default: 0 Enabled → Whether this event list is active. Default: true Events → Array of event definitions: Name → Friendly name for the event (used in status tracking and Discord notifications) Command → The console command to trigger the event Enabled → Whether this specific event is active. Default: true Permissions customeventmanager.admin Required to use the admin commands. Commands /cem start - Starts the event rotation /cem stop - Stops the event rotation /cem status - Shows current status, how many events have run, and when the next one is scheduled /cem reload - Reloads the configuration and restarts rotation /cem list - Lists all configured event lists and their events Console Commands All chat commands can also be used from the F1 console by replacing /cem with cem: cem start cem stop cem status cem reload cem list How it works Multiple Event Lists: You can configure multiple independent event lists (e.g., "MainEvents" and "SecondaryEvents") that run on their own schedules Smart Scheduling: Each list tracks its interval and optional delay to prevent events from overlapping No Repeats: Events won't repeat until all events in that list have been triggered Discord Integration: Get real-time notifications in your Discord server when events start, cycles complete, or rotation status changes Tips Disable built-in timers in your event plugins to prevent conflicts Use the DelayAfterMainEvent setting to stagger different event lists Set RandomizeOrder to false if you want events to run in a specific sequence Customize Discord notifications to match your server's style with the EmbedColor and BotAvatarUrl settings
    $16.99
  2. Lorenc

    GameTips

    Version 1.0.0

    4 downloads

    A lightweight and customizable plugin that displays rotating informational messages in a clean UI panel positioned below the hotbar. Perfect for server tips, commands, announcements, and helpful information without cluttering the chat. Description GameTips creates a non-intrusive text panel that cycles through configurable messages at set intervals. The UI appears below or above the inventory hotbar and automatically manages itself when players connect or disconnect. Messages are displayed to all online players simultaneously. Features Clean UI panel positioned below the hotbar Fully customizable appearance (colors, font size, positioning) Configurable message rotation interval Automatic player connection/disconnection handling Admin reload command for updating messages without restart Minimal performance impact Easy JSON configuration Configuration { "Messages to display": [ "Welcome to my rust server!", "We hope you have a awesome time here!", "Check /commands for all available commands!", "Visit our website at yourdomain.com", "Join our Discord at discord.gg/yourserver" ], "Message interval (seconds)": 45.0, "UI Settings": { "Background color (RGBA)": "0 0 0 0.0", "Text color (RGBA)": "1 1 1 1", "Font size": 10, "Panel height offset from bottom": 0.101, "Panel height": 0.03 } } Configuration Options Messages to display - Array of text messages to cycle through Message interval (seconds) - Time between message changes (default: 45 seconds) Background color (RGBA) - Panel background color in RGBA format (0-1 values) Text color (RGBA) - Text color in RGBA format (0-1 values) Font size - Size of the displayed text (default: 10) Panel height offset from bottom - Distance from bottom of screen (default: 0.101) Panel height - Height of the message panel (default: 0.03) Commands /reloadmessages - Reloads messages from config file (Admin only) Permissions No permissions required. Admin commands use built-in admin detection. Installation Download GameTips.cs Place in your oxide/plugins folder Restart server or reload plugin Edit the generated config file as needed Use /reloadmessages to apply config changes Positioning The panel uses Unity's UI anchor system: 0.101 positions it just above the hotbar 0.0015 moves it lower (may overlap hotbar)
    $5.00
  3. Lorenc

    Integer to double?

    Hi @Steenamaroo I've made a couple of modifications to the script myself already, and realized u can just pass whole numbers, and parse em as doubles. I've already rewritten ServerRewards as it wasnt able to parse 0.10 values etc, would come with the conversion from int to double error. Was just a suggestion though ^^
  4. Lorenc

    Integer to double?

    Wouldn't it be a cool idea to have the integers replaced by doubles so the values are more obsolete? Instead of just doing flat numbers like 0, 1, 2, 3 u'd be able to do 0.10, 0,20, 3,20, 4,80 If you round it correctly. I've been doing this from the start as it makes the "RP" have more value.
  5. Lorenc

    Cargo issue

    I see, was reported several times as a bug since when cargo is off map, he'll still show for around half a hour to a hour.
  6. Hey there! I saw/see from the comments on the other topics that the furnacelevels is unable to work alongside with other smelting controllers such as quicksmelt. Is there a way to bypass this for "Furnaces" only, and make campfires etc cook using the FurnaceLevels instead of QuickSmelt?
  7. Lorenc

    Cargo issue

    Cargo icon seems to be broken, whenever cargo comes by the icon stays active and doesnt go off anymore.
2m

Downloads

Total number of downloads.

9.5k

Customers

Total customers served.

138k

Files Sold

Total number of files sold.

2.9m

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.